Last change
on this file since 133 was
133,
checked in by sam, 12 years ago
|
Fix z-sorting of tiles. For now.
|
-
Property svn:keywords set to
Id
|
File size:
414 bytes
|
Line | |
---|
1 | // |
---|
2 | // Deus Hax (working title) |
---|
3 | // Copyright (c) 2010 Sam Hocevar <sam@hocevar.net> |
---|
4 | // |
---|
5 | |
---|
6 | // |
---|
7 | // The Scene class |
---|
8 | // --------------- |
---|
9 | // |
---|
10 | |
---|
11 | #if !defined __DH_SCENE_H__ |
---|
12 | #define __DH_SCENE_H__ |
---|
13 | |
---|
14 | #include <stdint.h> |
---|
15 | |
---|
16 | class SceneData; |
---|
17 | |
---|
18 | class Scene |
---|
19 | { |
---|
20 | public: |
---|
21 | Scene(); |
---|
22 | ~Scene(); |
---|
23 | |
---|
24 | void AddTile(uint32_t code, int x, int y, int z, int o); |
---|
25 | void Render(); |
---|
26 | |
---|
27 | private: |
---|
28 | SceneData *data; |
---|
29 | }; |
---|
30 | |
---|
31 | #endif // __DH_SCENE_H__ |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.