diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-03 20:00:25 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-03 20:00:25 +0100 |
commit | 5b081398b52b59306b102df1588ad00a3315f152 (patch) | |
tree | 0f5ba690659bb5331907ea22551931550cd5a973 /src/core/Frontend.h | |
parent | hud fix (diff) | |
download | re3-5b081398b52b59306b102df1588ad00a3315f152.tar re3-5b081398b52b59306b102df1588ad00a3315f152.tar.gz re3-5b081398b52b59306b102df1588ad00a3315f152.tar.bz2 re3-5b081398b52b59306b102df1588ad00a3315f152.tar.lz re3-5b081398b52b59306b102df1588ad00a3315f152.tar.xz re3-5b081398b52b59306b102df1588ad00a3315f152.tar.zst re3-5b081398b52b59306b102df1588ad00a3315f152.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Frontend.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h index 5e18c29a..b27cccb5 100644 --- a/src/core/Frontend.h +++ b/src/core/Frontend.h @@ -403,9 +403,10 @@ struct CCFOSelect : CCFO int8 displayedValue; // only if onlyApplyOnEnter enabled for now int8 lastSavedValue; // only if onlyApplyOnEnter enabled ChangeFunc changeFunc; + bool disableIfGameLoaded; CCFOSelect() {}; - CCFOSelect(int8* value, const char* save, const char** rightTexts, int8 numRightTexts, bool onlyApplyOnEnter, ChangeFunc changeFunc){ + CCFOSelect(int8* value, 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; @@ -415,6 +416,7 @@ struct CCFOSelect : CCFO this->numRightTexts = numRightTexts; this->onlyApplyOnEnter = onlyApplyOnEnter; this->changeFunc = changeFunc; + this->disableIfGameLoaded = disableIfGameLoaded; } }; |