#ifndef _ENGINE_CORE_H_\r
#define _ENGINE_CORE_H_\r
\r
-#include <list>\r
#include "src\engine.h"\r
#include "src\timer.h"\r
\r
namespace engine {\r
class Core\r
{\r
- public:
+ public:\r
Core();\r
void update();\r
void sound();\r
protected:\r
private:\r
engine_message msg;\r
- std::list<void(Core::*)()> *fp;\r
- Timer timer;
-// bool keeq[NUM_SCAN_QUE];\r
+ Timer timer;\r
+// unsigned char key[256];\r
int frames_per_second;\r
- //std::list<void(core::*)()> fp;
+ //std::list<void(core::*)()> fp;\r
/* int xxxx = 0;\r
int yyyy = 0;*/\r
- int qing;
- int x;
+ int bing;\r
+ int x;\r
int y;\r
+\r
+ // Because we removed the function pointer STL list:\r
+ bool graphics_flag, comm_flag, release_flag;\r
};\r
}\r
\r
-#endif/*_ENGINE_CORE_H_*/
\ No newline at end of file
+#endif/*_ENGINE_CORE_H_*/\r