Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
5056 2139d 6h hendricks266 /polymer/eduke32/build/src/polymost.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 6h hendricks266 /polymer/eduke32/build/src/polymost.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.  
5024 2154d 13h helixhorned /polymer/eduke32/build/src/polymost.c Classic/Polymost: factor out update of starting sectnum, use updatesectorbreadth().

The latter means that running perpendicular thin sector is handled better
if there are e.g. TROR sectors in the same x/y space.
5001 2165d 21h terminx /polymer/eduke32/build/src/polymost.c Polymost changes to better support running under GL ES. Still need to investigate GL_LINES and GL_QUADS... neither work under either GL -> GL ES wrapper we've tried, so we must be doing something wrong.  
4932 2189d 6h helixhorned /polymer/eduke32/build/src/polymost.c polymost.c: fix possible access of wallchanged[-1]. DONT_BUILD.  
4930 2189d 6h helixhorned /polymer/eduke32/build/src/polymost.c polymost.c: fix C build. DONT_BUILD.  
4909 2195d 17h terminx /polymer/eduke32/build/src/polymost.c Fix Mapster32 sector copying  
4907 2196d 0h terminx /polymer/eduke32/build/src/polymost.c Fix undefined behavior in Polymost  
4904 2196d 21h terminx /polymer/eduke32/build/src/polymost.c Polymost: fix wall and floor sprites clipping into or z-fighting with surfaces (replaces glDepthRange() hacks for sprites), add r_nofog cvar for debugging, reduce the total number of OpenGL calls by only calling glFogi() to set the fog mode when initializing the renderer or changing r_usenewshading.  
4898 2196d 21h terminx /polymer/eduke32/build/src/polymost.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.  
4889 2196d 21h terminx /polymer/eduke32/build/src/polymost.c Replace hightile grayscale method (usually combined with tints to produce
replacements for the first handful of palette lookups) w8th superior
"luma" method. DONT_BUILD.
4877 2203d 7h helixhorned /polymer/eduke32/build/src/polymost.c engine.c: prevent multiple collection of same sector in scansector().

Also for polymost_scansector(). These were likely of little consequence
because collection in scansector() is the exception than the rule (see
added comments), and because the redundant drawwalls() would find the
x range done the second and following times.

Also, add a bound check for sectorborder[] (the limit was probably rarely
hit in practice, but the check is mandatory nontheless) and add functions
printscans() and printbunches() in the DEBUGGINGAIDS=2 build.
4843 2212d 9h helixhorned /polymer/eduke32/build/src/polymost.c Tweak the behavior of viewscreens to what is more logical IMO.

- At a given time, at most one viewscreen may display TILE_VIEWSCR, namely
that one which is g_curViewscreen
- sync kinds of distance to compare against VIEWSCREEN_ACTIVE_DISTANCE (was
Manhattan vs. dist(), now both the latter)
- fix resetting to VIEWSCREEN tile when player is greater from it than that
distance. When the player is closer to it again, it is *not* reset to
- more sync'd g_curViewscreen and sprite[i].yvel (for 'i' being the viewscreen

Note: in a multiplayer context, this needs to be thought about once more.
4817 2223d 6h helixhorned /polymer/eduke32/build/src/polymost.c Makefile.common: in non-release builds, explicitly pass -fno-omit-frame-pointer.

So that stack traces can be gotten with optimized DEBUGANYWAY builds, e.g. for
Linux's 'perf' --> flame graphs. DONT_BUILD.
4768 2240d 18h hendricks266 /polymer/eduke32/build/src/polymost.c Some minor fixes. DONT_BUILD.  
4752 2246d 14h terminx /polymer/eduke32/build/src/polymost.c Minor cleanups, mostly just formatting. DONT_BUILD.  
4690 2270d 9h terminx /polymer/eduke32/build/src/polymost.c Fix a couple warnings, and something I fucked up after reading a loop wrong. DONT_BUILD.  
4680 2274d 23h terminx /polymer/eduke32/build/src/polymost.c Another 5000 lines of pain and tears. DONT_BUILD.  
4675 2274d 23h terminx /polymer/eduke32/build/src/polymost.c Minor engine optimizations, worth a couple fps  
4671 2274d 23h terminx /polymer/eduke32/build/src/polymost.c vec2f_t drawpoly()  

Show All