X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Feng_core.h;h=533c899cb195fb204d082b4607ca4686daa50fd6;hb=b9f13dd0b67939f2d0897edfafdf0821d53fc405;hp=a704402d84e128b3d0e45ce46a07fa51ab3e525b;hpb=8546b30d561c27e4b1eab164e17baf4c84a5c42e;p=16.git diff --git a/src/eng_core.h b/src/eng_core.h index a704402d..533c899c 100644 --- a/src/eng_core.h +++ b/src/eng_core.h @@ -1,14 +1,13 @@ #ifndef _ENGINE_CORE_H_ #define _ENGINE_CORE_H_ -#include #include "src\engine.h" #include "src\timer.h" namespace engine { class Core { - public: + public: Core(); void update(); void sound(); @@ -25,18 +24,21 @@ namespace engine { protected: private: - engine_message msg; - std::list *fp; - Timer timer; -// bool keeq[NUM_SCAN_QUE]; + engine_message msg; + /*std::list *fp;*/ + Timer timer; +// unsigned char key[256]; int frames_per_second; - //std::list fp; + //std::list fp; /* int xxxx = 0; int yyyy = 0;*/ - int qing; - int x; + int mode; + int x; int y; + + // Because we removed the function pointer STL list: + bool graphics_flag, comm_flag, release_flag; }; } -#endif/*_ENGINE_CORE_H_*/ \ No newline at end of file +#endif/*_ENGINE_CORE_H_*/