X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fclanarena%2Fclanarena.qh;h=095d043b7128b69363a1b9ead5a18ac02b868bca;hb=8141387a9bf057652453a8d4dc530116cf4cc31a;hp=ad5909eb297bc088b51eee3b1f82e8e0cb2dfaac;hpb=92817ce5c199e88e5f82ca81c4a4fe24c078638e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/gamemodes/gamemode/clanarena/clanarena.qh b/qcsrc/common/gamemodes/gamemode/clanarena/clanarena.qh index ad5909eb2..095d043b7 100644 --- a/qcsrc/common/gamemodes/gamemode/clanarena/clanarena.qh +++ b/qcsrc/common/gamemodes/gamemode/clanarena/clanarena.qh @@ -3,8 +3,9 @@ #include #ifdef CSQC -void HUD_Mod_CA(vector pos, vector mySize); -void HUD_Mod_CA_Export(int fh); +//void HUD_Mod_CA(vector pos, vector mySize); +//void HUD_Mod_CA_Export(int fh); +int HUD_Scores_CA(int team); #endif CLASS(ClanArena, Gametype) INIT(ClanArena) @@ -37,11 +38,12 @@ CLASS(ClanArena, Gametype) METHOD(ClanArena, m_configuremenu, void(Gametype this, entity menu, void(entity me, string pLabel, float pMin, float pMax, float pStep, string pCvar, string tCvar, string pTooltip) returns)) { TC(Gametype, this); - returns(menu, _("Frag limit:"), 5, 100, 5, "fraglimit_override", "g_ca_teams_override", _("The amount of frags needed before the match will end")); + returns(menu, _("Round limit:"), 5, 100, 5, "fraglimit_override", "g_ca_teams_override", _("The amount of rounds won needed before the match will end")); } #ifdef CSQC - ATTRIB(ClanArena, m_modicons, void(vector pos, vector mySize), HUD_Mod_CA); - ATTRIB(ClanArena, m_modicons_export, void(int fh), HUD_Mod_CA_Export); + //ATTRIB(ClanArena, m_modicons, void(vector pos, vector mySize), HUD_Mod_CA); + //ATTRIB(ClanArena, m_modicons_export, void(int fh), HUD_Mod_CA_Export); + ATTRIB(ClanArena, m_modscores, int(int team), HUD_Scores_CA); #endif ATTRIB(ClanArena, m_legacydefaults, string, "10 20 0"); ENDCLASS(ClanArena)