diff options
author | Filippos Karapetis | 2013-10-01 01:24:56 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-10-01 01:24:56 +0300 |
commit | d798a4f12a95c3911b46e3bfddb9bc84f1b6a540 (patch) | |
tree | f1484a4f9f6ec2773490df535e850e739d335fb4 /engines/neverhood/modules/module2500_sprites.h | |
parent | aab55c24fd1e1dd757e0d7b735f31662de871e70 (diff) | |
download | scummvm-rg350-d798a4f12a95c3911b46e3bfddb9bc84f1b6a540.tar.gz scummvm-rg350-d798a4f12a95c3911b46e3bfddb9bc84f1b6a540.tar.bz2 scummvm-rg350-d798a4f12a95c3911b46e3bfddb9bc84f1b6a540.zip |
NEVERHOOD: Split some more sprites from their respective scenes
This splits modules 2400, 2500 and 2600
Diffstat (limited to 'engines/neverhood/modules/module2500_sprites.h')
-rw-r--r-- | engines/neverhood/modules/module2500_sprites.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/engines/neverhood/modules/module2500_sprites.h b/engines/neverhood/modules/module2500_sprites.h new file mode 100644 index 0000000000..4b964e7fb2 --- /dev/null +++ b/engines/neverhood/modules/module2500_sprites.h @@ -0,0 +1,44 @@ +/* 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 NEVERHOOD_MODULES_MODULE2500_SPRITES_H +#define NEVERHOOD_MODULES_MODULE2500_SPRITES_H + +#include "neverhood/neverhood.h" +#include "neverhood/module.h" +#include "neverhood/scene.h" + +namespace Neverhood { + +class SsScene2504Button : public StaticSprite { +public: + SsScene2504Button(NeverhoodEngine *vm); +protected: + int _countdown; + bool _isSoundPlaying; + void update(); + uint32 handleMessage(int messageNum, const MessageParam ¶m, Entity *sender); +}; + +} // End of namespace Neverhood + +#endif /* NEVERHOOD_MODULES_MODULE2500_SPRITES_H */ |