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

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

setup menu - added Render::UpdateVar(int key) function

File size: 760 bytes
RevLine 
[1447]1//
[1644]2// Neercs
[1447]3//
4
5#if !defined __VIDEO_RENDER_H__
6#define __VIDEO_RENDER_H__
7
8class Render : public WorldEntity
9{
10public:
[1462]11    Render(caca_canvas_t *caca);
[1447]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
[1461]20    void Draw2D();
21    void Draw3D();
22
[1447]23private:
[1625]24    int CreateGLWindow();
[1588]25    int InitDraw();
26    void Pause();
27    void Shader();
[1706]28    void UpdateVar(int key);
[1588]29
[1462]30    caca_canvas_t *m_caca;
[1484]31    bool m_ready;
[1588]32    bool m_pause;
33    bool m_polygon;
[1699]34    bool m_setup;
[1585]35    bool m_shader;
[1703]36    bool m_shader_remanency;
[1588]37    bool m_shader_blur;
38    bool m_shader_glow;
39    bool m_shader_postfx;
[1634]40    bool m_border;
[1447]41};
42
43#endif // __VIDEO_RENDER_H__
44
Note: See TracBrowser for help on using the repository browser.