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