aboutsummaryrefslogtreecommitdiff
path: root/sword1/sword1.h
diff options
context:
space:
mode:
authorRobert Göffringmann2003-12-30 22:57:52 +0000
committerRobert Göffringmann2003-12-30 22:57:52 +0000
commit436834750d220b2bbd1f5f42c43126d699774140 (patch)
tree6e075568581b63b6581430c6917b229f7313b58e /sword1/sword1.h
parentf23d990fda16e1a6db13ca089340c9b90f3b5b61 (diff)
downloadscummvm-rg350-436834750d220b2bbd1f5f42c43126d699774140.tar.gz
scummvm-rg350-436834750d220b2bbd1f5f42c43126d699774140.tar.bz2
scummvm-rg350-436834750d220b2bbd1f5f42c43126d699774140.zip
cd changing code and checking for savegames on startup
svn-id: r12043
Diffstat (limited to 'sword1/sword1.h')
-rw-r--r--sword1/sword1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/sword1.h b/sword1/sword1.h
index b169ad861c..aea5252d0f 100644
--- a/sword1/sword1.h
+++ b/sword1/sword1.h
@@ -37,11 +37,10 @@ class SwordMusic;
class SwordControl;
struct SystemVars {
- // todo: move these to a better place
+ 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
- uint32 rate; // game rate => what's this for?
uint8 deathScreenFlag; // 1 death screen version of the control panel, 2 = successful end of game, 3 = force restart
bool forceRestart;
@@ -64,6 +63,7 @@ private:
void delay(uint amount);
void initialize(void);
+ void checkCdFiles(void);
void checkCd(void);
uint8 mainLoop(void);
void startPositions(int32 startNumber);