Build 7299
SVN-
General
Re-add something I didn't intend to remove with r7297
-
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.
Re-add something I didn't intend to remove with r7297
Remove 'none' as an option for the frame limiter in the menu and fix a bug with the slider for the offset
Re-enable -fno-strict-aliasing because apparently many versions of GCC across many platforms are still producing warning spew without it
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
Expand the list of options available for the framerate limiter, and add a separate option that controls an offset added to the limiter. This should allow the menu to cover all of the important use cases involving G-SYNC, FreeSync, and "Fast Sync".
Fix net.cpp line endings
Slight cleanup to MV_GetVorbisCommentLoops(). The biggest change here is swapping calls to atol to our Batol macro, which is actually backed by strtol instead of atol.
Hendricks and I discussed "auto *" and we've come to the conclusion that it's bad form, so this corrects that.
Reduce vorbis read block size from 32k to MV_MIXBUFFERSIZE. Despite requiring more calls into libvorbis, this should be faster on slower CPUs in cases where more copies of the same .ogg sound are attempting to be played at once than are allowed, e.g large explosion scenes in Ion Maiden.
I don't see a reason for these operations to be separated
Fix function that some sadist formatted with 3 spaces
- Packet code implementation (merge from private c/s repo), world updates are now synced through snapshots. See tag SVN_SyncPoint_Dec2018 on master of the other repo.
- "Scratch pad" sprites implementation, to avoid desyncs in sprite indexes, clients will insert temporary sprites which are cleared out when they receive the next snapshot from the server. - Patches from Striker which fix player stomping frag counts, the accept button when hosting a game through the menu, and a "noffire" command line parameter. - Patches from NY00123: t_data sync optimizations to improve some jittery behavior on the client side.
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
CON syntax extension: the empty "[]" shortcut for accessing a struct at index THISACTOR can now be omitted.
This allows cleaner syntax such as "geta .x temp", "ife sprite.x temp", etc.
Add unsigned access to actor .htmovflag through actor .htumovflag
Misc CON fixups
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().
Clean up A_InsertSprite() and the beginning of A_Spawn()
Sorting and formatting for [names|sound]dyn.[cpp|h]
Cleanup includes
SDL 2.0.9
Use references in G_UpdatePlayerFromMenu() and G_BackToMenu() for readability
This does nothing but fix indentation of a single block of code
Remove some effectively dead code that handled loading from duke3d.cfg if eduke32.cfg was not found. This has been useless for about a decade.
Move the LZW compression functions out of cache1d.cpp into their own object, klzw.cpp.
This eliminates the hackiness of libcache1d.so (now libkzlw.so) and CACHE1D_COMPRESS_ONLY.
Refresh BUILDLIC copyright headers
ifdef out all use of libc's FILE in libxmp-lite
Fix a big fail in my implementation of CON_DIVR and CON_DIVRU.
Drop C++ standard used in Visual Studio builds from C++17 to C++14, to be more consistent with our GNU makefile.
Move CONTROL_ProcessBinds() call to P_GetInput()
Fix usages of tab characters that slipped into menus.h at some point, and fix declaration of function Menu_Change() to match its definition
Very (very) slightly less terrible G_CheckPlayerColor() function.
Additional const and constexpr usage in compat.h and pragmas
engine.cpp: fix crash when calling `setrendermode 3` where PolymostProcessVoxels would be called before Polymost is initialized.
PolymostProcessVoxels would call videoNextPage during processing which would attempt to render the OSD and lead to a segfault due to Polymost not being properly initialized.
Remove redundant statements. This commit doesn't actually do anything.
P_UpdateScreenPal() seems to belong here instead
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.
Remove redundant assignment and null ptr check
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().
Static analyzer says this condition is never true
Revert r7017. I misread the code mismeasured the result.
Clean up error handling in shitty G_GetVersionFromWebsite() function
Add missing ifdef guards to namesdyn.h