double starttime;
double framerate;
// for AVI saving some values have to be written after capture ends
+ fs_offset_t videofile_firstchunkframes_offset;
fs_offset_t videofile_totalframes_offset1;
fs_offset_t videofile_totalframes_offset2;
fs_offset_t videofile_totalsampleframes_offset;
int soundrate;
int frame;
int soundsampleframe; // for AVI saving
- unsigned char *buffer;
+ unsigned char *screenbuffer;
+ unsigned char *outbuffer;
sizebuf_t riffbuffer;
unsigned char riffbufferdata[128];
// note: riffindex buffer has an allocated ->data member, not static like most!
short rgbtoyuvscaletable[3][3][256];
unsigned char yuvnormalizetable[3][256];
char basename[64];
+ int width, height;
}
capturevideostate_t;
//qboolean qw_spectator;
// movement parameters for client prediction
+ float movevars_wallfriction;
+ float movevars_waterfriction;
+ float movevars_friction;
float movevars_ticrate;
- float movevars_slowmo;
+ float movevars_timescale;
float movevars_gravity;
float movevars_stopspeed;
float movevars_maxspeed;
float movevars_accelerate;
float movevars_airaccelerate;
float movevars_wateraccelerate;
- float movevars_friction;
- float movevars_waterfriction;
float movevars_entgravity;
float movevars_jumpvelocity;
float movevars_edgefriction;
// this is updated to cl.movement_origin whenever health is < 1
// used by %d print in say/say_team messages if cl_locs_enable is on
vec3_t lastdeathorigin;
+
+ // processing buffer used by R_BuildLightMap, reallocated as needed,
+ // freed on each level change
+ size_t buildlightmapmemorysize;
+ unsigned char *buildlightmapmemory;
}
client_state_t;