janwas
953d2621dd
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.
11 lines
280 B
C
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);
|