Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
5075 2284d 19h terminx /polymer/eduke32/build/src/polymost.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 2299d 0h 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 2299d 0h 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 2314d 7h 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 2325d 15h 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 2349d 0h helixhorned /polymer/eduke32/build/src/polymost.c polymost.c: fix possible access of wallchanged[-1]. DONT_BUILD.  
4930 2349d 0h helixhorned /polymer/eduke32/build/src/polymost.c polymost.c: fix C build. DONT_BUILD.  
4909 2355d 11h terminx /polymer/eduke32/build/src/polymost.c Fix Mapster32 sector copying  
4907 2355d 18h terminx /polymer/eduke32/build/src/polymost.c Fix undefined behavior in Polymost  
4904 2356d 15h 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 2356d 15h 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 2356d 15h 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 2363d 1h 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 2372d 3h 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 2383d 0h 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 2400d 12h hendricks266 /polymer/eduke32/build/src/polymost.c Some minor fixes. DONT_BUILD.  
4752 2406d 8h terminx /polymer/eduke32/build/src/polymost.c Minor cleanups, mostly just formatting. DONT_BUILD.  
4690 2430d 3h terminx /polymer/eduke32/build/src/polymost.c Fix a couple warnings, and something I fucked up after reading a loop wrong. DONT_BUILD.  
4680 2434d 17h terminx /polymer/eduke32/build/src/polymost.c Another 5000 lines of pain and tears. DONT_BUILD.  
4675 2434d 17h terminx /polymer/eduke32/build/src/polymost.c Minor engine optimizations, worth a couple fps  

Show All