diff options
author | Paul Gilbert | 2011-02-27 16:46:49 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-02-27 16:46:49 +1100 |
commit | e7ca134b1a17f5d66b26441c445abe9984a2bbfc (patch) | |
tree | 1def06578661457c1312b0286243972f7c6568cc /engines/tsage/ringworld_scenes2.h | |
parent | 2f3831d12b54150295e57354bb81487de35af8a7 (diff) | |
download | scummvm-rg350-e7ca134b1a17f5d66b26441c445abe9984a2bbfc.tar.gz scummvm-rg350-e7ca134b1a17f5d66b26441c445abe9984a2bbfc.tar.bz2 scummvm-rg350-e7ca134b1a17f5d66b26441c445abe9984a2bbfc.zip |
TSAGE: Separated Scene 1000 into a seaprate code file
This is mimicking the original engine, which breaks the entire game into groups of scenes
Diffstat (limited to 'engines/tsage/ringworld_scenes2.h')
-rw-r--r-- | engines/tsage/ringworld_scenes2.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/engines/tsage/ringworld_scenes2.h b/engines/tsage/ringworld_scenes2.h new file mode 100644 index 0000000000..d0210d0046 --- /dev/null +++ b/engines/tsage/ringworld_scenes2.h @@ -0,0 +1,66 @@ +/* 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. + * + * $URL: https://scummvm-misc.svn.sourceforge.net/svnroot/scummvm-misc/trunk/engines/tsage/scene_logic.h $ + * $Id: scene_logic.h 232 2011-02-12 11:56:38Z dreammaster $ + * + */ + +#ifndef TSAGE_RINGWORLD_SCENES2_H +#define TSAGE_RINGWORLD_SCENES2_H + +#include "common/scummsys.h" +#include "tsage/ringworld_logic.h" +#include "tsage/events.h" +#include "tsage/core.h" +#include "tsage/scenes.h" +#include "tsage/globals.h" + +namespace tSage { + +class Scene1000: public Scene { + /* Actions */ + class Action1: public Action { + public: + virtual void signal(); + }; + class Action2: public Action { + public: + virtual void signal(); + }; + class Action3: public Action { + private: + void zoom(bool up); + public: + virtual void signal(); + }; + +public: + SceneObject _object1, _object2, _object3, _object4; + Action1 _action1; + Action2 _action2; + Action3 _action3; + + virtual void postInit(SceneObjectList *OwnerList = NULL); +}; + +} // End of namespace tSage + +#endif |