Krig Game Engine
Public Member Functions | List of all members
Engine Class Reference

Public Member Functions

void gameCycle ()
 
void prepare ()
 
void initGL ()
 
void processKeyUp (const int &)
 
void processKeyDown (const int &)
 
void processCommands ()
 
void processNormalKeyUp (const unsigned char &)
 
void processNormalKeyDown (const unsigned char &)
 
KeyStategetKeyState ()
 
KeyStategetSpecialKeyState ()
 
void processMouseMove (const int &, const int &)
 
float getMouseX ()
 
float getMouseY ()
 
void loadLevel (const char *)
 
void loadLevelFromBuffer (const char *)
 
bool loadGame (const std::string &)
 
bool loadIntroCredits ()
 
void updateGame (const float &)
 
void unloadGame ()
 
void unload ()
 
void shutdown ()
 
void pause ()
 
float getFps ()
 
void loadModels ()
 
void loadTextures ()
 
void renderText (const char *s, const float &x, const float &y)
 
SoundFXgetSoundFxClass ()
 
bool getIsRunning ()
 
GameLevelgetCurrentLevel ()
 
void swapLevel ()
 
bool loadPng (const char *, unsigned char **, unsigned int *, unsigned int *, unsigned int *)
 

The documentation for this class was generated from the following files: