Changeset 9110 in orxonox.OLD for trunk/src/story_entities/game_world.cc
- Timestamp:
- Jul 4, 2006, 11:18:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r9061 r9110 64 64 using namespace std; 65 65 66 #include "script_class.h" 67 CREATE_SCRIPTABLE_CLASS(GameWorld, CL_GAME_WORLD, 68 addMethod("setPlaymode", ExecutorLua1<GameWorld,const std::string&>(&GameWorld::setPlaymode)) 69 ); 66 70 67 71 SHELL_COMMAND(speed, GameWorld, setSpeed) ->describe("set the Speed of the Level"); … … 336 340 this->dataTank->localPlayer->getPlayable()->setPlaymode(playmode)) 337 341 { 338 PRINTF( 3)("Set Playmode to %d:%s\n", playmode, Playable::playmodeToString(playmode).c_str());342 PRINTF(4)("Set Playmode to %d:%s\n", playmode, Playable::playmodeToString(playmode).c_str()); 339 343 } 340 344 else 341 345 { 342 PRINTF( 1)("Unable to set Playmode %d:'%s'\n", playmode, Playable::playmodeToString(playmode).c_str());346 PRINTF(2)("Unable to set Playmode %d:'%s'\n", playmode, Playable::playmodeToString(playmode).c_str()); 343 347 } 344 348 }
Note: See TracChangeset
for help on using the changeset viewer.