diff options
author | Walter van Niftrik | 2019-03-26 23:41:23 +0100 |
---|---|---|
committer | Walter van Niftrik | 2019-03-30 23:18:02 +0100 |
commit | fa7688a93199f25e84d7c39ca232a4f20a629274 (patch) | |
tree | bcb44cb7606e0bd515a69cf3a724061e0408ff14 /engines/adl/adl_v2.h | |
parent | 658af785d1d6cb448e1dcf0251f80e2e9f62794a (diff) | |
download | scummvm-rg350-fa7688a93199f25e84d7c39ca232a4f20a629274.tar.gz scummvm-rg350-fa7688a93199f25e84d7c39ca232a4f20a629274.tar.bz2 scummvm-rg350-fa7688a93199f25e84d7c39ca232a4f20a629274.zip |
ADL: Refactor opcodes
Diffstat (limited to 'engines/adl/adl_v2.h')
-rw-r--r-- | engines/adl/adl_v2.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/engines/adl/adl_v2.h b/engines/adl/adl_v2.h index 861694a434..564b4dc8f1 100644 --- a/engines/adl/adl_v2.h +++ b/engines/adl/adl_v2.h @@ -64,21 +64,21 @@ protected: void checkTextOverflow(char c); void handleTextOverflow(); - int o2_isFirstTime(ScriptEnv &e); - int o2_isRandomGT(ScriptEnv &e); - int o2_isNounNotInRoom(ScriptEnv &e); - int o2_isCarryingSomething(ScriptEnv &e); + virtual int o_isFirstTime(ScriptEnv &e); + virtual int o_isRandomGT(ScriptEnv &e); + virtual int o_isNounNotInRoom(ScriptEnv &e); + virtual int o_isCarryingSomething(ScriptEnv &e); - int o2_moveItem(ScriptEnv &e); - int o2_setCurPic(ScriptEnv &e); - int o2_setPic(ScriptEnv &e); - int o2_moveAllItems(ScriptEnv &e); - int o2_save(ScriptEnv &e); - int o2_restore(ScriptEnv &e); - int o2_placeItem(ScriptEnv &e); - int o2_tellTime(ScriptEnv &e); - int o2_setRoomFromVar(ScriptEnv &e); - int o2_initDisk(ScriptEnv &e); + virtual int o_moveItem(ScriptEnv &e) override; + virtual int o_setCurPic(ScriptEnv &e) override; + virtual int o_setPic(ScriptEnv &e) override; + virtual int o_moveAllItems(ScriptEnv &e); + virtual int o_save(ScriptEnv &e) override; + virtual int o_restore(ScriptEnv &e) override ; + virtual int o_placeItem(ScriptEnv &e) override; + virtual int o_tellTime(ScriptEnv &e); + virtual int o_setRoomFromVar(ScriptEnv &e); + virtual int o_initDisk(ScriptEnv &e); struct { Common::String time; |