Data Structures | |
struct | packet_entities_t |
struct | packet_players_t |
struct | plent_state_s |
struct | usercmd_s |
Macros | |
#define | A2A_ACK 'l' |
#define | A2A_ECHO 'e' |
#define | A2A_NACK 'm' |
#define | A2A_PING 'k' |
#define | A2C_CLIENT_COMMAND 'B' |
#define | A2C_PRINT 'n' |
#define | clc_bad 0 |
#define | clc_delta 5 |
#define | clc_move 3 |
#define | clc_nop 1 |
#define | clc_stringcmd 4 |
#define | clc_tmove 6 |
#define | clc_upload 7 |
#define | CM_ANGLE1 (1<<0) |
#define | CM_ANGLE2 (1<<7) |
#define | CM_ANGLE3 (1<<1) |
#define | CM_BUTTONS (1<<5) |
#define | CM_FORWARD (1<<2) |
#define | CM_IMPULSE (1<<6) |
#define | CM_SIDE (1<<3) |
#define | CM_UP (1<<4) |
#define | DEFAULT_SOUND_PACKET_ATTENUATION 1.0 |
#define | DEFAULT_SOUND_PACKET_VOLUME 255 |
#define | DEFAULT_VIEWHEIGHT 22 |
#define | dem_all 6 |
#define | dem_cmd 0 |
#define | dem_multiple 3 |
#define | dem_read 1 |
#define | dem_set 2 |
#define | dem_single 4 |
#define | dem_stats 5 |
#define | DF_ANGLES (1<<3) |
#define | DF_DEAD (1<<8) |
#define | DF_EFFECTS (1<<6) |
#define | DF_GIB (1<<9) |
#define | DF_MODEL (1<<11) |
#define | DF_ORIGIN 1 |
#define | DF_SKINNUM (1<<7) |
#define | DF_WEAPONFRAME (1<<10) |
#define | DL_HTTP -3 |
#define | DL_NOFILE -1 |
#define | DL_RENAME -2 |
#define | M2C_MASTER_REPLY 'd' |
#define | MAX_CLIENTS 32 |
#define | MAX_DEMO_PACKET_ENTITIES 196 |
#define | MAX_PACKET_ENTITIES 64 |
#define | PF_ALPHA (1<<0) |
#define | PF_COLORMOD (1<<5) |
#define | PF_COMMAND (1<<1) |
#define | PF_DEAD (1<<9) |
#define | PF_EFFECTS (1<<7) |
#define | PF_EFFECTS2 (1<<2) |
#define | PF_FRAME2 (1<<6) |
#define | PF_GIB (1<<10) |
#define | PF_GLOWCOLOR (1<<4) |
#define | PF_GLOWSIZE (1<<3) |
#define | PF_MODEL (1<<5) |
#define | PF_MSEC (1<<0) |
#define | PF_NOGRAV (1<<11) |
#define | PF_QF (1<<12) |
#define | PF_SCALE (1<<1) |
#define | PF_SKINNUM (1<<6) |
#define | PF_VELOCITY1 (1<<2) |
#define | PF_VELOCITY2 (1<<3) |
#define | PF_VELOCITY3 (1<<4) |
#define | PF_WEAPONFRAME (1<<8) |
#define | PORT_CLIENT "27001" |
#define | PORT_MASTER 27000 |
#define | PORT_SERVER 27500 |
#define | PRINT_CHAT 3 |
#define | PRINT_HIGH 2 |
#define | PRINT_LOW 0 |
#define | PRINT_MEDIUM 1 |
#define | PROTOCOL_VERSION 28 |
#define | qtv_bad 0 |
#define | qtv_delta 3 |
#define | qtv_disconnect 5 |
#define | qtv_nop 1 |
#define | qtv_p_print 0x1000 |
#define | qtv_p_reliable 0x2000 |
#define | qtv_p_signon 0x0000 |
#define | qtv_p_unreliable 0x3000 |
#define | qtv_packet 4 |
#define | qtv_stringcmd 2 |
#define | QW_CHECK_HASH 0x5157 |
#define | S2C_CHALLENGE 'c' |
#define | S2C_CONNECTION 'j' |
#define | S2M_HEARTBEAT 'a' |
#define | S2M_SHUTDOWN 'C' |
#define | SND_ATTENUATION (1<<14) |
#define | SND_VOLUME (1<<15) |
#define | svc_bad 0 |
#define | svc_bigkick 35 |
#define | svc_cdtrack 32 |
#define | svc_centerprint 26 |
#define | svc_chokecount 44 |
#define | svc_damage 19 |
#define | svc_deltapacketentities 48 |
#define | svc_disconnect 2 |
#define | svc_download 41 |
#define | svc_entgravity 50 |
#define | svc_finale 31 |
#define | svc_foundsecret 28 |
#define | svc_intermission 30 |
#define | svc_killedmonster 27 |
#define | svc_lightstyle 12 |
#define | svc_maxspeed 49 |
#define | svc_modellist 45 |
#define | svc_muzzleflash 39 |
#define | svc_nails 43 |
#define | svc_nails2 54 |
#define | svc_nop 1 |
#define | svc_packetentities 47 |
#define | svc_playerinfo 42 |
#define | svc_print 8 |
#define | svc_sellscreen 33 |
#define | svc_serverdata 11 |
#define | svc_serverinfo 52 |
#define | svc_setangle 10 |
#define | svc_setinfo 51 |
#define | svc_setpause 24 |
#define | svc_setview 5 |
#define | svc_smallkick 34 |
#define | svc_sound 6 |
#define | svc_soundlist 46 |
#define | svc_spawnbaseline 22 |
#define | svc_spawnstatic 20 |
#define | svc_spawnstaticsound 29 |
#define | svc_stopsound 16 |
#define | svc_stufftext 9 |
#define | svc_temp_entity 23 |
#define | svc_updateentertime 37 |
#define | svc_updatefrags 14 |
#define | svc_updateping 36 |
#define | svc_updatepl 53 |
#define | svc_updatestat 3 |
#define | svc_updatestatlong 38 |
#define | svc_updateuserinfo 40 |
#define | TE_BEAM 17 |
#define | TE_BLOOD 12 |
#define | TE_EXPLOSION 3 |
#define | TE_EXPLOSION2 16 |
#define | TE_GUNSHOT 2 |
#define | TE_KNIGHTSPIKE 8 |
#define | TE_LAVASPLASH 10 |
#define | TE_LIGHTNING1 5 |
#define | TE_LIGHTNING2 6 |
#define | TE_LIGHTNING3 9 |
#define | TE_LIGHTNINGBLOOD 13 |
#define | TE_SPIKE 0 |
#define | TE_SUPERSPIKE 1 |
#define | TE_TAREXPLOSION 4 |
#define | TE_TELEPORT 11 |
#define | TE_WIZSPIKE 7 |
#define | U_ALPHA (1<<17) |
#define | U_ANGLE1 (1<<0) |
#define | U_ANGLE2 (1<<12) |
#define | U_ANGLE3 (1<<1) |
#define | U_COLORMAP (1<<3) |
#define | U_COLORMOD (1<<22) |
#define | U_EFFECTS (1<<5) |
#define | U_EFFECTS2 (1<<19) |
#define | U_EXTEND1 (1<<7) |
#define | U_EXTEND2 (1<<23) |
#define | U_EXTEND3 (1<<31) |
#define | U_FRAME (1<<13) |
#define | U_FRAME2 (1<<26) |
#define | U_GLOWCOLOR (1<<21) |
#define | U_GLOWSIZE (1<<20) |
#define | U_GLOWTRAIL (1<<24) |
#define | U_MODEL (1<<2) |
#define | U_MOREBITS (1<<15) |
#define | U_ORIGIN1 (1<<9) |
#define | U_ORIGIN2 (1<<10) |
#define | U_ORIGIN3 (1<<11) |
#define | U_REMOVE (1<<14) |
#define | U_SCALE (1<<18) |
#define | U_SKIN (1<<4) |
#define | U_SOLID (1<<6) |
#define | U_UNUSED27 (1<<27) |
#define | U_UNUSED28 (1<<28) |
#define | U_UNUSED29 (1<<29) |
#define | U_UNUSED30 (1<<30) |
#define | U_VIEWMODEL (1<<25) |
#define | UPDATE_BACKUP 64 |
#define | UPDATE_MASK (UPDATE_BACKUP-1) |
Typedefs | |
typedef struct plent_state_s | plent_state_t |
typedef struct usercmd_s | usercmd_t |
#define A2A_ACK 'l' |
#define A2A_ECHO 'e' |
#define A2A_NACK 'm' |
#define A2A_PING 'k' |
#define A2C_CLIENT_COMMAND 'B' |
#define A2C_PRINT 'n' |
#define clc_bad 0 |
#define clc_delta 5 |
#define clc_move 3 |
#define clc_nop 1 |
#define clc_stringcmd 4 |
#define clc_tmove 6 |
#define clc_upload 7 |
#define CM_ANGLE1 (1<<0) |
#define CM_ANGLE2 (1<<7) |
#define CM_ANGLE3 (1<<1) |
#define CM_BUTTONS (1<<5) |
#define CM_FORWARD (1<<2) |
#define CM_IMPULSE (1<<6) |
#define CM_SIDE (1<<3) |
#define CM_UP (1<<4) |
#define DEFAULT_SOUND_PACKET_ATTENUATION 1.0 |
#define DEFAULT_SOUND_PACKET_VOLUME 255 |
#define DEFAULT_VIEWHEIGHT 22 |
#define dem_all 6 |
#define dem_cmd 0 |
#define dem_multiple 3 |
#define dem_read 1 |
#define dem_set 2 |
#define dem_single 4 |
#define dem_stats 5 |
#define DF_ANGLES (1<<3) |
#define DF_DEAD (1<<8) |
#define DF_EFFECTS (1<<6) |
#define DF_GIB (1<<9) |
#define DF_MODEL (1<<11) |
#define DF_ORIGIN 1 |
#define DF_SKINNUM (1<<7) |
#define DF_WEAPONFRAME (1<<10) |
#define DL_HTTP -3 |
#define DL_NOFILE -1 |
#define DL_RENAME -2 |
#define M2C_MASTER_REPLY 'd' |
#define MAX_CLIENTS 32 |
#define MAX_DEMO_PACKET_ENTITIES 196 |
#define MAX_PACKET_ENTITIES 64 |
#define PF_ALPHA (1<<0) |
#define PF_COLORMOD (1<<5) |
#define PF_COMMAND (1<<1) |
#define PF_DEAD (1<<9) |
#define PF_EFFECTS (1<<7) |
#define PF_EFFECTS2 (1<<2) |
#define PF_FRAME2 (1<<6) |
#define PF_GIB (1<<10) |
#define PF_GLOWCOLOR (1<<4) |
#define PF_GLOWSIZE (1<<3) |
#define PF_MODEL (1<<5) |
#define PF_MSEC (1<<0) |
#define PF_NOGRAV (1<<11) |
#define PF_QF (1<<12) |
#define PF_SCALE (1<<1) |
#define PF_SKINNUM (1<<6) |
#define PF_VELOCITY1 (1<<2) |
#define PF_VELOCITY2 (1<<3) |
#define PF_VELOCITY3 (1<<4) |
#define PF_WEAPONFRAME (1<<8) |
#define PORT_CLIENT "27001" |
#define PORT_MASTER 27000 |
#define PORT_SERVER 27500 |
#define PRINT_CHAT 3 |
#define PRINT_HIGH 2 |
#define PRINT_LOW 0 |
#define PRINT_MEDIUM 1 |
#define PROTOCOL_VERSION 28 |
#define qtv_bad 0 |
#define qtv_delta 3 |
#define qtv_disconnect 5 |
#define qtv_nop 1 |
#define qtv_p_print 0x1000 |
#define qtv_p_reliable 0x2000 |
#define qtv_p_signon 0x0000 |
#define qtv_p_unreliable 0x3000 |
#define qtv_packet 4 |
#define qtv_stringcmd 2 |
#define QW_CHECK_HASH 0x5157 |
#define S2C_CHALLENGE 'c' |
#define S2C_CONNECTION 'j' |
#define S2M_HEARTBEAT 'a' |
#define S2M_SHUTDOWN 'C' |
#define SND_ATTENUATION (1<<14) |
#define SND_VOLUME (1<<15) |
#define svc_bad 0 |
#define svc_bigkick 35 |
#define svc_cdtrack 32 |
#define svc_centerprint 26 |
#define svc_chokecount 44 |
#define svc_damage 19 |
#define svc_deltapacketentities 48 |
#define svc_disconnect 2 |
#define svc_download 41 |
#define svc_entgravity 50 |
#define svc_finale 31 |
#define svc_foundsecret 28 |
#define svc_intermission 30 |
#define svc_killedmonster 27 |
#define svc_lightstyle 12 |
#define svc_maxspeed 49 |
#define svc_modellist 45 |
#define svc_muzzleflash 39 |
#define svc_nails 43 |
#define svc_nails2 54 |
#define svc_nop 1 |
#define svc_packetentities 47 |
#define svc_playerinfo 42 |
#define svc_print 8 |
#define svc_sellscreen 33 |
#define svc_serverdata 11 |
#define svc_serverinfo 52 |
#define svc_setangle 10 |
#define svc_setinfo 51 |
#define svc_setpause 24 |
#define svc_setview 5 |
#define svc_smallkick 34 |
#define svc_sound 6 |
#define svc_soundlist 46 |
#define svc_spawnbaseline 22 |
#define svc_spawnstatic 20 |
#define svc_spawnstaticsound 29 |
#define svc_stopsound 16 |
#define svc_stufftext 9 |
#define svc_temp_entity 23 |
#define svc_updateentertime 37 |
#define svc_updatefrags 14 |
#define svc_updateping 36 |
#define svc_updatepl 53 |
#define svc_updatestat 3 |
#define svc_updatestatlong 38 |
#define svc_updateuserinfo 40 |
#define TE_BEAM 17 |
#define TE_BLOOD 12 |
#define TE_EXPLOSION 3 |
#define TE_EXPLOSION2 16 |
#define TE_GUNSHOT 2 |
#define TE_KNIGHTSPIKE 8 |
#define TE_LAVASPLASH 10 |
#define TE_LIGHTNING1 5 |
#define TE_LIGHTNING2 6 |
#define TE_LIGHTNING3 9 |
#define TE_LIGHTNINGBLOOD 13 |
#define TE_SPIKE 0 |
#define TE_SUPERSPIKE 1 |
#define TE_TAREXPLOSION 4 |
#define TE_TELEPORT 11 |
#define TE_WIZSPIKE 7 |
#define U_ALPHA (1<<17) |
#define U_ANGLE1 (1<<0) |
#define U_ANGLE2 (1<<12) |
#define U_ANGLE3 (1<<1) |
#define U_COLORMAP (1<<3) |
#define U_COLORMOD (1<<22) |
#define U_EFFECTS (1<<5) |
#define U_EFFECTS2 (1<<19) |
#define U_EXTEND1 (1<<7) |
#define U_EXTEND2 (1<<23) |
#define U_EXTEND3 (1<<31) |
#define U_FRAME (1<<13) |
#define U_FRAME2 (1<<26) |
#define U_GLOWCOLOR (1<<21) |
#define U_GLOWSIZE (1<<20) |
#define U_GLOWTRAIL (1<<24) |
#define U_MODEL (1<<2) |
#define U_MOREBITS (1<<15) |
#define U_ORIGIN1 (1<<9) |
#define U_ORIGIN2 (1<<10) |
#define U_ORIGIN3 (1<<11) |
#define U_REMOVE (1<<14) |
#define U_SCALE (1<<18) |
#define U_SKIN (1<<4) |
#define U_SOLID (1<<6) |
#define U_UNUSED27 (1<<27) |
#define U_UNUSED28 (1<<28) |
#define U_UNUSED29 (1<<29) |
#define U_UNUSED30 (1<<30) |
#define U_VIEWMODEL (1<<25) |
#define UPDATE_BACKUP 64 |
#define UPDATE_MASK (UPDATE_BACKUP-1) |
typedef struct plent_state_s plent_state_t |