mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
move pr_type_t
This commit is contained in:
parent
5c943d4ca9
commit
ef57625355
2 changed files with 10 additions and 10 deletions
|
@ -299,6 +299,16 @@ typedef struct dfunction_s {
|
||||||
byte parm_size[MAX_PARMS];
|
byte parm_size[MAX_PARMS];
|
||||||
} dfunction_t;
|
} 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_ID_VERSION 6
|
||||||
#define PROG_VERSION 0x00fff002 // MMmmmRRR 0.fff.002 (hex)
|
#define PROG_VERSION 0x00fff002 // MMmmmRRR 0.fff.002 (hex)
|
||||||
|
|
|
@ -34,16 +34,6 @@
|
||||||
#include "QF/pr_comp.h"
|
#include "QF/pr_comp.h"
|
||||||
#include "QF/pr_debug.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
|
#define MAX_ENT_LEAFS 16
|
||||||
typedef struct edict_s
|
typedef struct edict_s
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue