Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5075 2125d 3h terminx /polymer/eduke32/build/src/texcache.c Large batch of Polymost changes, including:

-lots of stylistic rewrites
-further improvements to anti-fighting code for wall and floor sprites (introduces three new cvars, r_wspr_offset, r_wspr_offset_variance, and r_fspr_offset)
-fixed brief HOM when traversing through a one-way masked wall
-seldomly used "alphahack" feature for hightile textures now represents alpha cutoff internally as a single byte instead of a float
-fixes a handful of issues where geometry failed to draw at certain coordinates from certain angles in certain resolutions
-renames a couple of cvars
5056 2139d 7h hendricks266 /polymer/eduke32/build/src/texcache.c Add "globalflags" def token. Flag 1 is a kill switch for the tileshades and artmapping features. Flag 2 is kill switch for the GL fullbright rendering pass.  
5055 2139d 7h hendricks266 /polymer/eduke32/build/src/texcache.c Change HICTINT_USEONART so that it applies tints to pal 0 of 8-bit tiles instead of their palswapped selves. Add HICTINT_APPLYOVERPALSWAP which applies tints to palswapped 8-bit tiles. Add HICTINT_APPLYOVERALTPAL, which applies tints to alt-pals of hightile textures.  
4997 2165d 22h terminx /polymer/eduke32/build/src/texcache.c A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4752 2246d 15h terminx /polymer/eduke32/build/src/texcache.c Minor cleanups, mostly just formatting. DONT_BUILD.  
4669 2275d 0h terminx /polymer/eduke32/build/src/texcache.c Fix warnings in texcache  
4666 2275d 0h terminx /polymer/eduke32/build/src/texcache.c Minor texcache cleanup. Nukes the hilarious MAXTILES<<1 sized array of pointers in the global texcache struct.  
4661 2275d 0h terminx /polymer/eduke32/build/src/texcache.c Additional engine cleanups and optimizations. About as generic as it sounds. Also changes internal dummytile/tilefromtexture behavior so that the LZ4 compressed version of a texture is kept and the cache1d entries associated with the tiles can expire, like any other tile.  
4639 2299d 23h terminx /polymer/eduke32/build/src/texcache.c Misc additional optimizations, mostly to polymost/mdsprite. Also separate voxmodel into its own source file and object. This commit is pretty large because I was hitting the limit of what could realistically be carved up into smaller patches. DONT_BUILD.  
4623 2299d 23h terminx /polymer/eduke32/build/src/texcache.c More Polymost cleanup, also consolidate tilesizx and tilesizy into a single tilesiz vec2_t to ensure both x and y are always in the same cache line. I may add a new vec2_16t later. Still need to take care of emulating the old flat array for the sake of CON access.  
4605 2299d 23h terminx /polymer/eduke32/build/src/texcache.c First commit for "Polymost.f", the single precision floating point conversion and optimization of Polymost. This work was primarily done for ARM but it also doubled the framerate on "Clear the Coast" on my i7.  
4546 2369d 16h hendricks266 /polymer/eduke32/build/src/texcache.c Handle a concern kludged by SlackBuilds (used by Slackware Linux and NetBSD) where a warning in texcache.c spams the log.  
4498 2420d 15h helixhorned /polymer/eduke32/build/src/texcache.c Polymost: r_npotwallmode, emulating 8-bit for walls w/ nonpow2 height textures.

When that mode is enabled (see below for caveats), wall textures that have a
non-power-of-two height (call it 'h') will be modified to look like in classic:
Let 'H' be the next power of two greater than 'h'. The texture will be uploaded
with height 'H', made up from 'h' hlines of the original texture, followed by
'H'-'h' first hlines of the same.
No panning "corrections" will take place. The mode is disabled by default.

* the mode requires that r_hightile is disabled
* it is not implemented in Polymer
* in the Lunatic build, it is ineffective when a VX map is loaded, as those
display walls with NPOT height textures correctly
4491 2423d 3h helixhorned /polymer/eduke32/build/src/texcache.c Bye, bye, B*alloc(), all hail X*alloc()! Replace large portion of the calls...

... and cull code that is dead with the X*alloc() versions since they never
return NULL on requesting memory.

Use something like
git grep '[^Xx]\(m\|c\|re\)alloc *('
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.

4489 2423d 3h helixhorned /polymer/eduke32/build/src/texcache.c A couple of stylistic cleanups and missed DAMETH_* flags substitutions.  
4488 2424d 5h helixhorned /polymer/eduke32/build/src/texcache.c 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
4486 2424d 5h helixhorned /polymer/eduke32/build/src/texcache.c Replace various GL rendering related literal flags with enum labels.

- pthtyp pth->flags bits
- Flags of the <dameth> argument of various functions
- hictinting[].f / gloadtile_hi() and daskinloader() <effect> arg bits
- hicreplctyp hicr->flags bits
- texcacheheader cachead.flags bits
4406 2483d 13h helixhorned /polymer/eduke32/build/src/texcache.c Minor Polymost code cleanup.

- factor out eligible_for_tileshades()
- remove some rendmode 1 code
- move some auto vars further down
4387 2491d 18h terminx /polymer/eduke32/build/src/texcache.c Add xxHash (, a faster alternative to CRC32, and implement it in a few places. This is around 20-30% faster than CRC32 for me (it's also implemented into the "fileinfo" console command, so you can test for yourselves). I didn't have time to gather up all of the files supported by the startup window so this isn't used there yet. Additionally, this is by the same author as the LZ4 compression library we already use.  
4317 2531d 16h hendricks266 /polymer/eduke32/build/src/texcache.c Very minor changes after an investigation into the possibility of Polymost on Wii.  

Show All