1 --- src/arch/InputHandler/InputHandler_SDL.cpp.old 2006-09-10 23:31:24.000000000 +0200
2 +++ src/arch/InputHandler/InputHandler_SDL.cpp 2006-09-10 23:32:09.000000000 +0200
4 SDL_KEYDOWN, SDL_KEYUP, SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP,
5 SDL_JOYAXISMOTION, SDL_JOYHATMOTION, -1
7 -static int SDL_EventMask;
8 +static int SDLEventMask;
10 InputHandler_SDL::InputHandler_SDL()
13 for(i = 0; Handled_SDL_Events[i] != -1; ++i)
15 mySDL_EventState(Handled_SDL_Events[i], SDL_ENABLE);
16 - SDL_EventMask |= SDL_EVENTMASK(Handled_SDL_Events[i]);
17 + SDLEventMask |= SDL_EVENTMASK(Handled_SDL_Events[i]);
22 void InputHandler_SDL::Update(float fDeltaTime)
25 - while(SDL_GetEvent(event, SDL_EventMask))
26 + while(SDL_GetEvent(event, SDLEventMask))