diff options
author | lukaslw | 2014-06-26 02:35:48 +0200 |
---|---|---|
committer | lukaslw | 2014-06-26 02:35:48 +0200 |
commit | fc71efd7132345958f809c05e806bb84411dee01 (patch) | |
tree | f201fe51e6c5e7e613ad9260eb23194fcc92b437 /engines/prince/script.h | |
parent | e453f23f04889c7b33276240c45e9f2e5eb70206 (diff) | |
download | scummvm-rg350-fc71efd7132345958f809c05e806bb84411dee01.tar.gz scummvm-rg350-fc71efd7132345958f809c05e806bb84411dee01.tar.bz2 scummvm-rg350-fc71efd7132345958f809c05e806bb84411dee01.zip |
PRINCE: LMB() fix, storeNewPC() - first working script events
Diffstat (limited to 'engines/prince/script.h')
-rw-r--r-- | engines/prince/script.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/prince/script.h b/engines/prince/script.h index 28e3be4ebc..19c64ba5b6 100644 --- a/engines/prince/script.h +++ b/engines/prince/script.h @@ -68,6 +68,7 @@ public: bool loadFromStream(Common::SeekableReadStream &stream); bool loadRoom(byte *roomData); + int getOptionOffset(int option); private: @@ -135,7 +136,7 @@ public: int16 getLightY(int locationNr); int32 getShadowScale(int locationNr); uint8 *getRoomOffset(int locationNr); - int32 getOptionScript(int offset, int option); + int32 getOptionStandardOffset(int option); void installBackAnims(Common::Array<BackgroundAnim> &_backanimList, int offset); void installSingleBackAnim(Common::Array<BackgroundAnim> &_backanimList, int offset); bool loadAllMasks(Common::Array<Mask> &maskList, int offset); @@ -177,6 +178,7 @@ public: void stopBg() { _bgOpcodePC = 0; } void step(); + void storeNewPC(int opcodePC); private: PrinceEngine *_vm; |