diff options
Diffstat (limited to 'src/client/input.h')
-rw-r--r-- | src/client/input.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/input.h b/src/client/input.h index b2b44c8..78b813f 100644 --- a/src/client/input.h +++ b/src/client/input.h @@ -27,17 +27,17 @@ void frame(float seconds); /// reset input state void reset(); -extern int mouse_x; -extern int mouse_y; +/// current mouse x position +int mouse_position_x(); + +/// current mouse y position +int mouse_position_y(); extern bool mouse_deadzone; extern bool mouse_control; -extern bool mouse_control_override; } // namespace input -extern core::Cvar *input_mousecontrol; - } // namespace client #endif // __INCLUDED_cLIENT_INPUT_H__ |