- Timestamp:
- Aug 28, 2010, 1:51:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/Game.cc
r7219 r7236 57 57 static void stop_game() 58 58 { Game::getInstance().stop(); } 59 _SetConsoleCommand("exit", &stop_game);59 SetConsoleCommand("exit", &stop_game); 60 60 static void printFPS() 61 61 { COUT(0) << Game::getInstance().getAvgFPS() << std::endl; } 62 _SetConsoleCommand("printFPS", &printFPS);62 SetConsoleCommand("printFPS", &printFPS); 63 63 static void printTickTime() 64 64 { COUT(0) << Game::getInstance().getAvgTickTime() << std::endl; } 65 _SetConsoleCommand("printTickTime", &printTickTime);65 SetConsoleCommand("printTickTime", &printTickTime); 66 66 67 67 std::map<std::string, GameStateInfo> Game::gameStateDeclarations_s;
Note: See TracChangeset
for help on using the changeset viewer.