Changeset 5162 in orxonox.OLD for trunk/src/util
- Timestamp:
- Sep 5, 2005, 10:29:03 PM (19 years ago)
- Location:
- trunk/src/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/loading/factory.cc
r5161 r5162 20 20 #include "game_loader.h" 21 21 using namespace std; 22 23 SHELL_COMMAND(create, Factory, fabricate); 24 22 25 23 26 /* -------------------------------------------------- … … 71 74 { 72 75 Factory::first = factory; 73 ShellCommand<Factory>::registerCommand("create", "Factory", &Factory::fabricate);74 76 } 75 77 else -
trunk/src/util/loading/game_loader.cc
r5161 r5162 34 34 35 35 36 GameLoader* GameLoader::singletonRef = 0; 36 SHELL_COMMAND(quit, GameLoader, stop); 37 38 39 GameLoader* GameLoader::singletonRef = NULL; 40 37 41 38 42 /** … … 44 48 this->setName("GameLoader"); 45 49 46 ShellCommand<GameLoader>::registerCommand("quit", "GameLoader", &GameLoader::stop);47 50 } 48 51
Note: See TracChangeset
for help on using the changeset viewer.