diff options
author | Paul Gilbert | 2018-11-27 21:02:49 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | 09b682cb63fed029f43133f4a2d9daa3438ac8e2 (patch) | |
tree | 60da8622fda66f8477c463a4b99d0ffe54fb72d0 /engines/glk/tads/tads2/tads2.h | |
parent | 0b7a29c7973025d32d8952e97cdc4d13a2794c36 (diff) | |
download | scummvm-rg350-09b682cb63fed029f43133f4a2d9daa3438ac8e2.tar.gz scummvm-rg350-09b682cb63fed029f43133f4a2d9daa3438ac8e2.tar.bz2 scummvm-rg350-09b682cb63fed029f43133f4a2d9daa3438ac8e2.zip |
GLK: TADS: Skeletons for TADS 2 & 3 subengines, extra detection logic
Diffstat (limited to 'engines/glk/tads/tads2/tads2.h')
-rw-r--r-- | engines/glk/tads/tads2/tads2.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/engines/glk/tads/tads2/tads2.h b/engines/glk/tads/tads2/tads2.h new file mode 100644 index 0000000000..e07b5c8bc4 --- /dev/null +++ b/engines/glk/tads/tads2/tads2.h @@ -0,0 +1,57 @@ +/* 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 GLK_TADS_TADS2 +#define GLK_TADS_TADS2 + +#include "glk/tads/tads.h" + +namespace Glk { +namespace TADS { +namespace TADS2 { + +/** + * TADS 2 game interpreter + */ +class TADS2 : public TADS { +public: + /** + * Constructor + */ + TADS2(OSystem *syst, const GlkGameDescription &gameDesc); + + /** + * Execute the game + */ + virtual void runGame(Common::SeekableReadStream *gameFile) override; + + /** + * Returns the running interpreter type + */ + virtual InterpreterType getInterpreterType() const override { return INTERPRETER_TADS2; } +}; + +} // End of namespace TADS2 +} // End of namespace TADS +} // End of namespace Glk + +#endif |