Build 7240
SVN-
General
Fix oversight with wall texture rotation on tile 0
SVN handles and Git names are merged into one person.
Fix oversight with wall texture rotation on tile 0
Fix issue with a couple symbols from cmdline.h sometimes picking up different linkage due to accidental double definition in game.h
Further clean up C_SetScriptSize(). This also fixes a bug in the function where when expanding the buffer size, most of the extra space was left uninitialized due to bad parameters passed to memset().
Fix Gv_GetArrayOrStruct() error message
Fix whitespace in gameres.rc
Fix Polymer checkbox not showing up in the startup window in Visual Studio builds
Rename Gv_GetSpecialVar() to Gv_GetArrayOrStruct() and fix what would be a bug in Gv_GetVarDataPtr() if we were using it for something more than the single thing we use it for now
This does nothing but fix indentation of a single block of code
This is supposed to fix some errors with HIGH_PRECISION_SPRITE reported by a static analyzer, wherein 32-bit values were shifted and truncated as 32-bit before being widened to a 64-bit type, which didn't seem like the intended behavior. This is the commit to look at if anything is suddenly fucked up in the classic software renderer.
Fix a couple of issues that cropped up after some of the previous OSD refactoring commits
OSD warning fix
Fix a null pointer dereference in G_GameExit() so we don't crash while we're crashing
Fix usages of tab characters that slipped into menus.h at some point, and fix declaration of function Menu_Change() to match its definition
Fix screwed up spacing in a few audiolib files. No functional changes.
Fix issue with Bgetsysmemsize() on some platforms after the changeover to ::min and ::max.
Fix HIGH_PRECISION_SPRITE, broken when switching to std::min and std::max.
Fix derpy menu bug
Increase size of text buffer used for editor 3d mode info display--it was possible to overflow it
Prevent g_sounds[] buffer overflow when attempting to define a sound with an index higher than MAXSOUNDS-1. This reduces the number of sound definitions available by 1 as the last slot is now reserved for the error condition.
Fix usage of pointer to stack allocated array outside of the scope the array was declared in
Fix huge bug in CON_COPY
Clarify assignment in ternary condition as not a bug
Replace error condition in rejectQueue_remove() with an assertion, because the NULL pointer it would return if something was fucked up would be unconditionally dereferenced in kdtree_add().
Revert r7017. I misread the code mismeasured the result.
Revert part of r7031 and fix the issue a different way
Fix memory leaks in editor sound list
Fix off-by-one error in currently not very useful dedicated server text console input
Useless yet innocuous sdlayer fixes
Fix MV_GetNextWAVBlock() to no longer check if the unsigned BlockLength value is less than 0.
Further revise a couple of null pointer checks in Polymost
Fix some weirdness in osdcmd_setactorvar() and remove an unused counter var from osdcmd_map()
Fix potential null pointer dereferences when rendering a model with no animations (?)
Fix potential null pointer dereference
Fix a couple of things with the dreaded crosshair coloration functions. ;)
VS build fix. DONT_BUILD.
This seems to fix debug builds in Visual Studio. DONT_BUILD.
Actually fix savegame crash... probably.
Fix embarrassing Windows-centric fuckup
Fix VS warning
Fix savegame crash issue
Fix parameter aliasing warning in G_LoadGroups()
Add PROJECTILE_RPG_IMPACT_DAMAGE flag for projectiles, 0x00400000. This makes PROJECTILE_RPG_IMPACT function more or less how it did prior to late 2016 when an issue involving the damage was identified and fixed, and moves the damage to the new flag.
Cheap fix for load game menu crash
MSVC build fix
Temporary workaround for palette or GL surface issue wherein launching Mapster32 into 2d mode produces a black screen until switching to 3d mode and back
Fix crash in Mapster32 when switching from GL 3d mode to 2d mode.
Fix issue with viewing the player sprite through a security camera
Fix inclusion of sdl_inc.h in Duke3D's config.cpp
Fix error with initputs symbol when linking the Build tools in some environments
Fix building the Build tools
Fix building with winlayer
Fix conveyor belt speed in IM, but not Duke because it breaks gameplay