q2w bsp format support.
automatic lightmap texture scaling to retain more performance on large maps. r_clutter preliminary implementation should probably fix up the shader still. CSQC_Parse_Damage implemented. finally implement q2 inventory. fix mixer overflow crash. glsl can now use s_diffuse etc to force inclusion of a diffuse sampler/texture, meaning shaders don't need to include them. fix issue with writeip git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4841 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
02ab57490e
commit
bed989f529
100 changed files with 3502 additions and 2204 deletions
|
@ -765,7 +765,7 @@ void Con_PrintCon (console_t *con, char *txt, unsigned int parseflags)
|
|||
oc = con->current;
|
||||
if (oc->length+1 > oc->maxlength)
|
||||
{
|
||||
oc->maxlength = (oc->length+1)+8;
|
||||
oc->maxlength = ((oc->length+1)+8)&0xffff;
|
||||
if (oc->maxlength < oc->length)
|
||||
oc->length = 0; //don't crash from console line overflows.
|
||||
con->current = BZ_Realloc(con->current, sizeof(*con->current)+(oc->maxlength)*sizeof(conchar_t));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue