Build 6573
SVN-
General
Fix corruption in filenames in new savegame system
SVN handles and Git names are merged into one person.
Fix corruption in filenames in new savegame system
ZDoom-style saves
Menu tweak
New player structures "frags" and "deaths"
player[<killer>].frags <victim> Equals how many times player <killer> killed <victim>. Note that the sum of these values will not equal the total kills or deaths for a player since another player may disconnect, so use "frag" or "deaths" instead. player[<id>].deaths Equals the total number of times the player died in the round, not including suicides. Patch from Fox.
Fix the position of the "KILLS" header and the number of deaths for each player in the frag screen.
Patch from Fox.
Fix tints with negative shades in r_usenewshading 4.
Patch from Fox.
Account for yscale when deciding if the sky is tall enough to repeat or not. Comment out code that is not working as expected.
Patch from Fox.
Add def "globalflags" bit 4, and for individual palettes the "tint" flag bit 512. This makes fog the same for all shades. Make fog behave normally with sector structure .fogpal.
Patch from Fox.
Remix screencapture_begin into OutputFileCounter.
Add anticipatory fields to ud; bump BYTEVERSION.
Make sure I_EnterText never writes a null terminator out of bounds.
Bump savegame name limits from 22 in memory and 19 in practice to 32 in memory and 30 in practice.
This bumps SV_MINOR_VER.
Cleanups to handling of old save versions
Revert r6496
Change "Size:" entries in HUD Setup to "Scale:" and indent them.
Set r_parallaxskypanning to 1 by default.
This enables sky panning, which allows the effect of CLOUDYSKIES to work properly. Patch from Fox.
Display paper-skies correctly when looking up or down.
Show a solid color for skies taller than 256 px, otherwise repeat. Patch from Fox.
New def token for "multipsky": "yscale".
multipsky <tile> { yscale <yscale> } Default value is 65536. Patch from Fox.
Revise view background / border drawing code.
New event "EVENT_UPDATESCREENAREA" Use this event to change the size of the game view, similar to when you press + or -. New event "EVENT_DISPLAYBORDER" Set RETURN to change the background tile of the game view, set -1 to disable the background and border. New userdef structures "screenarea_x1", "screenarea_y1", "screenarea_x2", "screenarea_y2" Use these structures to change the boundaries of the view in EVENT_UPDATESCREENAREA. Patch from Fox.
Fox's projection patch 2.0
Fox's maskwall fix 2.0
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.
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.
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.
Improvements to wiibuild.sh. DONT_BUILD.
Try the previous commit in a different way so that `make CC=gcc CXX=g++ COBJC="clang -x -objective-x" COBJCXX="clang++ -x objective-c++"` does not require the non-obvious CLANG=0. DONT_BUILD.
Invoke clang as the default compiler on macOS. DONT_BUILD.
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.