Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
5055 2255d 9h 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 2270d 17h 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 2282d 0h 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 2305d 9h helixhorned /polymer/eduke32/build/src/polymost.c polymost.c: fix possible access of wallchanged[-1]. DONT_BUILD.  
4930 2305d 9h helixhorned /polymer/eduke32/build/src/polymost.c polymost.c: fix C build. DONT_BUILD.  
4909 2311d 21h terminx /polymer/eduke32/build/src/polymost.c Fix Mapster32 sector copying  
4907 2312d 4h terminx /polymer/eduke32/build/src/polymost.c Fix undefined behavior in Polymost  
4904 2313d 1h 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 2313d 1h 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 2313d 1h 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 2319d 11h 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 2328d 12h 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
TILE_VIEWSCR.
- more sync'd g_curViewscreen and sprite[i].yvel (for 'i' being the viewscreen
sprite)

Note: in a multiplayer context, this needs to be thought about once more.
 
4817 2339d 10h 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 2356d 21h hendricks266 /polymer/eduke32/build/src/polymost.c Some minor fixes. DONT_BUILD.  
4752 2362d 17h terminx /polymer/eduke32/build/src/polymost.c Minor cleanups, mostly just formatting. DONT_BUILD.  
4690 2386d 13h terminx /polymer/eduke32/build/src/polymost.c Fix a couple warnings, and something I fucked up after reading a loop wrong. DONT_BUILD.  
4680 2391d 2h terminx /polymer/eduke32/build/src/polymost.c Another 5000 lines of pain and tears. DONT_BUILD.  
4675 2391d 2h terminx /polymer/eduke32/build/src/polymost.c Minor engine optimizations, worth a couple fps  
4671 2391d 2h terminx /polymer/eduke32/build/src/polymost.c vec2f_t drawpoly()  
4667 2391d 2h terminx /polymer/eduke32/build/src/polymost.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.  

Show All