mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
[input] Move freelook macro deffiniton
It belongs quite solidly in the client code since it's the client that's defining the concept.
This commit is contained in:
parent
3cb93d4cbe
commit
9571fb83ee
2 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,6 @@ typedef struct in_device_s {
|
||||||
void *event_data;
|
void *event_data;
|
||||||
} in_device_t;
|
} in_device_t;
|
||||||
|
|
||||||
#define freelook (in_mlook.state & 1 || in_freelook->int_val)
|
|
||||||
|
|
||||||
struct cvar_s;
|
struct cvar_s;
|
||||||
|
|
||||||
int IN_RegisterDriver (in_driver_t *driver, void *data);
|
int IN_RegisterDriver (in_driver_t *driver, void *data);
|
||||||
|
|
|
@ -29,4 +29,6 @@
|
||||||
|
|
||||||
void CL_Legacy_Init (void);
|
void CL_Legacy_Init (void);
|
||||||
|
|
||||||
|
#define freelook (in_mlook.state & 1 || in_freelook->int_val)
|
||||||
|
|
||||||
#endif // __client_input_h_
|
#endif // __client_input_h_
|
||||||
|
|
Loading…
Reference in a new issue