Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
5056 2257d 17h 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 2257d 17h 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 2284d 9h terminx /polymer/eduke32/build/src/texcache.c A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4752 2365d 1h terminx /polymer/eduke32/build/src/texcache.c Minor cleanups, mostly just formatting. DONT_BUILD.  
4669 2393d 10h terminx /polymer/eduke32/build/src/texcache.c Fix warnings in texcache  
4666 2393d 10h 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 2393d 10h 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 2418d 10h 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 2418d 10h 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 2418d 10h 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 2488d 3h 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 2539d 2h 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.

Caveats/notes:
* 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 2541d 14h 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 *('
and
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.

BUILD_LUNATIC.
 
4489 2541d 14h helixhorned /polymer/eduke32/build/src/texcache.c A couple of stylistic cleanups and missed DAMETH_* flags substitutions.  
4488 2542d 15h 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 2542d 15h 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 2602d 0h 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 2610d 5h terminx /polymer/eduke32/build/src/texcache.c Add xxHash (https://code.google.com/p/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 2650d 3h hendricks266 /polymer/eduke32/build/src/texcache.c Very minor changes after an investigation into the possibility of Polymost on Wii.  
4316 2650d 3h hendricks266 /polymer/eduke32/build/src/texcache.c Replace QuickLZ with LZ4.  

Show All