Remove `-Wno-double-declaration`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / Defs.qc
index 0e7b141..baf25e1 100644 (file)
 //
 // system globals
 //
-entity         self;
-entity         other;
-entity         world;
-float          time;
-float          frametime;
+//entity               self;
+//entity               other;
+//entity               world;
+//float                time;
+//float                frametime;
 
-int            player_localentnum;     //the entnum of the VIEW entity
-int            player_localnum;        //the playernum
-float          maxclients;     //a constant filled in by the engine. gah, portability eh?
+//int          player_localentnum;     //the entnum of the VIEW entity
+//int          player_localnum;        //the playernum
+//float                maxclients;     //a constant filled in by the engine. gah, portability eh?
 
-float          clientcommandframe;     //player movement
-float          servercommandframe;     //clientframe echoed off the server
+//float                clientcommandframe;     //player movement
+//float                servercommandframe;     //clientframe echoed off the server
 
-string         mapname;
+//string               mapname;
 
 //
 // global variables set by built in functions
 //
-vector         v_forward, v_up, v_right;       // set by makevectors()
+//vector               v_forward, v_up, v_right;       // set by makevectors()
 
 // set by traceline / tracebox
-float          trace_allsolid;
-float          trace_startsolid;
-float          trace_fraction;
-vector         trace_endpos;
-vector         trace_plane_normal;
-float          trace_plane_dist;
-entity         trace_ent;
-float          trace_inopen;
-float          trace_inwater;
+//float                trace_allsolid;
+//float                trace_startsolid;
+//float                trace_fraction;
+//vector               trace_endpos;
+//vector               trace_plane_normal;
+//float                trace_plane_dist;
+//entity               trace_ent;
+//float                trace_inopen;
+//float                trace_inwater;
 
 //
 // required prog functions
@@ -60,29 +60,29 @@ void(float w, float h)              CSQC_UpdateView;
 bool(string s) CSQC_ConsoleCommand;
 
 //these fields are read and set by the default player physics
-vector         pmove_org;
-vector         pmove_vel;
-vector         pmove_mins;
-vector         pmove_maxs;
+//vector               pmove_org;
+//vector               pmove_vel;
+//vector               pmove_mins;
+//vector               pmove_maxs;
 //retrieved from the current movement commands (read by player physics)
-float          input_timelength;
-vector         input_angles;
-vector         input_movevalues;       //forwards, right, up.
-int                    input_buttons;          //attack, use, jump (default physics only uses jump)
-
-float          movevar_gravity;
-float          movevar_stopspeed;
-float          movevar_maxspeed;
-float          movevar_spectatormaxspeed;      //used by NOCLIP movetypes.
-float          movevar_accelerate;
-float          movevar_airaccelerate;
-float          movevar_wateraccelerate;
-float          movevar_friction;
-float          movevar_waterfriction;
-float          movevar_entgravity;     //the local player's gravity field. Is a multiple (1 is the normal value)
+//float                input_timelength;
+//vector               input_angles;
+//vector               input_movevalues;       //forwards, right, up.
+//int                  input_buttons;          //attack, use, jump (default physics only uses jump)
+
+//float                movevar_gravity;
+//float                movevar_stopspeed;
+//float                movevar_maxspeed;
+//float                movevar_spectatormaxspeed;      //used by NOCLIP movetypes.
+//float                movevar_accelerate;
+//float                movevar_airaccelerate;
+//float                movevar_wateraccelerate;
+//float                movevar_friction;
+//float                movevar_waterfriction;
+//float                movevar_entgravity;     //the local player's gravity field. Is a multiple (1 is the normal value)
 
 //================================================
-void           end_sys_globals;                // flag for structure dumping
+//void         end_sys_globals;                // flag for structure dumping
 //================================================
 
 /*
@@ -141,11 +141,11 @@ void              end_sys_globals;                // flag for structure dumping
 .entity                owner;          // who launched a missile
 
 //================================================
-void           end_sys_fields;                 // flag for structure dumping
+//void         end_sys_fields;                 // flag for structure dumping
 //================================================
 
 // Additional OPTIONAL Fields and Globals
-float          intermission;
+//float                intermission;
 float          scoreboard_showscores;
 float          scoreboard_showaccuracy;
 .string                message;