diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-08 15:57:37 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-08 15:57:37 +0200 |
commit | 63046894b099598c41096651a9816ee3adc032a4 (patch) | |
tree | 9595d7e98f521d579c92df00db51bcd595d31328 /src/control/Script.h | |
parent | fixed tab (diff) | |
download | re3-63046894b099598c41096651a9816ee3adc032a4.tar re3-63046894b099598c41096651a9816ee3adc032a4.tar.gz re3-63046894b099598c41096651a9816ee3adc032a4.tar.bz2 re3-63046894b099598c41096651a9816ee3adc032a4.tar.lz re3-63046894b099598c41096651a9816ee3adc032a4.tar.xz re3-63046894b099598c41096651a9816ee3adc032a4.tar.zst re3-63046894b099598c41096651a9816ee3adc032a4.zip |
Diffstat (limited to 'src/control/Script.h')
-rw-r--r-- | src/control/Script.h | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/src/control/Script.h b/src/control/Script.h index 470de444..7b0f9a2e 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -584,6 +584,11 @@ public: static void SwitchToMission(int32 mission); #endif +#ifdef USE_DEBUG_SCRIPT_LOADER + static int ScriptToLoad; + static int OpenScript(); +#endif + #ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT static void LogAfterScriptInitializing(); static void LogBeforeScriptProcessing(); @@ -601,9 +606,21 @@ extern bool doingMissionRetry; uint32 AddExtraDeathDelay(); void RetryMission(int, int); -#endif -#ifdef USE_DEBUG_SCRIPT_LOADER -int open_script(); -extern int scriptToLoad; -#endif
\ No newline at end of file +enum { + MISSION_RETRY_TYPE_SUGGEST_TO_PLAYER = 0, + MISSION_RETRY_TYPE_1, + MISSION_RETRY_TYPE_BEGIN_RESTARTING +}; + +enum { + MISSION_RETRY_STAGE_NORMAL = 0, + MISSION_RETRY_STAGE_WAIT_FOR_SCRIPT_TO_TERMINATE, + MISSION_RETRY_STAGE_START_PROCESSING, + MISSION_RETRY_STAGE_WAIT_FOR_DELAY, + MISSION_RETRY_STAGE_WAIT_FOR_MENU, + MISSION_RETRY_STAGE_WAIT_FOR_USER, + MISSION_RETRY_STAGE_START_RESTARTING, + MISSION_RETRY_STAGE_WAIT_FOR_TIMER_AFTER_RESTART, +}; +#endif |