From: Martin Taibr Date: Sun, 12 Apr 2020 18:44:43 +0000 (+0200) Subject: rename X-Git-Tag: xonotic-v0.8.5~1117 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1a075aa18f6ea7358a8248c7473491ec2827778f;p=xonotic%2Fxonotic-data.pk3dir.git rename --- diff --git a/qcsrc/menu/xonotic/serverlist.qc b/qcsrc/menu/xonotic/serverlist.qc index 33fd2d31f..4d9e1a61f 100644 --- a/qcsrc/menu/xonotic/serverlist.qc +++ b/qcsrc/menu/xonotic/serverlist.qc @@ -92,7 +92,7 @@ bool IsServerInList(string list, string srv) return false; } -int CheckCategoryOverride(int cat) +int CategoryOverride(int cat) { entity catent = RetrieveCategoryEnt(cat); if(catent) @@ -103,12 +103,12 @@ int CheckCategoryOverride(int cat) } else { - error(sprintf("CheckCategoryOverride(%d): Improper category number!\n", cat)); + error(sprintf("CategoryOverride(%d): Improper category number!\n", cat)); return cat; } } -int CheckCategoryForEntry(int entry) +int CategoryForEntry(int entry) { string s, k, v, modtype = ""; int j, m, impure = 0, freeslots = 0, sflags = 0; diff --git a/qcsrc/menu/xonotic/serverlist.qh b/qcsrc/menu/xonotic/serverlist.qh index 01b065df7..8ad1856b0 100644 --- a/qcsrc/menu/xonotic/serverlist.qh +++ b/qcsrc/menu/xonotic/serverlist.qh @@ -71,7 +71,7 @@ ENDCLASS(XonoticServerList) entity makeXonoticServerList(); void RegisterSLCategories(); -float CheckCategoryForEntry(float entry); +float CategoryForEntry(float entry); void ServerList_Filter_Change(entity box, entity me); void ServerList_Categories_Click(entity box, entity me); void ServerList_ShowEmpty_Click(entity box, entity me); @@ -127,8 +127,8 @@ float IsServerInList(string list, string srv); entity RetrieveCategoryEnt(float catnum); -float CheckCategoryOverride(float cat); -float m_gethostcachecategory(float entry) { return CheckCategoryOverride(CheckCategoryForEntry(entry)); } +float CategoryOverride(float cat); +float m_gethostcachecategory(float entry) { return CategoryOverride(CategoryForEntry(entry)); } // fields for category entities