1 #pragma flag off fastarrays // make dp behave with new fteqcc versions. remove when dp bug with fteqcc fastarrays is fixed
4 //NOTE: THIS IS AN INTERFACE FILE. DO NOT EDIT.
5 //MODIFYING THIS FILE CAN RESULT IN CRC ERRORS.
6 //YOU HAVE BEEN WARNED.
8 //feel free to look though. :)
16 ==============================================================================
18 SOURCE FOR GLOBALVARS_T C STRUCTURE
20 ==============================================================================
32 float player_localentnum; //the entnum
33 float player_localnum; //the playernum
34 float maxclients; //a constant filled in by the engine. gah, portability eh?
36 float clientcommandframe; //player movement
37 float servercommandframe; //clientframe echoed off the server
42 // global variables set by built in functions
44 vector v_forward, v_up, v_right; // set by makevectors()
46 // set by traceline / tracebox
48 float trace_startsolid;
51 vector trace_plane_normal;
52 float trace_plane_dist;
58 // required prog functions
62 float(float f, float t) CSQC_InputEvent;
63 void() CSQC_UpdateView;
64 void(string s) CSQC_ConsoleCommand;
67 //these fields are read and set by the default player physics
72 //retrieved from the current movement commands (read by player physics)
73 float input_timelength;
75 vector input_movevalues; //forwards, right, up.
76 float input_buttons; //attack, use, jump (default physics only uses jump)
78 float movevar_gravity;
79 float movevar_stopspeed;
80 float movevar_maxspeed;
81 float movevar_spectatormaxspeed; //used by NOCLIP movetypes.
82 float movevar_accelerate;
83 float movevar_airaccelerate;
84 float movevar_wateraccelerate;
85 float movevar_friction;
86 float movevar_waterfriction;
87 float movevar_entgravity; //the local player's gravity field. Is a multiple (1 is the normal value)
89 //================================================
90 void end_sys_globals; // flag for structure dumping
91 //================================================
94 ==============================================================================
96 SOURCE FOR ENTVARS_T C STRUCTURE
98 ==============================================================================
102 // system fields (*** = do not set in prog code, maintained by C code)
104 .float modelindex; // *** model index in the precached list
105 .vector absmin, absmax; // *** origin + mins / maxs
107 .float entnum; // *** the ent number as on the server
114 .vector origin; // ***
115 .vector oldorigin; // ***
120 .string classname; // spawn function
126 .vector mins, maxs; // bounding box extents reletive to origin
127 .vector size; // maxs - mins
132 .void() blocked; // for doors or plats, called when can't push other
146 .entity owner; // who launched a missile
148 //================================================
149 void end_sys_fields; // flag for structure dumping
150 //================================================