]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove client and menu sys-post and sys-pre
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 31 Jan 2015 04:05:34 +0000 (15:05 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 31 Jan 2015 04:05:34 +0000 (15:05 +1100)
qcsrc/client/progs.src
qcsrc/client/sys-post.qh [deleted file]
qcsrc/client/sys-pre.qh [deleted file]
qcsrc/dpdefs/csprogsdefs.qh
qcsrc/dpdefs/keycodes.qh
qcsrc/dpdefs/menudefs.qh
qcsrc/menu/progs.src
qcsrc/server/sys-post.qh
qcsrc/server/sys-pre.qh

index 505a5cf9b08686c64f07426227cc247dd2ffd74e..f80da18d67309ace7482be0dd4ac37ac784cd1c0 100644 (file)
@@ -1,9 +1,7 @@
 ../../csprogs.dat
 
 ../common/util-pre.qh
-sys-pre.qh
 ../dpdefs/csprogsdefs.qh
-sys-post.qh
 
 announcer.qc
 bgmscript.qc
diff --git a/qcsrc/client/sys-post.qh b/qcsrc/client/sys-post.qh
deleted file mode 100644 (file)
index 5dc83ef..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef SYS_POST_H
-#define SYS_POST_H
-
-#pragma noref 0
-
-#undef ATTEN_NORM
-#endif
diff --git a/qcsrc/client/sys-pre.qh b/qcsrc/client/sys-pre.qh
deleted file mode 100644 (file)
index 9764040..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef SYS_PRE_H
-#define SYS_PRE_H
-
-#define ATTEN_NORM builtin_ATTEN_NORM
-
-#pragma noref 1
-
-#endif
index 516a8cc7c4f481246117ad4e5ef707ce36d46b62..6f820c729f11af7ae494db7968b7bf7bc76b6f52 100644 (file)
@@ -1,5 +1,8 @@
 #ifndef CSPROGSDEFS_H
 #define CSPROGSDEFS_H
+
+#pragma noref 1
+
 /*
 ==============================================================================
 
@@ -1444,4 +1447,7 @@ vector gettaginfo_forward;
 vector gettaginfo_right;
 vector gettaginfo_up;
 float checkpvs(vector viewpos, entity viewee) = #240;
+
+#pragma noref 0
+
 #endif
index d01371c4c6e58ccf177c69dc855b065f1b3f27b8..69179e24ae2ad46bcf2c3b9170c2dda9c148f920 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef KEYCODES_H
 #define KEYCODES_H
 
+#pragma noref 1
+
 ///////////////////////////
 // key constants
 
@@ -147,4 +149,7 @@ float K_MOUSE13             =       526;
 float K_MOUSE14                =       527;
 float K_MOUSE15                =       528;
 float K_MOUSE16                =       529;
+
+#pragma noref 0
+
 #endif
index be17852052256045cc65dd0cc490151416054314..83cb073a3e872e161e1ce4b3badd92e9a7fffe47 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef MENUDEFS_H
 #define MENUDEFS_H
 
+#pragma noref 1
+
 //////////////////////////////////////////////////////////
 // sys globals
 
@@ -566,4 +568,7 @@ string      getextresponse(void) = #624;
 const string cvar_string(string name) = #71;
 const string cvar_defstring(string name) = #89;
 float  stringwidth(string text, float handleColors, vector size) = #468;
+
+#pragma noref 0
+
 #endif
index e18aacd84fb867e1d324b57ed1244b8528130715..a1fb38b1a12bec97dcc2026da161c364a779563b 100644 (file)
@@ -1,10 +1,8 @@
 ../../menu.dat
 
 ../common/util-pre.qh
-sys-pre.qh
 ../dpdefs/menudefs.qh
 ../dpdefs/keycodes.qh
-sys-post.qh
 
 oo/interface.qh
        classes.qc
index 5e80483b96bff6ddeba62aa3cb97870015abd406..3143699f2d7b18064466b4e3df3714850cd590c4 100644 (file)
@@ -1,9 +1,6 @@
 #ifndef SERVER_SYS_POST_H
 #define SERVER_SYS_POST_H
 
-#pragma noref 0
-
-#undef ATTEN_NORM
 #undef objerror
 #undef droptofloor
 #undef sound
@@ -15,4 +12,7 @@
 var float(string name) cvar;
 var string(string name) cvar_string;
 var void(string name, string value) cvar_set;
+
+#pragma noref 0
+
 #endif
index b31194fb9a4e0ada97f1b0bbd5d86a43edb7ef38..bfdcdb860e267fff7a385d17fa76cd4c6fa4c3ab 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef SERVER_SYS_PRE_H
 #define SERVER_SYS_PRE_H
 
-#define ATTEN_NORM builtin_ATTEN_NORM
 #define objerror builtin_objerror
 #define droptofloor builtin_droptofloor
 #define sound builtin_sound
@@ -11,4 +10,5 @@
 #define cvar builtin_cvar
 
 #pragma noref 1
+
 #endif