Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 20, 2004, 2:42:54 AM (20 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/sound/src/keynames.cc

    r2551 r3238  
    1313   co-programmer: ...
    1414*/
    15 #include <SDL/SDL.h>
    1615
    1716#include "keynames.h"
     
    2120using namespace std;
    2221
    23 int buttonname_to_SDLB( char* name)
     22int buttonnameToSDLB( char* name)
    2423{
    2524        if( !strcmp (name, "BUTTON_LEFT")) return SDL_BUTTON_LEFT;
     
    3130}
    3231
    33 char* SDLB_to_buttonname( int button)
     32char* SDLBToButtonname( int button)
    3433{
    3534        if( button == SDL_BUTTON_LEFT) return "BUTTON_LEFT";
     
    4140}
    4241
    43 int keyname_to_SDLK( char* name)
     42int keynameToSDLK( char* name)
    4443{
    4544        if( !strcmp (name, "BACKSPACE")) return SDLK_BACKSPACE;
     
    179178}
    180179
    181 char* SDLK_to_keyname( int key)
     180char* SDLKToKeyname( int key)
    182181{
    183182        if( key == SDLK_BACKSPACE) return "BACKSPACE";
Note: See TracChangeset for help on using the changeset viewer.