diff options
author | Robert Göffringmann | 2004-11-09 04:06:10 +0000 |
---|---|---|
committer | Robert Göffringmann | 2004-11-09 04:06:10 +0000 |
commit | 021f2cbccedfd2ed197bb4c54c3d5cf1fc3ca89f (patch) | |
tree | 44168e257d52b634893f7d01e3ed717fb0326bef /sword1/sword1.h | |
parent | daee2edcfea567456bc94534e1cadcd988b6ad69 (diff) | |
download | scummvm-rg350-021f2cbccedfd2ed197bb4c54c3d5cf1fc3ca89f.tar.gz scummvm-rg350-021f2cbccedfd2ed197bb4c54c3d5cf1fc3ca89f.tar.bz2 scummvm-rg350-021f2cbccedfd2ed197bb4c54c3d5cf1fc3ca89f.zip |
free memory on quit.
Still leaks some, though
svn-id: r15735
Diffstat (limited to 'sword1/sword1.h')
-rw-r--r-- | sword1/sword1.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sword1/sword1.h b/sword1/sword1.h index a15322bfe2..22a51960d5 100644 --- a/sword1/sword1.h +++ b/sword1/sword1.h @@ -33,6 +33,13 @@ enum { GF_DEMO = 1 << 0 }; +enum ControlPanelMode { + CP_NORMAL = 0, + CP_DEATHSCREEN, + CP_THEEND, + CP_NEWGAME +}; + class Screen; class Sound; class Logic; @@ -48,9 +55,9 @@ struct SystemVars { bool runningFromCd; uint32 currentCD; // starts at zero, then either 1 or 2 depending on section being played uint32 justRestoredGame; // see main() in sword.c & New_screen() in gtm_core.c - uint32 gamePaused; // 1 when paused + bool engineQuit; - uint8 deathScreenFlag; // 1 death screen version of the control panel, 2 = successful end of game, 3 = force restart + uint8 controlPanelMode; // 1 death screen version of the control panel, 2 = successful end of game, 3 = force restart bool forceRestart; bool wantFade; // when true => fade during scene change, else cut. uint8 playSpeech; |