From 9f3c9851a330279ee0ea7943970c3af484447bf2 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 25 Dec 2016 21:42:20 +1000 Subject: [PATCH] Move quake, halflife and q3 files into a compat subdirectory (wop support coming soon) --- qcsrc/server/_all.inc | 1 + qcsrc/server/_mod.inc | 3 --- qcsrc/server/_mod.qh | 3 --- qcsrc/server/compat/_mod.inc | 4 ++++ qcsrc/server/compat/_mod.qh | 4 ++++ qcsrc/server/{t_halflife.qc => compat/halflife.qc} | 2 +- qcsrc/server/{t_halflife.qh => compat/halflife.qh} | 0 qcsrc/server/{t_quake.qc => compat/quake.qc} | 2 +- qcsrc/server/{t_quake.qh => compat/quake.qh} | 0 qcsrc/server/{t_quake3.qc => compat/quake3.qc} | 2 +- qcsrc/server/{t_quake3.qh => compat/quake3.qh} | 0 11 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 qcsrc/server/compat/_mod.inc create mode 100644 qcsrc/server/compat/_mod.qh rename qcsrc/server/{t_halflife.qc => compat/halflife.qc} (97%) rename qcsrc/server/{t_halflife.qh => compat/halflife.qh} (100%) rename qcsrc/server/{t_quake.qc => compat/quake.qc} (98%) rename qcsrc/server/{t_quake.qh => compat/quake.qh} (100%) rename qcsrc/server/{t_quake3.qc => compat/quake3.qc} (99%) rename qcsrc/server/{t_quake3.qh => compat/quake3.qh} (100%) diff --git a/qcsrc/server/_all.inc b/qcsrc/server/_all.inc index 3359f13b1..95bf71531 100644 --- a/qcsrc/server/_all.inc +++ b/qcsrc/server/_all.inc @@ -3,6 +3,7 @@ #include "bot/_mod.inc" #include "command/_mod.inc" +#include "compat/_mod.inc" #include "mutators/_mod.inc" #include "pathlib/_mod.inc" #include "weapons/_mod.inc" diff --git a/qcsrc/server/_mod.inc b/qcsrc/server/_mod.inc index 4ecc610c7..eb74529a6 100644 --- a/qcsrc/server/_mod.inc +++ b/qcsrc/server/_mod.inc @@ -30,6 +30,3 @@ #endif #include #include -#include -#include -#include diff --git a/qcsrc/server/_mod.qh b/qcsrc/server/_mod.qh index 8162606c7..a0d160d57 100644 --- a/qcsrc/server/_mod.qh +++ b/qcsrc/server/_mod.qh @@ -30,6 +30,3 @@ #endif #include #include -#include -#include -#include diff --git a/qcsrc/server/compat/_mod.inc b/qcsrc/server/compat/_mod.inc new file mode 100644 index 000000000..c8c941a0c --- /dev/null +++ b/qcsrc/server/compat/_mod.inc @@ -0,0 +1,4 @@ +// generated file; do not modify +#include +#include +#include diff --git a/qcsrc/server/compat/_mod.qh b/qcsrc/server/compat/_mod.qh new file mode 100644 index 000000000..5c9b5914f --- /dev/null +++ b/qcsrc/server/compat/_mod.qh @@ -0,0 +1,4 @@ +// generated file; do not modify +#include +#include +#include diff --git a/qcsrc/server/t_halflife.qc b/qcsrc/server/compat/halflife.qc similarity index 97% rename from qcsrc/server/t_halflife.qc rename to qcsrc/server/compat/halflife.qc index 771954245..74e50137f 100644 --- a/qcsrc/server/t_halflife.qc +++ b/qcsrc/server/compat/halflife.qc @@ -1,4 +1,4 @@ -#include "t_halflife.qh" +#include "halflife.qh" .float roomtype; .float radius; .float pitch; diff --git a/qcsrc/server/t_halflife.qh b/qcsrc/server/compat/halflife.qh similarity index 100% rename from qcsrc/server/t_halflife.qh rename to qcsrc/server/compat/halflife.qh diff --git a/qcsrc/server/t_quake.qc b/qcsrc/server/compat/quake.qc similarity index 98% rename from qcsrc/server/t_quake.qc rename to qcsrc/server/compat/quake.qc index 7a277df98..539042d63 100644 --- a/qcsrc/server/t_quake.qc +++ b/qcsrc/server/compat/quake.qc @@ -1,4 +1,4 @@ -#include "t_quake.qh" +#include "quake.qh" #include diff --git a/qcsrc/server/t_quake.qh b/qcsrc/server/compat/quake.qh similarity index 100% rename from qcsrc/server/t_quake.qh rename to qcsrc/server/compat/quake.qh diff --git a/qcsrc/server/t_quake3.qc b/qcsrc/server/compat/quake3.qc similarity index 99% rename from qcsrc/server/t_quake3.qc rename to qcsrc/server/compat/quake3.qc index 85ec325bd..1c53de31e 100644 --- a/qcsrc/server/t_quake3.qc +++ b/qcsrc/server/compat/quake3.qc @@ -1,4 +1,4 @@ -#include "t_quake3.qh" +#include "quake3.qh" #include diff --git a/qcsrc/server/t_quake3.qh b/qcsrc/server/compat/quake3.qh similarity index 100% rename from qcsrc/server/t_quake3.qh rename to qcsrc/server/compat/quake3.qh -- 2.39.2