X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fscores.qh;h=8c9af4534fa1158106727abaf7b52716f4ad0908;hb=7ecebcaed42364cf2c048c484ef4c7c173f62748;hp=c26a4d295ea78cc9ab977d447f336ce7dbcd424f;hpb=a94cd06c4cc5cb8c51ccb40ef77f93b4b6131207;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/scores.qh b/qcsrc/server/scores.qh index c26a4d295..8c9af4534 100644 --- a/qcsrc/server/scores.qh +++ b/qcsrc/server/scores.qh @@ -1,3 +1,8 @@ +#ifndef SCORES_H +#define SCORES_H + +#include "../common/constants.qh" + entity scores_initialized; // non-world when scores labels/rules have been set .float scores[MAX_SCORE]; .float teamscores[MAX_TEAMSCORE]; @@ -124,3 +129,4 @@ string GetTeamScoreString(float tm, float shortString); * nospectators: exclude spectators */ entity PlayerScore_Sort(.float field, float teams, float strict, float nospectators); +#endif