Clean up some asserts and add an alassert
commit9fcc3afd3c6f80df00a58b647cc08b1a8d4a2aa1
authorChris Robinson <chris.kcat@gmail.com>
Sun, 14 Apr 2024 03:12:32 +0000 (13 20:12 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 14 Apr 2024 03:12:32 +0000 (13 20:12 -0700)
tree5e1f75dd9db7b33d4a1678d44d4439dccd6cca65
parent7f94f6f70f82fca0a8f67f344174e81c97dd90a8
Clean up some asserts and add an alassert

Unlike a normal assert, alassert doesn't compile away in Release/NDEBUG builds,
making it useful for checks that must be true for continuing operation but may
not be due to unforeseeable/extenuating circumstances.
CMakeLists.txt
al/auxeffectslot.cpp
al/source.cpp
al/source.h
common/alassert.cpp [new file with mode: 0644]
common/alassert.h [new file with mode: 0644]
common/alspan.h