Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3238 in orxonox.OLD for orxonox/branches/nico/src/keynames.cc


Ignore:
Timestamp:
Dec 20, 2004, 2:42:54 AM (21 years ago)
Author:
bensch
Message:

orxonox/branches: updated branches: buerli, nico, sound. And moved bezierTrack to old.bezierTrack. Conflicts resolved in a usefull order.
Conflics mostly resolved in favor of trunk
merge.

File:
1 edited

Legend:

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

    r2995 r3238  
    2020using namespace std;
    2121
    22 int buttonname_to_SDLB( char* name)
     22int buttonnameToSDLB( char* name)
    2323{
    2424        if( !strcmp (name, "BUTTON_LEFT")) return SDL_BUTTON_LEFT;
     
    3030}
    3131
    32 char* SDLB_to_buttonname( int button)
     32char* SDLBToButtonname( int button)
    3333{
    3434        if( button == SDL_BUTTON_LEFT) return "BUTTON_LEFT";
     
    4040}
    4141
    42 int keyname_to_SDLK( char* name)
     42int keynameToSDLK( char* name)
    4343{
    4444        if( !strcmp (name, "BACKSPACE")) return SDLK_BACKSPACE;
     
    178178}
    179179
    180 char* SDLK_to_keyname( int key)
     180char* SDLKToKeyname( int key)
    181181{
    182182        if( key == SDLK_BACKSPACE) return "BACKSPACE";
Note: See TracChangeset for help on using the changeset viewer.