diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-30 17:16:55 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-30 17:16:55 +0000 |
commit | 04050c1685855a0640c7c0d5147299fadbd2ebe8 (patch) | |
tree | b0789947f5cc363950472c5f5a8b55048ca72d18 /src/client/input.h | |
parent | d09a1be33a647aedc12ce5ddcb7ea4ee23a75c8c (diff) |
select-on-release
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__ |