move pr_type_t

This commit is contained in:
Bill Currie 2002-06-07 20:56:54 +00:00
parent 5c943d4ca9
commit ef57625355
2 changed files with 10 additions and 10 deletions

View file

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

View file

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