Build 6190
SVN-
General
Disable G_FadeLoad because it doesn't work in any renderer and only causes glitches.
SVN handles and Git names are merged into one person.
Disable G_FadeLoad because it doesn't work in any renderer and only causes glitches.
Another attempt at fixing Polymost z-fighting. Probably still sucks! :)
fix texture panning floatiness on slight slopes
Move duke3d and engine directory definitions to their proper spots, as they no longer need early definition after the great repository rearrangement.
Fix interpolation of sprites in sectors with SE_31_FLOOR_RISE_FALL
Improve a couple of tagged sector warning messages. DONT_BUILD.
Factor out common uses of COMMONFLAGS, COMPILERFLAGS, and LINKERFLAGS into COMPILER_* and LINKER.
Collateral changes: Engine objects now use COMPILER_CXX instead of CXX, BUILD_SETTINGS_LINKER now includes GUI_LIBS, and the Build tools now use LINK_STATUS and result instead of ONESTEP.
Fix disabling the Polymer checkbox in the Win32 startup window when POLYMER=0.
Use the override keyword when implicitly disabling Polymer and libvpx when USE_OPENGL=0.
This seems to fix a Polymost rendering error in which certain polygons touching the sides of the screen would fail to render from some angles. YMMV.
Remove red/blue 3d mode from Polymost. This hadn't been enabled in a long time and I'm not sure if it even worked anymore. DONT_BUILD.
Rename E_PostInitTables back to E_PostInit and move it back to where it belongs in engine.c (i.e. preinitengine, initengine, "postinitengine"). It should not have been changed.
Fix transparent masked walls in Polymost
Remove camera distance from the calculation for how much to offset sprites to avoid z buffer fighting.
Fix linking of mdpause variable with POLYMER=0 in screens.c, exposed by Visual Studio. DONT_BUILD.
Fixes issue with picnum 0 sprites used as map geometry
support sprite blending mode and statnum in clipboard.
Add #ifdef USE_OPENGL forgotten in r5024 that causes an OOB access in scansector() and glitchy mirrors with USE_OPENGL=0.
Extend undefinetile to also remove voxels, hightile (including skyboxes) and models.
Add vox_undefine().
Amend r5910 so that the problem is mitigated even when the map load takes place with a different renderer.
Clear wsprinfo[] upon map load. This should address some remaining instances of wall-ornamented sprite z-fighting.
GL .blend support.
Consult me if you are interested in this feature. TODO: Polymer.
In 8-bit, change the precedence of .alpha and .blend.
Previously: Non-zero alpha stacked with cstat translucency in an imitation of Polymost, potentially clobbering .blend if alphatabs are used. Now: If cstat translucency is active, .alpha is ignored.
Potentially speed up drawing md3s with transparency in Polymost
Remove the Polymer aspect ratio option, as it was always broken, and I don't know what purpose it has besides configuring non-square pixel stretching, which we have a long way to go in terms of configuring anyway.
Use r_pr_customaspect from the console instead.
Some float optimizations in the engine.
block ctrl-x and ctrl-shift-x from working if you have unsaved changes
Fix ghost tsprite bug introduced in previous commit.
Fix Polymer breakage
The great cleanup continues. This one also adds a new feature, SFLAG_WAKEUPBADGUYS. When awoken (changed to an active actor), any sprite with this flag set will wake up any enemy it has line of sight with.
add home/end modifier keys to 3d mode slope keys ([ and ]), plus a third increment modifier (home and end at the same time)