X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=8e1d29231daef1bcb63f8425c411376ba8b1d3dd;hb=125d619e9ab2a307b15b7ee1a2ededed32c7e84d;hp=54d1ed041f3afda186a7689a674ea572e3a0612b;hpb=7c23ed5b3de9accee0ebceba1b5e207af57e39c2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 54d1ed041..8e1d29231 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -1,7 +1,7 @@ #ifndef SERVER_DEFS_H #define SERVER_DEFS_H -#include "../common/weapons/weapons.qh" +#include "../common/weapons/all.qh" #define INDEPENDENT_ATTACK_FINISHED @@ -46,8 +46,6 @@ float g_jetpack; float sv_clones; float sv_foginterval; -entity activator; - float player_count; float currentbots; float bots_would_leave; @@ -70,21 +68,6 @@ float server_is_dedicated; //.string map; //.float worldtype; -.float delay; -.float wait; -.float lip; -//.float light_lev; -.float speed; -//.float style; -//.float skill; -.float sounds; -.string platmovetype; -.float platmovetype_start, platmovetype_end; - -.string killtarget; - -.vector pos1, pos2; -.vector mangle; .float pain_finished; //Added by Supajoe .float pain_frame; //" @@ -94,14 +77,7 @@ float server_is_dedicated; .float invincible_finished; .float superweapons_finished; -.vector finaldest, finalangle; //plat.qc stuff -.void() think1; -.float state; -.float t_length, t_width; - -.vector destvec; // for rain -.vector destvec2; // for train -.float cnt; // for rain +.float cnt; // used in too many places .float count; //.float cnt2; @@ -113,15 +89,6 @@ float server_is_dedicated; .float fade_time; .float fade_rate; -// player animation state -.float animstate_startframe; -.float animstate_numframes; -.float animstate_framerate; -.float animstate_starttime; -.float animstate_endtime; -.float animstate_override; -.float animstate_looping; - // weapon animation vectors: .vector anim_fire1; .vector anim_fire2; @@ -210,26 +177,13 @@ const int W_TICSPERFRAME = 2; void weapon_defaultspawnfunc(float wpn); -.vector dest1, dest2; - float gameover; float intermission_running; float intermission_exittime; float alreadychangedlevel; -// Keys player is holding -.float itemkeys; -// message delay for func_door locked by keys and key locks -// this field is used on player entities -.float key_door_messagetime; - - .float version; -//swamp -.float in_swamp; // bool -.entity swampslug; // Uses this to release from swamp ("untouch" fix) - // footstep interval .float nextstep; @@ -250,7 +204,7 @@ float nJoinAllowed(entity ignore); .entity flagcarried; -.float playerid; +.int playerid; float playerid_last; .float noalign; // if set to 1, the item or spawnpoint won't be dropped to the floor @@ -284,10 +238,6 @@ float default_weapon_alpha; .float version_nagtime; -const int NUM_JUMPPADSUSED = 3; -.float jumppadcount; -.entity jumppadsused[NUM_JUMPPADSUSED]; - string gamemode_name; float startitem_failed; @@ -447,11 +397,6 @@ float round_starttime; //point in time when the countdown to round start is over .float stat_game_starttime; .float stat_round_starttime; -.float stat_sv_airaccel_qw; -.float stat_sv_airstrafeaccel_qw; -.float stat_sv_airspeedlimit_nonqw; -.float stat_sv_maxspeed; - void W_Porto_Remove (entity p); .int projectiledeathtype; @@ -464,16 +409,6 @@ void W_Porto_Remove (entity p); // may be useful to all weapons .float bulletcounter; -void target_voicescript_next(entity pl); -void target_voicescript_clear(entity pl); - -.string target2; -.string target3; -.string target4; -.string curvetarget; -.float target_random; -.float trigger_reverse; - // Nexball .entity ballcarried; // Also used for keepaway .float metertime; @@ -594,8 +529,6 @@ void PlayerUseKey(); typedef vector(entity player, entity spot, vector current) spawn_evalfunc_t; .spawn_evalfunc_t spawn_evalfunc; -.entity conveyor; - string modname; .float missile_flags;