Build 5307
SVN-
fix frame locking issue with 2d3d mode, crash when toggling bottom texture swap, issues with drawing certain types of walls.
SVN handles and Git names are merged into one person.
fix frame locking issue with 2d3d mode, crash when toggling bottom texture swap, issues with drawing certain types of walls.
fix display of pal 4 sprites in 2d mode.
fix 3d mode status messages being overwritten with position/ang/horiz readouts.
fix unreadable status messages in 3d mode when working with a palette that doesn't align to Duke3d's color layout.
don't warn about the map being corrupt if the only thing wrong with it is a sector ceilingheinum or floorheinum set without the corresponding bits to enable sloping set. DONT_BUILD.
Fix warnings
fix 3d picture-in-picture when editing a map with TROR.
Address complaints from the "Mapster32 problems and bugs" thread.
Mapster32 changes:
-2d mode sprite colors are now automatically generated from the sprite's 8-bit tile. -Zooming in and out has been smoothed out. -The 2d mode crosshair cursor is now 1px thick instead of 2. -The left mouse button can now be used to select multiple wall points and sprites in 2d mode. -Ctrl-x now skips corrupt maps instead of going into an infinite loop. ;) -'-L function in 3d mode works again. -Sprites with a clipdist that has been changed from the default value of 32 will display a circular approximation of the distance in 2d mode. Note that the real clipping distance is actually closer to a square, but a circle looks much less confusing/stupid alongside the display of floor sprites. -2d mode status bar has been made a few shades lighter.
Makefile tweaks: remove BUILD_FINISHED because it frequently appeared in the wrong place when using make -j, and remove "executable" wording from linking phase. DONT_BUILD.
Fix a bug where the editor was forced into game filesystem mode by default, and add a preference to mapster32.cfg to control the default filesystem mode.
Prevent stack overflow when a grp configured via .grpinfo erroneously depends on itself. This should also be addressed in the .grpinfo parser, but this fixes it for now.
Fix warning in defs.c. DONT_BUILD.
Fix clipshapes, accidentally broken in my vec2_t rotatepoint commit.
Fix crash when playing back an .ogg with comment metadata that doesn't contain "=".
Android and MSVC build fixes. DONT_BUILD.
r5238 build fix
Revert "vec2_t rotatepoint()."
Fix the sounds at the end of the episode 3 cutscene.
Polymost parallax sky fix.
Fix Polymost issue reported at http://forums.duke4.net/topic/775-eduke32-20-and-polymer/page__view__findpost__p__220265
Additional fix for building with newest MSYS2 packages. DONT_BUILD.
Build fix. DONT_BUILD.
A lot of CON rewrites/optimizations. Converts projectile system to dynamic allocation, saving a bunch of memory (something like sizeof(projectile_t) * MAXTILES * 2). This commit also contains changes that reduce overhead for CON commands that take a lot of parameters, by way of adding a Gv_GetManyVars() to replace long strings of subsequent calls to Gv_GetVarX().
Savegame version has been bumped due to the projectile changes. There is no way this commit doesn't cause at least one bug, so DONT_BUILD. ;)
Fix building on case-sensitive filesystems on OS X, DONT_BUILD.
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
MSVC build fix.
Fix Mapster32 mouse cursor in GL
Fix Polymer when switching from Polymost
Oops! :)
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.
Android fixes: let the player climb stairs while crouched and fix the quick switch function of the weapon wheel. DONT_BUILD.
Remove errant call to G_FadePalette() which caused a frame of corruption at map load under GL renderers, and invalidate all GL textures at map load time (just textures generated from .art on desktop, everything on mobile). This also makes Grabbag keep playing through the loading screen on Android (if no loadscreen music has been defined by a mod). DONT_BUILD.
Fix program entry point on win32, allows debugging SDL builds under MSVC.
Fix kplib zip support
MSYS2 build fix. DONT_BUILD.
Fix savemapstate/loadmapstate (fixes a crash at shutdown, among other things)
Fix wildmatch(), resolves errors matching things like "*.zip" with "duke3d.hrp.zip" for example.
MSVC build fix... guess it was upset about the macro expansion
Fix off-by-one error in setview()
Fix tdupsprite in m32script.
Fix Mapster32 sector copying
Fix compiler warnings
Fix undefined behavior in Polymost
Crash fix
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.
Introduce "twalltype" for temporary uses of walltype where using wall_tracker_hook() would be invalid. This is similar to "tspritetype" and fixes a bunch of problems in the editor that cropped up when changing the tracker sanity checks to an assert that only exists in debug builds (branching upon any write to a sprite, sector or wall had an unacceptable impact on performance).
Fix Mapster32 bug where pressing "O" on a sprite twice would corrupt your map due to unchecked use of hitscan results.
Fix distrecip calculation