diff options
author | Paul Gilbert | 2016-05-05 07:49:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:38:26 -0400 |
commit | d712875c02c6e82734f6ba9ea56f8206c51a22fe (patch) | |
tree | e91535d4d0c009a5164d5f8ef6eeec7255c1fcff /engines/titanic/true_talk/tt_room_script.h | |
parent | f75b46792579291e79c17a5e52c863d12eced949 (diff) | |
download | scummvm-rg350-d712875c02c6e82734f6ba9ea56f8206c51a22fe.tar.gz scummvm-rg350-d712875c02c6e82734f6ba9ea56f8206c51a22fe.tar.bz2 scummvm-rg350-d712875c02c6e82734f6ba9ea56f8206c51a22fe.zip |
TITANIC: Renamed TT unnamed script classes to room scripts
Diffstat (limited to 'engines/titanic/true_talk/tt_room_script.h')
-rw-r--r-- | engines/titanic/true_talk/tt_room_script.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_room_script.h b/engines/titanic/true_talk/tt_room_script.h new file mode 100644 index 0000000000..ed17b29e9c --- /dev/null +++ b/engines/titanic/true_talk/tt_room_script.h @@ -0,0 +1,62 @@ +/* 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 TITANIC_TT_ROOM_SCRIPT_H +#define TITANIC_TT_ROOM_SCRIPT_H + +#include "titanic/true_talk/tt_script_base.h" + +namespace Titanic { + +class TTRoomScriptBase : public TTScriptBase { +public: + int _scriptId; +public: + TTRoomScriptBase(int scriptId, const char *charClass, const char *charName, + int v3, int v4, int v5, int v6, int v2, int v7); + + virtual void proc6() = 0; + virtual void proc7() = 0; + virtual void proc8() = 0; + virtual void proc9() = 0; + virtual void proc10() = 0; + virtual void proc11() = 0; +}; + + +class TTRoomScript : public TTRoomScriptBase { +private: + int _field54; +public: + TTRoomScript(int scriptId); + + virtual void proc6(); + virtual void proc7(); + virtual void proc8(); + virtual void proc9(); + virtual void proc10(); + virtual void proc11(); +}; + +} // End of namespace Titanic + +#endif /* TITANIC_TT_ROOM_SCRIPT_H */ |