Build 6491
SVN-
General
Revert r6490.
SVN handles and Git names are merged into one person.
Revert r6490.
A potential fix for the disappearing maskwall problem.
Patch from Fox.
Eliminate the need for cache1d to calculate and remember the CRC32 of every GRP loaded.
Fix crash with "setrendermode 4" in builds with Polymer disabled
Fix issue with savemapstate/loadmapstate and gamearrays
New projection hack algorithm: Keep zoom equivalent to Classic when looking straight ahead.
Patch from Fox.
Expand use of VM_GetKeywordForID to all other references to vm_keywords[].
Fixes printing of incorrect keywords, reported by Trooper Dan.
Amend r6460 to move vm_keywords[] back to gamedef.cpp and factor the ID to keyword mapping into VM_GetKeywordForID().
Fix infinite loop when requesting to open an invalid map from the command line.
Re-add GAMETYPE_FRAGBAR to the default cases for deathmatch modes.
While the fragbar is indeed too cumbersome for use with more than 8 players, and a "show current score overlay" button is a better and more modern solution, this flag should connote whether a mode is *eligible* for it, not whether it is used at all. TODO: Add a cvar for toggling the fragbar and turn it off by default.
Enumify the definition of g_gametypeFlags.
Fix the bug where tapping (but not holding) fire with 1 ammo left for the chaingun would fail to switch away.
Reported by RunningDuke.
if (A ? 1 : B) --> if (A || B)
Fix infinite loop in OSD_StripColors() when trying to display a quote containing '^' not followed by a number.
This fixes Mission 2 of Platoon Leader, as reported by RunningDuke.
Add support for MTM modules.
Import mtm_load.c
Eliminate the force-disabling of glprojectionhacks during showview.
Please notify me if this change negatively affects your code.
compat.h: Use C++17, C++11, or C11 static_assert if available.
compat.h: Only use C++ attribute versions of fallthrough if C++11 or greater.
build.h: Error out if Visual Studio is older than 2013.
We keep getting support requests about this. See previous commit.
compat.h: Add EDUKE32_MSVC_CXX_PREREQ().
It is necessary for testing C++11 functionality because Visual Studio never defines __cplusplus to be 201112L.
Fix in-game 2d map view line colors when using palettes that differ completely from Duke3D's palette
This should fix the scrambled log output when the game crashes while executing a CON script somewhere
Don't play EXITMENUSOUND when trying to close a root menu outside of an active game.
Amend r6452.
Prevent P_GetP from treating player indexes that are >= g_mostConcurrentPlayers as player 0, by checking against MAXPLAYERS instead.
Prevents the "gib on spawn in multiplayer" bug, and allows fake players to work properly. Patch from Striker.
Fix display of the fragbar in widescreen.
Patch from Striker.
Fix the fragbar not respecting GAMETYPE_FRAGBAR.
Patch from Striker.
Fix randomseed in multiplayer.
Merged from private network branch. Patch by [IFOC]75, prepared by Striker.
Add player[].connected.
Patch from Striker.
SDL 2.0.6
Address a typo in r6435 affecting SDL 1.2 builds.
Fix crash in startup window when no game data is found.
Update fallthrough__ definitions.
Update credits.
Amend r6439
Make setinput work better in EVENT_PROCESSINPUT
NETCODE_DISABLE implementation tweaks. I think this is better.
uint64_t based FPS limiter
useless change
Force enabling NVIDIA threaded optimizations. Probably only works on Linux, but the extra putenv() call doesn't hurt anyone anywhere else.
Add a few 2560 x XXXX modes to the default video modes added to the various lists
Refer to video modes as "software" and "OpenGL" in the startup window instead of simply by how many bpp they are. End users are likely to understand this distinction more.
Ignore video modes with resolutions less than 640x480 or with aspect ratios taller than around 4:3 when populating the mode lists used in the startup window and menus. Sorry to the two guys still using nasty 5:4 1280x1024 monitors in 2017; you'll have to set your resolution using the console now.
Tweak Polymost z-fighting avoidance code
Expose "show2dsector" to CON
Call I_ClearAllInput before Anim_Play when executing startcutscene.
Add "stopallmusic" command.
Partial build fix for Lunatic.
Fix building the tools on Mac.
More no-shell stuff that I didn't want to rebase past the lowercase stuff.
Make the dynamic rule creation a little bit simpler, thanks to the previous commit.
Make most variables in the component construction lowercase.
Add starttrackslot <volume> <level>
Clobbering ud.volume_number is a hack no one should need to use any more. Only this command supports specifying -1 for volume to access the main menu, briefing, etc themes.
CON parser: Merge some cases for code size savings.
Fix RangeInt32.
Continuation of r6409
Fix two warnings. DONT_BUILD.
Unimportant menu changes to kick off synthesis
Fix checkavailweapon command.
Fix a fallthrough annotation. DONT_BUILD.
Fix a warning. DONT_BUILD.
synthesis.sh does not need to be in SVN any more. DONT_BUILD.