]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/sv_cmd.qh
Merge branch 'TimePath/itemstime2.0_regressions' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / sv_cmd.qh
index c2b3a046c171a200be4cf9104652b2d32187851b..0cc520c2e402e21d6bed78e35a94365b9a6033ab 100644 (file)
@@ -1,15 +1,20 @@
-// =====================================================
-//  Server side game commands code, reworked by Samual
-//  Last updated: December 6th, 2011
-// =====================================================
+#ifndef SV_CMD_H
+#define SV_CMD_H
 
-float RadarMap_Make(float argc);
+// =================================================
+//  Declarations for server side game commands
+//  Last updated: December 25th, 2011
+// =================================================
 
 string GotoMap(string m);
 
 void race_deleteTime(string map, float pos);
 
-#define SHUFFLETEAMS_MAX_PLAYERS 255
-#define SHUFFLETEAMS_MAX_TEAMS 4
+const float SHUFFLETEAMS_MAX_PLAYERS = 255;
+const float SHUFFLETEAMS_MAX_TEAMS = 4;
 float shuffleteams_players[SHUFFLETEAMS_MAX_PLAYERS]; // maximum of 255 player slots
 float shuffleteams_teams[SHUFFLETEAMS_MAX_TEAMS]; // maximum of 4 teams
+
+// used by common/command/generic.qc:GenericCommand_dumpcommands to list all commands into a .txt file
+void GameCommand_macro_write_aliases(float fh);
+#endif