0ad/source/ps/Globals.h
janwas 32cfc6d807 minimap: now use GUI event system instead of polling. fixes broken click feature.
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.
2005-10-20 15:27:39 +00:00

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);