Build 10535
GIT-
Avoid calling dragpoint on invalid wall indexes in SE 20 code
SVN handles and Git names are merged into one person.
Avoid calling dragpoint on invalid wall indexes in SE 20 code
Fix renderer menu option hiding logic
Prevents duplicate entries from appearing, which then crash when changed.
compat.h: Remove macOS cctype shims
Fixes build on macOS 14.
Fix sloped sprite shading preview in editor
Fix sloped sprites to once again take on ceiling/floor shade
Update port credits
Condition mimalloc's -Wno-class-memaccess on GCC version
Add polyfills for std::vector to GrowArray for easy replacement
Fix ld: warning: ignoring duplicate libraries: '-lm'
Fix libxmp-lite build failure on Intel Mac
Symptom: Unknown symbol Xmalloc/Xfree/etc
Add detection for new DOS crash-fixed VACATION.GRP (and DUKEDC.GRP)
Fix potential enginecompatibilitymode regression in cansee()
Fix enginecompatibilitymode regression in hitscan()
Use buildvfs_exists in OutputFileCounter::opennextfile
Fix build after big updates in ae4a71a199773d77445a47e6ea80787969b2fd97
Make port metadata like path loading more consistent
During the 3DR screen, handle events outside the FPS-limited section
Clean up voxflags[] a little bit
Fix voxel visibility rolloff in classic mode to match sprites
TODO: Polymost
Add warning when `break` found inside loop (and not inside `switch`)
Add terminate
Add exit and continue
Internal cosmetic cleanup
CON/VM: Remove VM_NOEXECUTE as redundant to VM_RETURN
Use a tspr->clipdist bit to specify legacy voxels instead of tspr->cstat 48
Factor out tspr->clipdist accesses into local variable tsprflags
Factor out rendering tests for whether a sprite is a voxel
Ensure some hardcoded switch behavior maintains applicability only to wall sprites, not sloped (floor), consistent with the rest of the code
Enumify uses of CSTAT_SPRITE_ALIGNMENT (cosmetic cleanup)
Don't call pushmove from DamageObject if sprite has invalid sectnum
Fix OOB access
Use only unsigned literals inside array indexes
Avoids OOBs as detected by UBSan.
Avoid OOB access in G_GetCrosshairColor
Clean up integration of mimalloc into smmalloc_generic.cpp
Return from mi_log if msg is null or contains only a newline
Add buildgl_uLookAt to glbuild.h
Add USE_OPENGL guard around fullscreen_tint_gl() declaration
Use SW_AddPathAndMusic in more places
Fix name and use of XDG_CONFIG_HOME environment variable
More cleanup to come.
Make all remaining int bitfields of size 1 unsigned
startosx.editor.mm: Use Allman braces
Use bitmap macros in more places
regex for initial replacement: find: ([A-Za-z0-9_]+)[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*>>[ \t]*3[ \t]*\][ \t]*&[ \t]*pow2char[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*&[ \t]*7[ \t]*\] find: ([A-Za-z0-9_]+)[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*>>[ \t]*3[ \t]*\][ \t]*&[ \t]*\(1[ \t]*<<[ \t]*\([ \t]*([A-Za-z0-9_]+)[ \t]*&[ \t]*7[ \t]*\)[ \t]*\) replace: bitmap_test(\1, \2) find: ([A-Za-z0-9_]+)[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*>>[ \t]*3[ \t]*\][ \t]*\|=[ \t]*pow2char[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*&[ \t]*7[ \t]*\] find: ([A-Za-z0-9_]+)[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*>>[ \t]*3[ \t]*\][ \t]*\|=[ \t]*\(1[ \t]*<<[ \t]*\([ \t]*([A-Za-z0-9_]+)[ \t]*&[ \t]*7[ \t]*\)[ \t]*\) replace: bitmap_set(\1, \2) find: ([A-Za-z0-9_]+)[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*>>[ \t]*3[ \t]*\][ \t]*&=[ \t]*~[ \t]*pow2char[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*&[ \t]*7[ \t]*\] find: ([A-Za-z0-9_]+)[ \t]*\[[ \t]*([A-Za-z0-9_]+)[ \t]*>>[ \t]*3[ \t]*\][ \t]*&=[ \t]*~[ \t]*\(1[ \t]*<<[ \t]*\([ \t]*([A-Za-z0-9_]+)[ \t]*&[ \t]*7[ \t]*\)[ \t]*\) replace: bitmap_clear(\1, \2) regex for cleanup: find: \((bitmap_test\([A-Za-z0-9_]+, [A-Za-z0-9_]+\))\) == 0 replace: !\1 find: \((bitmap_test\([A-Za-z0-9_]+, [A-Za-z0-9_]+\))\) != 0 find: \((bitmap_test\([A-Za-z0-9_]+, [A-Za-z0-9_]+\))\) > 0 replace: \1 find: \((bitmap_test\([A-Za-z0-9_]+, [A-Za-z0-9_]+\))\) replace: \1 plus manual filtering to find missed cases: git grep -nw pow2char git grep -nEw '>> *3' git grep -nEw '(gotpic|gotsector)' git grep -n show2d