Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2105 in orxonox.OLD for orxonox/branches/chris/src/keynames.cc


Ignore:
Timestamp:
Jul 11, 2004, 3:14:52 PM (21 years ago)
Author:
chris
Message:

orxonox/branches/chris: Port to SDL complete. Everything compiles and the generated executable runs without crashing. Keyboard and mouse handling works. Drawing is messed up, possibly because of my incompetent Rotation class. Hence all you see at them moment is a pitch black screen. I added the makefile I used to compile it since bensch hasn't yet included SDL into the configure script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/keynames.cc

    r2100 r2105  
    4848        if( !strcmp (name, "RETURN")) return SDLK_RETURN;
    4949        if( !strcmp (name, "ESCAPE")) return SDLK_ESCAPE;
     50        if( !strcmp (name, "SPACE")) return SDLK_SPACE;
    5051        if( !strcmp (name, "EXCLAIM")) return SDLK_EXCLAIM;
    5152        if( !strcmp (name, "QUOTEDBL")) return SDLK_QUOTEDBL;
     
    184185        if( key == SDLK_CLEAR) return "CLEAR";
    185186        if( key == SDLK_RETURN) return "RETURN";
     187        if( key == SDLK_SPACE) return "SPACE";
    186188        if( key == SDLK_ESCAPE) return "ESCAPE";
    187189        if( key == SDLK_EXCLAIM) return "EXCLAIM";
Note: See TracChangeset for help on using the changeset viewer.