Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 24, 2007, 2:04:05 AM (17 years ago)
Author:
patrick
Message:

injected silvans patch

File:
1 edited

Legend:

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

    r10314 r10319  
    6565                        addMethod("setPlaymode", Executor1<GameWorld, lua_State*,const std::string&>(&GameWorld::setPlaymode))
    6666                        ->addMethod("setSoundtrack", Executor1<GameWorld, lua_State*, const std::string&>(&GameWorld::setSoundtrack))
     67                        ->addMethod("getStoryID", Executor0ret<StoryEntity, lua_State*, int>(&StoryEntity::getStoryID))
     68                        ->addMethod("setNextStoryName", Executor1ret<StoryEntity, lua_State*, bool, const std::string&>(&StoryEntity::setNextStoryName))
     69                        ->addMethod("stop", Executor0ret<GameWorld, lua_State*, bool>(&GameWorld::stop))
    6770                       );
    6871
     
    305308  if (this->dataTank->music != NULL)
    306309    this->dataTank->music->play();
     310
     311  PNode::getNullParent()->updateNode(0.01);
     312  PNode::getNullParent()->updateNode(0.01);
     313
    307314
    308315  while( this->bRunning) /* @todo implement pause */
Note: See TracChangeset for help on using the changeset viewer.