diff options
author | Strangerke | 2016-04-23 11:34:39 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 09:54:21 +0200 |
commit | d1e7c9f594c6ad3ac31a3649e39db85e1be72d79 (patch) | |
tree | a26e69551168bb1baf37896ee477dafb180ace18 /engines/gnap/scenes/scene22.h | |
parent | 14ec2e9699caf9428a3f82b6542575595c6a4727 (diff) | |
download | scummvm-rg350-d1e7c9f594c6ad3ac31a3649e39db85e1be72d79.tar.gz scummvm-rg350-d1e7c9f594c6ad3ac31a3649e39db85e1be72d79.tar.bz2 scummvm-rg350-d1e7c9f594c6ad3ac31a3649e39db85e1be72d79.zip |
GNAP: Refactor scenes 22 & 23
Diffstat (limited to 'engines/gnap/scenes/scene22.h')
-rw-r--r-- | engines/gnap/scenes/scene22.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/engines/gnap/scenes/scene22.h b/engines/gnap/scenes/scene22.h new file mode 100644 index 0000000000..44afa10da7 --- /dev/null +++ b/engines/gnap/scenes/scene22.h @@ -0,0 +1,52 @@ +/* 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 GNAP_SCENE22_H +#define GNAP_SCENE22_H + +#include "gnap/debugger.h" +#include "gnap/scenes/scenecore.h" + +namespace Gnap { + +class GnapEngine; + +class Scene22: public Scene { +public: + Scene22(GnapEngine *vm); + ~Scene22() {} + + virtual int init(); + virtual void updateHotspots(); + virtual void run(); + virtual void updateAnimations(); + virtual void updateAnimationsCb() {}; + +private: + int _s22_currCashierSequenceId; + int _s22_nextCashierSequenceId; + bool _s22_caughtBefore; + int _s22_cashierCtr; +}; + +} // End of namespace Gnap +#endif // GNAP_SCENE22_H |