]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/main.qh
Get VoreTournament code to compile with gmqcc. To be compiled with the same parameter...
[voretournament/voretournament.git] / data / qcsrc / client / main.qh
index 949ff1bfedcf2e403ffff45d64c00b7ac091acc9..5d8799498c28d6cbb5cf221b54d26b81be181eb7 100644 (file)
@@ -1,5 +1,3 @@
-const string string_null;\r
-\r
 // --------------------------------------------------------------------------\r
 // MENU Functionality\r
 \r
@@ -11,7 +9,8 @@ const string string_null;
 #define DATABUF_NEXT (5*maxclients)\r
 \r
 void() menu_show_error;\r
-void() menu_sub_null;\r
+float(float, float, float) menu_sub_null_float;\r
+void () menu_sub_null_void;\r
 \r
 float menu_visible;\r
 var void() menu_show;\r
@@ -31,7 +30,7 @@ vector mi_center;
 vector mi_scale;\r
 // Minimap\r
 string minimapname;\r
-float ons_showmap;\r
+float showmap;\r
 \r
 // --------------------------------------------------------------------------\r
 // General stuff\r
@@ -80,6 +79,7 @@ const float COLOR_SPECTATOR = 1337;
 #define ST_NAME -2\r
 #define ST_HEALTH -3\r
 \r
+#define STP_HIGHLIGHT -2\r
 #define STP_NAME -1\r
 \r
 float sbar_field[MAX_SBAR_FIELDS + 1];\r
@@ -94,8 +94,8 @@ string scores_label[MAX_SCORE];
 float scores_flags[MAX_SCORE];\r
 string teamscores_label[MAX_SCORE];\r
 float teamscores_flags[MAX_SCORE];\r
-.float scores[MAX_SCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(scores);\r
-.float teamscores[MAX_TEAMSCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(teamscores);\r
+.float scores[MAX_SCORE];\r
+.float teamscores[MAX_TEAMSCORE];\r
 \r
 #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER )\r
 #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) )\r
@@ -161,10 +161,16 @@ void centerprint(string strMessage);
 \r
 #define ALPHA_MIN_VISIBLE 0.003\r
 \r
+float g_campaign;\r
+\r
 float armorblockpercent;\r
 float g_weaponswitchdelay;\r
 \r
-float g_balance_vore_swallow_limit;\r
+float g_vore;\r
+float g_healthsize_center, g_healthsize_min, g_healthsize_max;\r
+float armor_max;\r
+float teamheal_max;\r
+float g_power, g_power_reboot, g_power_reboot_spawn;\r
 \r
 //hooks\r
 float calledhooks;\r
@@ -173,3 +179,5 @@ float calledhooks;
 \r
 .float ping, ping_packetloss, ping_movementloss;\r
 .float plhealth, plpredator;\r
+\r
+entity entcs_receiver[255]; // 255 is the engine limit on maxclients\r