|
FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "io/mouse.h"#include "graphics/2d.h"#include "parse/scripting.h"#include "osapi/osapi.h"#include "cmdline/cmdline.h"#include "gamesequence/gamesequence.h"Go to the source code of this file.
Macros | |
| #define | THREADED |
| #define | MOUSE_MODE_DI 0 |
| #define | MOUSE_MODE_WIN 1 |
Functions | |
| void | mouse_force_pos (int x, int y) |
| void | mouse_got_focus () |
| void | mouse_lost_focus () |
| int | mouse_is_visible () |
| void | mouse_close () |
| void | mouse_init () |
| void | mouse_mark_button (uint flags, int set) |
| void | mouse_flush () |
| int | mouse_down_count (int n, int reset_count) |
| int | mouse_up_count (int n) |
| int | mouse_down (int btn) |
| float | mouse_down_time (int btn) |
| void | mouse_get_delta (int *dx, int *dy, int *dz) |
| void | mouse_eval_deltas () |
| int | mouse_get_pos (int *xpos, int *ypos) |
| int | mouse_get_pos_unscaled (int *xpos, int *ypos) |
| void | mouse_get_real_pos (int *mx, int *my) |
| void | mouse_set_pos (int xpos, int ypos) |
| void | getWindowMousePos (POINT *pt) |
| void | setWindowMousePos (POINT *pt) |
Variables | |
| LOCAL int | Mouse_mode = MOUSE_MODE_WIN |
| int | mouse_inited = 0 |
| LOCAL int | Mouse_x |
| LOCAL int | Mouse_y |
| CRITICAL_SECTION | mouse_lock |
| int | mouse_flags |
| int | mouse_left_pressed = 0 |
| int | mouse_right_pressed = 0 |
| int | mouse_middle_pressed = 0 |
| int | mouse_left_up = 0 |
| int | mouse_right_up = 0 |
| int | mouse_middle_up = 0 |
| int | Mouse_dx = 0 |
| int | Mouse_dy = 0 |
| int | Mouse_dz = 0 |
| int | Mouse_sensitivity = 4 |
| int | Use_mouse_to_fly = 0 |
| int | Mouse_hidden = 0 |
| int | Keep_mouse_centered = 0 |
| CRITICAL_SECTION mouse_lock |
| LOCAL int Mouse_mode = MOUSE_MODE_WIN |