1
0
forked from 0ad/0ad
0ad/source/ps/Globals.h
janwas 953d2621dd timer: improved timer_add_client - no longer has fixed-size storage. btw, name will change here - not happy with SUM_TIMER.
GUI/input code: moved g_active, g_keys etc. into ps/Globals; it has its
own input handler as well

all users of fopen(): add file_make_full_native_path to get correct path
even though current dir = system/

This was SVN commit r2954.
2005-10-16 23:16:08 +00:00

11 lines
280 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 int GlobalsInputHandler(const SDL_Event* ev);