]> 4ch.mooo.com Git - 16.git/blob - doc/oldsrc/eng_core.h.0
cleaned up the repo from debugging watcom2 ^^
[16.git] / doc / oldsrc / eng_core.h.0
1 #ifndef _ENGINE_CORE_H_\r
2 #define _ENGINE_CORE_H_\r
3 \r
4 #include <list>\r
5 #include "src\engine.h"\r
6 #include "src\timer.h"\r
7 \r
8 namespace engine {\r
9         class Core\r
10         {\r
11         public:
12                 Core();\r
13                 void update();\r
14                 void sound();\r
15                 void graphics();\r
16                 void comm();\r
17                 void ai();\r
18                 engine_message _msg();\r
19                 void run();\r
20                 bool init();\r
21                 void release();\r
22                 void input();\r
23                 void sync();\r
24                 ~Core();\r
25 \r
26         protected:\r
27         private:\r
28                 engine_message msg;\r
29                 std::list<void(Core::*)()> *fp;\r
30                 Timer timer;
31 //              unsigned char key[256];
32                 int frames_per_second;\r
33                 //std::list<void(core::*)()> fp;
34 /*              int xxxx = 0;\r
35                 int yyyy = 0;*/\r
36                 int bing;
37                 int x;
38                 int y;\r
39         };\r
40 }\r
41 \r
42 #endif/*_ENGINE_CORE_H_*/