Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9107 in orxonox.OLD


Ignore:
Timestamp:
Jul 4, 2006, 11:02:15 AM (18 years ago)
Author:
snellen
Message:

added method setPlaymode in gameworld

Location:
branches/presentation/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/story_entities/game_world.cc

    r9074 r9107  
    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");
  • branches/presentation/src/world_entities/creatures/fps_player.cc

    r9106 r9107  
    222222  {
    223223    this->bPosBut = false;
    224     printf("mechanic:walkTo( %f, %f, %f)\n",this->getAbsCoorX(),this->getAbsCoorY(),this->getAbsCoorZ());
     224    printf("mechanic2:walkTo( %f, mtheight, %f)\n",this->getAbsCoorX(),this->getAbsCoorZ());
    225225  }
    226226
Note: See TracChangeset for help on using the changeset viewer.