Build 6988
SVN-
General
Actually fix savegame crash... probably.
SVN handles and Git names are merged into one person.
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
Fix -Wformat-overflow warnings
Fix warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct menusave_t'; use assignment or value-initialization instead [-Wclass-memaccess]
Fix warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
Fix variable capitalization in Dependencies.mak files
MSVC build fix
Support software renderer upscaling engine-side in sdlayer and sdlayer12 with various scaling factors (beyond just pixel doubling).
When glsurface is available, use GL to upscale the render buffer. Additionally, fix build issues with sdlayer12 introduced by GLAD changes (r6656).
polymost.cpp: fix rendering for indexed colour textures to match original behaviour when !r_usetileshades or globalflags & GLOBAL_NO_GL_TILESHADES
Additionally, fix issue in polymost_setShade() where shade calculation was happening after a check for whether or not the shade needed to be updated.
sdlayer.cpp: fix software renderer crash affecting Mapster32 due to improper handling of lockcount in videoBeginDrawing()/videoEndDrawing() when using glsurface
glsurface.h/.cpp: change how the palette is handled and fix tinting/fading
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
Don't allow GL modes if GL Major Version is less than 2.
Additionally, fix build issues for RENDERTYPE=WIN introduced in r6827.
astub.cpp: fix issue where globalpal was not declared if polymost.h was not included
Fix conveyor belt speed in IM, but not Duke because it breaks gameplay
Fix issues with running the game fullscreen on Windows 10 with high DPI setups
Fix SFLAG_WAKEUPBADGUYS
engine.cpp: fix issue introduced in r6905 where voxels with fractional scaling would not be handled correctly in Polymost