-#if defined(CSQC)
- #include "../../dpdefs/csprogsdefs.qh"
- #include "../constants.qh"
- #include "../util.qh"
- #include "../mapinfo.qh"
- #include "generic.qh"
- #include "shared_defs.qh"
- #include "../../client/command/cl_cmd.qh"
- #include "../notifications.qh"
-#elif defined(MENUQC)
-#elif defined(SVQC)
- #include "../../dpdefs/progsdefs.qh"
- #include "../../dpdefs/dpextensions.qh"
- #include "../constants.qh"
- #include "../util.qh"
- #include "../test.qh"
- #include "generic.qh"
- #include "shared_defs.qh"
- #include "../weapons/config.qh"
- #include "../notifications.qh"
- #include "../mapinfo.qh"
- #include "../../server/command/common.qh"
- #include "../../server/command/banning.qh"
- #include "../../server/command/cmd.qh"
- #include "../../server/command/sv_cmd.qh"
-#endif
+#include "generic.qh"
+#include "shared_defs.qh"
// =========================================================
// Generic program common command code, written by Samual
-#if defined(CSQC)
- #include "../../dpdefs/csprogsdefs.qh"
- #include "../weapons/weapons.qh"
- #include "monsters.qh"
-#elif defined(MENUQC)
-#elif defined(SVQC)
- #include "../../dpdefs/progsdefs.qh"
- #include "../../dpdefs/dpextensions.qh"
- #include "../../warpzonelib/server.qh"
- #include "../constants.qh"
- #include "../util.qh"
- #include "monsters.qh"
- #include "sv_monsters.qh"
- #include "../weapons/weapons.qh"
- #include "../../server/t_items.qh"
- #include "../../server/autocvars.qh"
- #include "../../server/constants.qh"
- #include "../../server/defs.qh"
- #include "../deathtypes.qh"
- #include "../../server/mutators/mutators_include.qh"
- #include "../../csqcmodellib/sv_model.qh"
-#endif
+#include "monsters.qh"
+
#include "all.qh"
// MONSTER PLUGIN SYSTEM
+#include "../menu.qh"
+
#ifdef INTERFACE
CLASS(AnimHost) EXTENDS(Object)
METHOD(AnimHost, addAnim, void(entity, entity))
-#if defined(CSQC)
-#elif defined(MENUQC)
- #include "../../dpdefs/menudefs.qh"
- #include "../../common/util.qh"
- #include "../oo/base.qh"
- #include "menu_cmd.qh"
- #include "../menu.qh"
-#elif defined(SVQC)
-#endif
+#include "menu_cmd.qh"
+
+#include "../../common/command/generic.qh"
string _dumptree_space;
void _dumptree_open(entity pass, entity me)
+++ /dev/null
-#ifndef CONFIG_H
-#define CONFIG_H
-
-#endif
\ No newline at end of file
#ifndef MENU_H
#define MENU_H
+#include "draw.qh"
+#include "skin.qh"
+
+#include "oo/base.qh"
+
+#include "xonotic/util.qh"
+
+#include "../common/constants.qh"
+#include "../common/test.qh"
+#include "../common/util.qh"
+
#define localcmd cmd
#define NULL (null_entity)
../dpdefs/keycodes.qh
sys-post.qh
-config.qh
-
-../warpzonelib/mathlib.qh
-../common/util.qh
-../common/test.qh
-
-oo/base.qh
-
-../common/playerstats.qh
-../common/teams.qh
-../common/constants.qh
-../common/mapinfo.qh
-../common/campaign_common.qh
-../common/weapons/weapons.qh // TODO
-../common/counting.qh
-../common/command/markup.qh
-../common/command/rpn.qh
-../common/command/generic.qh
-../common/command/shared_defs.qh
-../common/urllib.qh
-../common/monsters/monsters.qh
-
-command/menu_cmd.qh
-menu.qh
-draw.qh
-skin.qh
-xonotic/util.qh
-
oo/interface.qh
classes.qc
oo/implementation.qh
classes.qc
-../common/util.qc
-../common/test.qc
-../common/playerstats.qc
-../common/command/markup.qc
-../common/command/rpn.qc
-../common/command/generic.qc
-command/menu_cmd.qc
-menu.qc
draw.qc
+menu.qc
+
+command/menu_cmd.qc
+
xonotic/util.qc
../common/campaign_file.qc
../common/campaign_setup.qc
../common/mapinfo.qc
-../common/weapons/weapons.qc // TODO
+../common/playerstats.qc
+../common/test.qc
../common/urllib.qc
+../common/util.qc
+
+../common/command/generic.qc
+../common/command/markup.qc
+../common/command/rpn.qc
+
../common/monsters/monsters.qc
-../warpzonelib/mathlib.qc
+../common/weapons/weapons.qc // TODO
+
+../warpzonelib/mathlib.qc
\ No newline at end of file
+#include "../../common/campaign_common.qh"
+
#ifdef INTERFACE
CLASS(XonoticCampaignList) EXTENDS(XonoticListBox)
METHOD(XonoticCampaignList, configureXonoticCampaignList, void(entity))
+#include "../../common/weapons/weapons.qh"
+
#ifdef INTERFACE
CLASS(XonoticMutatorsDialog) EXTENDS(XonoticDialog)
METHOD(XonoticMutatorsDialog, toString, string(entity))
+#include "../../common/mapinfo.qh"
+
#ifdef INTERFACE
CLASS(XonoticServerInfoDialog) EXTENDS(XonoticDialog)
METHOD(XonoticServerInfoDialog, fill, void(entity))
+#include "../../warpzonelib/mathlib.qh"
+
#ifdef INTERFACE
CLASS(XonoticDecibelsSlider) EXTENDS(XonoticSlider)
METHOD(XonoticDecibelsSlider, loadCvars, void(entity))
+#include "../../common/counting.qh"
+#include "../../common/playerstats.qh"
+
#ifdef INTERFACE
CLASS(XonoticStatsList) EXTENDS(XonoticListBox)
METHOD(XonoticStatsList, configureXonoticStatsList, void(entity))
-#if defined(CSQC)
-#elif defined(MENUQC)
-#elif defined(SVQC)
-#endif
+#include "../../common/urllib.qh"
float GL_CheckExtension(string ext)
{