summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-03 16:30:50 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-03 16:30:50 +0100
commitee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a (patch)
treecdf24283bd03da02b90e3c802c1e88579e274fb2 /src/core/Frontend.h
parentPed: PlayerPed: sync with master (diff)
downloadre3-ee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a.tar
re3-ee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a.tar.gz
re3-ee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a.tar.bz2
re3-ee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a.tar.lz
re3-ee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a.tar.xz
re3-ee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a.tar.zst
re3-ee05c7fe427f473e1f5cf5e6a728bbaf4fc9218a.zip
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r--src/core/Frontend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h
index 8cf3dd28..36647899 100644
--- a/src/core/Frontend.h
+++ b/src/core/Frontend.h
@@ -505,9 +505,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;
@@ -517,6 +518,7 @@ struct CCFOSelect : CCFO
this->numRightTexts = numRightTexts;
this->onlyApplyOnEnter = onlyApplyOnEnter;
this->changeFunc = changeFunc;
+ this->disableIfGameLoaded = disableIfGameLoaded;
}
};