X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=ae94b7fc8f4e27938b0589af36e64ba1b370649d;hb=b4c7df19b04dd8f61fc72c21a2cb5ae03123519d;hp=8b6d65e1214d8e60cbd98578b4360ff7a5ec8437;hpb=55a4c54757ace30c9d82a63b73e8b6bce32b4643;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 8b6d65e12..ae94b7fc8 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -435,7 +435,7 @@ void GlobalSound(string samplestring, float channel, float voicetype); void FakeGlobalSound(string samplestring, float channel, float voicetype); void VoiceMessage(string type, string message); float GetPlayerSoundSampleField_notFound; -.string GetVoiceMessageSampleField(string type) +.string GetVoiceMessageSampleField(string type); // autotaunt system .float cvar_cl_autotaunt; @@ -586,7 +586,7 @@ string deathmessage; #define ACTIVE_BUSY 2 #define ACTIVE_TOGGLE 3 .float active; -.float (float act_state) setactive; +.void (float act_state) setactive; .entity realowner; .float nex_charge; @@ -606,6 +606,10 @@ float serverflags; .float freezetag_frozen; .float freezetag_revive_progress; +.float frozen; // for freeze attacks +.float revive_progress; +.float revive_speed; // NOTE: multiplier (anything above 1 is instaheal) + .entity muzzle_flash; .float misc_bulletcounter; // replaces uzi & hlac bullet counter. @@ -636,3 +640,18 @@ string modname; #define MISSILE_IS_CONFUSABLE(m) ((m.missile_flags & MIF_GUIDED_CONFUSABLE) ? TRUE : FALSE) #define MISSILE_IS_GUIDED(m) ((m.missile_flags & MIF_GUIDED_ALL) ? TRUE : FALSE) #define MISSILE_IS_TRACKING(m) ((m.missile_flags & MIF_GUIDED_TRACKING) ? TRUE : FALSE) + +.string spawnmob; +.float monster_attack; + +float monster_skill; +float spawncode_first_load; // used to tell the player the monster database is loading (TODO: fix this?) + +.entity monster_owner; // new monster owner entity, fixes non-solid monsters +.float monstercount; // per player monster count + +.float stat_monsters_killed; // stats +.float stat_monsters_total; +float monsters_total; +float monsters_killed; +void monsters_setstatus(); // monsters.qc