#ifndef APP_H #define APP_H #include #include class MainApp : public csApplicationFramework, public csBaseEventHandler { private: csRef g3d; csRef engine; csRef loader; csRef vfs; csRef vc; csRef kbd; csRef pl; csRef bl; csRef level_entity; csRef player_entity; bool OnKeyboard (iEvent&); void ProcessFrame (); void FinishFrame (); bool LoadLevel (); bool CreatePlayer (); public: MainApp (); virtual ~MainApp (); virtual bool OnInitialize (int argc, char* argv[]); virtual bool Application (); }; #endif