Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2005, 1:45:12 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/convention: new functions for the Test-Material, only works in the second level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/convention/src/story_entities/world.cc

    r3758 r3759  
    10431043  else if( !strcmp( cmd->cmd, "view5")) this->localCamera->setViewMode(VIEW_TOP);
    10441044
    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"); 
     1045  else if( !strcmp( cmd->cmd, "function1")) testMat->enable();
     1046  else if( !strcmp( cmd->cmd, "function2")) testMat->changeIllum(); 
     1047  else if( !strcmp( cmd->cmd, "function3")) testMat->raiseAmbient();
     1048  else if( !strcmp( cmd->cmd, "function4")) testMat->randColor();
     1049  else if( !strcmp( cmd->cmd, "function5")) testMat->enableTexture();
     1050  else if( !strcmp( cmd->cmd, "function6")) testMat->raiseShiny(); 
    10511051 
    10521052  return false;
Note: See TracChangeset for help on using the changeset viewer.