]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
gmqcc fixes
authorRudolf Polzer <divverent@xonotic.org>
Sat, 29 Dec 2012 19:50:38 +0000 (20:50 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 29 Dec 2012 19:50:38 +0000 (20:50 +0100)
qcsrc/client/main.qh
qcsrc/client/miscfunctions.qc
qcsrc/client/vehicles/vehicles.qc
qcsrc/server/mutators/gamemode_nexball.qc
qcsrc/server/vehicles/vehicles_def.qh
qcsrc/warpzonelib/common.qh

index 43e7b64995e3b991f05b72f0623f684fa2892acd..28536c256b017f5f7a0397e86728c90fe0d4682f 100644 (file)
@@ -1,5 +1,3 @@
-const string string_null;
-
 // --------------------------------------------------------------------------
 // MENU Functionality
 
index e103fabe7f4ae0e37a43d7c5422c1c9b72ed821b..6cceb42bacda13964394e996318c8f37f0e8fb3f 100644 (file)
@@ -1,5 +1,3 @@
-var float(string text, float handleColors, vector fontSize) stringwidth;
-
 entity players;
 entity teams;
 
index 177c9b53511979b0df9d5bfb7ea88aba23d4e450..5efa11cf5d2af976200cb202f5eeac08081bacfd 100644 (file)
@@ -41,7 +41,7 @@ void CSQC_BUMBLE_GUN_HUD();
 
 #define MAX_AXH 4
 entity AuxiliaryXhair[MAX_AXH];
-const var void Draw_Not();
+var void Draw_Not();
 
 .string axh_image;
 .float  axh_fadetime;
index f328162ff3f00a83b784646500613ffacd9ddd53..5f27b60a55f882e851cc99fe5bc876fec16e5601 100644 (file)
@@ -773,14 +773,13 @@ void W_Nexball_Attack2(void)
        missile.flags = FL_PROJECTILE;
 }
 
-var const float() nullfunc;
 float ball_customize()
 {
        if(!self.owner)
        {
                self.effects &~= EF_FLAME;
                self.scale = 1;
-               self.customizeentityforclient = nullfunc;
+               self.customizeentityforclient = func_null;
                return TRUE;
        }               
        
index 834e6516787ba0411677ea34075cf769adb1bda3..30633ed3616e8c726f6e6c654c037c5b47734467 100644 (file)
@@ -62,7 +62,7 @@ var .void() vehicle_die;    /// Vehicles custom function to be executed when veh
 #define VHSF_NORMAL 0
 #define VHSF_FACTORY 2
 var .void(float _spawnflag) vehicle_spawn;  /// Vehicles custom fucntion to be efecuted when vehicle (re)spawns
-const var .float(float _imp) vehicles_impusle_null;
+var .float(float _imp) vehicles_impusle_null;
 var .float(float _imp) vehicles_impusle;
 .float vehicle_weapon2mode = volly_counter;
 
index e7cf23908eda0198025a0c5ebaf437b1eb890757..c79ee95d6e02d2d2062b8a35a987de07f0aca3cb 100644 (file)
@@ -27,7 +27,7 @@ void WarpZone_MakeAllOther();
 #define MOVE_NOTHING -1
 entity WarpZone_trace_forent; // temp, callback is allowed to change it
 typedef void(vector start, vector hit, vector end) WarpZone_trace_callback_t; // called on every elementary trace
-const var WarpZone_trace_callback_t WarpZone_trace_callback_t_null;
+var WarpZone_trace_callback_t WarpZone_trace_callback_t_null;
 entity WarpZone_trace_transform; // transform accumulator during a trace
 entity WarpZone_trace_firstzone; // first warpzone hit by a trace (can differ from the requested zone in case of _ThroughZone, the trace is aborted then)
 entity WarpZone_trace_lastzone; // first warpzone hit by a trace (can differ from the requested zone in case of _ThroughZone, the trace is aborted then)