Changeset 8051 for code/branches/tutorial/src/libraries/core/Game.cc
- Timestamp:
- Mar 9, 2011, 11:27:05 AM (14 years ago)
- Location:
- code/branches/tutorial
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial
- Property svn:mergeinfo changed
/code/branches/usability merged: 8018-8041
- Property svn:mergeinfo changed
-
code/branches/tutorial/src/libraries/core/Game.cc
r7993 r8051 61 61 static void printFPS() 62 62 { COUT(0) << Game::getInstance().getAvgFPS() << std::endl; } 63 SetConsoleCommand(" printFPS", &printFPS);63 SetConsoleCommand("Stats", "printFPS", &printFPS); 64 64 static void printTickTime() 65 65 { COUT(0) << Game::getInstance().getAvgTickTime() << std::endl; } 66 SetConsoleCommand(" printTickTime", &printTickTime);66 SetConsoleCommand("Stats", "printTickTime", &printTickTime); 67 67 68 68 std::map<std::string, GameStateInfo> Game::gameStateDeclarations_s;
Note: See TracChangeset
for help on using the changeset viewer.