// Last updated: December 28th, 2011
// ==============================================
+#include "../../common/command/command.qh"
#include "cl_cmd.qh"
#include "../autocvars.qh"
#include "../../common/mapinfo.qh"
#include "../../common/command/generic.qh"
-#include "../../common/command/shared_defs.qh"
void DrawDebugModel()
{
--- /dev/null
+#include "../_.qh"
+
+#include "../../common/command/commands.qc"
+
+#include "cl_cmd.qc"
--- /dev/null
+#ifndef CLIENT_COMMANDS_H
+#define CLIENT_COMMANDS_H
+
+#include "../../common/command/commands.qh"
+
+#include "cl_cmd.qh"
+
+#endif
wall.qc
waypointsprites.qc
-command/cl_cmd.qc
+command/commands.qc
vehicles/bumblebee.qc
vehicles/vehicles.qc
../common/urllib.qc
../common/util.qc
-../common/command/generic.qc
-../common/command/markup.qc
-../common/command/rpn.qc
-
../common/monsters/monsters.qc
../common/weapons/weapons.qc // TODO
--- /dev/null
+#ifndef COMMAND_H
+#define COMMAND_H
+
+// =========================================================
+// Shared declarations for all commands, written by Samual
+// Last updated: December 13th, 2011
+// =========================================================
+
+// identifiers for subfunction requests by the command code structure
+const int CMD_REQUEST_COMMAND = 1;
+const int CMD_REQUEST_USAGE = 2;
+#endif
--- /dev/null
+#include "generic.qc"
+#include "markup.qc"
+#include "rpn.qc"
--- /dev/null
+#ifndef COMMON_COMMANDS_H
+#define COMMON_COMMANDS_H
+
+#include "generic.qh"
+#include "markup.qh"
+#include "rpn.qh"
+
+#endif
+#include "command.qh"
#include "generic.qh"
-#include "shared_defs.qh"
+
+#include "markup.qh"
+#include "rpn.qh"
+
+#include "../mapinfo.qh"
+#include "../test.qh"
+
+#ifndef MENUQC
+ #include "../notifications.qh"
+#endif
+
+#ifdef CSQC
+ #include "../../client/command/cl_cmd.qh"
+#endif
+
+#ifdef SVQC
+ #include "../../server/command/banning.qh"
+ #include "../../server/command/cmd.qh"
+ #include "../../server/command/common.qh"
+ #include "../../server/command/sv_cmd.qh"
+#endif
// =========================================================
// Generic program common command code, written by Samual
-#ifndef GENERIC_H
-#define GENERIC_H
+#ifndef COMMAND_GENERIC_H
+#define COMMAND_GENERIC_H
#include "../constants.qh"
-#include "markup.qh"
-#include "rpn.qh"
// =========================================================
// Declarations for common command code, written by Samual
+#include "command.qh"
#include "markup.qh"
// =========================================================
-#ifndef MARKUP_H
-#define MARKUP_H
+#ifndef COMMAND_MARKUP_H
+#define COMMAND_MARKUP_H
// ==========================================================
// Declarations for markup command code, reworked by Samual
+#include "command.qh"
#include "rpn.qh"
+#include "../../warpzonelib/mathlib.qh"
+
// ========================================
// RPN command code, written by divVerent
// Last updated: December 28th, 2011
-#ifndef RPN_H
-#define RPN_H
+#ifndef COMMAND_RPN_H
+#define COMMAND_RPN_H
// =========================================================
// Declarations for RPN command code, written by divVerent
+++ /dev/null
-#ifndef SHARED_DEFS_H
-#define SHARED_DEFS_H
-
-// =========================================================
-// Shared declarations for all commands, written by Samual
-// Last updated: December 13th, 2011
-// =========================================================
-
-// identifiers for subfunction requests by the command code structure
-const int CMD_REQUEST_COMMAND = 1;
-const int CMD_REQUEST_USAGE = 2;
-#endif
string CCR(string input);
#ifndef MENUQC
-#ifdef CSQC
-#define GENTLE (autocvar_cl_gentle || autocvar_cl_gentle_messages)
-#else
-#define GENTLE autocvar_sv_gentle
-#endif
-#define normal_or_gentle(normal,gentle) (GENTLE ? ((gentle != "") ? gentle : normal) : normal)
+ #ifdef CSQC
+ #define GENTLE (autocvar_cl_gentle || autocvar_cl_gentle_messages)
+ #else
+ #define GENTLE autocvar_sv_gentle
+ #endif
+ #define normal_or_gentle(normal, gentle) (GENTLE ? ((gentle != "") ? gentle : normal) : normal)
#endif
// allow writing to also pass through to spectators (like so spectators see the same centerprints as players for example)
--- /dev/null
+#ifndef CLIENT___H
+#define CLIENT___H
+
+#include "../dpdefs/menudefs.qh"
+#include "../dpdefs/keycodes.qh"
+
+#endif
--- /dev/null
+#include "../../common/command/commands.qc"
+
+#include "menu_cmd.qc"
--- /dev/null
+#ifndef MENU_COMMANDS_H
+#define MENU_COMMANDS_H
+
+#include "../../common/command/commands.qh"
+
+#include "menu_cmd.qh"
+
+#endif
draw.qc
menu.qc
-command/menu_cmd.qc
+command/commands.qc
xonotic/util.qc
../common/urllib.qc
../common/util.qc
-../common/command/generic.qc
-../common/command/markup.qc
-../common/command/rpn.qc
-
../common/monsters/monsters.qc
../common/weapons/weapons.qc // TODO
+#include "../../common/command/command.qh"
+#include "banning.qh"
#include "../_.qh"
-#include "../cl_player.qh"
-#include "banning.qh"
#include "common.qh"
+#include "../cl_player.qh"
#include "../ipban.qh"
-#include "../../common/command/shared_defs.qh"
-
#include "../../common/util.qh"
+
// =====================================================
// Banning and kicking command code, written by Samual
// Last updated: December 29th, 2011
+#include "../../common/command/command.qh"
#include "cmd.qh"
#include "../_.qh"
#include "../../common/monsters/spawn.qh"
#include "../../common/monsters/sv_monsters.qh"
-#include "../../common/command/shared_defs.qh"
-
-#include "../../dpdefs/dpextensions.qh"
-#include "../../dpdefs/progsdefs.qh"
-
#include "../../warpzonelib/common.qh"
void ClientKill_TeamChange (float targetteam); // 0 = don't change, -1 = auto, -2 = spec
--- /dev/null
+#include "../../common/command/commands.qc"
+
+#include "sv_cmd.qc"
+
+#include "banning.qc"
+#include "cmd.qc"
+#include "common.qc"
+#include "getreplies.qc"
+#include "radarmap.qc"
+#include "vote.qc"
--- /dev/null
+#ifndef SERVER_COMMANDS_H
+#define SERVER_COMMANDS_H
+
+#include "../../common/command/commands.qh"
+
+#include "sv_cmd.qh"
+
+#include "banning.qh"
+#include "cmd.qh"
+#include "common.qh"
+#include "getreplies.qh"
+#include "radarmap.qh"
+#include "vote.qh"
+
+#endif
+#include "../../common/command/command.qh"
#include "common.qh"
#include "../_.qh"
#include "vote.qh"
#include "../../common/command/generic.qh"
-#include "../../common/command/shared_defs.qh"
+#include "../../common/command/command.qh"
// ============================================================
// Shared declarations for server commands, written by Samual
+#include "../../common/command/command.qh"
#include "getreplies.qh"
#include "../_.qh"
+#include "../../common/command/command.qh"
#include "radarmap.qh"
#include "../_.qh"
+#include "../../common/command/command.qh"
#include "sv_cmd.qh"
#include "../_.qh"
#include "../../common/teams.qh"
#include "../../common/util.qh"
-#include "../../common/command/shared_defs.qh"
-
#include "../../common/monsters/sv_monsters.qh"
#include "../../warpzonelib/mathlib.qh"
+#include "../../common/command/command.qh"
#include "vote.qh"
#include "../_.qh"
#include "../../common/playerstats.qh"
#include "../../common/util.qh"
-#include "../../common/command/shared_defs.qh"
-
// =============================================
// Server side voting code, reworked by Samual
// Last updated: December 27th, 2011
#include "../../common/command/markup.qh"
#include "../../common/command/rpn.qh"
#include "../../common/command/generic.qh"
- #include "../../common/command/shared_defs.qh"
+ #include "../../common/command/command.qh"
#include "../../common/net_notice.qh"
#include "../../common/animdecide.qh"
#include "../../common/monsters/monsters.qh"
bot/havocbot/role_onslaught.qc
bot/havocbot/roles.qc
-command/banning.qc
-command/cmd.qc
-command/common.qc
-command/getreplies.qc
-command/radarmap.qc
-command/sv_cmd.qc
-command/vote.qc
+command/commands.qc
mutators/mutators_include.qc
mutators/mutators.qc
../common/buffs.qc
../common/campaign_file.qc
../common/campaign_setup.qc
-../common/command/generic.qc
-../common/command/markup.qc
-../common/command/rpn.qc
../common/mapinfo.qc
../common/monsters/monsters.qc
../common/monsters/spawn.qc