Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3758 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Apr 8, 2005, 1:08:46 AM (20 years ago)
Author:
patrick
Message:

function keys made

Location:
orxonox/branches/convention/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/convention/src/orxonox.conf

    r3643 r3758  
    19195=view4
    20205=view5
     21h=function1
     22j=function2
     23k=function3
     24l=function4
     25n=function5
     26m=function6
     27
  • orxonox/branches/convention/src/story_entities/world.cc

    r3756 r3758  
    10421042  else if( !strcmp( cmd->cmd, "view4")) this->localCamera->setViewMode(VIEW_RIGHT);
    10431043  else if( !strcmp( cmd->cmd, "view5")) this->localCamera->setViewMode(VIEW_TOP);
     1044
     1045  else if( !strcmp( cmd->cmd, "function1")) printf("pressed h\n");
     1046  else if( !strcmp( cmd->cmd, "function2")) printf("pressed j\n"); 
     1047  else if( !strcmp( cmd->cmd, "function3")) printf("pressed k\n");
     1048  else if( !strcmp( cmd->cmd, "function4")) printf("pressed l\n"); 
     1049  else if( !strcmp( cmd->cmd, "function5")) printf("pressed n\n");
     1050  else if( !strcmp( cmd->cmd, "function6")) printf("pressed m\n"); 
    10441051 
    10451052  return false;
Note: See TracChangeset for help on using the changeset viewer.