Feat: Changed game mode selection to a slider

This commit is contained in:
SevenToaster509
2026-04-11 20:03:09 +01:00
parent e8e0e48a1d
commit a58b14a2ea
5 changed files with 116 additions and 53 deletions
@@ -16,11 +16,12 @@ private:
};
static int m_iDifficultyTitleSettingA[4];
static int m_iGamemodes[3];
UIControl m_controlMainPanel;
UIControl_Label m_labelGameName, m_labelSeed, m_labelCreatedMode;
UIControl_Button m_buttonGamemode, m_buttonMoreOptions, m_buttonLoadWorld;
UIControl_Slider m_sliderDifficulty;
UIControl_Button m_buttonMoreOptions, m_buttonLoadWorld;
UIControl_Slider m_sliderDifficulty, m_sliderGamemode;
UIControl_BitmapIcon m_bitmapIcon;
UIControl_CheckBox m_checkboxOnline;
@@ -32,7 +33,7 @@ private:
UI_MAP_ELEMENT( m_labelCreatedMode, "CreatedMode")
UI_MAP_ELEMENT( m_labelSeed, "Seed")
UI_MAP_ELEMENT( m_texturePackList, "TexturePackSelector")
UI_MAP_ELEMENT( m_buttonGamemode, "GameModeToggle")
UI_MAP_ELEMENT( m_sliderGamemode, "GameModeToggle")
UI_MAP_ELEMENT( m_checkboxOnline, "CheckboxOnline")
UI_MAP_ELEMENT( m_buttonMoreOptions, "MoreOptions")
UI_MAP_ELEMENT( m_buttonLoadWorld, "LoadSettings")