From 222e92ef37a8d8d5bfed06cc3b54ddb495ede50a Mon Sep 17 00:00:00 2001 From: helixhorned Date: Tue, 8 Jan 2013 23:12:59 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/polymost.c | 3 +-- polymer/eduke32/source/astub.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index 4d7c0ce38..ac11da8a9 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -192,8 +192,7 @@ int32_t r_modelocclusionchecking = 0; int32_t r_fullbrights = 1; // texture downsizing -// is medium quality a good default? -int32_t r_downsize = 1; +int32_t r_downsize = 0; int32_t r_downsizevar = -1; // used for fogcalc diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index dc86f2f69..ceca3c407 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -9206,10 +9206,10 @@ static int32_t osdcmd_tint(const osdfuncparm_t *parm) } else if (parm->numparms==0) { - palette_t empty = { 0xFF, 0xFF, 0xFF, 0x00 }; + palette_t notint = { 0xFF, 0xFF, 0xFF, 0x00 }; OSD_Printf("Hightile tintings:\n"); for (i=0,p=&hictinting[0]; i<=M32_MAXPALOOKUPS; i++,p++) - if (*(int32_t *)&hictinting[i] != *(int32_t *)&empty) + if (Bmemcmp(&hictinting[i], ¬int, 4)) 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)