diff --git a/include/QF/pr_comp.h b/include/QF/pr_comp.h index 752fd71ce..182af6cb3 100644 --- a/include/QF/pr_comp.h +++ b/include/QF/pr_comp.h @@ -299,6 +299,16 @@ typedef struct dfunction_s { byte parm_size[MAX_PARMS]; } dfunction_t; +typedef union pr_type_u { + float float_var; + string_t string_var; + func_t func_var; + int entity_var; + float vector_var[1]; // really 3, but this structure must be 32 bits + int integer_var; + unsigned int uinteger_var; +} pr_type_t; + #define PROG_ID_VERSION 6 #define PROG_VERSION 0x00fff002 // MMmmmRRR 0.fff.002 (hex) diff --git a/include/QF/progs.h b/include/QF/progs.h index 12d6a240e..57cf24df4 100644 --- a/include/QF/progs.h +++ b/include/QF/progs.h @@ -34,16 +34,6 @@ #include "QF/pr_comp.h" #include "QF/pr_debug.h" -typedef union pr_type_u { - float float_var; - string_t string_var; - func_t func_var; - int entity_var; - float vector_var[1]; // really 3, but this structure must be 32 bits - int integer_var; - unsigned int uinteger_var; -} pr_type_t; - #define MAX_ENT_LEAFS 16 typedef struct edict_s {