Build 7299
SVN-
Generale
Re-add something I didn't intend to remove with r7297
-
Generale
Remove 'none' as an option for the frame limiter in the menu and fix a bug with the slider for the offset
Nickname SVN e nomi Git sono unificati per persona.
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
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.
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
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
Remove dead code branch from RECON (logic oversight) and get rid of a useless fallthrough__
Fix off-by-one error in currently not very useful dedicated server text console input
Useless yet innocuous sdlayer fixes
Use a local variable in SDL_GL_ATTRIBUTES macro instead of relying on it being declared in the function calling the macro
Fix MV_GetNextWAVBlock() to no longer check if the unsigned BlockLength value is less than 0.
Move SE40 floor/ceilingstat and Z coordinate backups to global variables instead of allocating them on the stack.
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. ;)
Trying to silence a warning at link time in VS. DONT_BUILD.
"@Dick can you make it so that its impossible to pan the floor texture in 2d mode if the texture isnt visible?"
Actually fix savegame crash... probably.