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

Last change on this file since 1703 was 1703, checked in by rez, 8 years ago

setup menu improved, now you can change (some) variable

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