X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode_keepaway.qh;h=250f2fbc9f45979a0e48c05c454e0ec6f4a5f000;hb=b67505ebdf6ddb105e3ec745a71dae5490ad2508;hp=83a2d0bf5b3030f8429b8a4e7519fa19de4815da;hpb=5fd71ce5ea75779f5a260b4602c03814ebf45bdc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/gamemode_keepaway.qh b/qcsrc/server/mutators/gamemode_keepaway.qh index 83a2d0bf5..250f2fbc9 100644 --- a/qcsrc/server/mutators/gamemode_keepaway.qh +++ b/qcsrc/server/mutators/gamemode_keepaway.qh @@ -1,5 +1,17 @@ +#ifndef GAMEMODE_KEEPAWAY_H +#define GAMEMODE_KEEPAWAY_H + +// these are needed since mutators are compiled last + entity ka_ball; -#define SP_KEEPAWAY_PICKUPS 4 -#define SP_KEEPAWAY_CARRIERKILLS 5 -#define SP_KEEPAWAY_BCTIME 6 +const float SP_KEEPAWAY_PICKUPS = 4; +const float SP_KEEPAWAY_CARRIERKILLS = 5; +const float SP_KEEPAWAY_BCTIME = 6; + +void() havocbot_role_ka_carrier; +void() havocbot_role_ka_collector; + +void ka_DropEvent(entity plyr); + +#endif