------------------------------------------------------------------------ r4488 | helixhorned | 2014-05-28 15:40:19 -0700 (Wed, 28 May 2014) | 5 lines Miscellaneous cleanup, still with the same suspects... - in mdloadskin() and gloadtile_hi(), use new function check_nonpow2() (bit-twiddling) instead of loop - Replace a couple of missed literals with CACHEAD_* enum labels ------------------------------------------------------------------------ r4487 | helixhorned | 2014-05-28 15:40:17 -0700 (Wed, 28 May 2014) | 4 lines Factor out commonly occuring hictinting[]-accessing code into three functions. Note: in polymer.c, this was buggy (but harmless) because .r is a char: if ((uint32_t)hictinting[MAXPALOOKUPS-1].r & 0xFFFFFF00) != 0xFFFFFF00) ------------------------------------------------------------------------ r4486 | helixhorned | 2014-05-28 15:40:16 -0700 (Wed, 28 May 2014) | 7 lines Replace various GL rendering related literal flags with enum labels. - pthtyp pth->flags bits - Flags of the argument of various functions - hictinting[].f / gloadtile_hi() and daskinloader() arg bits - hicreplctyp hicr->flags bits - texcacheheader cachead.flags bits ------------------------------------------------------------------------ r4485 | helixhorned | 2014-05-28 15:40:15 -0700 (Wed, 28 May 2014) | 1 line polymost.c: stylistic cleanup in gloadtile_hi, uploadtexture, fixtransparency. ------------------------------------------------------------------------ r4484 | helixhorned | 2014-05-28 15:40:14 -0700 (Wed, 28 May 2014) | 4 lines Polymost: in NPOT wall ypanning "correction", behave like Polymer in one corner case. Specifically, the handling of one-way walls ([1] in Mapster32) was slightly different. ------------------------------------------------------------------------ r4483 | helixhorned | 2014-05-28 15:40:12 -0700 (Wed, 28 May 2014) | 1 line lunatic/util/mapypan.lua: omit MIRROR, don't print maps w/o problematic tiles. ------------------------------------------------------------------------ See http://svn.eduke32.com/listing.php?repname=eduke32 for more details.