X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fcommand%2Fmarkup.qh;h=41fcf40042dac6c135262cc2da89259ab467cbfc;hb=ba0988ca930f50286f8cf3b6c114ebc6584964af;hp=6cf09d3ed4829c7c3bccd538b02ee4d08b6917bb;hpb=03909954b4ee287a38a122291fb8a6166b834a72;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/command/markup.qh b/qcsrc/common/command/markup.qh index 6cf09d3ed..41fcf4004 100644 --- a/qcsrc/common/command/markup.qh +++ b/qcsrc/common/command/markup.qh @@ -1,9 +1,74 @@ +#ifndef MARKUP_H +#define MARKUP_H + +#if defined(CSQC) + #include "../util-pre.qh" + #include "../../client/sys-pre.qh" + #include "../../dpdefs/csprogsdefs.qc" + #include "../../client/sys-post.qh" + #include "../../client/Defs.qc" + #include "../../dpdefs/keycodes.qc" + #include "../constants.qh" + #include "../stats.qh" + #include "../../warpzonelib/anglestransform.qh" + #include "../../warpzonelib/mathlib.qh" + #include "../../warpzonelib/common.qh" + #include "../../warpzonelib/client.qh" + #include "../playerstats.qh" + #include "../teams.qh" + #include "../util.qh" + #include "../nades.qh" + #include "../buffs.qh" + #include "../test.qh" + #include "../counting.qh" + #include "../weapons/weapons.qh" + #include "../mapinfo.qh" +#elif defined(MENUQC) + #include "../util-pre.qh" + #include "../../menu/sys-pre.qh" + #include "../../dpdefs/menudefs.qc" + #include "../../dpdefs/keycodes.qc" + #include "../../menu/sys-post.qh" + #include "../../menu/config.qh" + #include "../../warpzonelib/mathlib.qh" + #include "../util.qh" + #include "../test.qh" + #include "../../menu/oo/base.qh" + #include "../playerstats.qh" + #include "../teams.qh" + #include "../constants.qh" + #include "../mapinfo.qh" + #include "../campaign_common.qh" + #include "../weapons/weapons.qh" + #include "../counting.qh" +#elif defined(SVQC) + #include "../util-pre.qh" + #include "../../server/sys-pre.qh" + #include "../../dpdefs/progsdefs.qc" + #include "../../dpdefs/dpextensions.qc" + #include "../../server/sys-post.qh" + #include "../../warpzonelib/anglestransform.qh" + #include "../../warpzonelib/mathlib.qh" + #include "../../warpzonelib/common.qh" + #include "../../warpzonelib/util_server.qh" + #include "../../warpzonelib/server.qh" + #include "../constants.qh" + #include "../stats.qh" + #include "../teams.qh" + #include "../util.qh" + #include "../nades.qh" + #include "../buffs.qh" + #include "../test.qh" + #include "../counting.qh" + #include "../urllib.qh" +#endif // ========================================================== // Declarations for markup command code, reworked by Samual // Last updated: December 28th, 2011 // ========================================================== -#define NUM_MARKUPS 41 -float markup_init; +const int NUM_MARKUPS = 41; +bool markup_init; string markup_from[NUM_MARKUPS]; string markup_to[NUM_MARKUPS]; +#endif \ No newline at end of file