Make r_downsize 0 by default.

Also, rewrite comparison to the non-tint in astub.c to be even less hackish.

git-svn-id: https://svn.eduke32.com/eduke32@3387 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-01-08 23:12:59 +00:00
parent 7872c0141f
commit 222e92ef37
2 changed files with 3 additions and 4 deletions

View file

@ -192,8 +192,7 @@ int32_t r_modelocclusionchecking = 0;
int32_t r_fullbrights = 1; int32_t r_fullbrights = 1;
// texture downsizing // texture downsizing
// is medium quality a good default? int32_t r_downsize = 0;
int32_t r_downsize = 1;
int32_t r_downsizevar = -1; int32_t r_downsizevar = -1;
// used for fogcalc // used for fogcalc

View file

@ -9206,10 +9206,10 @@ static int32_t osdcmd_tint(const osdfuncparm_t *parm)
} }
else if (parm->numparms==0) else if (parm->numparms==0)
{ {
palette_t empty = { 0xFF, 0xFF, 0xFF, 0x00 }; palette_t notint = { 0xFF, 0xFF, 0xFF, 0x00 };
OSD_Printf("Hightile tintings:\n"); OSD_Printf("Hightile tintings:\n");
for (i=0,p=&hictinting[0]; i<=M32_MAXPALOOKUPS; i++,p++) for (i=0,p=&hictinting[0]; i<=M32_MAXPALOOKUPS; i++,p++)
if (*(int32_t *)&hictinting[i] != *(int32_t *)&empty) if (Bmemcmp(&hictinting[i], &notint, 4))
OSD_Printf("pal %d: rgb %3d %3d %3d f %d\n", i, p->r, p->g, p->b, p->f); OSD_Printf("pal %d: rgb %3d %3d %3d f %d\n", i, p->r, p->g, p->b, p->f);
} }
else if (parm->numparms>=2) else if (parm->numparms>=2)