168 lines
3.0 KiB
C
168 lines
3.0 KiB
C
|
|
/* file generated by qcc, do not modify */
|
|
|
|
typedef struct
|
|
{ int pad[28];
|
|
int self;
|
|
int other;
|
|
int world;
|
|
float time;
|
|
float frametime;
|
|
float force_retouch;
|
|
string_t mapname;
|
|
string_t startspot;
|
|
float deathmatch;
|
|
float coop;
|
|
float teamplay;
|
|
float serverflags;
|
|
float total_secrets;
|
|
float total_monsters;
|
|
float found_secrets;
|
|
float killed_monsters;
|
|
float parm1;
|
|
float parm2;
|
|
float parm3;
|
|
float parm4;
|
|
float parm5;
|
|
float parm6;
|
|
float parm7;
|
|
float parm8;
|
|
float parm9;
|
|
float parm10;
|
|
float parm11;
|
|
float parm12;
|
|
float parm13;
|
|
float parm14;
|
|
float parm15;
|
|
float parm16;
|
|
vec3_t v_forward;
|
|
vec3_t v_up;
|
|
vec3_t v_right;
|
|
float trace_allsolid;
|
|
float trace_startsolid;
|
|
float trace_fraction;
|
|
vec3_t trace_endpos;
|
|
vec3_t trace_plane_normal;
|
|
float trace_plane_dist;
|
|
int trace_ent;
|
|
float trace_inopen;
|
|
float trace_inwater;
|
|
int msg_entity;
|
|
func_t main;
|
|
func_t StartFrame;
|
|
func_t PlayerPreThink;
|
|
func_t PlayerPostThink;
|
|
func_t ClientKill;
|
|
func_t ClientConnect;
|
|
func_t PutClientInServer;
|
|
func_t ClientDisconnect;
|
|
func_t SetNewParms;
|
|
func_t SetChangeParms;
|
|
} globalvars_t;
|
|
|
|
typedef struct
|
|
{
|
|
float modelindex;
|
|
vec3_t absmin;
|
|
vec3_t absmax;
|
|
float ltime;
|
|
float movetype;
|
|
float solid;
|
|
vec3_t origin;
|
|
vec3_t oldorigin;
|
|
vec3_t velocity;
|
|
vec3_t angles;
|
|
vec3_t avelocity;
|
|
vec3_t basevelocity;
|
|
vec3_t punchangle;
|
|
string_t classname;
|
|
string_t model;
|
|
float skin;
|
|
float body;
|
|
float effects;
|
|
float gravity;
|
|
float friction;
|
|
float light_level;
|
|
int sequence;
|
|
float animtime;
|
|
float frame;
|
|
float framerate;
|
|
int controller;
|
|
int blending;
|
|
vec3_t mins;
|
|
vec3_t maxs;
|
|
vec3_t size;
|
|
func_t touch;
|
|
func_t use;
|
|
func_t think;
|
|
func_t blocked;
|
|
float nextthink;
|
|
int groundentity;
|
|
float rendermode;
|
|
float renderamt;
|
|
vec3_t rendercolor;
|
|
float renderfx;
|
|
float health;
|
|
float frags;
|
|
int weapon;
|
|
int weapons;
|
|
string_t weaponmodel;
|
|
float weaponframe;
|
|
float currentammo;
|
|
int ammo_1;
|
|
int ammo_2;
|
|
int ammo_3;
|
|
int ammo_4;
|
|
int items;
|
|
int items2;
|
|
float takedamage;
|
|
int chain;
|
|
float deadflag;
|
|
vec3_t view_ofs;
|
|
int button;
|
|
float impulse;
|
|
float fixangle;
|
|
vec3_t v_angle;
|
|
float idealpitch;
|
|
float pitch_speed;
|
|
string_t netname;
|
|
int enemy;
|
|
float flags;
|
|
float colormap;
|
|
float team;
|
|
float max_health;
|
|
float teleport_time;
|
|
float armortype;
|
|
float armorvalue;
|
|
float waterlevel;
|
|
float watertype;
|
|
float ideal_yaw;
|
|
float yaw_speed;
|
|
int aiment;
|
|
int goalentity;
|
|
float spawnflags;
|
|
string_t target;
|
|
string_t targetname;
|
|
float dmg_take;
|
|
float dmg_save;
|
|
int dmg_inflictor;
|
|
int owner;
|
|
vec3_t movedir;
|
|
string_t message;
|
|
float sounds;
|
|
string_t noise;
|
|
string_t noise1;
|
|
string_t noise2;
|
|
string_t noise3;
|
|
float speed;
|
|
float dmg;
|
|
float dmgtime;
|
|
float air_finished;
|
|
float pain_finished;
|
|
float radsuit_finished;
|
|
float pContainingEntity;
|
|
float pSystemGlobals;
|
|
} entvars_t;
|
|
|
|
#define PROGHEADER_CRC 58783
|