diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-23 13:59:38 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-23 13:59:38 +0100 |
commit | 73f1340afb80f8749cb309b4ac89b9f13f4dff31 (patch) | |
tree | 160108811b81819928d41c0b2cb6498ae55374ba /src/core/Frontend.h | |
parent | Includes overhaul, fix some compiler warnings (diff) | |
download | re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.gz re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.bz2 re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.lz re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.xz re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.tar.zst re3-73f1340afb80f8749cb309b4ac89b9f13f4dff31.zip |
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r-- | src/core/Frontend.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h index 4a812b05..c1c3983e 100644 --- a/src/core/Frontend.h +++ b/src/core/Frontend.h @@ -392,6 +392,7 @@ struct CCustomScreenLayout { struct CCFO { int8 *value; + const char *saveCat; const char *save; }; @@ -406,11 +407,12 @@ struct CCFOSelect : CCFO bool disableIfGameLoaded; CCFOSelect() {}; - CCFOSelect(int8* value, const char* save, const char** rightTexts, int8 numRightTexts, bool onlyApplyOnEnter, ChangeFunc changeFunc = nil, bool disableIfGameLoaded = false){ + CCFOSelect(int8* value, const char* saveCat, const char* save, const char** rightTexts, int8 numRightTexts, bool onlyApplyOnEnter, ChangeFunc changeFunc = nil, bool disableIfGameLoaded = false){ this->value = value; if (value) this->lastSavedValue = this->displayedValue = *value; + this->saveCat = saveCat; this->save = save; this->rightTexts = (char**)rightTexts; this->numRightTexts = numRightTexts; @@ -426,8 +428,9 @@ struct CCFODynamic : CCFO ButtonPressFunc buttonPressFunc; CCFODynamic() {}; - CCFODynamic(int8* value, const char* save, DrawFunc drawFunc, ButtonPressFunc buttonPressFunc){ + CCFODynamic(int8* value, const char* saveCat, const char* save, DrawFunc drawFunc, ButtonPressFunc buttonPressFunc){ this->value = value; + this->saveCat = saveCat; this->save = save; this->drawFunc = drawFunc; this->buttonPressFunc = buttonPressFunc; @@ -581,7 +584,7 @@ public: int8 m_bLanguageLoaded; uint8 m_PrefsAllowNastyGame; int8 m_PrefsMP3BoostVolume; - uint8 m_ControlMethod; + int8 m_ControlMethod; int32 m_nPrefsVideoMode; int32 m_nDisplayVideoMode; int32 m_nMouseTempPosX; |