ScummVM API documentation
module2700_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_MODULE2700_SPRITES_H
23 #define NEVERHOOD_MODULES_MODULE2700_SPRITES_H
24 
25 #include "neverhood/neverhood.h"
26 #include "neverhood/module.h"
27 #include "neverhood/scene.h"
28 
29 namespace Neverhood {
30 
32 public:
33  SsCommonTrackShadowBackground(NeverhoodEngine *vm, uint32 fileHash);
34 };
35 
37 public:
38  AsCommonCarShadow(NeverhoodEngine *vm, AnimatedSprite *asCar, const Common::SharedPtr<BaseSurface> &shadowSurface, uint index);
39 protected:
40  uint _index;
41  AnimatedSprite *_asCar;
42  uint32 _animFileHash;
43  void update();
44  void updateShadow();
45 };
46 
48 public:
49  AsCommonCarConnectorShadow(NeverhoodEngine *vm, Sprite *asCar, const Common::SharedPtr<BaseSurface> &shadowSurface, uint index);
50 protected:
51  uint _index;
52  Sprite *_asCar;
53  void update();
54 };
55 
57 public:
58  AsCommonCarTrackShadow(NeverhoodEngine *vm, Sprite *asCar, const Common::SharedPtr<BaseSurface> &shadowSurface, int16 frameIndex);
59 protected:
60  Sprite *_asCar;
61  void update();
62 };
63 
64 class KmScene2732 : public Klaymen {
65 public:
66  KmScene2732(NeverhoodEngine *vm, Scene *parentScene, int16 x, int16 y);
67 protected:
68  uint32 xHandleMessage(int messageNum, const MessageParam &param) override;
69 };
70 
71 } // End of namespace Neverhood
72 
73 #endif /* NEVERHOOD_MODULES_MODULE2700_SPRITES_H */
Definition: background.h:30
Definition: neverhood.h:60
Definition: module2700_sprites.h:31
Definition: module2700_sprites.h:36
Definition: sprite.h:140
Definition: entity.h:42
Definition: module2700_sprites.h:47
Definition: scene.h:41
Definition: module2700_sprites.h:56
Definition: sprite.h:54
Definition: sprite.h:119
Definition: module2700_sprites.h:64
Definition: ptr.h:159
Definition: klaymen.h:59