diff options
author | Walter van Niftrik | 2016-03-19 14:18:01 +0100 |
---|---|---|
committer | Walter van Niftrik | 2016-06-06 20:35:49 +0200 |
commit | 3f7d5608a9b3cd967c4ceb6fd9bfb5d2e4c19643 (patch) | |
tree | bd79dff454a38f4c00e9fe7336a8da5284dd651c /engines/adl/adl_v2.h | |
parent | 8a05a9cbca3c86868e148e09c392c2bd53bc4de0 (diff) | |
download | scummvm-rg350-3f7d5608a9b3cd967c4ceb6fd9bfb5d2e4c19643.tar.gz scummvm-rg350-3f7d5608a9b3cd967c4ceb6fd9bfb5d2e4c19643.tar.bz2 scummvm-rg350-3f7d5608a9b3cd967c4ceb6fd9bfb5d2e4c19643.zip |
ADL: Implement a few hires2 opcodes
Diffstat (limited to 'engines/adl/adl_v2.h')
-rw-r--r-- | engines/adl/adl_v2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/adl/adl_v2.h b/engines/adl/adl_v2.h index 585bd9610c..d6c18e19c3 100644 --- a/engines/adl/adl_v2.h +++ b/engines/adl/adl_v2.h @@ -25,6 +25,9 @@ #include "adl/adl.h" +// Note: this version of ADL redraws only when necessary, but +// this is not currently implemented. + #define IDI_CUR_ROOM 0xfc #define IDI_VOID_ROOM 0xfd @@ -42,12 +45,15 @@ protected: AdlEngine_v2(OSystem *syst, const AdlGameDescription *gd); virtual void setupOpcodeTables(); + bool matchesCurrentPic(byte pic) const; int o2_isFirstTime(ScriptEnv &e); int o2_isRandomGT(ScriptEnv &e); int o2_isItemInRoom(ScriptEnv &e); int o2_isNounNotInRoom(ScriptEnv &e); int o2_isCarryingSomething(ScriptEnv &e); + int o2_moveAllItems(ScriptEnv &e); + int o2_placeItem(ScriptEnv &e); int o2_moveItem(ScriptEnv &e); |