ScummVM API documentation
module2900_sprites.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef NEVERHOOD_MODULES_MODULE2900_SPRITES_H
23 #define NEVERHOOD_MODULES_MODULE2900_SPRITES_H
24 
25 #include "neverhood/neverhood.h"
26 #include "neverhood/module.h"
27 #include "neverhood/scene.h"
28 
29 namespace Neverhood {
30 
31 // Module2900
32 
34 public:
35  SsScene2901LocationButton(NeverhoodEngine *vm, Scene *parentScene, int which, uint index);
36 protected:
37  Scene *_parentScene;
38  uint _index;
39  int _countdown1;
40  void update();
41  uint32 handleMessage(int messageNum, const MessageParam &param, Entity *sender);
42 };
43 
45 public:
46  SsScene2901LocationButtonLight(NeverhoodEngine *vm, int which, uint index);
47  void show();
48  void hide();
49 protected:
50  uint _index;
51 };
52 
54 public:
56 };
57 
59 public:
60  SsScene2901BigButton(NeverhoodEngine *vm, Scene *parentScene, int which);
61 protected:
62  Scene *_parentScene;
63  int _which;
64  int _countdown1;
65  void update();
66  uint32 handleMessage(int messageNum, const MessageParam &param, Entity *sender);
67 };
68 
69 } // End of namespace Neverhood
70 
71 #endif /* NEVERHOOD_MODULES_MODULE2900_SPRITES_H */
Definition: background.h:30
Definition: module2900_sprites.h:44
Definition: neverhood.h:60
Definition: module2900_sprites.h:33
Definition: module2900_sprites.h:53
Definition: entity.h:42
Definition: entity.h:77
Definition: module2900_sprites.h:58
Definition: scene.h:41
Definition: sprite.h:119