Build 8322
SVN-
Sanitize all uses of wall.nextwall to prevent OOBs
-
Fix Mac and Linux compilation of common.cpp
Nickname SVN e nomi Git sono unificati per persona.
Sanitize all uses of wall.nextwall to prevent OOBs
Fix Mac and Linux compilation of common.cpp
Fix "MV_GetVoice(): bad handle" log spam
Fix widescreen flickering in end of level screen
Allow the Run key to Walk when AutoRun is enabled
Fix non-debug builds on Windows
Update the port credits
Still far from perfect.
Copy the sln==1 GetUpperLowerSector case from the editor to the game
This avoids upper and lower remaining unmodified. Sector 469 in Seppuku Station causes it!
Improve the modern key defaults
Replace UCHAR with unsigned char
Replace MAXLONG with INT32_MAX
Fix 3D Realms and ANM palettes
Fix MIDI music
Fix file loading and init sequence
Load swtimbr.tmb
Fix -Waggressive-loop-optimizations
Fix -Wrestrict
Fix more -Wformat-overflow
Fix -Wabsolute-value
Fix -Wpointer-bool-conversion
Take a crack at the editor's ExtPostStartupWindow
Copy editor function stubs from KenBuild
Fix -Wlogical-op
Fix -Wsizeof-pointer-memaccess
Fix -Wformat-overflow and -Wstringop-overflow
Fix NORM_(SPRITE|WALL|SECTOR) macros to use MAX$1 instead of ARRAY_SIZE, which would fail due to the structs not being statically allocated.
Patch prepared by Striker.
Fix audiolib bindings, again.
Fix some vec2_t stuff I missed.
"new" --> "New"
Fix allocache parameters.
Replace some stuff we removed from MACT.
Fix warning: array subscript is above array bounds [-Warray-bounds]
Fix warning: variable may be used uninitialized in this function [-Wmaybe-uninitialized]
Fix warning: type does not match original declaration [enabled by default]
Replace calls to Error() with buildprintf().
Update MFILE to use the same calls KenBuild uses to save.
Since sprite->filler is now fogpal, modify the CTF code that uses it to use a new variable in SW's USER struct instead.
Modify the border-drawing code to work with our widescreen code.
automapping (deleted), visibility --> g_visibility, numpalookups --> numshades
Update some API calls.
Misc adjustments.