Last change
on this file since 1585 was
1585,
checked in by rez, 11 years ago
|
added function key and renamed some variables
|
File size:
459 bytes
|
Line | |
---|
1 | // |
---|
2 | // |
---|
3 | |
---|
4 | #if !defined __VIDEO_RENDER_H__ |
---|
5 | #define __VIDEO_RENDER_H__ |
---|
6 | |
---|
7 | class Render : public WorldEntity |
---|
8 | { |
---|
9 | public: |
---|
10 | Render(caca_canvas_t *caca); |
---|
11 | virtual ~Render(); |
---|
12 | |
---|
13 | char const *GetName() { return "<title>"; } |
---|
14 | |
---|
15 | protected: |
---|
16 | virtual void TickGame(float seconds); |
---|
17 | virtual void TickDraw(float seconds); |
---|
18 | |
---|
19 | void Draw2D(); |
---|
20 | void Draw3D(); |
---|
21 | |
---|
22 | private: |
---|
23 | caca_canvas_t *m_caca; |
---|
24 | bool m_ready; |
---|
25 | bool m_shader; |
---|
26 | }; |
---|
27 | |
---|
28 | #endif // __VIDEO_RENDER_H__ |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.