From 04050c1685855a0640c7c0d5147299fadbd2ebe8 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 30 Jul 2008 17:16:55 +0000 Subject: select-on-release --- src/client/input.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/client/input.h') 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__ -- cgit v1.2.3