diff options
author | Robert Göffringmann | 2003-07-01 13:04:00 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-07-01 13:04:00 +0000 |
commit | 6e3cfa8a4edc77e0d642d54ec3a52910fcac051e (patch) | |
tree | 9dafb356b339768449d1a4be546cc19f6d590d90 /sky/logic.h | |
parent | e1483a6eac96c0ae93e7302eb9baa42b6f94a2ef (diff) | |
download | scummvm-rg350-6e3cfa8a4edc77e0d642d54ec3a52910fcac051e.tar.gz scummvm-rg350-6e3cfa8a4edc77e0d642d54ec3a52910fcac051e.tar.bz2 scummvm-rg350-6e3cfa8a4edc77e0d642d54ec3a52910fcac051e.zip |
bypassed copy protection, fixed crash when disconnecting from link space, fixed logix swing seqs
svn-id: r8686
Diffstat (limited to 'sky/logic.h')
-rw-r--r-- | sky/logic.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sky/logic.h b/sky/logic.h index 96349e3f2b..bc7cdd5db1 100644 --- a/sky/logic.h +++ b/sky/logic.h @@ -29,6 +29,7 @@ #include "sky/music/musicbase.h" #include "sky/mouse.h" #include "sky/screen.h" +#include "sky/control.h" enum scriptVariableOffsets { RESULT = 0, @@ -64,7 +65,10 @@ enum scriptVariableOffsets { MENU = 102, RND = 115, CUR_SECTION = 143, + CONSOLE_TYPE = 345, REICH_DOOR_FLAG = 470, + FS_COMMAND = 643, + ENTER_DIGITS = 644, LINC_DIGIT_0 = 646, LINC_DIGIT_1 = 647, LINC_DIGIT_2 = 648, @@ -80,11 +84,14 @@ enum scriptVariableOffsets { class SkyAutoRoute; class SkyScreen; class SkyMouse; +class SkyControl; class SkyLogic { public: SkyLogic(SkyScreen *skyScreen, SkyDisk *skyDisk, SkyText *skyText, SkyMusicBase *skyMusic, SkyMouse *skyMouse, SkySound *skySound); void engine(); + bool checkProtection(void); + void useControlInstance(SkyControl *control) { _skyControl = control; }; void nop(); void logicScript(); @@ -257,6 +264,7 @@ protected: SkySound *_skySound; SkyAutoRoute *_skyAutoRoute; SkyMouse *_skyMouse; + SkyControl *_skyControl; }; #endif |