Changeset 3640 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 23, 2005, 1:42:46 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3639 r3640 854 854 bool World::command(Command* cmd) 855 855 { 856 if( !strcmp( cmd->cmd, "view0")) this->localCamera->setViewMode(VIEW_NORMAL); 857 else if( !strcmp( cmd->cmd, "view1")) this->localCamera->setViewMode(VIEW_BEHIND); 858 else if( !strcmp( cmd->cmd, "view2")) this->localCamera->setViewMode(VIEW_FRONT); 859 else if( !strcmp( cmd->cmd, "view3")) this->localCamera->setViewMode(VIEW_LEFT); 860 else if( !strcmp( cmd->cmd, "view4")) this->localCamera->setViewMode(VIEW_RIGHT); 861 856 862 return false; 857 863 }
Note: See TracChangeset
for help on using the changeset viewer.