forked from oerkki/voxelands
Hide the Enable Texture Animation checkbox in Video settings menu (quickfixes #1)
This commit is contained in:
parent
db518187da
commit
bb052b54fa
|
@ -530,11 +530,13 @@ void GUISettingsMenu::regenerateGui(v2u32 screensize)
|
|||
rect += topleft_content + v2s32(80, 210);
|
||||
Environment->addCheckBox(anisotropic, rect, this, GUI_ID_ANISOTROPIC_CB, narrow_to_wide(gettext("Anisotropic Filtering")).c_str());
|
||||
}
|
||||
/* TODO: make this not crash the game
|
||||
{
|
||||
core::rect<s32> rect(0, 0, 200, 30);
|
||||
rect += topleft_content + v2s32(80, 240);
|
||||
Environment->addCheckBox(texture_animation, rect, this, GUI_ID_TEXTUREANIM_CB, narrow_to_wide(gettext("Enable Texture Animation")).c_str());
|
||||
}
|
||||
*/
|
||||
if (m_is_ingame) {
|
||||
core::rect<s32> rect(0, 0, 550, 20);
|
||||
rect += topleft_content + v2s32(0, 280);
|
||||
|
@ -713,11 +715,13 @@ bool GUISettingsMenu::acceptInput()
|
|||
if(e != NULL && e->getType() == gui::EGUIET_CHECK_BOX)
|
||||
m_data.anisotropic_filter = ((gui::IGUICheckBox*)e)->isChecked();
|
||||
}
|
||||
/*
|
||||
{
|
||||
gui::IGUIElement *e = getElementFromId(GUI_ID_TEXTUREANIM_CB);
|
||||
if (e != NULL && e->getType() == gui::EGUIET_CHECK_BOX)
|
||||
m_data.texture_animation = ((gui::IGUICheckBox*)e)->isChecked();
|
||||
}
|
||||
*/
|
||||
{
|
||||
gui::IGUIElement *e = getElementFromId(GUI_ID_HOTBAR_CB);
|
||||
if(e != NULL && e->getType() == gui::EGUIET_CHECK_BOX)
|
||||
|
|
Loading…
Reference in New Issue