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.
 
 
 
 
 

41 lines
575 B

  1. //
  2. // Neercs
  3. //
  4. // Copyright: (c) 2012 Sam Hocevar <sam@hocevar.net>
  5. //
  6. #if !defined __NEERCS_H__
  7. #define __NEERCS_H__
  8. #include <caca.h>
  9. #include "video/render.h"
  10. #include "term/term.h"
  11. extern "C"
  12. {
  13. #include "old/neercs.h"
  14. }
  15. class Neercs : public WorldEntity
  16. {
  17. public:
  18. Neercs(int argc, char **argv);
  19. virtual ~Neercs();
  20. char const *GetName() { return "<neercs>"; }
  21. protected:
  22. virtual void TickGame(float seconds);
  23. virtual void TickDraw(float seconds);
  24. private:
  25. Term *m_term;
  26. Render *m_render;
  27. bool m_ready;
  28. };
  29. #endif // __NEERCS_H__