Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5816 in orxonox.OLD for branches/world_entities/src/story_entities


Ignore:
Timestamp:
Nov 29, 2005, 10:39:54 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: better includes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/world_entities/src/story_entities/world.cc

    r5769 r5816  
    10431043
    10441044
    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 
    10611045void World::setPath( const char* name)
    10621046{
Note: See TracChangeset for help on using the changeset viewer.