]> git.pld-linux.org Git - packages/StepMania.git/blob - StepMania-3.9-sdl.patch
- cleanup
[packages/StepMania.git] / StepMania-3.9-sdl.patch
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
3 @@ -123,7 +123,7 @@
4         SDL_KEYDOWN, SDL_KEYUP, SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP,
5         SDL_JOYAXISMOTION, SDL_JOYHATMOTION, -1
6  };
7 -static int SDL_EventMask;
8 +static int SDLEventMask;
9  
10  InputHandler_SDL::InputHandler_SDL()
11  {
12 @@ -173,7 +173,7 @@
13         for(i = 0; Handled_SDL_Events[i] != -1; ++i)
14         {
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]);
18         }
19  }
20  
21 @@ -192,7 +192,7 @@
22  void InputHandler_SDL::Update(float fDeltaTime)
23  {
24         SDL_Event event;
25 -       while(SDL_GetEvent(event, SDL_EventMask))
26 +       while(SDL_GetEvent(event, SDLEventMask))
27         {
28                 switch(event.type)
29                 {
This page took 0.076722 seconds and 3 git commands to generate.