Build 7299
SVN-
General
Remove 'none' as an option for the frame limiter in the menu and fix a bug with the slider for the offset
SVN handles and Git names are merged into one person.
Remove 'none' as an option for the frame limiter in the menu and fix a bug with the slider for the offset
MSVC build fix
Fix NETCODE_DISABLED builds. We should probably rename Net_GetPackets() to something else, because it does other required things.
Fix loading screen tile
Fix issue where the option to enable or disable Polymer wasn't being saved properly
Fix issue where the player's pistol isn't removed when they spawn on HURTRAIL/FLOORSLIME/FLOORPLASMA
macOS build fix. DONT_BUILD.
Revert "engine.cpp/.h: clean up & fix lintersect(). Additionally, add support for finding intersections of collinear line segments."
This reverts r6886.
Fix issue with editor not allowing wall and floor aligned sprites to be resized in 2d mode without textured view mode enabled
This should fix the too many sprites spawned issue in single player
Fix net.cpp line endings
Fix function that some sadist formatted with 3 spaces
This fixes S_CheckSoundPlaying() and makes CON_IFSOUND work correctly in scripts that run during menus. These changes together fix the exchange between Duke and Lani at the end of episode 3 of Duke3D.
Fix CON commands leaving useless extra values in the bytecode. They were only valid outside of executable blocks so it was never noticed.
Fix CON compiler line number accounting problem introduced with the optimization that transforms CON_SETVARVAR -> CON_SETVAR if the second parameter is a constant
Change A_AddToDeleteQueue() to call A_DeleteSprite() on sprites it removes from the queue directly, as sprites with statnums other than STAT_ACTOR and STAT_MISC are not deleted automatically when their xrepeat is 0. This fixes using CON_INSERTSPRITEQ with sprites of statnums other than STAT_ACTOR and STAT_MISC.
macOS build fix
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.