diff options
author | Walter van Niftrik | 2016-03-18 15:40:36 +0100 |
---|---|---|
committer | Walter van Niftrik | 2016-06-06 20:35:49 +0200 |
commit | ddf1151a534cf215cc0ffe972163489c319bdc63 (patch) | |
tree | b1b4dd905340378b159901ddcd3e772cde226b30 /engines/adl/adl_v2.h | |
parent | 60a9a592f5641655d1e0b00731603298bc938ac7 (diff) | |
download | scummvm-rg350-ddf1151a534cf215cc0ffe972163489c319bdc63.tar.gz scummvm-rg350-ddf1151a534cf215cc0ffe972163489c319bdc63.tar.bz2 scummvm-rg350-ddf1151a534cf215cc0ffe972163489c319bdc63.zip |
ADL: Add new class for second generation ADL
Diffstat (limited to 'engines/adl/adl_v2.h')
-rw-r--r-- | engines/adl/adl_v2.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/engines/adl/adl_v2.h b/engines/adl/adl_v2.h new file mode 100644 index 0000000000..2e8b0f0671 --- /dev/null +++ b/engines/adl/adl_v2.h @@ -0,0 +1,49 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef ADL_ADL_V2_H +#define ADL_ADL_V2_H + +#include "adl/adl.h" + +#define IDI_CUR_ROOM 0xfc +#define IDI_VOID_ROOM 0xfd + +namespace Adl { + +class AdlEngine_v2 : public AdlEngine { +public: + virtual ~AdlEngine_v2() { } + +protected: + AdlEngine_v2(OSystem *syst, const AdlGameDescription *gd); + + virtual void setupOpcodeTables(); + + int o2_isItemInRoom(ScriptEnv &e); + + int o2_moveItem(ScriptEnv &e); +}; + +} // End of namespace Adl + +#endif |