X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fround_handler.qh;h=448788442842ab2bd631abb1daefbcf3a0a7678a;hb=165d542813201a21cb6152ea5d22454e43e117c7;hp=22a91dc2c6dca767072fca80c2575c1fa3c4a2e1;hpb=0d3f9b43325161631e21e0daa8dfdd943975fe74;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/round_handler.qh b/qcsrc/server/round_handler.qh index 22a91dc2c..448788442 100644 --- a/qcsrc/server/round_handler.qh +++ b/qcsrc/server/round_handler.qh @@ -1,7 +1,10 @@ +#ifndef ROUND_HANDLER_H +#define ROUND_HANDLER_H + entity round_handler; .float delay; // stores delay from round end to countdown start .float count; // stores initial number of the countdown -.float wait; // it's set to TRUE when round ends, to FALSE when countdown starts +.float wait; // it's set to true when round ends, to false when countdown starts .float cnt; // its initial value is .count + 1, then decreased while counting down // reaches 0 when the round starts .float round_timelimit; @@ -21,3 +24,4 @@ void round_handler_Remove(); #define round_handler_IsRoundStarted() (!round_handler.wait && !round_handler.cnt) #define round_handler_GetEndTime() (round_handler.round_endtime) +#endif