X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode.qh;h=5c17e9a1713c88e28d8a130d1583345132b3e490;hp=32e48f370162f6c89c4c11b8c4fb0e26aa802bec;hb=6ba37d06b4afe2b08882f5cc5b211441227586b2;hpb=98e1375c9938f3d86d6f8e28f44cd6af74d2fc0e diff --git a/qcsrc/server/mutators/gamemode.qh b/qcsrc/server/mutators/gamemode.qh index 32e48f3701..5c17e9a171 100644 --- a/qcsrc/server/mutators/gamemode.qh +++ b/qcsrc/server/mutators/gamemode.qh @@ -1,8 +1,6 @@ #ifndef GAMEMODE_H #define GAMEMODE_H -#include "mutator_nades.qh" - #include "../cl_client.qh" #include "../cl_player.qh" #include "../cl_impulse.qh" @@ -11,39 +9,40 @@ #include "../round_handler.qh" #include "../scores.qh" #include "../scores_rules.qh" -#include "../waypointsprites.qh" +#include "../teamplay.qh" #include "../bot/bot.qh" #include "../bot/navigation.qh" #include "../bot/waypoints.qh" #include "../bot/havocbot/roles.qh" -#include "../bot/havocbot/role_keyhunt.qh" #include "../bot/havocbot/havocbot.qh" #include "../command/vote.qh" -#include "../../common/monsters/all.qh" +#include #include "../command/common.qh" #include "../weapons/tracing.qh" #include "../weapons/weaponsystem.qh" -#include "../../common/deathtypes.qh" -#include "../../common/notifications.qh" -#include "../../common/triggers/teleporters.qh" -#include "../../common/triggers/subs.qh" -#include "../../common/stats.qh" -#include "../../common/teams.qh" +#include +#include +#include +#include +#include +#include -#include "../../warpzonelib/mathlib.qh" -#include "../../warpzonelib/server.qh" -#include "../../warpzonelib/util_server.qh" +#include +#include .float lastground; float total_players; float redalive, bluealive, yellowalive, pinkalive; -.float redalive_stat, bluealive_stat, yellowalive_stat, pinkalive_stat; +.float redalive_stat = _STAT(REDALIVE); +.float bluealive_stat = _STAT(BLUEALIVE); +.float yellowalive_stat = _STAT(YELLOWALIVE); +.float pinkalive_stat = _STAT(PINKALIVE); #endif