Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
5072 2130d 11h terminx /polymer/eduke32/build/src/polymer.c Polymer tsectortype usage. DONT_BUILD.  
5056 2144d 15h hendricks266 /polymer/eduke32/build/src/polymer.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.  
5011 2164d 10h terminx /polymer/eduke32/build/src/polymer.c Fix Polymer when switching from Polymost  
4898 2202d 7h terminx /polymer/eduke32/build/src/polymer.c Revise C++ structure trackers for performance and introduce "tspritetype", for temporary sprites or other usages where using the trackers would be invalid or undesired. DONT_BUILD.  
4833 2222d 20h helixhorned /polymer/eduke32/build/src/polymer.c Polymer: include wall[].ypanning in wall invalidation logic.

Fixes bug reported here:
4830 2223d 22h helixhorned /polymer/eduke32/build/src/polymer.c Polymer: don't draw masked walls with void tile. DONT_BUILD.

This prevents displaying W_FORCEFIELD+1 masks (as e.g. in front of viewscreens)
completely black with ART mapping. The old behavior, which is inconsistent with
classic, is kept for one-sided masked walls, though.
4701 2275d 18h terminx /polymer/eduke32/build/src/polymer.c Fix MSVC warning in Polymer  
4680 2280d 8h terminx /polymer/eduke32/build/src/polymer.c Another 5000 lines of pain and tears. DONT_BUILD.  
4667 2280d 8h terminx /polymer/eduke32/build/src/polymer.c set_globalpos(), updates both integer (globalposx/y/z) and float (fglobalposx/y/z) representations of the current camera view position. Storing the float representation pre-converted saves us from the delay incurred on ARM when converting an integer and transferring it to the FPU, though this delay is mostly negated already by using the hardfp ABI.  
4658 2280d 8h terminx /polymer/eduke32/build/src/polymer.c Various additional optimizations: add CLASSIC_SLICE_BY_4 mode to unroll some of the loops in a-c, replace integer divisions by a divisor unknown at compile time with usage of libdivide, clean up pragmas further by removing more old stuff that wasn't used anywhere. This is another one of those nasty commits that make people cry. DONT_BUILD.  
4644 2288d 14h hendricks266 /polymer/eduke32/build/src/polymer.c Clean up warnings and build issues when building under OS X 10.9. DONT_BUILD.  
4623 2305d 7h terminx /polymer/eduke32/build/src/polymer.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.  
4600 2305d 7h terminx /polymer/eduke32/build/src/polymer.c Minor polymer changes... reuse allocated _prplanelist structs to avoid potentially thousands of malloc calls per frame rendered, clean up "searchit == 2" functionality, move sector light invalidation to sector updates instead of wall updates (avoids a ton of unnecessary function calls), other minor changes  
4498 2426d 0h helixhorned /polymer/eduke32/build/src/polymer.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 2428d 11h helixhorned /polymer/eduke32/build/src/polymer.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 2428d 11h helixhorned /polymer/eduke32/build/src/polymer.c A couple of stylistic cleanups and missed DAMETH_* flags substitutions.  
4487 2429d 13h helixhorned /polymer/eduke32/build/src/polymer.c 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)
4486 2429d 13h helixhorned /polymer/eduke32/build/src/polymer.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
4484 2429d 13h helixhorned /polymer/eduke32/build/src/polymer.c 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
4471 2440d 23h hendricks266 /polymer/eduke32/build/src/polymer.c Fix two Polymer crashes related to corrupted maps.  

Show All