X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=client.h;h=dd063fff9ec497c2783b9363d4eb0836c08dce19;hb=fc3e16ee6c45ac0e550735eb1955b4f578b9c0ca;hp=a50f22772a178a8fc7c4c8d3ee325103ad63ffc8;hpb=32b18b93983c83da15df794ae4e21323159cc2a5;p=xonotic%2Fdarkplaces.git diff --git a/client.h b/client.h index a50f2277..dd063fff 100644 --- a/client.h +++ b/client.h @@ -369,8 +369,7 @@ typedef struct entity_render_s float *animcache_svector3f; float *animcache_tvector3f; // interleaved arrays for rendering and dynamic vertex buffers for them - r_vertexposition_t *animcache_vertexposition; - r_meshbuffer_t *animcache_vertexpositionbuffer; + r_meshbuffer_t *animcache_vertex3fbuffer; r_vertexmesh_t *animcache_vertexmesh; r_meshbuffer_t *animcache_vertexmeshbuffer; @@ -537,7 +536,7 @@ qw_downloadtype_t; typedef enum capturevideoformat_e { CAPTUREVIDEOFORMAT_AVI_I420, - CAPTUREVIDEOFORMAT_OGG_VORBIS_THEORA, + CAPTUREVIDEOFORMAT_OGG_VORBIS_THEORA } capturevideoformat_t; @@ -710,8 +709,19 @@ typedef struct client_static_s // password spectator name team skin topcolor bottomcolor rate noaim msg *ver *ip char userinfo[MAX_USERINFO_STRING]; + // extra user info for the "connect" command + char connect_userinfo[MAX_USERINFO_STRING]; + // video capture stuff capturevideostate_t capturevideo; + + // crypto channel + crypto_t crypto; + + // ProQuake compatibility stuff + int proquake_servermod; // 0 = not proquake, 1 = proquake + int proquake_serverversion; // actual proquake server version * 10 (3.40 = 34, etc) + int proquake_serverflags; // 0 (PQF_CHEATFREE not supported) } client_static_t; @@ -978,9 +988,8 @@ typedef struct client_state_s double lastongroundtime; double hitgroundtime; float bob2_smooth; - - float ground_hit_speed; - float ground_hit_counter; + float bobfall_speed; + float bobfall_swing; // don't change view angle, full screen, etc int intermission; @@ -1201,6 +1210,7 @@ typedef struct client_state_s float movevars_airstrafeaccel_qw; float movevars_aircontrol; float movevars_aircontrol_power; + float movevars_aircontrol_penalty; float movevars_warsowbunny_airforwardaccel; float movevars_warsowbunny_accel; float movevars_warsowbunny_topspeed; @@ -1334,7 +1344,7 @@ void CL_Locs_FindLocationName(char *buffer, size_t buffersize, vec3_t point); void CL_Shutdown (void); void CL_Init (void); -void CL_EstablishConnection(const char *host); +void CL_EstablishConnection(const char *host, int firstarg); void CL_Disconnect (void); void CL_Disconnect_f (void); @@ -1542,8 +1552,9 @@ typedef struct r_refdef_stats_s int particles; int drawndecals; int totaldecals; - int meshes; - int meshes_elements; + int draws; + int draws_vertices; + int draws_elements; int lights; int lights_clears; int lights_scissored; @@ -1557,6 +1568,8 @@ typedef struct r_refdef_stats_s int indexbufferuploadsize; int vertexbufferuploadcount; int vertexbufferuploadsize; + int framedatacurrent; + int framedatasize; } r_refdef_stats_t; @@ -1775,7 +1788,7 @@ typedef struct r_refdef_s float fog_height_texcoordscale; char fogheighttexturename[64]; // detects changes to active fog height texture - qboolean draw2dstage; + int draw2dstage; // 0 = no, 1 = yes, other value = needs setting up again // true during envmap command capture qboolean envmap;