X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=f452e5110678cdf184e231ae3f00421ad03e03bc;hp=41ca098b7796de764f4eb2c9ae3f8eb100201d2a;hb=bc51fd3d6308269b5ad770ef62b23fe98ee2cfe1;hpb=bf5661dfd2df8cbc04183e7f007b236d92333e4b diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 41ca098b77..f452e51106 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -221,18 +221,6 @@ float WS_DROP = 2; // deselecting frame float WS_INUSE = 3; // fire state float WS_READY = 4; // idle frame -// weapon requests -float WR_SETUP = 1; // setup weapon data -float WR_THINK = 2; // logic to run every frame -float WR_CHECKAMMO1 = 3; // checks ammo for weapon -float WR_CHECKAMMO2 = 4; // checks ammo for weapon -float WR_AIM = 5; // runs bot aiming code for this weapon -float WR_PRECACHE = 6; // precaches models/sounds used by this weapon -float WR_SUICIDEMESSAGE = 7; // sets w_deathtypestring or leaves it alone (and may inspect w_deathtype for details) -float WR_KILLMESSAGE = 8; // sets w_deathtypestring or leaves it alone -float WR_RELOAD = 9; // does not need to do anything -float WR_RESETPLAYER = 10; // does not need to do anything - void weapon_defaultspawnfunc(float wpn); string w_deathtypestring; @@ -534,6 +522,10 @@ string cvar_changes; float game_starttime; //point in time when the countdown is over .float stat_game_starttime; +.float stat_sv_airaccel_qw; +.float stat_sv_airstrafeaccel_qw; +.float stat_sv_airspeedlimit_nonqw; + void W_Porto_Remove (entity p); .float projectiledeathtype; @@ -643,3 +635,13 @@ string deathmessage; .float selectweapon; // last selected weapon of the player .float ballistics_density; // wall piercing factor, larger = bullet can pass through more + +#define ACTIVE_NOT 0 +#define ACTIVE_ACTIVE 1 +#define ACTIVE_IDLE 2 +#define ACTIVE_BUSY 2 +#define ACTIVE_TOGGLE 3 +.float active; +.float (float act_state) setactive; +======= +.entity realowner;