25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

42 satır
696 B

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