Changeset 3640 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 23, 2005, 1:42:46 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.conf
r3586 r3640 13 13 x=up_world 14 14 z=down_world 15 15 1=view0 16 2=view1 17 3=view2 18 4=view3 19 5=view4 -
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.