From: Mario Date: Sat, 31 Aug 2019 03:21:36 +0000 (+1000) Subject: Make genmod.sh output compile again X-Git-Tag: xonotic-v0.8.5~1339 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=b1a424c6c61fba8a6bb65f2c97825d4e24d33849;hp=6d4cf410ddf50f5699b510d4dc8f23101e2b1be2 Make genmod.sh output compile again --- diff --git a/qcsrc/common/gamemodes/gamemode/ctf/_mod.inc b/qcsrc/common/gamemodes/gamemode/ctf/_mod.inc index c6d756fbb8..663a5f829a 100644 --- a/qcsrc/common/gamemodes/gamemode/ctf/_mod.inc +++ b/qcsrc/common/gamemodes/gamemode/ctf/_mod.inc @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/ctf/ctf.qc b/qcsrc/common/gamemodes/gamemode/ctf/ctf.qc new file mode 100644 index 0000000000..a6157c5886 --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/ctf/ctf.qc @@ -0,0 +1 @@ +#include "ctf.qh" diff --git a/qcsrc/common/gamemodes/gamemode/domination/_mod.inc b/qcsrc/common/gamemodes/gamemode/domination/_mod.inc index ccaa150df7..a35415a8f3 100644 --- a/qcsrc/common/gamemodes/gamemode/domination/_mod.inc +++ b/qcsrc/common/gamemodes/gamemode/domination/_mod.inc @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/domination/_mod.qh b/qcsrc/common/gamemodes/gamemode/domination/_mod.qh index b48a0a9147..869273e850 100644 --- a/qcsrc/common/gamemodes/gamemode/domination/_mod.qh +++ b/qcsrc/common/gamemodes/gamemode/domination/_mod.qh @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/domination/domination.qc b/qcsrc/common/gamemodes/gamemode/domination/domination.qc new file mode 100644 index 0000000000..3e5bebafbd --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/domination/domination.qc @@ -0,0 +1 @@ +#include "domination.qh" diff --git a/qcsrc/common/gamemodes/gamemode/domination/domination.qh b/qcsrc/common/gamemodes/gamemode/domination/domination.qh new file mode 100644 index 0000000000..6f70f09bee --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/domination/domination.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/common/gamemodes/gamemode/keepaway/_mod.inc b/qcsrc/common/gamemodes/gamemode/keepaway/_mod.inc index 2ce6f4493b..42fb4b0e24 100644 --- a/qcsrc/common/gamemodes/gamemode/keepaway/_mod.inc +++ b/qcsrc/common/gamemodes/gamemode/keepaway/_mod.inc @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/keepaway/_mod.qh b/qcsrc/common/gamemodes/gamemode/keepaway/_mod.qh index 8536675f3f..93eaf396c7 100644 --- a/qcsrc/common/gamemodes/gamemode/keepaway/_mod.qh +++ b/qcsrc/common/gamemodes/gamemode/keepaway/_mod.qh @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/keepaway/keepaway.qc b/qcsrc/common/gamemodes/gamemode/keepaway/keepaway.qc new file mode 100644 index 0000000000..fe03dc9a9d --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/keepaway/keepaway.qc @@ -0,0 +1 @@ +#include "keepaway.qh" diff --git a/qcsrc/common/gamemodes/gamemode/keepaway/keepaway.qh b/qcsrc/common/gamemodes/gamemode/keepaway/keepaway.qh new file mode 100644 index 0000000000..6f70f09bee --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/keepaway/keepaway.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/common/gamemodes/gamemode/keyhunt/_mod.inc b/qcsrc/common/gamemodes/gamemode/keyhunt/_mod.inc index 14802494b9..52b5f0df8f 100644 --- a/qcsrc/common/gamemodes/gamemode/keyhunt/_mod.inc +++ b/qcsrc/common/gamemodes/gamemode/keyhunt/_mod.inc @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/keyhunt/_mod.qh b/qcsrc/common/gamemodes/gamemode/keyhunt/_mod.qh index defda74978..46f35788ed 100644 --- a/qcsrc/common/gamemodes/gamemode/keyhunt/_mod.qh +++ b/qcsrc/common/gamemodes/gamemode/keyhunt/_mod.qh @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qc b/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qc new file mode 100644 index 0000000000..724a0e6d4f --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qc @@ -0,0 +1 @@ +#include "keyhunt.qh" diff --git a/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qh b/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qh new file mode 100644 index 0000000000..6f70f09bee --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/keyhunt/keyhunt.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/common/gamemodes/gamemode/nexball/_mod.inc b/qcsrc/common/gamemodes/gamemode/nexball/_mod.inc index b229dcdf50..4e9fd6b103 100644 --- a/qcsrc/common/gamemodes/gamemode/nexball/_mod.inc +++ b/qcsrc/common/gamemodes/gamemode/nexball/_mod.inc @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/nexball/_mod.qh b/qcsrc/common/gamemodes/gamemode/nexball/_mod.qh index 0a3d1e2383..657280e6a5 100644 --- a/qcsrc/common/gamemodes/gamemode/nexball/_mod.qh +++ b/qcsrc/common/gamemodes/gamemode/nexball/_mod.qh @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc new file mode 100644 index 0000000000..4b49dba3ed --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qc @@ -0,0 +1 @@ +#include "nexball.qh" diff --git a/qcsrc/common/gamemodes/gamemode/nexball/nexball.qh b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qh new file mode 100644 index 0000000000..6f70f09bee --- /dev/null +++ b/qcsrc/common/gamemodes/gamemode/nexball/nexball.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/common/mutators/mutator/dodging/_mod.inc b/qcsrc/common/mutators/mutator/dodging/_mod.inc index 99b822d42a..05ce178bd4 100644 --- a/qcsrc/common/mutators/mutator/dodging/_mod.inc +++ b/qcsrc/common/mutators/mutator/dodging/_mod.inc @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/mutators/mutator/dodging/_mod.qh b/qcsrc/common/mutators/mutator/dodging/_mod.qh index d2c0d05c7a..3b106c653a 100644 --- a/qcsrc/common/mutators/mutator/dodging/_mod.qh +++ b/qcsrc/common/mutators/mutator/dodging/_mod.qh @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/mutators/mutator/dodging/dodging.qc b/qcsrc/common/mutators/mutator/dodging/dodging.qc new file mode 100644 index 0000000000..9e7ea204f7 --- /dev/null +++ b/qcsrc/common/mutators/mutator/dodging/dodging.qc @@ -0,0 +1 @@ +#include "dodging.qh" diff --git a/qcsrc/common/mutators/mutator/dodging/dodging.qh b/qcsrc/common/mutators/mutator/dodging/dodging.qh new file mode 100644 index 0000000000..6f70f09bee --- /dev/null +++ b/qcsrc/common/mutators/mutator/dodging/dodging.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/common/mutators/mutator/overkill/_mod.inc b/qcsrc/common/mutators/mutator/overkill/_mod.inc index 017cc2082a..227be46269 100644 --- a/qcsrc/common/mutators/mutator/overkill/_mod.inc +++ b/qcsrc/common/mutators/mutator/overkill/_mod.inc @@ -1,15 +1,16 @@ // generated file; do not modify +#include +#include +#include +#include +#include +#include #ifdef CSQC #include #endif #ifdef SVQC #include #endif -#include -#include -#include -#include -#include #ifdef SVQC #include #endif diff --git a/qcsrc/common/mutators/mutator/overkill/_mod.qh b/qcsrc/common/mutators/mutator/overkill/_mod.qh index 7731f17e16..dc2bb0a5b1 100644 --- a/qcsrc/common/mutators/mutator/overkill/_mod.qh +++ b/qcsrc/common/mutators/mutator/overkill/_mod.qh @@ -1,12 +1,13 @@ // generated file; do not modify +#include +#include +#include +#include +#include +#include #ifdef CSQC #include #endif #ifdef SVQC #include #endif -#include -#include -#include -#include -#include diff --git a/qcsrc/common/mutators/mutator/overkill/overkill.qc b/qcsrc/common/mutators/mutator/overkill/overkill.qc new file mode 100644 index 0000000000..3cb64ce923 --- /dev/null +++ b/qcsrc/common/mutators/mutator/overkill/overkill.qc @@ -0,0 +1 @@ +#include "overkill.qh" diff --git a/qcsrc/common/mutators/mutator/overkill/overkill.qh b/qcsrc/common/mutators/mutator/overkill/overkill.qh new file mode 100644 index 0000000000..3f59c932d3 --- /dev/null +++ b/qcsrc/common/mutators/mutator/overkill/overkill.qh @@ -0,0 +1,2 @@ +#pragma once + diff --git a/qcsrc/common/mutators/mutator/spawn_near_teammate/_mod.inc b/qcsrc/common/mutators/mutator/spawn_near_teammate/_mod.inc index 46496895af..e8306ea081 100644 --- a/qcsrc/common/mutators/mutator/spawn_near_teammate/_mod.inc +++ b/qcsrc/common/mutators/mutator/spawn_near_teammate/_mod.inc @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/mutators/mutator/spawn_near_teammate/_mod.qh b/qcsrc/common/mutators/mutator/spawn_near_teammate/_mod.qh index c4cfe5ada9..ea2fd49e6a 100644 --- a/qcsrc/common/mutators/mutator/spawn_near_teammate/_mod.qh +++ b/qcsrc/common/mutators/mutator/spawn_near_teammate/_mod.qh @@ -1,4 +1,5 @@ // generated file; do not modify +#include #ifdef CSQC #include #endif diff --git a/qcsrc/common/mutators/mutator/spawn_near_teammate/spawn_near_teammate.qc b/qcsrc/common/mutators/mutator/spawn_near_teammate/spawn_near_teammate.qc new file mode 100644 index 0000000000..7453747703 --- /dev/null +++ b/qcsrc/common/mutators/mutator/spawn_near_teammate/spawn_near_teammate.qc @@ -0,0 +1 @@ +#include "spawn_near_teammate.qh" diff --git a/qcsrc/common/mutators/mutator/spawn_near_teammate/spawn_near_teammate.qh b/qcsrc/common/mutators/mutator/spawn_near_teammate/spawn_near_teammate.qh new file mode 100644 index 0000000000..3f59c932d3 --- /dev/null +++ b/qcsrc/common/mutators/mutator/spawn_near_teammate/spawn_near_teammate.qh @@ -0,0 +1,2 @@ +#pragma once + diff --git a/qcsrc/menu/xonotic/_mod.inc b/qcsrc/menu/xonotic/_mod.inc index 00a9e5403f..3f324ba397 100644 --- a/qcsrc/menu/xonotic/_mod.inc +++ b/qcsrc/menu/xonotic/_mod.inc @@ -59,6 +59,7 @@ #include #include #include +#include #include #include #include @@ -70,7 +71,6 @@ #include #include #include -#include #include #include #include diff --git a/qcsrc/menu/xonotic/_mod.qh b/qcsrc/menu/xonotic/_mod.qh index 5d72a56171..1b3e09081a 100644 --- a/qcsrc/menu/xonotic/_mod.qh +++ b/qcsrc/menu/xonotic/_mod.qh @@ -59,6 +59,7 @@ #include #include #include +#include #include #include #include @@ -70,7 +71,6 @@ #include #include #include -#include #include #include #include