You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

46 regels
784 B

  1. //
  2. // Neercs
  3. //
  4. #if !defined __VIDEO_RENDER_H__
  5. #define __VIDEO_RENDER_H__
  6. class Render : public WorldEntity
  7. {
  8. public:
  9. Render(caca_canvas_t *caca);
  10. virtual ~Render();
  11. char const *GetName() { return "<title>"; }
  12. protected:
  13. virtual void TickGame(float seconds);
  14. virtual void TickDraw(float seconds);
  15. void Draw2D();
  16. void Draw3D();
  17. private:
  18. int CreateGLWindow();
  19. int InitDraw();
  20. void Pause();
  21. void Shader();
  22. void UpdateVar();
  23. caca_canvas_t *m_caca;
  24. bool m_ready;
  25. bool m_pause;
  26. bool m_polygon;
  27. bool m_setup;
  28. bool m_shader;
  29. bool m_shader_remanency;
  30. bool m_shader_glow;
  31. bool m_shader_blur;
  32. bool m_shader_color;
  33. bool m_shader_noise;
  34. bool m_shader_postfx;
  35. };
  36. #endif // __VIDEO_RENDER_H__