109 lines
2.4 KiB
C
109 lines
2.4 KiB
C
/*
|
|
Copyright (C) 1996-2001 Id Software, Inc.
|
|
Copyright (C) 2002-2009 John Fitzgibbons and others
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
#ifndef spingle__progdefs_h
|
|
#define spingle__progdefs_h
|
|
|
|
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 punchangle;
|
|
string_t classname;
|
|
string_t model;
|
|
float frame;
|
|
float skin;
|
|
float effects;
|
|
vec3_t mins;
|
|
vec3_t maxs;
|
|
vec3_t size;
|
|
func_t touch;
|
|
func_t use;
|
|
func_t think;
|
|
func_t blocked;
|
|
float nextthink;
|
|
int32_t groundentity;
|
|
float health;
|
|
float frags;
|
|
float weapon;
|
|
string_t weaponmodel;
|
|
float weaponframe;
|
|
float currentammo;
|
|
float ammo_shells;
|
|
float ammo_nails;
|
|
float ammo_rockets;
|
|
float ammo_cells;
|
|
float items;
|
|
float takedamage;
|
|
int32_t chain;
|
|
float deadflag;
|
|
vec3_t view_ofs;
|
|
float button0;
|
|
float button1;
|
|
float button2;
|
|
float impulse;
|
|
float fixangle;
|
|
vec3_t v_angle;
|
|
float idealpitch;
|
|
string_t netname;
|
|
int32_t 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;
|
|
int32_t aiment;
|
|
int32_t goalentity;
|
|
float spawnflags;
|
|
string_t target;
|
|
string_t targetname;
|
|
float dmg_take;
|
|
float dmg_save;
|
|
int32_t dmg_inflictor;
|
|
int32_t owner;
|
|
vec3_t movedir;
|
|
string_t message;
|
|
float sounds;
|
|
string_t noise;
|
|
string_t noise1;
|
|
string_t noise2;
|
|
string_t noise3;
|
|
} entvars_t;
|
|
|
|
#define PROGHEADER_CRC 5927
|
|
|
|
#endif
|