- // server and client use a lot of similar fields, so this is combined
- int SendEntity; // ssqc
- int SendFlags; // ssqc
- int Version; // ssqc (legacy)
- int alpha; // ssqc / csqc
- int ammo_cells1; // ssqc - Dissolution of Eternity mission pack
- int ammo_lava_nails; // ssqc - Dissolution of Eternity mission pack
- int ammo_multi_rockets; // ssqc - Dissolution of Eternity mission pack
- int ammo_nails1; // ssqc - Dissolution of Eternity mission pack
- int ammo_plasma; // ssqc - Dissolution of Eternity mission pack
- int ammo_rockets1; // ssqc - Dissolution of Eternity mission pack
- int ammo_shells1; // ssqc - Dissolution of Eternity mission pack
- int angles; // common - used by changeyaw/changepitch
- int button3; // ssqc
- int button4; // ssqc
- int button5; // ssqc
- int button6; // ssqc
- int button7; // ssqc
- int button8; // ssqc
- int button9; // ssqc
- int button10; // ssqc
- int button11; // ssqc
- int button12; // ssqc
- int button13; // ssqc
- int button14; // ssqc
- int button15; // ssqc
- int button16; // ssqc
- int buttonchat; // ssqc
- int buttonuse; // ssqc
- int chain; // common - used by find builtins
- int classname; // common
- int clientcamera; // ssqc
- int clientcolors; // ssqc
- int clientstatus; // ssqc
- int color; // ssqc
- int colormod; // ssqc / csqc
- int contentstransition; // ssqc
- int cursor_active; // ssqc
- int cursor_screen; // ssqc
- int cursor_trace_endpos; // ssqc
- int cursor_trace_ent; // ssqc
- int cursor_trace_start; // ssqc
- int customizeentityforclient; // ssqc
- int dimension_hit; // ssqc / csqc
- int dimension_solid; // ssqc / csqc
- int disableclientprediction; // ssqc
- int discardabledemo; // ssqc
- int dphitcontentsmask; // ssqc / csqc
- int drawonlytoclient; // ssqc
- int exteriormodeltoclient; // ssqc
- int fatness; // ssqc / csqc
- int forceshader; // csqc
- int frame1time; // csqc
- int frame2; // csqc
- int frame2time; // csqc
- int frame3; // csqc
- int frame3time; // csqc
- int frame4; // csqc
- int frame4time; // csqc
- int frame; // common - used by OP_STATE
- int fullbright; // ssqc - Nehahra support
- int glow_color; // ssqc
- int glow_size; // ssqc
- int glow_trail; // ssqc
- int glowmod; // ssqc / csqc
- int gravity; // ssqc
- int groundentity; // ssqc / csqc
- int hull; // ssqc / csqc
- int ideal_yaw; // ssqc / csqc
- int idealpitch; // ssqc / csqc
- int items2; // ssqc
- int lerpfrac3; // csqc
- int lerpfrac4; // csqc
- int lerpfrac; // csqc
- int light_lev; // ssqc
- int message; // csqc
- int modelflags; // ssqc
- int movement; // ssqc
- int movetypesteplandevent; // ssqc
- int netaddress; // ssqc
- int nextthink; // common - used by OP_STATE
- int nodrawtoclient; // ssqc
- int pflags; // ssqc
- int ping; // ssqc
- int ping_packetloss; // ssqc
- int ping_movementloss; // ssqc
- int pitch_speed; // ssqc / csqc
- int playermodel; // ssqc
- int playerskin; // ssqc
- int pmodel; // ssqc
- int punchvector; // ssqc
- int renderamt; // ssqc - HalfLife support
- int renderflags; // csqc
- int rendermode; // ssqc - HalfLife support
- int scale; // ssqc / csqc
- int shadertime; // csqc
- int skeletonindex; // csqc / ssqc FTE_CSQC_SKELETONOBJECTS / DP_SKELETONOBJECTS
- int style; // ssqc
- int tag_entity; // ssqc / csqc
- int tag_index; // ssqc / csqc
- int think; // common - used by OP_STATE
- int viewmodelforclient; // ssqc
- int viewzoom; // ssqc
- int yaw_speed; // ssqc / csqc
- int bouncefactor; // ssqc
- int bouncestop; // ssqc
- int sendcomplexanimation; // ssqc
-
- int solid; // ssqc / csqc (physics)
- int movetype; // ssqc / csqc (physics)
- int modelindex; // ssqc / csqc (physics)
- int mins; // ssqc / csqc (physics)
- int maxs; // ssqc / csqc (physics)
- int mass; // ssqc / csqc (physics)
- int origin; // ssqc / csqc (physics)
- int velocity; // ssqc / csqc (physics)
- //int axis_forward; // ssqc / csqc (physics)
- //int axis_left; // ssqc / csqc (physics)
- //int axis_up; // ssqc / csqc (physics)
- //int spinvelocity; // ssqc / csqc (physics)
- //int angles; // ssqc / csqc (physics)
- int avelocity; // ssqc / csqc (physics)
- int jointtype; // ssqc / csqc (physics)
- int enemy; // ssqc / csqc (physics)
- int aiment; // ssqc / csqc (physics)
- int movedir; // ssqc / csqc (physics)
-
- int camera_transform; // csqc (warpzones)
-
- int userwavefunc_param0; // csqc (userwavefunc)
- int userwavefunc_param1; // csqc (userwavefunc)
- int userwavefunc_param2; // csqc (userwavefunc)
- int userwavefunc_param3; // csqc (userwavefunc)
-
- int crypto_keyfp; // ssqc (DP_CRYPTO)
- int crypto_mykeyfp; // ssqc (DP_CRYPTO)
- int crypto_idfp; // ssqc (DP_CRYPTO)
- int crypto_encryptmethod; // ssqc (DP_CRYPTO)
- int crypto_signmethod; // ssqc (DP_CRYPTO)
+#define PRVM_DECLARE_serverglobalfloat(x)
+#define PRVM_DECLARE_serverglobalvector(x)
+#define PRVM_DECLARE_serverglobalstring(x)
+#define PRVM_DECLARE_serverglobaledict(x)
+#define PRVM_DECLARE_serverglobalfunction(x)
+#define PRVM_DECLARE_clientglobalfloat(x)
+#define PRVM_DECLARE_clientglobalvector(x)
+#define PRVM_DECLARE_clientglobalstring(x)
+#define PRVM_DECLARE_clientglobaledict(x)
+#define PRVM_DECLARE_clientglobalfunction(x)
+#define PRVM_DECLARE_menuglobalfloat(x)
+#define PRVM_DECLARE_menuglobalvector(x)
+#define PRVM_DECLARE_menuglobalstring(x)
+#define PRVM_DECLARE_menuglobaledict(x)
+#define PRVM_DECLARE_menuglobalfunction(x)
+#define PRVM_DECLARE_serverfieldfloat(x)
+#define PRVM_DECLARE_serverfieldvector(x)
+#define PRVM_DECLARE_serverfieldstring(x)
+#define PRVM_DECLARE_serverfieldedict(x)
+#define PRVM_DECLARE_serverfieldfunction(x)
+#define PRVM_DECLARE_clientfieldfloat(x)
+#define PRVM_DECLARE_clientfieldvector(x)
+#define PRVM_DECLARE_clientfieldstring(x)
+#define PRVM_DECLARE_clientfieldedict(x)
+#define PRVM_DECLARE_clientfieldfunction(x)
+#define PRVM_DECLARE_menufieldfloat(x)
+#define PRVM_DECLARE_menufieldvector(x)
+#define PRVM_DECLARE_menufieldstring(x)
+#define PRVM_DECLARE_menufieldedict(x)
+#define PRVM_DECLARE_menufieldfunction(x)
+#define PRVM_DECLARE_serverfunction(x)
+#define PRVM_DECLARE_clientfunction(x)
+#define PRVM_DECLARE_menufunction(x)
+#define PRVM_DECLARE_field(x) int x;
+#define PRVM_DECLARE_global(x)
+#define PRVM_DECLARE_function(x)
+#include "prvm_offsets.h"
+#undef PRVM_DECLARE_serverglobalfloat
+#undef PRVM_DECLARE_serverglobalvector
+#undef PRVM_DECLARE_serverglobalstring
+#undef PRVM_DECLARE_serverglobaledict
+#undef PRVM_DECLARE_serverglobalfunction
+#undef PRVM_DECLARE_clientglobalfloat
+#undef PRVM_DECLARE_clientglobalvector
+#undef PRVM_DECLARE_clientglobalstring
+#undef PRVM_DECLARE_clientglobaledict
+#undef PRVM_DECLARE_clientglobalfunction
+#undef PRVM_DECLARE_menuglobalfloat
+#undef PRVM_DECLARE_menuglobalvector
+#undef PRVM_DECLARE_menuglobalstring
+#undef PRVM_DECLARE_menuglobaledict
+#undef PRVM_DECLARE_menuglobalfunction
+#undef PRVM_DECLARE_serverfieldfloat
+#undef PRVM_DECLARE_serverfieldvector
+#undef PRVM_DECLARE_serverfieldstring
+#undef PRVM_DECLARE_serverfieldedict
+#undef PRVM_DECLARE_serverfieldfunction
+#undef PRVM_DECLARE_clientfieldfloat
+#undef PRVM_DECLARE_clientfieldvector
+#undef PRVM_DECLARE_clientfieldstring
+#undef PRVM_DECLARE_clientfieldedict
+#undef PRVM_DECLARE_clientfieldfunction
+#undef PRVM_DECLARE_menufieldfloat
+#undef PRVM_DECLARE_menufieldvector
+#undef PRVM_DECLARE_menufieldstring
+#undef PRVM_DECLARE_menufieldedict
+#undef PRVM_DECLARE_menufieldfunction
+#undef PRVM_DECLARE_serverfunction
+#undef PRVM_DECLARE_clientfunction
+#undef PRVM_DECLARE_menufunction
+#undef PRVM_DECLARE_field
+#undef PRVM_DECLARE_global
+#undef PRVM_DECLARE_function