Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9110 in orxonox.OLD for trunk/src/story_entities/game_world.cc


Ignore:
Timestamp:
Jul 4, 2006, 11:18:41 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the Presentation back

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r9061 r9110  
    6464using namespace std;
    6565
     66#include "script_class.h"
     67CREATE_SCRIPTABLE_CLASS(GameWorld, CL_GAME_WORLD,
     68                        addMethod("setPlaymode", ExecutorLua1<GameWorld,const std::string&>(&GameWorld::setPlaymode))
     69                       );
    6670
    6771SHELL_COMMAND(speed, GameWorld, setSpeed) ->describe("set the Speed of the Level");
     
    336340      this->dataTank->localPlayer->getPlayable()->setPlaymode(playmode))
    337341  {
    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());
    339343  }
    340344  else
    341345  {
    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());
    343347  }
    344348}
Note: See TracChangeset for help on using the changeset viewer.