diff --git a/include/QF/render.h b/include/QF/render.h index 8a3feb5df..124e9ae0a 100644 --- a/include/QF/render.h +++ b/include/QF/render.h @@ -172,21 +172,6 @@ typedef struct { struct mleaf_s *viewleaf; } refdef_t; -// color shifts ============================================================= - -typedef struct { - int destcolor[3]; - int percent; // 0-255 - double time; - int initialpct; -} cshift_t; - -#define CSHIFT_CONTENTS 0 -#define CSHIFT_DAMAGE 1 -#define CSHIFT_BONUS 2 -#define CSHIFT_POWERUP 3 -#define NUM_CSHIFTS 4 - // REFRESH ==================================================================== extern struct texture_s *r_notexture_mip; diff --git a/include/client/view.h b/include/client/view.h index 59d7959f0..edea89758 100644 --- a/include/client/view.h +++ b/include/client/view.h @@ -30,9 +30,21 @@ #define __client_view_h #include "QF/mathlib.h" -#include "QF/render.h" #include "QF/simd/types.h" +typedef struct { + int destcolor[3]; + int percent; // 0-255 + double time; + int initialpct; +} cshift_t; + +#define CSHIFT_CONTENTS 0 +#define CSHIFT_DAMAGE 1 +#define CSHIFT_BONUS 2 +#define CSHIFT_POWERUP 3 +#define NUM_CSHIFTS 4 + #define INFO_CSHIFT_BONUS (1 << 0) #define INFO_CSHIFT_CONTENTS (1 << 1) #define INFO_CSHIFT_DAMAGE (1 << 2)