![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Data Structures | |
struct | entity_database4_commit_t |
struct | entity_frame_t |
struct | entity_frameinfo_t |
struct | entity_state_t |
struct | entityframe4_database_t |
struct | entityframe5_changestate_t |
struct | entityframe5_database_t |
struct | entityframe5_packetlog_t |
struct | entityframe_database_t |
struct | entityframeqw_database_t |
struct | entityframeqw_snapshot_t |
struct | framegroupblend_t |
struct | skeleton_t |
struct | usercmd_t |
Macros | |
#define | clc_ackdownloaddata 51 |
#define | clc_ackframe 50 |
#define | clc_bad 0 |
#define | clc_disconnect 2 |
#define | clc_move 3 |
#define | clc_nop 1 |
#define | clc_stringcmd 4 |
#define | clc_unusedlh2 52 |
#define | clc_unusedlh3 53 |
#define | clc_unusedlh4 54 |
#define | clc_unusedlh5 55 |
#define | clc_unusedlh6 56 |
#define | clc_unusedlh7 57 |
#define | clc_unusedlh8 58 |
#define | clc_unusedlh9 59 |
#define | DEFAULT_VIEWHEIGHT 22 |
#define | E5_ALPHA (1u<<9) |
byte = bound(0, s->alpha * 255, 255) | |
#define | E5_ANGLES (1u<<2) |
E5_ANGLES16=0: byte[3] = s->angle[0] * 256 / 360, s->angle[1] * 256 / 360, s->angle[2] * 256 / 360 E5_ANGLES16=1: short[3] = s->angle[0] * 65536 / 360, s->angle[1] * 65536 / 360, s->angle[2] * 65536 / 360. | |
#define | E5_ANGLES16 (1u<<12) |
flag | |
#define | E5_ATTACHMENT (1u<<16) |
short = s->tagentity byte = s->tagindex | |
#define | E5_COLORMAP (1u<<14) |
byte = s->colormap | |
#define | E5_COLORMOD (1u<<22) |
byte[3] = s->colormod[0], s->colormod[1], s->colormod[2] | |
#define | E5_COMPLEXANIMATION (1u<<25) |
byte type=0 short frames[1] short times[1] byte type=1 short frames[2] short times[2] byte lerps[2] byte type=2 short frames[3] short times[3] byte lerps[3] byte type=3 short frames[4] short times[4] byte lerps[4] byte type=4 short modelindex byte numbones {short pose7s[7]} see also RENDER_COMPLEXANIMATION | |
#define | E5_EFFECTS (1u<<6) |
E5_EFFECTS16=0 && E5_EFFECTS32=0: byte = s->effects E5_EFFECTS16=1 && E5_EFFECTS32=0: short = s->effects E5_EFFECTS16=0 && E5_EFFECTS32=1: int = s->effects E5_EFFECTS16=1 && E5_EFFECTS32=1: int = s->effects. | |
#define | E5_EFFECTS16 (1u<<19) |
short = s->effects | |
#define | E5_EFFECTS32 (1u<<20) |
int = s->effects | |
#define | E5_EXTEND1 (1u<<7) |
bits >= (1<<8) | |
#define | E5_EXTEND2 (1u<<15) |
bits >= (1<<16) | |
#define | E5_EXTEND3 (1u<<23) |
bits >= (1<<24) | |
#define | E5_EXTEND4 (1u<<31) |
bits2 > 0 | |
#define | E5_FLAGS (1u<<8) |
byte = s->renderflags | |
#define | E5_FRAME (1u<<4) |
E5_FRAME16=0: byte = s->frame E5_FRAME16=1: short = s->frame. | |
#define | E5_FRAME16 (1u<<21) |
flag | |
#define | E5_FULLUPDATE (1u<<0) |
reset all entity fields (typically used if status changed) | |
#define | E5_GLOW (1u<<18) |
byte = s->glowsize byte = s->glowcolor | |
#define | E5_GLOWMOD (1u<<24) |
byte[3] = s->glowmod[0], s->glowmod[1], s->glowmod[2] | |
#define | E5_LIGHT (1u<<17) |
short[4] = s->light[0], s->light[1], s->light[2], s->light[3] byte = s->lightstyle byte = s->lightpflags | |
#define | E5_MODEL (1u<<3) |
E5_MODEL16=0: byte = s->modelindex E5_MODEL16=1: short = s->modelindex. | |
#define | E5_MODEL16 (1u<<13) |
flag | |
#define | E5_ORIGIN (1u<<1) |
E5_ORIGIN32=0: short[3] = s->origin[0] * 8, s->origin[1] * 8, s->origin[2] * 8 E5_ORIGIN32=1: float[3] = s->origin[0], s->origin[1], s->origin[2]. | |
#define | E5_ORIGIN32 (1u<<11) |
flag | |
#define | E5_SCALE (1u<<10) |
byte = bound(0, s->scale * 16, 255) | |
#define | E5_SKIN (1u<<5) |
byte = s->skin | |
#define | E5_TRAILEFFECTNUM (1u<<26) |
ushort traileffectnum | |
#define | E5_UNUSED27 (1u<<27) |
unused | |
#define | E5_UNUSED28 (1u<<28) |
unused | |
#define | E5_UNUSED29 (1u<<29) |
unused | |
#define | E5_UNUSED30 (1u<<30) |
unused | |
#define | E_ALPHA (1u<<10) |
#define | E_ANGLE1 (1u<<3) |
#define | E_ANGLE2 (1u<<4) |
#define | E_ANGLE3 (1u<<5) |
#define | E_COLORMAP (1u<<12) |
#define | E_EFFECTS1 (1u<<9) |
#define | E_EFFECTS2 (1u<<18) |
#define | E_EXTEND1 (1u<<7) |
#define | E_EXTEND2 (1u<<15) |
#define | E_EXTEND3 (1u<<23) |
#define | E_EXTEND4 (1u<<31) |
#define | E_FLAGS (1u<<14) |
#define | E_FRAME1 (1u<<8) |
#define | E_FRAME2 (1u<<16) |
#define | E_GLOWCOLOR (1u<<20) |
#define | E_GLOWSIZE (1u<<19) |
#define | E_LIGHT (1u<<21) |
#define | E_LIGHTPFLAGS (1u<<22) |
#define | E_LIGHTSTYLE (1u<<28) |
#define | E_MODEL1 (1u<<6) |
#define | E_MODEL2 (1u<<17) |
#define | E_ORIGIN1 (1u<<0) |
#define | E_ORIGIN2 (1u<<1) |
#define | E_ORIGIN3 (1u<<2) |
#define | E_SCALE (1u<<11) |
#define | E_SKIN (1u<<13) |
#define | E_SOUND1 (1u<<24) |
#define | E_SOUNDATTEN (1u<<26) |
#define | E_SOUNDVOL (1u<<25) |
#define | E_TAGATTACHMENT (1u<<27) |
#define | E_UNUSED6 (1u<<29) |
#define | E_UNUSED7 (1u<<30) |
#define | EF_ADDITIVE 32 |
#define | EF_BLUE 64 |
#define | EF_BRIGHTFIELD 1 |
#define | EF_BRIGHTLIGHT 4 |
#define | EF_DIMLIGHT 8 |
#define | EF_DOUBLESIDED 32768 |
#define | EF_DYNAMICMODELLIGHT 131072 |
#define | EF_FLAME 1024 |
#define | EF_FULLBRIGHT 512 |
#define | EF_GIB 67108864 |
#define | EF_GRENADE 33554432 |
#define | EF_LOWPRECISION 4194304 |
#define | EF_MUZZLEFLASH 2 |
#define | EF_NODEPTHTEST 8192 |
#define | EF_NODRAW 16 |
#define | EF_NOGUNBOB 256 |
#define | EF_NOMODELFLAGS 8388608 |
#define | EF_NOSELFSHADOW 65536 |
#define | EF_NOSHADOW 4096 |
#define | EF_RED 128 |
#define | EF_RESTARTANIM_BIT 1048576 |
#define | EF_ROCKET 16777216 |
#define | EF_ROTATE 134217728 |
#define | EF_SELECTABLE 16384 |
#define | EF_STARDUST 2048 |
#define | EF_TELEPORT_BIT 2097152 |
#define | EF_TRACER 268435456 |
#define | EF_TRACER2 1073741824 |
#define | EF_TRACER3 0x80000000 |
#define | EF_UNUSED18 262144 |
#define | EF_UNUSED19 524288 |
#define | EF_ZOMGIB 536870912 |
#define | ENTITYFRAME5_MAXPACKETLOGS 64 |
#define | ENTITYFRAME5_MAXSTATES 1024 |
#define | ENTITYFRAME5_PRIORITYLEVELS 32 |
#define | ENTITYSIZEPROFILING_END(msg, num, flags) |
#define | ENTITYSIZEPROFILING_START(msg, num, flags) |
#define | GAME_COOP 0 |
#define | GAME_DEATHMATCH 1 |
#define | INTEF_FLAG1QW 1 |
#define | INTEF_FLAG2QW 2 |
#define | MAX_ENTITY_DATABASE (MAX_EDICTS * 2) |
#define | MAX_ENTITY_HISTORY 64 |
#define | MAX_FRAMEGROUPBLENDS 4 |
#define | MF_GIB 4 |
#define | MF_GRENADE 2 |
#define | MF_ROCKET 1 |
#define | MF_ROTATE 8 |
#define | MF_TRACER 16 |
#define | MF_TRACER2 64 |
#define | MF_TRACER3 128 |
#define | MF_ZOMGIB 32 |
#define | PFLAGS_CORONA 2 |
#define | PFLAGS_FULLDYNAMIC 128 |
#define | PFLAGS_NOSHADOW 1 |
#define | qw_clc_bad 0 |
#define | qw_clc_delta 5 |
#define | qw_clc_move 3 |
#define | qw_clc_nop 1 |
#define | qw_clc_stringcmd 4 |
#define | qw_clc_tmove 6 |
#define | qw_clc_upload 7 |
#define | QW_CM_ANGLE1 (1<<0) |
#define | QW_CM_ANGLE2 (1<<7) |
#define | QW_CM_ANGLE3 (1<<1) |
#define | QW_CM_BUTTONS (1<<5) |
#define | QW_CM_FORWARD (1<<2) |
#define | QW_CM_IMPULSE (1<<6) |
#define | QW_CM_SIDE (1<<3) |
#define | QW_CM_UP (1<<4) |
#define | QW_EF_BLUE 64 |
#define | QW_EF_BRIGHTFIELD 1 |
#define | QW_EF_BRIGHTLIGHT 4 |
#define | QW_EF_DIMLIGHT 8 |
#define | QW_EF_FLAG1 16 |
#define | QW_EF_FLAG2 32 |
#define | QW_EF_MUZZLEFLASH 2 |
#define | QW_EF_RED 128 |
#define | QW_MAX_PACKET_ENTITIES 64 |
#define | QW_PF_COMMAND (1<<1) |
#define | QW_PF_DEAD (1<<9) |
#define | QW_PF_EFFECTS (1<<7) |
#define | QW_PF_GIB (1<<10) |
#define | QW_PF_MODEL (1<<5) |
#define | QW_PF_MSEC (1<<0) |
#define | QW_PF_NOGRAV (1<<11) |
#define | QW_PF_SKINNUM (1<<6) |
#define | QW_PF_VELOCITY1 (1<<2) |
#define | QW_PF_VELOCITY2 (1<<3) |
#define | QW_PF_VELOCITY3 (1<<4) |
#define | QW_PF_WEAPONFRAME (1<<8) |
#define | QW_STAT_ACTIVEWEAPON 10 |
#define | QW_STAT_AMMO 3 |
#define | QW_STAT_ARMOR 4 |
#define | QW_STAT_CELLS 9 |
#define | QW_STAT_HEALTH 0 |
#define | QW_STAT_ITEMS 15 |
#define | QW_STAT_MONSTERS 14 |
#define | QW_STAT_NAILS 7 |
#define | QW_STAT_ROCKETS 8 |
#define | QW_STAT_SECRETS 13 |
#define | QW_STAT_SHELLS 6 |
#define | QW_STAT_TOTALMONSTERS 12 |
#define | QW_STAT_TOTALSECRETS 11 |
#define | QW_STAT_WEAPON 2 |
#define | qw_svc_bad 0 |
#define | qw_svc_bigkick 35 |
#define | qw_svc_cdtrack 32 |
#define | qw_svc_centerprint 26 |
#define | qw_svc_chokecount 44 |
#define | qw_svc_damage 19 |
#define | qw_svc_deltapacketentities 48 |
#define | qw_svc_disconnect 2 |
#define | qw_svc_download 41 |
#define | qw_svc_entgravity 50 |
#define | qw_svc_finale 31 |
#define | qw_svc_foundsecret 28 |
#define | qw_svc_intermission 30 |
#define | qw_svc_killedmonster 27 |
#define | qw_svc_lightstyle 12 |
#define | qw_svc_maxspeed 49 |
#define | qw_svc_modellist 45 |
#define | qw_svc_muzzleflash 39 |
#define | qw_svc_nails 43 |
#define | qw_svc_nop 1 |
#define | qw_svc_packetentities 47 |
#define | qw_svc_playerinfo 42 |
#define | qw_svc_print 8 |
#define | qw_svc_sellscreen 33 |
#define | qw_svc_serverdata 11 |
#define | qw_svc_serverinfo 52 |
#define | qw_svc_setangle 10 |
#define | qw_svc_setinfo 51 |
#define | qw_svc_setpause 24 |
#define | qw_svc_setview 5 |
#define | qw_svc_smallkick 34 |
#define | qw_svc_sound 6 |
#define | qw_svc_soundlist 46 |
#define | qw_svc_spawnbaseline 22 |
#define | qw_svc_spawnstatic 20 |
#define | qw_svc_spawnstaticsound 29 |
#define | qw_svc_stopsound 16 |
#define | qw_svc_stufftext 9 |
#define | qw_svc_temp_entity 23 |
#define | qw_svc_updateentertime 37 |
#define | qw_svc_updatefrags 14 |
#define | qw_svc_updateping 36 |
#define | qw_svc_updatepl 53 |
#define | qw_svc_updatestat 3 |
#define | qw_svc_updatestatlong 38 |
#define | qw_svc_updateuserinfo 40 |
#define | QW_TE_BLOOD 12 |
#define | QW_TE_EXPLOSION 3 |
#define | QW_TE_GUNSHOT 2 |
#define | QW_TE_KNIGHTSPIKE 8 |
#define | QW_TE_LAVASPLASH 10 |
#define | QW_TE_LIGHTNING1 5 |
#define | QW_TE_LIGHTNING2 6 |
#define | QW_TE_LIGHTNING3 9 |
#define | QW_TE_LIGHTNINGBLOOD 13 |
#define | QW_TE_SPIKE 0 |
#define | QW_TE_SUPERSPIKE 1 |
#define | QW_TE_TAREXPLOSION 4 |
#define | QW_TE_TELEPORT 11 |
#define | QW_TE_WIZSPIKE 7 |
#define | QW_U_ANGLE1 (1<<0) |
#define | QW_U_ANGLE2 (1<<12) |
#define | QW_U_ANGLE3 (1<<1) |
#define | QW_U_COLORMAP (1<<3) |
#define | QW_U_EFFECTS (1<<5) |
#define | QW_U_FRAME (1<<13) |
#define | QW_U_MODEL (1<<2) |
#define | QW_U_MOREBITS (1<<15) |
#define | QW_U_ORIGIN1 (1<<9) |
#define | QW_U_ORIGIN2 (1<<10) |
#define | QW_U_ORIGIN3 (1<<11) |
#define | QW_U_REMOVE (1<<14) |
#define | QW_U_SKIN (1<<4) |
#define | QW_U_SOLID (1<<6) |
#define | QW_UPDATE_BACKUP 64 |
#define | QW_UPDATE_MASK (QW_UPDATE_BACKUP - 1) |
#define | RENDER_ADDITIVE 2097152 |
#define | RENDER_COLORMAPPED 32 |
#define | RENDER_COMPLEXANIMATION 128 |
#define | RENDER_CUSTOMIZEDMODELLIGHT 4096 |
#define | RENDER_DOUBLESIDED 4194304 |
#define | RENDER_DYNAMICMODELLIGHT 8388608 |
#define | RENDER_EXTERIORMODEL 8 |
#define | RENDER_GLOWTRAIL 2 |
#define | RENDER_LIGHT 131072 |
#define | RENDER_LOWPRECISION 16 |
#define | RENDER_NODEPTHTEST 1048576 |
#define | RENDER_NOSELFSHADOW 262144 |
#define | RENDER_SHADOW 65536 |
#define | RENDER_STEP 1 |
#define | RENDER_VIEWMODEL 4 |
#define | RENDER_WORLDOBJECT 64 |
#define | SCOPE_ASSUMED_EXISTING 8 |
#define | SCOPE_EXISTED_ONCE 4 |
#define | SCOPE_WANTREMOVE 1 |
#define | SCOPE_WANTSEND (SCOPE_WANTREMOVE | SCOPE_WANTUPDATE) |
#define | SCOPE_WANTUPDATE 2 |
#define | SND_ATTENUATION (1<<1) |
#define | SND_LARGEENTITY (1<<3) |
#define | SND_LARGESOUND (1<<4) |
#define | SND_LOOPING (1<<2) |
#define | SND_SPEEDUSHORT4000 (1<<5) |
#define | SND_VOLUME (1<<0) |
#define | SU_ARMOR (1u<<13) |
#define | SU_EXTEND1 (1u<<15) |
#define | SU_EXTEND2 (1u<<23) |
another byte to follow, future expansion | |
#define | SU_EXTEND3 (1u<<31) |
another byte to follow, future expansion | |
#define | SU_IDEALPITCH (1u<<1) |
#define | SU_INWATER (1u<<11) |
no data follows, the bit is it | |
#define | SU_ITEMS (1u<<9) |
#define | SU_ONGROUND (1u<<10) |
no data follows, the bit is it | |
#define | SU_PUNCH1 (1u<<2) |
#define | SU_PUNCH2 (1u<<3) |
#define | SU_PUNCH3 (1u<<4) |
#define | SU_PUNCHVEC1 (1u<<16) |
#define | SU_PUNCHVEC2 (1u<<17) |
#define | SU_PUNCHVEC3 (1u<<18) |
#define | SU_UNUSED20 (1u<<20) |
#define | SU_UNUSED21 (1u<<21) |
#define | SU_UNUSED22 (1u<<22) |
#define | SU_UNUSED24 (1u<<24) |
#define | SU_UNUSED25 (1u<<25) |
#define | SU_UNUSED26 (1u<<26) |
#define | SU_UNUSED27 (1u<<27) |
#define | SU_UNUSED28 (1u<<28) |
#define | SU_UNUSED29 (1u<<29) |
#define | SU_UNUSED30 (1u<<30) |
#define | SU_VELOCITY1 (1u<<5) |
#define | SU_VELOCITY2 (1u<<6) |
#define | SU_VELOCITY3 (1u<<7) |
#define | SU_VIEWHEIGHT (1u<<0) |
#define | SU_VIEWZOOM (1u<<19) |
byte factor (0 = 0.0 (not valid), 255 = 1.0) | |
#define | SU_WEAPON (1u<<14) |
#define | SU_WEAPONFRAME (1u<<12) |
#define | svc_bad 0 |
#define | svc_cdtrack 32 |
#define | svc_centerprint 26 |
#define | svc_clientdata 15 |
#define | svc_csqcentities 58 |
#define | svc_cutscene 34 |
#define | svc_damage 19 |
#define | svc_disconnect 2 |
#define | svc_downloaddata 50 |
#define | svc_effect 52 |
#define | svc_effect2 53 |
#define | svc_entities 57 |
#define | svc_finale 31 |
#define | svc_foundsecret 28 |
#define | svc_hidelmp 36 |
#define | svc_intermission 30 |
#define | svc_killedmonster 27 |
#define | svc_lightstyle 12 |
#define | svc_nop 1 |
#define | svc_particle 18 |
#define | svc_pointparticles 61 |
#define | svc_pointparticles1 62 |
#define | svc_precache 54 |
#define | svc_print 8 |
#define | svc_sellscreen 33 |
#define | svc_serverinfo 11 |
#define | svc_setangle 10 |
#define | svc_setpause 24 |
#define | svc_setview 5 |
#define | svc_showlmp 35 |
#define | svc_signonnum 25 |
#define | svc_skybox 37 |
#define | svc_sound 6 |
#define | svc_sound2 54 |
#define | svc_spawnbaseline 22 |
#define | svc_spawnbaseline2 55 |
#define | svc_spawnstatic 20 |
#define | svc_spawnstatic2 56 |
#define | svc_spawnstaticsound 29 |
#define | svc_spawnstaticsound2 59 |
#define | svc_stopsound 16 |
#define | svc_stufftext 9 |
#define | svc_temp_entity 23 |
#define | svc_time 7 |
#define | svc_trailparticles 60 |
#define | svc_updatecolors 17 |
#define | svc_updatefrags 14 |
#define | svc_updatename 13 |
#define | svc_updatestat 3 |
#define | svc_updatestatubyte 51 |
#define | svc_version 4 |
#define | TE_BEAM 13 |
#define | TE_BLOOD 50 |
#define | TE_BLOODSHOWER 52 |
#define | TE_CUSTOMFLASH 73 |
#define | TE_EXPLOSION 3 |
#define | TE_EXPLOSION2 12 |
#define | TE_EXPLOSION3 16 |
#define | TE_EXPLOSIONQUAD 70 |
#define | TE_EXPLOSIONRGB 53 |
#define | TE_FLAMEJET 74 |
#define | TE_GUNSHOT 2 |
#define | TE_GUNSHOTQUAD 57 |
#define | TE_KNIGHTSPIKE 8 |
#define | TE_LAVASPLASH 10 |
#define | TE_LIGHTNING1 5 |
#define | TE_LIGHTNING2 6 |
#define | TE_LIGHTNING3 9 |
#define | TE_LIGHTNING4NEH 17 |
#define | TE_PARTICLECUBE 54 |
#define | TE_PARTICLERAIN 55 |
#define | TE_PARTICLESNOW 56 |
#define | TE_PLASMABURN 75 |
#define | TE_SMALLFLASH 72 |
#define | TE_SPARK 51 |
#define | TE_SPIKE 0 |
#define | TE_SPIKEQUAD 58 |
#define | TE_SUPERSPIKE 1 |
#define | TE_SUPERSPIKEQUAD 59 |
#define | TE_TAREXPLOSION 4 |
#define | TE_TEI_BIGEXPLOSION 78 |
#define | TE_TEI_G3 76 |
#define | TE_TEI_PLASMAHIT 79 |
#define | TE_TEI_SMOKE 77 |
#define | TE_TELEPORT 11 |
#define | TE_UNUSED1 71 |
#define | TE_WIZSPIKE 7 |
#define | U_ALPHA (1u<<17) |
1 byte, 0.0-1.0 maps to 0-255, not sent if exactly 1, and the entity is not sent if <=0 unless it has effects (model effects are checked as well) | |
#define | U_ANGLE1 (1u<<8) |
#define | U_ANGLE2 (1u<<4) |
#define | U_ANGLE3 (1u<<9) |
#define | U_COLORMAP (1u<<11) |
#define | U_COLORMOD (1u<<22) |
1 byte, 3 bit red, 3 bit green, 2 bit blue, this lets you tint an object artifically, so you could make a red rocket, or a blue fiend... | |
#define | U_DELTA (1u<<16) |
no data, while this is set the entity is delta compressed (uses previous frame as a baseline, meaning only things that have changed from the previous frame are sent, except for the forced full update every half second) | |
#define | U_EFFECTS (1u<<13) |
#define | U_EFFECTS2 (1u<<19) |
1 byte, this is .effects & 0xFF00 (second byte) | |
#define | U_EXTEND1 (1u<<15) |
#define | U_EXTEND2 (1u<<23) |
another byte to follow | |
#define | U_EXTEND3 (1u<<31) |
another byte to follow, future expansion | |
#define | U_EXTERIORMODEL (1u<<28) |
causes this model to not be drawn when using a first person view (third person will draw it, first person will not) | |
#define | U_FRAME (1u<<6) |
#define | U_FRAME2 (1u<<26) |
1 byte, this is .frame & 0xFF00 (second byte) | |
#define | U_GLOWCOLOR (1u<<21) |
1 byte, palette index, default is 254 (white), this IS used for darklight (allowing colored darklight), however the particles from a darklight are always black, not sent if default value (even if glowsize or glowtrail is set) | |
#define | U_GLOWSIZE (1u<<20) |
1 byte, encoding is float/4.0, unsigned, not sent if 0 | |
#define | U_GLOWTRAIL (1u<<24) |
leaves a trail of particles (of color .glowcolor, or black if it is a negative glowsize) | |
#define | U_LONGENTITY (1u<<14) |
#define | U_MODEL (1u<<10) |
#define | U_MODEL2 (1u<<27) |
1 byte, this is .modelindex & 0xFF00 (second byte) | |
#define | U_MOREBITS (1u<<0) |
#define | U_ORIGIN1 (1u<<1) |
#define | U_ORIGIN2 (1u<<2) |
#define | U_ORIGIN3 (1u<<3) |
#define | U_SCALE (1u<<18) |
1 byte, scale / 16 positive, not sent if 1.0 | |
#define | U_SIGNAL (1u<<7) |
#define | U_SKIN (1u<<12) |
#define | U_STEP (1u<<5) |
#define | U_UNUSED29 (1u<<29) |
future expansion | |
#define | U_UNUSED30 (1u<<30) |
future expansion | |
#define | U_VIEWMODEL (1u<<25) |
attachs the model to the view (origin and angles become relative to it), only shown to owner, a more powerful alternative to .weaponmodel and such | |
Enumerations | |
enum | entity_state_active_t { ACTIVE_NOT = 0 , ACTIVE_NETWORK = 1 , ACTIVE_SHARED = 2 } |
Variables | |
entity_state_t | defaultstate |
struct cvar_s | developer_networkentities |
#define clc_ackdownloaddata 51 |
Definition at line 295 of file protocol.h.
Referenced by CL_SendMove(), and SV_ReadClientMessage().
#define clc_ackframe 50 |
Definition at line 294 of file protocol.h.
Referenced by CL_SendMove(), and SV_ReadClientMessage().
#define clc_bad 0 |
Definition at line 287 of file protocol.h.
#define clc_disconnect 2 |
Definition at line 289 of file protocol.h.
Referenced by CL_DisconnectEx(), and SV_ReadClientMessage().
#define clc_move 3 |
Definition at line 290 of file protocol.h.
Referenced by CL_SendMove(), and SV_ReadClientMessage().
#define clc_nop 1 |
Definition at line 288 of file protocol.h.
Referenced by CL_KeepaliveMessage(), NetConn_ConnectionEstablished(), and SV_ReadClientMessage().
#define clc_stringcmd 4 |
Definition at line 291 of file protocol.h.
Referenced by CL_ForwardToServer(), CL_SendPlayerInfo(), CL_SetInfo(), CL_SignonReply(), Sbar_DeathmatchOverlay(), and SV_ReadClientMessage().
#define clc_unusedlh2 52 |
Definition at line 296 of file protocol.h.
#define clc_unusedlh3 53 |
Definition at line 297 of file protocol.h.
#define clc_unusedlh4 54 |
Definition at line 298 of file protocol.h.
#define clc_unusedlh5 55 |
Definition at line 299 of file protocol.h.
#define clc_unusedlh6 56 |
Definition at line 300 of file protocol.h.
#define clc_unusedlh7 57 |
Definition at line 301 of file protocol.h.
#define clc_unusedlh8 58 |
Definition at line 302 of file protocol.h.
#define clc_unusedlh9 59 |
Definition at line 303 of file protocol.h.
#define DEFAULT_VIEWHEIGHT 22 |
Definition at line 198 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define E5_ALPHA (1u<<9) |
byte = bound(0, s->alpha * 255, 255)
Definition at line 768 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_ANGLES (1u<<2) |
E5_ANGLES16=0: byte[3] = s->angle[0] * 256 / 360, s->angle[1] * 256 / 360, s->angle[2] * 256 / 360 E5_ANGLES16=1: short[3] = s->angle[0] * 65536 / 360, s->angle[1] * 65536 / 360, s->angle[2] * 65536 / 360.
Definition at line 748 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_ANGLES16 (1u<<12) |
flag
Definition at line 774 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_ATTACHMENT (1u<<16) |
short = s->tagentity byte = s->tagindex
Definition at line 784 of file protocol.h.
Referenced by EntityFrame5_LostFrame(), EntityState5_DeltaBits(), EntityState5_Priority(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_COLORMAP (1u<<14) |
byte = s->colormap
Definition at line 778 of file protocol.h.
Referenced by EntityFrame5_LostFrame(), EntityState5_DeltaBits(), EntityState5_Priority(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_COLORMOD (1u<<22) |
byte[3] = s->colormod[0], s->colormod[1], s->colormod[2]
Definition at line 799 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_COMPLEXANIMATION (1u<<25) |
byte type=0 short frames[1] short times[1] byte type=1 short frames[2] short times[2] byte lerps[2] byte type=2 short frames[3] short times[3] byte lerps[3] byte type=3 short frames[4] short times[4] byte lerps[4] byte type=4 short modelindex byte numbones {short pose7s[7]} see also RENDER_COMPLEXANIMATION
Definition at line 811 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_EFFECTS (1u<<6) |
E5_EFFECTS16=0 && E5_EFFECTS32=0: byte = s->effects E5_EFFECTS16=1 && E5_EFFECTS32=0: short = s->effects E5_EFFECTS16=0 && E5_EFFECTS32=1: int = s->effects E5_EFFECTS16=1 && E5_EFFECTS32=1: int = s->effects.
Definition at line 761 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_EFFECTS16 (1u<<19) |
short = s->effects
Definition at line 793 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_EFFECTS32 (1u<<20) |
int = s->effects
Definition at line 795 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_EXTEND1 (1u<<7) |
bits >= (1<<8)
Definition at line 763 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_EXTEND2 (1u<<15) |
bits >= (1<<16)
Definition at line 780 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_EXTEND3 (1u<<23) |
bits >= (1<<24)
Definition at line 801 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_EXTEND4 (1u<<31) |
bits2 > 0
Definition at line 823 of file protocol.h.
#define E5_FLAGS (1u<<8) |
byte = s->renderflags
Definition at line 766 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_Priority(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_FRAME (1u<<4) |
E5_FRAME16=0: byte = s->frame E5_FRAME16=1: short = s->frame.
Definition at line 754 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_FRAME16 (1u<<21) |
flag
Definition at line 797 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_FULLUPDATE (1u<<0) |
reset all entity fields (typically used if status changed)
Definition at line 742 of file protocol.h.
Referenced by EntityFrame5_LostFrame(), EntityFrame5_WriteFrame(), EntityState5_DeltaBits(), EntityState5_Priority(), and EntityState5_ReadUpdate().
#define E5_GLOW (1u<<18) |
byte = s->glowsize byte = s->glowcolor
Definition at line 791 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_GLOWMOD (1u<<24) |
byte[3] = s->glowmod[0], s->glowmod[1], s->glowmod[2]
Definition at line 804 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_LIGHT (1u<<17) |
short[4] = s->light[0], s->light[1], s->light[2], s->light[3] byte = s->lightstyle byte = s->lightpflags
Definition at line 788 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_MODEL (1u<<3) |
E5_MODEL16=0: byte = s->modelindex E5_MODEL16=1: short = s->modelindex.
Definition at line 751 of file protocol.h.
Referenced by EntityFrame5_LostFrame(), EntityState5_DeltaBits(), EntityState5_Priority(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_MODEL16 (1u<<13) |
flag
Definition at line 776 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_ORIGIN (1u<<1) |
E5_ORIGIN32=0: short[3] = s->origin[0] * 8, s->origin[1] * 8, s->origin[2] * 8 E5_ORIGIN32=1: float[3] = s->origin[0], s->origin[1], s->origin[2].
Definition at line 745 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_ORIGIN32 (1u<<11) |
flag
Definition at line 772 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_SCALE (1u<<10) |
byte = bound(0, s->scale * 16, 255)
Definition at line 770 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_SKIN (1u<<5) |
byte = s->skin
Definition at line 756 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_TRAILEFFECTNUM (1u<<26) |
ushort traileffectnum
Definition at line 813 of file protocol.h.
Referenced by EntityState5_DeltaBits(), EntityState5_ReadUpdate(), and EntityState5_WriteUpdate().
#define E5_UNUSED27 (1u<<27) |
unused
Definition at line 815 of file protocol.h.
#define E5_UNUSED28 (1u<<28) |
unused
Definition at line 817 of file protocol.h.
#define E5_UNUSED29 (1u<<29) |
unused
Definition at line 819 of file protocol.h.
#define E5_UNUSED30 (1u<<30) |
unused
Definition at line 821 of file protocol.h.
#define E_ALPHA (1u<<10) |
Definition at line 625 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_ANGLE1 (1u<<3) |
Definition at line 616 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_ANGLE2 (1u<<4) |
Definition at line 617 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_ANGLE3 (1u<<5) |
Definition at line 618 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_COLORMAP (1u<<12) |
Definition at line 627 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_EFFECTS1 (1u<<9) |
Definition at line 624 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_EFFECTS2 (1u<<18) |
Definition at line 635 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_EXTEND1 (1u<<7) |
Definition at line 620 of file protocol.h.
#define E_EXTEND2 (1u<<15) |
Definition at line 630 of file protocol.h.
#define E_EXTEND3 (1u<<23) |
Definition at line 640 of file protocol.h.
#define E_EXTEND4 (1u<<31) |
Definition at line 649 of file protocol.h.
#define E_FLAGS (1u<<14) |
Definition at line 629 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_FRAME1 (1u<<8) |
Definition at line 623 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_FRAME2 (1u<<16) |
Definition at line 633 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_GLOWCOLOR (1u<<20) |
Definition at line 637 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_GLOWSIZE (1u<<19) |
Definition at line 636 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_LIGHT (1u<<21) |
Definition at line 638 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_LIGHTPFLAGS (1u<<22) |
Definition at line 639 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_LIGHTSTYLE (1u<<28) |
Definition at line 646 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_MODEL1 (1u<<6) |
Definition at line 619 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_MODEL2 (1u<<17) |
Definition at line 634 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_ORIGIN1 (1u<<0) |
Definition at line 613 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_ORIGIN2 (1u<<1) |
Definition at line 614 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_ORIGIN3 (1u<<2) |
Definition at line 615 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_SCALE (1u<<11) |
Definition at line 626 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_SKIN (1u<<13) |
Definition at line 628 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_SOUND1 (1u<<24) |
Definition at line 642 of file protocol.h.
#define E_SOUNDATTEN (1u<<26) |
Definition at line 644 of file protocol.h.
#define E_SOUNDVOL (1u<<25) |
Definition at line 643 of file protocol.h.
#define E_TAGATTACHMENT (1u<<27) |
Definition at line 645 of file protocol.h.
Referenced by EntityState_DeltaBits(), EntityState_ReadFields(), and EntityState_WriteFields().
#define E_UNUSED6 (1u<<29) |
Definition at line 647 of file protocol.h.
#define E_UNUSED7 (1u<<30) |
Definition at line 648 of file protocol.h.
#define EF_ADDITIVE 32 |
Definition at line 73 of file protocol.h.
Referenced by CL_RelinkStaticEntities(), CL_SelectTraceLine(), CL_UpdateNetworkEntity(), CL_UpdateViewModel(), CSQC_AddRenderEdict(), QW_TranslateEffects(), SV_CanSeeBox(), and VM_CL_makestatic().
#define EF_BLUE 64 |
Definition at line 74 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), QW_TranslateEffects(), and SV_PrepareEntityForSending().
#define EF_BRIGHTFIELD 1 |
Definition at line 68 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), CL_UpdateNetworkEntityTrail(), QW_TranslateEffects(), and SV_PrepareEntityForSending().
#define EF_BRIGHTLIGHT 4 |
Definition at line 70 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), QW_TranslateEffects(), and SV_PrepareEntityForSending().
#define EF_DIMLIGHT 8 |
Definition at line 71 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), QW_TranslateEffects(), and SV_PrepareEntityForSending().
#define EF_DOUBLESIDED 32768 |
Definition at line 83 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), and VM_CL_makestatic().
#define EF_DYNAMICMODELLIGHT 131072 |
Definition at line 85 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), and CSQC_AddRenderEdict().
#define EF_FLAME 1024 |
Definition at line 78 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), CL_UpdateNetworkEntityTrail(), and SV_PrepareEntityForSending().
#define EF_FULLBRIGHT 512 |
Definition at line 77 of file protocol.h.
Referenced by CL_RelinkStaticEntities(), CL_UpdateNetworkEntity(), CL_UpdateViewModel(), CSQC_AddRenderEdict(), EntityFrameQuake_ReadEntity(), EntityFrameQuake_WriteFrame(), SV_PrepareEntityForSending(), and VM_CL_makestatic().
#define EF_GIB 67108864 |
Definition at line 94 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), and CL_UpdateNetworkEntityTrail().
#define EF_GRENADE 33554432 |
Definition at line 93 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), and CL_UpdateNetworkEntityTrail().
#define EF_LOWPRECISION 4194304 |
Definition at line 90 of file protocol.h.
Referenced by SV_PrepareEntityForSending().
#define EF_MUZZLEFLASH 2 |
Definition at line 69 of file protocol.h.
Referenced by CL_MoveLerpEntityStates(), QW_TranslateEffects(), and SV_PrepareEntityForSending().
#define EF_NODEPTHTEST 8192 |
Definition at line 81 of file protocol.h.
Referenced by CL_RelinkStaticEntities(), CL_SelectTraceLine(), CL_UpdateNetworkEntity(), CL_UpdateViewModel(), CSQC_AddRenderEdict(), SV_MarkWriteEntityStateToClient(), and VM_CL_makestatic().
#define EF_NODRAW 16 |
Definition at line 72 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), QW_TranslateEffects(), and SV_MarkWriteEntityStateToClient().
#define EF_NOGUNBOB 256 |
Definition at line 76 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), and CL_UpdateViewModel().
#define EF_NOMODELFLAGS 8388608 |
Definition at line 91 of file protocol.h.
#define EF_NOSELFSHADOW 65536 |
Definition at line 84 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), and CSQC_AddRenderEdict().
#define EF_NOSHADOW 4096 |
Definition at line 80 of file protocol.h.
Referenced by CL_RelinkStaticEntities(), CL_UpdateNetworkEntity(), CL_UpdateViewModel(), CSQC_AddRenderEdict(), and VM_CL_makestatic().
#define EF_RED 128 |
Definition at line 75 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), QW_TranslateEffects(), and SV_PrepareEntityForSending().
#define EF_RESTARTANIM_BIT 1048576 |
Definition at line 88 of file protocol.h.
Referenced by CL_MoveLerpEntityStates().
#define EF_ROCKET 16777216 |
Definition at line 92 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), and CL_UpdateNetworkEntityTrail().
#define EF_ROTATE 134217728 |
Definition at line 95 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), and SV_PrepareEntityForSending().
#define EF_SELECTABLE 16384 |
Definition at line 82 of file protocol.h.
Referenced by CL_SelectTraceLine(), and CL_UpdateNetworkEntity().
#define EF_STARDUST 2048 |
Definition at line 79 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), CL_UpdateNetworkEntityTrail(), and SV_PrepareEntityForSending().
#define EF_TELEPORT_BIT 2097152 |
Definition at line 89 of file protocol.h.
Referenced by CL_MoveLerpEntityStates().
#define EF_TRACER 268435456 |
Definition at line 96 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), and CL_UpdateNetworkEntityTrail().
#define EF_TRACER2 1073741824 |
Definition at line 98 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), and CL_UpdateNetworkEntityTrail().
#define EF_TRACER3 0x80000000 |
Definition at line 99 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), and CL_UpdateNetworkEntityTrail().
#define EF_UNUSED18 262144 |
Definition at line 86 of file protocol.h.
#define EF_UNUSED19 524288 |
Definition at line 87 of file protocol.h.
#define EF_ZOMGIB 536870912 |
Definition at line 97 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), and CL_UpdateNetworkEntityTrail().
#define ENTITYFRAME5_MAXPACKETLOGS 64 |
Definition at line 826 of file protocol.h.
Referenced by EntityFrame5_AckFrame(), EntityFrame5_LostFrame(), and EntityFrame5_WriteFrame().
#define ENTITYFRAME5_MAXSTATES 1024 |
Definition at line 827 of file protocol.h.
Referenced by EntityFrame5_WriteFrame().
#define ENTITYFRAME5_PRIORITYLEVELS 32 |
Definition at line 828 of file protocol.h.
Referenced by EntityFrame5_WriteFrame(), and EntityState5_Priority().
#define ENTITYSIZEPROFILING_END | ( | msg, | |
num, | |||
flags ) |
Definition at line 42 of file protocol.h.
Referenced by EntityFrameCSQC_WriteFrame(), EntityFrameQuake_WriteFrame(), EntityState5_WriteUpdate(), and EntityState_WriteUpdate().
#define ENTITYSIZEPROFILING_START | ( | msg, | |
num, | |||
flags ) |
Definition at line 39 of file protocol.h.
Referenced by EntityFrameCSQC_WriteFrame(), EntityFrameQuake_WriteFrame(), EntityState5_WriteUpdate(), and EntityState_WriteUpdate().
#define GAME_COOP 0 |
Definition at line 203 of file protocol.h.
Referenced by CL_ParseServerInfo(), CL_VM_UpdateCoopDeathmatchGlobals(), Sbar_Draw(), and SV_SendServerinfo().
#define GAME_DEATHMATCH 1 |
Definition at line 204 of file protocol.h.
Referenced by CL_ParseServerInfo(), CL_VM_UpdateCoopDeathmatchGlobals(), Sbar_IntermissionOverlay(), and SV_SendServerinfo().
#define INTEF_FLAG1QW 1 |
Definition at line 102 of file protocol.h.
Referenced by CL_UpdateNetworkEntityTrail(), and QW_TranslateEffects().
#define INTEF_FLAG2QW 2 |
Definition at line 103 of file protocol.h.
Referenced by CL_UpdateNetworkEntityTrail(), and QW_TranslateEffects().
#define MAX_ENTITY_DATABASE (MAX_EDICTS * 2) |
Definition at line 554 of file protocol.h.
Referenced by EntityFrame_AddFrame_Client(), EntityFrame_AddFrame_Server(), EntityFrame_CL_ReadFrame(), and EntityFrame_FetchFrame().
#define MAX_ENTITY_HISTORY 64 |
Definition at line 553 of file protocol.h.
Referenced by EntityFrame4_AckFrame(), EntityFrame4_CL_ReadFrame(), EntityFrame4_FreeDatabase(), EntityFrame4_ResetDatabase(), EntityFrame4_WriteFrame(), EntityFrame_AddFrame_Client(), and EntityFrame_AddFrame_Server().
#define MAX_FRAMEGROUPBLENDS 4 |
Definition at line 408 of file protocol.h.
Referenced by VM_CL_skel_build(), VM_FrameBlendFromFrameGroupBlend(), and VM_SV_skel_build().
#define MF_GIB 4 |
Definition at line 60 of file protocol.h.
#define MF_GRENADE 2 |
Definition at line 59 of file protocol.h.
#define MF_ROCKET 1 |
Definition at line 58 of file protocol.h.
#define MF_ROTATE 8 |
Definition at line 61 of file protocol.h.
#define MF_TRACER 16 |
Definition at line 62 of file protocol.h.
#define MF_TRACER2 64 |
Definition at line 64 of file protocol.h.
#define MF_TRACER3 128 |
Definition at line 65 of file protocol.h.
#define MF_ZOMGIB 32 |
Definition at line 63 of file protocol.h.
#define PFLAGS_CORONA 2 |
Definition at line 107 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), R_Shadow_LoadWorldLightsFromMap_LightArghliteTyrlite(), and VM_CL_R_AddDynamicLight().
#define PFLAGS_FULLDYNAMIC 128 |
Definition at line 108 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), CL_UpdateNetworkEntity(), CL_ValidateState(), SV_GetPitchSign(), SV_PrepareEntityForSending(), and VM_CL_R_AddDynamicLight().
#define PFLAGS_NOSHADOW 1 |
Definition at line 106 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), R_Shadow_LoadWorldLightsFromMap_LightArghliteTyrlite(), and VM_CL_R_AddDynamicLight().
#define qw_clc_bad 0 |
Definition at line 954 of file protocol.h.
#define qw_clc_delta 5 |
Definition at line 958 of file protocol.h.
Referenced by CL_SendMove().
#define qw_clc_move 3 |
Definition at line 956 of file protocol.h.
Referenced by CL_SendMove().
#define qw_clc_nop 1 |
Definition at line 955 of file protocol.h.
#define qw_clc_stringcmd 4 |
Definition at line 957 of file protocol.h.
Referenced by CL_DisconnectEx(), CL_ForwardToServer(), CL_ParseServerInfo(), CL_Reconnect_f(), CL_SetInfo(), QW_CL_CheckOrDownloadFile(), QW_CL_ParseDownload(), QW_CL_ParseModelList(), QW_CL_ParseSoundList(), QW_CL_RequestNextDownload(), and Sbar_DeathmatchOverlay().
#define qw_clc_tmove 6 |
Definition at line 959 of file protocol.h.
#define qw_clc_upload 7 |
Definition at line 960 of file protocol.h.
Referenced by QW_CL_NextUpload_f().
#define QW_CM_ANGLE1 (1<<0) |
Definition at line 980 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate(), and QW_MSG_WriteDeltaUsercmd().
#define QW_CM_ANGLE2 (1<<7) |
Definition at line 987 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate(), and QW_MSG_WriteDeltaUsercmd().
#define QW_CM_ANGLE3 (1<<1) |
Definition at line 981 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate(), and QW_MSG_WriteDeltaUsercmd().
#define QW_CM_BUTTONS (1<<5) |
Definition at line 985 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate(), and QW_MSG_WriteDeltaUsercmd().
#define QW_CM_FORWARD (1<<2) |
Definition at line 982 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate(), and QW_MSG_WriteDeltaUsercmd().
#define QW_CM_IMPULSE (1<<6) |
Definition at line 986 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate(), and QW_MSG_WriteDeltaUsercmd().
#define QW_CM_SIDE (1<<3) |
Definition at line 983 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate(), and QW_MSG_WriteDeltaUsercmd().
#define QW_CM_UP (1<<4) |
Definition at line 984 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate(), and QW_MSG_WriteDeltaUsercmd().
#define QW_EF_BLUE 64 |
Definition at line 1030 of file protocol.h.
Referenced by QW_TranslateEffects().
#define QW_EF_BRIGHTFIELD 1 |
Definition at line 1024 of file protocol.h.
Referenced by QW_TranslateEffects().
#define QW_EF_BRIGHTLIGHT 4 |
Definition at line 1026 of file protocol.h.
Referenced by QW_TranslateEffects().
#define QW_EF_DIMLIGHT 8 |
Definition at line 1027 of file protocol.h.
Referenced by QW_TranslateEffects().
#define QW_EF_FLAG1 16 |
Definition at line 1028 of file protocol.h.
Referenced by QW_TranslateEffects().
#define QW_EF_FLAG2 32 |
Definition at line 1029 of file protocol.h.
Referenced by QW_TranslateEffects().
#define QW_EF_MUZZLEFLASH 2 |
Definition at line 1025 of file protocol.h.
Referenced by QW_TranslateEffects().
#define QW_EF_RED 128 |
Definition at line 1031 of file protocol.h.
Referenced by QW_TranslateEffects().
#define QW_MAX_PACKET_ENTITIES 64 |
Definition at line 1035 of file protocol.h.
Referenced by EntityFrameQW_CL_ReadFrame().
#define QW_PF_COMMAND (1<<1) |
Definition at line 965 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_DEAD (1<<9) |
Definition at line 973 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_EFFECTS (1<<7) |
Definition at line 971 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_GIB (1<<10) |
Definition at line 974 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_MODEL (1<<5) |
Definition at line 969 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_MSEC (1<<0) |
Definition at line 964 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_NOGRAV (1<<11) |
Definition at line 975 of file protocol.h.
#define QW_PF_SKINNUM (1<<6) |
Definition at line 970 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_VELOCITY1 (1<<2) |
Definition at line 966 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_VELOCITY2 (1<<3) |
Definition at line 967 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_VELOCITY3 (1<<4) |
Definition at line 968 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_PF_WEAPONFRAME (1<<8) |
Definition at line 972 of file protocol.h.
Referenced by EntityStateQW_ReadPlayerUpdate().
#define QW_STAT_ACTIVEWEAPON 10 |
Definition at line 1050 of file protocol.h.
#define QW_STAT_AMMO 3 |
Definition at line 1043 of file protocol.h.
#define QW_STAT_ARMOR 4 |
Definition at line 1044 of file protocol.h.
#define QW_STAT_CELLS 9 |
Definition at line 1049 of file protocol.h.
#define QW_STAT_HEALTH 0 |
Definition at line 1040 of file protocol.h.
#define QW_STAT_ITEMS 15 |
Definition at line 1055 of file protocol.h.
#define QW_STAT_MONSTERS 14 |
Definition at line 1054 of file protocol.h.
#define QW_STAT_NAILS 7 |
Definition at line 1047 of file protocol.h.
#define QW_STAT_ROCKETS 8 |
Definition at line 1048 of file protocol.h.
#define QW_STAT_SECRETS 13 |
Definition at line 1053 of file protocol.h.
#define QW_STAT_SHELLS 6 |
Definition at line 1046 of file protocol.h.
#define QW_STAT_TOTALMONSTERS 12 |
Definition at line 1052 of file protocol.h.
#define QW_STAT_TOTALSECRETS 11 |
Definition at line 1051 of file protocol.h.
#define QW_STAT_WEAPON 2 |
Definition at line 1042 of file protocol.h.
#define qw_svc_bad 0 |
Definition at line 906 of file protocol.h.
#define qw_svc_bigkick 35 |
Definition at line 933 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_cdtrack 32 |
Definition at line 930 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_centerprint 26 |
Definition at line 924 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_chokecount 44 |
Definition at line 942 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_damage 19 |
Definition at line 919 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_deltapacketentities 48 |
Definition at line 946 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_disconnect 2 |
Definition at line 908 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_download 41 |
Definition at line 939 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_entgravity 50 |
Definition at line 948 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_finale 31 |
Definition at line 929 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_foundsecret 28 |
Definition at line 926 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_intermission 30 |
Definition at line 928 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_killedmonster 27 |
Definition at line 925 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_lightstyle 12 |
Definition at line 916 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_maxspeed 49 |
Definition at line 947 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_modellist 45 |
Definition at line 943 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_muzzleflash 39 |
Definition at line 937 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_nails 43 |
Definition at line 941 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_nop 1 |
Definition at line 907 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_packetentities 47 |
Definition at line 945 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_playerinfo 42 |
Definition at line 940 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_print 8 |
Definition at line 912 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_sellscreen 33 |
Definition at line 931 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_serverdata 11 |
Definition at line 915 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_serverinfo 52 |
Definition at line 950 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_setangle 10 |
Definition at line 914 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_setinfo 51 |
Definition at line 949 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_setpause 24 |
Definition at line 923 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_setview 5 |
Definition at line 910 of file protocol.h.
#define qw_svc_smallkick 34 |
Definition at line 932 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_sound 6 |
Definition at line 911 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_soundlist 46 |
Definition at line 944 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_spawnbaseline 22 |
Definition at line 921 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_spawnstatic 20 |
Definition at line 920 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_spawnstaticsound 29 |
Definition at line 927 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_stopsound 16 |
Definition at line 918 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_stufftext 9 |
Definition at line 913 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_temp_entity 23 |
Definition at line 922 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_updateentertime 37 |
Definition at line 935 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_updatefrags 14 |
Definition at line 917 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define qw_svc_updateping 36 |
Definition at line 934 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_Pings_f().
#define qw_svc_updatepl 53 |
Definition at line 951 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_Pings_f().
#define qw_svc_updatestat 3 |
Definition at line 909 of file protocol.h.
Referenced by CL_ParseServerMessage(), and Protocol_WriteStatsReliable().
#define qw_svc_updatestatlong 38 |
Definition at line 936 of file protocol.h.
Referenced by CL_ParseServerMessage(), and Protocol_WriteStatsReliable().
#define qw_svc_updateuserinfo 40 |
Definition at line 938 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define QW_TE_BLOOD 12 |
Definition at line 1020 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_EXPLOSION 3 |
Definition at line 1011 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_GUNSHOT 2 |
Definition at line 1010 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_KNIGHTSPIKE 8 |
Definition at line 1016 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_LAVASPLASH 10 |
Definition at line 1018 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_LIGHTNING1 5 |
Definition at line 1013 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_LIGHTNING2 6 |
Definition at line 1014 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_LIGHTNING3 9 |
Definition at line 1017 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_LIGHTNINGBLOOD 13 |
Definition at line 1021 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_SPIKE 0 |
Definition at line 1008 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_SUPERSPIKE 1 |
Definition at line 1009 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_TAREXPLOSION 4 |
Definition at line 1012 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_TELEPORT 11 |
Definition at line 1019 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_TE_WIZSPIKE 7 |
Definition at line 1015 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define QW_U_ANGLE1 (1<<0) |
Definition at line 999 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_ANGLE2 (1<<12) |
Definition at line 994 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_ANGLE3 (1<<1) |
Definition at line 1000 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_COLORMAP (1<<3) |
Definition at line 1002 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_EFFECTS (1<<5) |
Definition at line 1004 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_FRAME (1<<13) |
Definition at line 995 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_MODEL (1<<2) |
Definition at line 1001 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_MOREBITS (1<<15) |
Definition at line 997 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_ORIGIN1 (1<<9) |
Definition at line 991 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_ORIGIN2 (1<<10) |
Definition at line 992 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_ORIGIN3 (1<<11) |
Definition at line 993 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_REMOVE (1<<14) |
Definition at line 996 of file protocol.h.
Referenced by EntityFrameQW_CL_ReadFrame().
#define QW_U_SKIN (1<<4) |
Definition at line 1003 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_U_SOLID (1<<6) |
Definition at line 1005 of file protocol.h.
Referenced by EntityStateQW_ReadEntityUpdate().
#define QW_UPDATE_BACKUP 64 |
Definition at line 1033 of file protocol.h.
Referenced by CL_SendMove(), and EntityFrameQW_CL_ReadFrame().
#define QW_UPDATE_MASK (QW_UPDATE_BACKUP - 1) |
Definition at line 1034 of file protocol.h.
Referenced by CL_SendMove(), and EntityFrameQW_CL_ReadFrame().
#define RENDER_ADDITIVE 2097152 |
Definition at line 370 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), R_DecalSystem_SplatEntity(), R_DrawModelDecals_Entity(), R_DrawModelDecals_FadeEntity(), R_DrawNoModel(), R_DrawNoModel_TransparentCallback(), R_GetCurrentTexture(), and VM_CL_makestatic().
#define RENDER_COLORMAPPED 32 |
Definition at line 361 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), CL_ValidateState(), EntityState5_ReadUpdate(), and SV_PrepareEntityForSending().
#define RENDER_COMPLEXANIMATION 128 |
Definition at line 363 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), EntityState5_DeltaBits(), and SV_PrepareEntityForSending().
#define RENDER_CUSTOMIZEDMODELLIGHT 4096 |
Definition at line 372 of file protocol.h.
Referenced by CL_UpdateEntityShading_Entity(), CSQC_AddRenderEdict(), and R_GetCurrentTexture().
#define RENDER_DOUBLESIDED 4194304 |
Definition at line 371 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), R_DrawNoModel_TransparentCallback(), R_GetCurrentTexture(), and VM_CL_makestatic().
#define RENDER_DYNAMICMODELLIGHT 8388608 |
Definition at line 373 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), R_GetCurrentTexture(), and RSurf_ActiveModelEntity().
#define RENDER_EXTERIORMODEL 8 |
Definition at line 359 of file protocol.h.
Referenced by CL_SelectTraceLine(), CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), EntityFrameQuake_ReadEntity(), EntityFrameQuake_WriteFrame(), EntityState5_ReadUpdate(), R_Shadow_PrepareLight(), R_View_UpdateEntityVisible(), and SV_WriteEntitiesToClient().
#define RENDER_GLOWTRAIL 2 |
Definition at line 357 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), CL_UpdateNetworkEntityTrail(), EntityFrameQuake_ReadEntity(), EntityFrameQuake_WriteFrame(), EntityState5_ReadUpdate(), and SV_PrepareEntityForSending().
#define RENDER_LIGHT 131072 |
Definition at line 366 of file protocol.h.
Referenced by CL_ClearState(), CL_MeshEntities_Init(), CL_RelinkStaticEntities(), CL_RelinkWorld(), CL_UpdateEntityShading_Entity(), CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), EntityState5_ReadUpdate(), R_GetCurrentTexture(), R_Shadow_PrepareLight(), RSurf_ActiveModelEntity(), and VM_CL_makestatic().
#define RENDER_LOWPRECISION 16 |
Definition at line 360 of file protocol.h.
Referenced by EntityState5_ReadUpdate(), EntityState5_WriteUpdate(), EntityState_ReadFields(), EntityState_WriteFields(), and SV_PrepareEntityForSending().
#define RENDER_NODEPTHTEST 1048576 |
Definition at line 369 of file protocol.h.
Referenced by CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), R_DecalSystem_SplatEntity(), R_DrawCorona(), R_DrawNoModel(), R_DrawNoModel_TransparentCallback(), R_GetCurrentTexture(), R_Model_Sprite_Draw(), R_View_UpdateEntityVisible(), and VM_CL_makestatic().
#define RENDER_NOSELFSHADOW 262144 |
Definition at line 367 of file protocol.h.
Referenced by CL_MeshEntities_Init(), CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), EntityState5_ReadUpdate(), R_Q1BSP_DrawLight_TransparentCallback(), R_SetupShader_Surface(), and R_Shadow_PrepareLight().
#define RENDER_SHADOW 65536 |
Definition at line 365 of file protocol.h.
Referenced by CL_ClearState(), CL_MeshEntities_Init(), CL_RelinkStaticEntities(), CL_RelinkWorld(), CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), EntityState5_ReadUpdate(), R_Shadow_PrepareLight(), R_Shadow_PrepareModelShadows(), and VM_CL_makestatic().
#define RENDER_STEP 1 |
Definition at line 356 of file protocol.h.
Referenced by CL_MoveLerpEntityStates(), EntityFrameQuake_ReadEntity(), EntityFrameQuake_WriteFrame(), EntityState5_ReadUpdate(), and SV_PrepareEntityForSending().
#define RENDER_VIEWMODEL 4 |
Definition at line 358 of file protocol.h.
Referenced by CL_LinkNetworkEntity(), CL_UpdateNetworkEntities(), CL_UpdateNetworkEntity(), CL_UpdateNetworkEntityTrail(), CL_UpdateViewEntities(), CL_UpdateViewModel(), CSQC_AddRenderEdict(), EntityFrameQuake_ReadEntity(), EntityFrameQuake_WriteFrame(), EntityState5_Priority(), EntityState5_ReadUpdate(), R_DrawNoModel_TransparentCallback(), R_GetCurrentTexture(), R_View_UpdateEntityVisible(), and SV_PrepareEntityForSending().
#define RENDER_WORLDOBJECT 64 |
Definition at line 362 of file protocol.h.
Referenced by CSQC_AddRenderEdict(), R_Mod_DrawLight(), R_Model_Sprite_Draw(), R_ProcessTransparentTextureSurfaceList(), and R_View_UpdateEntityVisible().
#define SCOPE_ASSUMED_EXISTING 8 |
Definition at line 54 of file protocol.h.
Referenced by EntityFrameCSQC_LostAllFrames(), EntityFrameCSQC_LostFrame(), and EntityFrameCSQC_WriteFrame().
#define SCOPE_EXISTED_ONCE 4 |
Definition at line 53 of file protocol.h.
Referenced by EntityFrameCSQC_LostAllFrames(), and EntityFrameCSQC_WriteFrame().
#define SCOPE_WANTREMOVE 1 |
Definition at line 50 of file protocol.h.
Referenced by EntityFrameCSQC_WriteFrame().
#define SCOPE_WANTSEND (SCOPE_WANTREMOVE | SCOPE_WANTUPDATE) |
Definition at line 52 of file protocol.h.
Referenced by EntityFrameCSQC_WriteFrame().
#define SCOPE_WANTUPDATE 2 |
Definition at line 51 of file protocol.h.
Referenced by EntityFrameCSQC_WriteFrame().
#define SND_ATTENUATION (1<<1) |
Definition at line 190 of file protocol.h.
Referenced by CL_ParseStartSoundPacket(), SV_StartPointSound(), and SV_StartSound().
#define SND_LARGEENTITY (1<<3) |
Definition at line 192 of file protocol.h.
Referenced by CL_ParseStartSoundPacket(), and SV_StartSound().
#define SND_LARGESOUND (1<<4) |
Definition at line 193 of file protocol.h.
Referenced by CL_ParseStartSoundPacket(), SV_StartPointSound(), and SV_StartSound().
#define SND_LOOPING (1<<2) |
Definition at line 191 of file protocol.h.
#define SND_SPEEDUSHORT4000 (1<<5) |
Definition at line 194 of file protocol.h.
Referenced by CL_ParseStartSoundPacket(), SV_StartPointSound(), and SV_StartSound().
#define SND_VOLUME (1<<0) |
Definition at line 189 of file protocol.h.
Referenced by CL_ParseStartSoundPacket(), SV_StartPointSound(), and SV_StartSound().
#define SU_ARMOR (1u<<13) |
Definition at line 165 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_EXTEND1 (1u<<15) |
Definition at line 167 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_EXTEND2 (1u<<23) |
another byte to follow, future expansion
Definition at line 176 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_EXTEND3 (1u<<31) |
another byte to follow, future expansion
Definition at line 185 of file protocol.h.
#define SU_IDEALPITCH (1u<<1) |
Definition at line 153 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_INWATER (1u<<11) |
no data follows, the bit is it
Definition at line 163 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_ITEMS (1u<<9) |
Definition at line 161 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_ONGROUND (1u<<10) |
no data follows, the bit is it
Definition at line 162 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_PUNCH1 (1u<<2) |
Definition at line 154 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_PUNCH2 (1u<<3) |
Definition at line 155 of file protocol.h.
#define SU_PUNCH3 (1u<<4) |
Definition at line 156 of file protocol.h.
#define SU_PUNCHVEC1 (1u<<16) |
Definition at line 169 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_PUNCHVEC2 (1u<<17) |
Definition at line 170 of file protocol.h.
#define SU_PUNCHVEC3 (1u<<18) |
Definition at line 171 of file protocol.h.
#define SU_UNUSED20 (1u<<20) |
Definition at line 173 of file protocol.h.
#define SU_UNUSED21 (1u<<21) |
Definition at line 174 of file protocol.h.
#define SU_UNUSED22 (1u<<22) |
Definition at line 175 of file protocol.h.
#define SU_UNUSED24 (1u<<24) |
Definition at line 178 of file protocol.h.
#define SU_UNUSED25 (1u<<25) |
Definition at line 179 of file protocol.h.
#define SU_UNUSED26 (1u<<26) |
Definition at line 180 of file protocol.h.
#define SU_UNUSED27 (1u<<27) |
Definition at line 181 of file protocol.h.
#define SU_UNUSED28 (1u<<28) |
Definition at line 182 of file protocol.h.
#define SU_UNUSED29 (1u<<29) |
Definition at line 183 of file protocol.h.
#define SU_UNUSED30 (1u<<30) |
Definition at line 184 of file protocol.h.
#define SU_VELOCITY1 (1u<<5) |
Definition at line 157 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_VELOCITY2 (1u<<6) |
Definition at line 158 of file protocol.h.
#define SU_VELOCITY3 (1u<<7) |
Definition at line 159 of file protocol.h.
#define SU_VIEWHEIGHT (1u<<0) |
Definition at line 152 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_VIEWZOOM (1u<<19) |
byte factor (0 = 0.0 (not valid), 255 = 1.0)
Definition at line 172 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_WEAPON (1u<<14) |
Definition at line 166 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define SU_WEAPONFRAME (1u<<12) |
Definition at line 164 of file protocol.h.
Referenced by CL_ParseClientdata(), and SV_WriteClientdataToMessage().
#define svc_bad 0 |
Definition at line 214 of file protocol.h.
#define svc_cdtrack 32 |
Definition at line 259 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_SendServerinfo().
#define svc_centerprint 26 |
Definition at line 249 of file protocol.h.
Referenced by CL_ParseServerMessage(), and VM_SV_centerprint().
#define svc_clientdata 15 |
Definition at line 234 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_WriteClientdataToMessage().
#define svc_csqcentities 58 |
Definition at line 278 of file protocol.h.
Referenced by CL_ParseServerMessage(), and EntityFrameCSQC_WriteFrame().
#define svc_cutscene 34 |
Definition at line 262 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_damage 19 |
Definition at line 238 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_WriteClientdataToMessage().
#define svc_disconnect 2 |
Definition at line 216 of file protocol.h.
Referenced by CL_ParseServerMessage(), CL_Stop_f(), SV_DropClient(), and SV_StopDemoRecording().
#define svc_downloaddata 50 |
Definition at line 269 of file protocol.h.
Referenced by CL_ParseServerMessage(), MakeDownloadPacket(), and SV_SendClientDatagram().
#define svc_effect 52 |
Definition at line 271 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_StartEffect().
#define svc_effect2 53 |
Definition at line 272 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_StartEffect().
#define svc_entities 57 |
Definition at line 277 of file protocol.h.
Referenced by CL_ParseServerMessage(), EntityFrame4_WriteFrame(), EntityFrame5_WriteFrame(), and EntityFrame_WriteFrame().
#define svc_finale 31 |
Definition at line 257 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_foundsecret 28 |
Definition at line 252 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_hidelmp 36 |
Definition at line 265 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_intermission 30 |
Definition at line 256 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_killedmonster 27 |
Definition at line 251 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_lightstyle 12 |
Definition at line 231 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_Spawn_f(), and VM_SV_lightstyle().
#define svc_nop 1 |
Definition at line 215 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_SendClientDatagram().
#define svc_particle 18 |
Definition at line 237 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_StartParticle().
#define svc_pointparticles 61 |
Definition at line 281 of file protocol.h.
Referenced by CL_ParseServerMessage(), and VM_SV_pointparticles().
#define svc_pointparticles1 62 |
Definition at line 282 of file protocol.h.
Referenced by CL_ParseServerMessage(), and VM_SV_pointparticles().
#define svc_precache 54 |
Definition at line 274 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_ModelIndex(), and SV_SoundIndex().
#define svc_print 8 |
Definition at line 222 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_BroadcastPrint(), SV_ClientPrint(), SV_SendServerinfo(), VM_sprint(), and VM_SV_sprint().
#define svc_sellscreen 33 |
Definition at line 260 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_serverinfo 11 |
Definition at line 227 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_SendServerinfo().
#define svc_setangle 10 |
Definition at line 225 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_Spawn_f(), and SV_WriteClientdataToMessage().
#define svc_setpause 24 |
Definition at line 246 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_Pause_f(), and VM_SV_setpause().
#define svc_setview 5 |
Definition at line 219 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_SendServerinfo(), and SV_UpdateToReliableMessages().
#define svc_showlmp 35 |
Definition at line 264 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_signonnum 25 |
Definition at line 247 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_PreSpawn_f(), SV_SendServerinfo(), and SV_Spawn_f().
#define svc_skybox 37 |
Definition at line 266 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_sound 6 |
Definition at line 220 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_StartPointSound(), and SV_StartSound().
#define svc_sound2 54 |
Definition at line 273 of file protocol.h.
#define svc_spawnbaseline 22 |
Definition at line 242 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_CreateBaseline().
#define svc_spawnbaseline2 55 |
Definition at line 275 of file protocol.h.
Referenced by CL_ParseServerMessage(), and SV_CreateBaseline().
#define svc_spawnstatic 20 |
Definition at line 240 of file protocol.h.
Referenced by CL_ParseServerMessage(), and VM_SV_makestatic().
#define svc_spawnstatic2 56 |
Definition at line 276 of file protocol.h.
Referenced by CL_ParseServerMessage(), and VM_SV_makestatic().
#define svc_spawnstaticsound 29 |
Definition at line 254 of file protocol.h.
Referenced by CL_ParseServerMessage(), and VM_SV_ambientsound().
#define svc_spawnstaticsound2 59 |
Definition at line 279 of file protocol.h.
Referenced by CL_ParseServerMessage(), and VM_SV_ambientsound().
#define svc_stopsound 16 |
Definition at line 235 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define svc_stufftext 9 |
Definition at line 223 of file protocol.h.
Referenced by CL_ParseServerMessage(), MakeDownloadPacket(), SV_ClientCommands(), SV_Pings_f(), SV_SendServerinfo(), SV_SpawnServer(), and SV_WriteNetnameIntoDemo().
#define svc_temp_entity 23 |
Definition at line 244 of file protocol.h.
Referenced by CL_ParseServerMessage(), VM_SV_te_beam(), VM_SV_te_blood(), VM_SV_te_bloodshower(), VM_SV_te_customflash(), VM_SV_te_explosion(), VM_SV_te_explosion2(), VM_SV_te_explosionquad(), VM_SV_te_explosionrgb(), VM_SV_te_flamejet(), VM_SV_te_gunshot(), VM_SV_te_gunshotquad(), VM_SV_te_knightspike(), VM_SV_te_lavasplash(), VM_SV_te_lightning1(), VM_SV_te_lightning2(), VM_SV_te_lightning3(), VM_SV_te_particlecube(), VM_SV_te_particlerain(), VM_SV_te_particlesnow(), VM_SV_te_plasmaburn(), VM_SV_te_smallflash(), VM_SV_te_spark(), VM_SV_te_spike(), VM_SV_te_spikequad(), VM_SV_te_superspike(), VM_SV_te_superspikequad(), VM_SV_te_tarexplosion(), VM_SV_te_teleport(), and VM_SV_te_wizspike().
#define svc_time 7 |
Definition at line 221 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_SendClientDatagram(), and SV_Spawn_f().
#define svc_trailparticles 60 |
Definition at line 280 of file protocol.h.
Referenced by CL_ParseServerMessage(), and VM_SV_trailparticles().
#define svc_updatecolors 17 |
Definition at line 236 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_Color_f(), SV_DropClient(), SV_Spawn_f(), SV_UpdateToReliableMessages(), and VM_SV_setcolor().
#define svc_updatefrags 14 |
Definition at line 233 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_DropClient(), SV_Spawn_f(), and SV_UpdateToReliableMessages().
#define svc_updatename 13 |
Definition at line 232 of file protocol.h.
Referenced by CL_ParseServerMessage(), SV_DropClient(), SV_Name(), and SV_Spawn_f().
#define svc_updatestat 3 |
Definition at line 217 of file protocol.h.
Referenced by CL_ParseServerMessage(), EntityFrame5_WriteFrame(), Protocol_WriteStatsReliable(), and SV_Spawn_f().
#define svc_updatestatubyte 51 |
Definition at line 270 of file protocol.h.
Referenced by CL_ParseServerMessage(), and EntityFrame5_WriteFrame().
#define svc_version 4 |
Definition at line 218 of file protocol.h.
Referenced by CL_ParseServerMessage().
#define TE_BEAM 13 |
Definition at line 323 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_beam().
#define TE_BLOOD 50 |
Definition at line 331 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_blood().
#define TE_BLOODSHOWER 52 |
Definition at line 333 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_bloodshower().
#define TE_CUSTOMFLASH 73 |
Definition at line 345 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_customflash().
#define TE_EXPLOSION 3 |
Definition at line 311 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_explosion().
#define TE_EXPLOSION2 12 |
Definition at line 320 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_explosion2().
#define TE_EXPLOSION3 16 |
Definition at line 327 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define TE_EXPLOSIONQUAD 70 |
Definition at line 342 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_explosionquad().
#define TE_EXPLOSIONRGB 53 |
Definition at line 334 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_explosionrgb().
#define TE_FLAMEJET 74 |
Definition at line 346 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_flamejet().
#define TE_GUNSHOT 2 |
Definition at line 310 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_gunshot().
#define TE_GUNSHOTQUAD 57 |
Definition at line 338 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_gunshotquad().
#define TE_KNIGHTSPIKE 8 |
Definition at line 316 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_knightspike().
#define TE_LAVASPLASH 10 |
Definition at line 318 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_lavasplash().
#define TE_LIGHTNING1 5 |
Definition at line 313 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_lightning1().
#define TE_LIGHTNING2 6 |
Definition at line 314 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_lightning2().
#define TE_LIGHTNING3 9 |
Definition at line 317 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_lightning3().
#define TE_LIGHTNING4NEH 17 |
Definition at line 328 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define TE_PARTICLECUBE 54 |
Definition at line 335 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_particlecube().
#define TE_PARTICLERAIN 55 |
Definition at line 336 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_particlerain().
#define TE_PARTICLESNOW 56 |
Definition at line 337 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_particlesnow().
#define TE_PLASMABURN 75 |
Definition at line 347 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_plasmaburn().
#define TE_SMALLFLASH 72 |
Definition at line 344 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_smallflash().
#define TE_SPARK 51 |
Definition at line 332 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_spark().
#define TE_SPIKE 0 |
Definition at line 308 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_spike().
#define TE_SPIKEQUAD 58 |
Definition at line 339 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_spikequad().
#define TE_SUPERSPIKE 1 |
Definition at line 309 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_superspike().
#define TE_SUPERSPIKEQUAD 59 |
Definition at line 340 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_superspikequad().
#define TE_TAREXPLOSION 4 |
Definition at line 312 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_tarexplosion().
#define TE_TEI_BIGEXPLOSION 78 |
Definition at line 351 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define TE_TEI_G3 76 |
Definition at line 349 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define TE_TEI_PLASMAHIT 79 |
Definition at line 352 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define TE_TEI_SMOKE 77 |
Definition at line 350 of file protocol.h.
Referenced by CL_ParseTempEntity().
#define TE_TELEPORT 11 |
Definition at line 319 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_teleport().
#define TE_UNUSED1 71 |
Definition at line 343 of file protocol.h.
#define TE_WIZSPIKE 7 |
Definition at line 315 of file protocol.h.
Referenced by CL_ParseTempEntity(), and VM_SV_te_wizspike().
#define U_ALPHA (1u<<17) |
1 byte, 0.0-1.0 maps to 0-255, not sent if exactly 1, and the entity is not sent if <=0 unless it has effects (model effects are checked as well)
Definition at line 134 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_ANGLE1 (1u<<8) |
Definition at line 122 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_ANGLE2 (1u<<4) |
Definition at line 115 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_ANGLE3 (1u<<9) |
Definition at line 123 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_COLORMAP (1u<<11) |
Definition at line 125 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_COLORMOD (1u<<22) |
1 byte, 3 bit red, 3 bit green, 2 bit blue, this lets you tint an object artifically, so you could make a red rocket, or a blue fiend...
Definition at line 139 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_DELTA (1u<<16) |
no data, while this is set the entity is delta compressed (uses previous frame as a baseline, meaning only things that have changed from the previous frame are sent, except for the forced full update every half second)
Definition at line 133 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity().
#define U_EFFECTS (1u<<13) |
Definition at line 127 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_EFFECTS2 (1u<<19) |
1 byte, this is .effects & 0xFF00 (second byte)
Definition at line 136 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_EXTEND1 (1u<<15) |
Definition at line 131 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_EXTEND2 (1u<<23) |
another byte to follow
Definition at line 140 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_EXTEND3 (1u<<31) |
another byte to follow, future expansion
Definition at line 149 of file protocol.h.
#define U_EXTERIORMODEL (1u<<28) |
causes this model to not be drawn when using a first person view (third person will draw it, first person will not)
Definition at line 146 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_FRAME (1u<<6) |
Definition at line 118 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_FRAME2 (1u<<26) |
1 byte, this is .frame & 0xFF00 (second byte)
Definition at line 144 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_GLOWCOLOR (1u<<21) |
1 byte, palette index, default is 254 (white), this IS used for darklight (allowing colored darklight), however the particles from a darklight are always black, not sent if default value (even if glowsize or glowtrail is set)
Definition at line 138 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_GLOWSIZE (1u<<20) |
1 byte, encoding is float/4.0, unsigned, not sent if 0
Definition at line 137 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_GLOWTRAIL (1u<<24) |
leaves a trail of particles (of color .glowcolor, or black if it is a negative glowsize)
Definition at line 142 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_LONGENTITY (1u<<14) |
Definition at line 128 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_MODEL (1u<<10) |
Definition at line 124 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_MODEL2 (1u<<27) |
1 byte, this is .modelindex & 0xFF00 (second byte)
Definition at line 145 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_MOREBITS (1u<<0) |
Definition at line 111 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_ORIGIN1 (1u<<1) |
Definition at line 112 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_ORIGIN2 (1u<<2) |
Definition at line 113 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_ORIGIN3 (1u<<3) |
Definition at line 114 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_SCALE (1u<<18) |
1 byte, scale / 16 positive, not sent if 1.0
Definition at line 135 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_SIGNAL (1u<<7) |
Definition at line 120 of file protocol.h.
Referenced by EntityFrameQuake_WriteFrame().
#define U_SKIN (1u<<12) |
Definition at line 126 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_STEP (1u<<5) |
Definition at line 117 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
#define U_UNUSED29 (1u<<29) |
future expansion
Definition at line 147 of file protocol.h.
#define U_UNUSED30 (1u<<30) |
future expansion
Definition at line 148 of file protocol.h.
#define U_VIEWMODEL (1u<<25) |
attachs the model to the view (origin and angles become relative to it), only shown to owner, a more powerful alternative to .weaponmodel and such
Definition at line 143 of file protocol.h.
Referenced by EntityFrameQuake_ReadEntity(), and EntityFrameQuake_WriteFrame().
Enumerator | |
---|---|
ACTIVE_NOT | |
ACTIVE_NETWORK | |
ACTIVE_SHARED |
Definition at line 430 of file protocol.h.
int EntityFrame4_AckFrame | ( | entityframe4_database_t * | d, |
int | framenum, | ||
int | servermode ) |
Definition at line 74 of file com_ents4.c.
References entity_state_t::active, ACTIVE_NETWORK, entityframe4_database_t::commit, Con_Print(), Con_Printf(), defaultstate, developer_networkentities, entity_database4_commit_t::entity, EntityFrame4_GetReferenceEntity(), entity_database4_commit_t::framenum, i, cvar_t::integer, MAX_ENTITY_HISTORY, entityframe4_database_t::maxreferenceentities, entity_state_t::modelindex, entity_state_t::number, entity_database4_commit_t::numentities, entityframe4_database_t::referenceentity, and entityframe4_database_t::referenceframenum.
Referenced by EntityFrame4_CL_ReadFrame(), and SV_FrameAck().
void EntityFrame4_AddCommitEntity | ( | entityframe4_database_t * | d, |
const entity_state_t * | s ) |
Definition at line 57 of file com_ents4.c.
References entityframe4_database_t::currentcommit, entity_database4_commit_t::entity, entity_database4_commit_t::maxentities, Mem_Alloc, Mem_Free, entityframe4_database_t::mempool, and entity_database4_commit_t::numentities.
Referenced by EntityFrame4_CL_ReadFrame(), and EntityFrame4_WriteFrame().
entityframe4_database_t * EntityFrame4_AllocDatabase | ( | struct mempool_s * | pool | ) |
Definition at line 4 of file cl_ents4.c.
References entity_state_t::active, ACTIVE_NETWORK, sizebuf_t::badread, cl, CL_ExpandEntities(), cl_message, CL_MoveLerpEntityStates(), CL_NewFrameReceived(), cls, entityframe4_database_t::commit, Con_Print(), Con_Printf(), entityframe4_database_t::currentcommit, defaultstate, developer_networkentities, client_state_t::entities, client_state_t::entities_active, client_state_t::entitydatabase4, EntityFrame4_AckFrame(), EntityFrame4_AddCommitEntity(), EntityFrame4_AllocDatabase(), EntityFrame4_GetReferenceEntity(), EntityFrame4_ResetDatabase(), EntityState_ReadExtendBits(), EntityState_ReadFields(), entity_database4_commit_t::framenum, i, cvar_t::integer, client_static_t::levelmempool, client_state_t::max_entities, MAX_ENTITY_HISTORY, MSG_ReadLong, MSG_ReadShort, client_state_t::mtime, n, NULL, client_state_t::num_entities, entity_state_t::number, entity_database4_commit_t::numentities, entityframe4_database_t::referenceframenum, entity_t::state_current, entity_t::state_previous, and entity_state_t::time.
Referenced by CL_ParseServerMessage().
void EntityFrame4_FreeDatabase | ( | entityframe4_database_t * | d | ) |
Definition at line 13 of file com_ents4.c.
References entityframe4_database_t::commit, entity_database4_commit_t::entity, i, MAX_ENTITY_HISTORY, Mem_Free, and entityframe4_database_t::referenceentity.
Referenced by SV_DropClient(), and SV_SendServerinfo().
entity_state_t * EntityFrame4_GetReferenceEntity | ( | entityframe4_database_t * | d, |
int | number ) |
Definition at line 34 of file com_ents4.c.
References defaultstate, entityframe4_database_t::maxreferenceentities, Mem_Alloc, Mem_Free, entityframe4_database_t::mempool, entity_state_t::number, and entityframe4_database_t::referenceentity.
Referenced by EntityFrame4_AckFrame(), EntityFrame4_CL_ReadFrame(), and EntityFrame4_WriteFrame().
void EntityFrame4_ResetDatabase | ( | entityframe4_database_t * | d | ) |
Definition at line 24 of file com_ents4.c.
References entityframe4_database_t::commit, defaultstate, i, MAX_ENTITY_HISTORY, entityframe4_database_t::maxreferenceentities, entity_database4_commit_t::numentities, entityframe4_database_t::referenceentity, and entityframe4_database_t::referenceframenum.
Referenced by EntityFrame4_AllocDatabase(), and EntityFrame4_CL_ReadFrame().
qbool EntityFrame4_WriteFrame | ( | struct sizebuf_s * | msg, |
int | maxsize, | ||
entityframe4_database_t * | d, | ||
int | numstates, | ||
const entity_state_t ** | states ) |
Referenced by SV_WriteEntitiesToClient().
void EntityFrame5_AckFrame | ( | entityframe5_database_t * | d, |
int | framenum ) |
Definition at line 684 of file sv_ents5.c.
References ENTITYFRAME5_MAXPACKETLOGS, i, entityframe5_database_t::packetlog, and entityframe5_packetlog_t::packetnumber.
Referenced by SV_FrameAck().
entityframe5_database_t * EntityFrame5_AllocDatabase | ( | struct mempool_s * | pool | ) |
Referenced by SV_SendServerinfo().
Definition at line 289 of file cl_ents5.c.
References entity_state_t::active, ACTIVE_NETWORK, sizebuf_t::badread, cl, CL_ExpandEntities(), cl_message, CL_MoveLerpEntityStates(), CL_NewFrameReceived(), cls, Con_Printf(), defaultstate, developer_networkentities, client_state_t::entities, client_state_t::entities_active, EntityState5_ReadUpdate(), cvar_t::integer, client_state_t::max_entities, MSG_ReadLong, MSG_ReadShort, client_state_t::mtime, n, client_state_t::num_entities, entity_state_t::number, client_static_t::protocol, PROTOCOL_DARKPLACES1, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES3, PROTOCOL_DARKPLACES4, PROTOCOL_DARKPLACES5, PROTOCOL_DARKPLACES6, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, client_static_t::servermovesequence, entity_t::state_current, entity_t::state_previous, and entity_state_t::time.
Referenced by CL_ParseServerMessage().
void EntityFrame5_FreeDatabase | ( | entityframe5_database_t * | d | ) |
Definition at line 29 of file sv_ents5.c.
References entityframe5_database_t::deltabits, entityframe5_database_t::maxedicts, and Mem_Free.
Referenced by SV_DropClient(), and SV_SendServerinfo().
void EntityFrame5_LostFrame | ( | entityframe5_database_t * | d, |
int | framenum ) |
Definition at line 623 of file sv_ents5.c.
References entityframe5_changestate_t::bits, entityframe5_database_t::deltabits, E5_ATTACHMENT, E5_COLORMAP, E5_FULLUPDATE, E5_MODEL, ENTITYFRAME5_MAXPACKETLOGS, host_client, i, max, MAX_CL_STATS, MAX_EDICTS, entityframe5_database_t::maxedicts, entityframe5_changestate_t::number, entityframe5_database_t::packetlog, packetlog5cmp(), entityframe5_packetlog_t::packetnumber, entityframe5_database_t::priorities, entityframe5_packetlog_t::states, client_t::statsdeltabits, and entityframe5_packetlog_t::statsdeltabits.
Referenced by EntityFrame5_WriteFrame(), and SV_FrameLost().
qbool EntityFrame5_WriteFrame | ( | struct sizebuf_s * | msg, |
int | maxsize, | ||
entityframe5_database_t * | d, | ||
int | numstates, | ||
const entity_state_t ** | states, | ||
int | viewentnum, | ||
unsigned int | movesequence, | ||
qbool | need_empty ) |
Referenced by SV_WriteEntitiesToClient().
void EntityFrame_AckFrame | ( | entityframe_database_t * | d, |
int | frame ) |
Definition at line 35 of file com_ents.c.
References entityframe_database_t::ackframenum, frame, entity_frameinfo_t::framenum, entityframe_database_t::frames, i, and entityframe_database_t::numframes.
Referenced by EntityFrame_CL_ReadFrame(), and SV_FrameAck().
void EntityFrame_AddFrame_Client | ( | entityframe_database_t * | d, |
vec3_t | eye, | ||
int | framenum, | ||
int | numentities, | ||
const entity_state_t * | entitydata ) |
Definition at line 168 of file cl_ents.c.
References Con_Print(), entity_frameinfo_t::endentity, entityframe_database_t::entitydata, EntityFrame_ClearDatabase(), entityframe_database_t::eye, entity_frameinfo_t::firstentity, entity_frameinfo_t::framenum, entityframe_database_t::frames, MAX_ENTITY_DATABASE, MAX_ENTITY_HISTORY, n, entityframe_database_t::numframes, and VectorCopy.
Referenced by EntityFrame_CL_ReadFrame().
void EntityFrame_AddFrame_Server | ( | entityframe_database_t * | d, |
vec3_t | eye, | ||
int | framenum, | ||
int | numentities, | ||
const entity_state_t ** | entitydata ) |
Definition at line 216 of file sv_ents.c.
References Con_Print(), entity_frameinfo_t::endentity, entityframe_database_t::entitydata, EntityFrame_ClearDatabase(), entityframe_database_t::eye, entity_frameinfo_t::firstentity, entity_frameinfo_t::framenum, entityframe_database_t::frames, MAX_ENTITY_DATABASE, MAX_ENTITY_HISTORY, n, entityframe_database_t::numframes, and VectorCopy.
Referenced by EntityFrame_WriteFrame().
entityframe_database_t * EntityFrame_AllocDatabase | ( | struct mempool_s * | mempool | ) |
Definition at line 220 of file cl_ents.c.
References entity_state_t::active, ACTIVE_NETWORK, ACTIVE_NOT, sizebuf_t::badread, cl, CL_ExpandEntities(), cl_message, CL_MoveLerpEntityStates(), CL_NewFrameReceived(), cls, Con_Printf(), defaultstate, entityframe_database_t::deltaframe, client_state_t::entities, client_state_t::entities_active, entity_frame_t::entitydata, client_state_t::entitydatabase, EntityFrame_AckFrame(), EntityFrame_AddFrame_Client(), EntityFrame_AllocDatabase(), EntityFrame_Clear(), EntityFrame_FetchFrame(), EntityState_ReadExtendBits(), EntityState_ReadFields(), f, entityframe_database_t::framedata, Host_Error(), i, client_static_t::levelmempool, MAX_EDICTS, client_state_t::max_entities, MAX_ENTITY_DATABASE, MSG_ReadFloat, MSG_ReadLong, MSG_ReadShort, client_state_t::mtime, NULL, client_state_t::num_entities, entity_state_t::number, entity_frame_t::numentities, entity_t::state_current, entity_t::state_previous, and entity_state_t::time.
Referenced by CL_ParseServerMessage().
void EntityFrame_Clear | ( | entity_frame_t * | f, |
vec3_t | eye, | ||
int | framenum ) |
Definition at line 23 of file com_ents.c.
References f, NULL, VectorClear, and VectorCopy.
Referenced by EntityFrame_CL_ReadFrame(), and EntityFrame_FetchFrame().
void EntityFrame_ClearDatabase | ( | entityframe_database_t * | d | ) |
Definition at line 17 of file com_ents.c.
Referenced by EntityFrame_AddFrame_Client(), and EntityFrame_AddFrame_Server().
void EntityFrame_FetchFrame | ( | entityframe_database_t * | d, |
int | framenum, | ||
entity_frame_t * | f ) |
Definition at line 50 of file com_ents.c.
References entity_frameinfo_t::endentity, entityframe_database_t::entitydata, EntityFrame_Clear(), entityframe_database_t::eye, f, entity_frameinfo_t::firstentity, entity_frameinfo_t::framenum, entityframe_database_t::frames, i, MAX_ENTITY_DATABASE, n, NULL, entityframe_database_t::numframes, and VectorCopy.
Referenced by EntityFrame_CL_ReadFrame(), and EntityFrame_WriteFrame().
void EntityFrame_FreeDatabase | ( | entityframe_database_t * | d | ) |
Definition at line 11 of file com_ents.c.
References Mem_Free.
Referenced by SV_DropClient(), and SV_SendServerinfo().
int EntityFrame_MostRecentlyRecievedFrameNum | ( | entityframe_database_t * | d | ) |
Definition at line 348 of file cl_ents.c.
References entity_frameinfo_t::framenum, entityframe_database_t::frames, and entityframe_database_t::numframes.
qbool EntityFrame_WriteFrame | ( | struct sizebuf_s * | msg, |
int | maxsize, | ||
entityframe_database_t * | d, | ||
int | numstates, | ||
const entity_state_t ** | states, | ||
int | viewentnum ) |
Referenced by SV_FrameLost().
qbool EntityFrameCSQC_WriteFrame | ( | struct sizebuf_s * | msg, |
int | maxsize, | ||
int | numnumbers, | ||
const unsigned short * | numbers, | ||
int | framenum ) |
Referenced by SV_WriteEntitiesToClient().
Definition at line 117 of file cl_ents_nq.c.
References ACTIVE_NOT, cl, defaultstate, client_state_t::entities, client_state_t::entities_active, client_state_t::isquakeentity, client_state_t::lastquakeentity, client_state_t::mtime, entity_state_t::number, entity_t::state_current, and entity_state_t::time.
Referenced by CL_ParseServerMessage().
Definition at line 4 of file cl_ents_nq.c.
References entity_state_t::active, ACTIVE_NETWORK, entity_state_t::alpha, entity_state_t::angles, sizebuf_t::badread, cl, CL_ExpandEntities(), cl_message, CL_MoveLerpEntityStates(), cls, entity_state_t::colormap, entity_state_t::colormod, EF_FULLBRIGHT, entity_state_t::effects, client_state_t::entities, client_state_t::entities_active, entity_state_t::flags, entity_state_t::frame, entity_state_t::glowcolor, entity_state_t::glowsize, Host_Error(), i, int(), client_state_t::isquakeentity, client_state_t::lastquakeentity, MAX_EDICTS, client_state_t::max_entities, entity_state_t::modelindex, MSG_ReadAngle(), MSG_ReadByte, MSG_ReadCoord(), MSG_ReadFloat, MSG_ReadShort, client_state_t::mtime, client_state_t::num_entities, entity_state_t::number, entity_state_t::origin, client_static_t::protocol, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, RENDER_EXTERIORMODEL, RENDER_GLOWTRAIL, RENDER_STEP, RENDER_VIEWMODEL, entity_state_t::scale, entity_state_t::skin, entity_t::state_baseline, entity_t::state_current, entity_t::state_previous, entity_state_t::time, U_ALPHA, U_ANGLE1, U_ANGLE2, U_ANGLE3, U_COLORMAP, U_COLORMOD, U_DELTA, U_EFFECTS, U_EFFECTS2, U_EXTEND1, U_EXTEND2, U_EXTERIORMODEL, U_FRAME, U_FRAME2, U_GLOWCOLOR, U_GLOWSIZE, U_GLOWTRAIL, U_LONGENTITY, U_MODEL, U_MODEL2, U_MOREBITS, U_ORIGIN1, U_ORIGIN2, U_ORIGIN3, U_SCALE, U_SKIN, U_STEP, and U_VIEWMODEL.
Referenced by CL_ParseServerMessage().
qbool EntityFrameQuake_WriteFrame | ( | struct sizebuf_s * | msg, |
int | maxsize, | ||
int | numstates, | ||
const entity_state_t ** | states ) |
Referenced by SV_WriteEntitiesToClient().
entityframeqw_database_t * EntityFrameQW_AllocDatabase | ( | struct mempool_s * | pool | ) |
Definition at line 254 of file cl_ents_qw.c.
References entity_state_t::active, ACTIVE_NOT, sizebuf_t::badread, cl, CL_ExpandEntities(), cl_message, CL_MoveLerpEntityStates(), cls, Con_DPrintf(), Con_Printf(), CON_WARN, developer_networkentities, client_state_t::entities, entityframeqw_snapshot_t::entities, client_state_t::entities_active, client_state_t::entitydatabaseqw, EntityFrameQW_AllocDatabase(), EntityStateQW_ReadEntityUpdate(), Host_Error(), cvar_t::integer, entityframeqw_snapshot_t::invalid, client_static_t::levelmempool, client_state_t::max_entities, client_state_t::maxclients, MSG_ReadByte, MSG_ReadShort, client_state_t::mtime, NULL, client_state_t::num_entities, entityframeqw_snapshot_t::num_entities, entity_state_t::number, client_state_t::qw_deltasequence, client_static_t::qw_incoming_sequence, QW_MAX_PACKET_ENTITIES, client_static_t::qw_outgoing_sequence, QW_U_REMOVE, QW_UPDATE_BACKUP, QW_UPDATE_MASK, client_state_t::qw_validsequence, entityframeqw_database_t::snapshot, entity_t::state_baseline, entity_t::state_current, entity_t::state_previous, and entity_state_t::time.
Referenced by CL_ParseServerMessage().
void EntityFrameQW_FreeDatabase | ( | entityframeqw_database_t * | d | ) |
int EntityState5_DeltaBitsForState | ( | entity_state_t * | o, |
entity_state_t * | n ) |
void EntityState5_WriteUpdate | ( | int | number, |
const entity_state_t * | s, | ||
int | changedbits, | ||
struct sizebuf_s * | msg ) |
int EntityState_DeltaBits | ( | const entity_state_t * | o, |
const entity_state_t * | n ) |
Definition at line 6 of file sv_ents.c.
References entity_state_t::active, ACTIVE_NETWORK, entity_state_t::alpha, entity_state_t::angles, entity_state_t::colormap, defaultstate, E_ALPHA, E_ANGLE1, E_ANGLE2, E_ANGLE3, E_COLORMAP, E_EFFECTS1, E_EFFECTS2, E_FLAGS, E_FRAME1, E_FRAME2, E_GLOWCOLOR, E_GLOWSIZE, E_LIGHT, E_LIGHTPFLAGS, E_LIGHTSTYLE, E_MODEL1, E_MODEL2, E_ORIGIN1, E_ORIGIN2, E_ORIGIN3, E_SCALE, E_SKIN, E_TAGATTACHMENT, entity_state_t::effects, fabs(), entity_state_t::flags, entity_state_t::frame, entity_state_t::glowcolor, entity_state_t::glowsize, entity_state_t::light, entity_state_t::lightpflags, entity_state_t::lightstyle, entity_state_t::modelindex, n, entity_state_t::origin, entity_state_t::scale, entity_state_t::skin, entity_state_t::tagentity, and entity_state_t::tagindex.
Referenced by EntityState_WriteUpdate().
Definition at line 4 of file cl_ents.c.
References cl_message, and MSG_ReadByte.
Referenced by EntityFrame4_CL_ReadFrame(), and EntityFrame_CL_ReadFrame().
void EntityState_ReadFields | ( | entity_state_t * | e, |
unsigned int | bits ) |
Definition at line 21 of file cl_ents.c.
References entity_state_t::alpha, entity_state_t::angles, cl_message, cls, entity_state_t::colormap, Con_Print(), Con_Printf(), developer_networkentities, E_ALPHA, E_ANGLE1, E_ANGLE2, E_ANGLE3, E_COLORMAP, E_EFFECTS1, E_EFFECTS2, E_FLAGS, E_FRAME1, E_FRAME2, E_GLOWCOLOR, E_GLOWSIZE, E_LIGHT, E_LIGHTPFLAGS, E_LIGHTSTYLE, E_MODEL1, E_MODEL2, E_ORIGIN1, E_ORIGIN2, E_ORIGIN3, E_SCALE, E_SKIN, E_TAGATTACHMENT, entity_state_t::effects, entity_state_t::flags, entity_state_t::frame, entity_state_t::glowcolor, entity_state_t::glowsize, cvar_t::integer, entity_state_t::light, entity_state_t::lightpflags, entity_state_t::lightstyle, entity_state_t::modelindex, MSG_ReadAngle16i(), MSG_ReadAngle8i(), MSG_ReadByte, MSG_ReadCoord16i(), MSG_ReadCoord32f(), MSG_ReadShort, entity_state_t::number, entity_state_t::origin, client_static_t::protocol, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES5, PROTOCOL_DARKPLACES6, RENDER_LOWPRECISION, entity_state_t::scale, entity_state_t::skin, entity_state_t::tagentity, and entity_state_t::tagindex.
Referenced by EntityFrame4_CL_ReadFrame(), and EntityFrame_CL_ReadFrame().
void EntityState_WriteFields | ( | const entity_state_t * | ent, |
struct sizebuf_s * | msg, | ||
unsigned int | bits ) |
void EntityState_WriteUpdate | ( | const entity_state_t * | ent, |
struct sizebuf_s * | msg, | ||
const entity_state_t * | delta ) |
Referenced by EntityFrame4_WriteFrame().
Definition at line 46 of file cl_ents_qw.c.
References entity_state_t::active, ACTIVE_NETWORK, entity_state_t::angles, cl, cl_message, CL_MoveLerpEntityStates(), cl_rollangle, cl_rollspeed, cls, entity_state_t::colormap, Com_CalcRoll(), defaultstate, client_state_t::entities, client_state_t::entities_active, entity_state_t::frame, client_state_t::idealpitch, entity_state_t::modelindex, client_state_t::mpunchangle, client_state_t::mpunchvector, MSG_ReadAngle16i(), MSG_ReadByte, MSG_ReadShort, MSG_ReadVector(), client_state_t::mtime, client_state_t::mvelocity, client_state_t::mviewzoom, entity_state_t::number, entity_state_t::origin, client_state_t::playerentity, client_static_t::protocol, QW_CM_ANGLE1, QW_CM_ANGLE2, QW_CM_ANGLE3, QW_CM_BUTTONS, QW_CM_FORWARD, QW_CM_IMPULSE, QW_CM_SIDE, QW_CM_UP, client_state_t::qw_modelindex_player, QW_PF_COMMAND, QW_PF_DEAD, QW_PF_EFFECTS, QW_PF_GIB, QW_PF_MODEL, QW_PF_MSEC, QW_PF_SKINNUM, QW_PF_VELOCITY1, QW_PF_VELOCITY2, QW_PF_VELOCITY3, QW_PF_WEAPONFRAME, QW_TranslateEffects(), entity_state_t::skin, STAT_VIEWHEIGHT, STAT_WEAPONFRAME, entity_t::state_current, entity_t::state_previous, client_state_t::stats, entity_state_t::time, cvar_t::value, VectorClear, VectorCopy, velocity, client_state_t::viewangles, void(), and weaponframe.
Referenced by CL_ParseServerMessage().
enum protocolversion_e Protocol_EnumForName | ( | const char * | s | ) |
Definition at line 68 of file protocol.c.
References i, name, protocolversioninfo_s::name, PROTOCOL_UNKNOWN, protocolversioninfo, and protocolversioninfo_s::version.
Referenced by SV_SpawnServer().
enum protocolversion_e Protocol_EnumForNumber | ( | int | n | ) |
Definition at line 86 of file protocol.c.
References i, n, protocolversioninfo_s::name, PROTOCOL_UNKNOWN, protocolversioninfo, and protocolversioninfo_s::version.
Referenced by CL_ParseServerInfo(), and CL_ParseServerMessage().
const char * Protocol_NameForEnum | ( | enum protocolversion_e | p | ) |
void Protocol_Names | ( | char * | buffer, |
size_t | buffersize ) |
Definition at line 104 of file protocol.c.
References buffer, dp_strlcat, i, name, protocolversioninfo_s::name, and protocolversioninfo.
Referenced by NetConn_ClientParsePacket(), and SV_SpawnServer().
int Protocol_NumberForEnum | ( | enum protocolversion_e | p | ) |
Definition at line 118 of file protocol.c.
References host_client, i, MAX_CL_STATS, client_t::stats, and client_t::statsdeltabits.
Referenced by SV_SendClientDatagram().
Definition at line 151 of file protocol.c.
References host_client, i, netconn_t::message, MSG_WriteByte(), MSG_WriteLong(), client_t::netconnection, server_t::protocol, PROTOCOL_QUAKEWORLD, qw_svc_updatestat, qw_svc_updatestatlong, sendquakestats, client_t::stats, client_t::statsdeltabits, sv, and svc_updatestat.
Referenced by SV_WriteEntitiesToClient().
|
extern |
Definition at line 4 of file protocol.c.
Referenced by CL_ClearState(), CL_ExpandEntities(), CL_ParseBaseline(), CL_UpdateViewModel(), EntityFrame4_AckFrame(), EntityFrame4_CL_ReadFrame(), EntityFrame4_GetReferenceEntity(), EntityFrame4_ResetDatabase(), EntityFrame4_WriteFrame(), EntityFrame5_AllocDatabase(), EntityFrame5_CL_ReadFrame(), EntityFrame5_WriteFrame(), EntityFrame_CL_ReadFrame(), EntityFrame_WriteFrame(), EntityFrameQuake_ISeeDeadEntities(), EntityState5_ReadUpdate(), EntityState_DeltaBits(), EntityStateQW_ReadPlayerUpdate(), SV_CreateBaseline(), and SV_PrepareEntityForSending().
|
extern |
Definition at line 173 of file cl_parse.c.
Referenced by CL_NewFrameReceived(), CL_Parse_Init(), CL_SendMove(), EntityFrame4_AckFrame(), EntityFrame4_CL_ReadFrame(), EntityFrame4_WriteFrame(), EntityFrame5_CL_ReadFrame(), EntityFrame5_WriteFrame(), EntityFrameQW_CL_ReadFrame(), EntityState5_ReadUpdate(), EntityState_ReadFields(), EntityStateQW_ReadEntityUpdate(), and SV_ReadClientMessage().