forked from 0ad/0ad
janwas
32cfc6d807
textureentry: add performance note list, text: fix mousewheel direction input: was going to add a deque to allow registering handlers in back and front. obviated by minimap fix, though. cleaned up a bit and renamed stuff (again, sigh). loaderthunks: fixed weird alignment/padding warning This was SVN commit r2979.
11 lines
287 B
C
11 lines
287 B
C
extern bool g_active;
|
|
|
|
extern bool g_keys[SDLK_LAST];
|
|
extern int g_mouse_x, g_mouse_y;
|
|
|
|
// { left, right, middle, wheel up, wheel down }
|
|
// (order is given by SDL_BUTTON_* constants).
|
|
extern bool g_mouse_buttons[5];
|
|
|
|
extern InReaction GlobalsInputHandler(const SDL_Event* ev);
|