source: trunk/tools/neercs/neercs.h @ 1642

Last change on this file since 1642 was 1642, checked in by sam, 8 years ago

neercs: import files from the (unfinished) old neercs code.

File size: 585 bytes
Line 
1//
2// Neercs
3//
4// Copyright: (c) 2012 Sam Hocevar <sam@hocevar.net>
5//
6
7#if !defined __NEERCS_H__
8#define __NEERCS_H__
9
10#include <caca.h>
11
12#include "video/render.h"
13
14class Neercs : public WorldEntity
15{
16public:
17    Neercs(int argc, char **argv);
18    virtual ~Neercs();
19
20    char const *GetName() { return "<neercs>"; }
21
22    int hex_color(float r, float g, float b);
23
24protected:
25    virtual void TickGame(float seconds);
26    virtual void TickDraw(float seconds);
27
28private:
29    bool m_ready;
30    caca_canvas_t *m_caca;
31    Render *m_render;
32    float m_time;
33};
34
35#endif // __NEERCS_H__
36
Note: See TracBrowser for help on using the repository browser.