Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5819 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Nov 29, 2005, 11:07:43 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged branches world_entities to trunk again
merged with command
svn merge -r5795:HEAD branches/world_entities/ trunk/
no conflicts (what a wonder)

File:
1 edited

Legend:

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

    r5769 r5819  
    10421042}
    10431043
    1044 
    1045 
    1046 /**
    1047   \brief commands that the world must catch
    1048   @returns false if not used by the world
    1049 */
    1050 bool World::command(Command* cmd)
    1051 {
    1052   if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW0)) this->localCamera->setViewMode(VIEW_NORMAL);
    1053   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW1)) this->localCamera->setViewMode(VIEW_BEHIND);
    1054   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW2)) this->localCamera->setViewMode(VIEW_FRONT);
    1055   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW3)) this->localCamera->setViewMode(VIEW_LEFT);
    1056   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW4)) this->localCamera->setViewMode(VIEW_RIGHT);
    1057   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW5)) this->localCamera->setViewMode(VIEW_TOP);
    1058   return false;
    1059 }
    1060 
    10611044void World::setPath( const char* name)
    10621045{
Note: See TracChangeset for help on using the changeset viewer.