[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:
Bill Currie 2021-12-21 17:44:27 +09:00
parent 3cb93d4cbe
commit 9571fb83ee
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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_