source: trunk/tools/neercs/video/render.h @ 1625

Last change on this file since 1625 was 1625, checked in by rez, 10 years ago

updated border autoresize + canvas resize

File size: 677 bytes
Line 
1//
2//
3
4#if !defined __VIDEO_RENDER_H__
5#define __VIDEO_RENDER_H__
6
7class Render : public WorldEntity
8{
9public:
10    Render(caca_canvas_t *caca);
11    virtual ~Render();
12
13    char const *GetName() { return "<title>"; }
14
15protected:
16    virtual void TickGame(float seconds);
17    virtual void TickDraw(float seconds);
18
19    void Draw2D();
20    void Draw3D();
21
22private:
23    int CreateGLWindow();
24    int InitDraw();
25    void Pause();
26    void Shader();
27
28    caca_canvas_t *m_caca;
29    bool m_ready;
30    bool m_pause;
31    bool m_polygon;
32    bool m_shader;
33    bool m_shader_blur;
34    bool m_shader_glow;
35    bool m_shader_fx;
36    bool m_shader_postfx;
37};
38
39#endif // __VIDEO_RENDER_H__
40
Note: See TracBrowser for help on using the repository browser.