dhewm3/neo
Daniel Gibson c8f09d4ac7 Initialize all idRegister class members in constructors
in SkinDeep regs not being initialized caused random crashes
(in dhewm3 I haven't seen that so far, but fixing this won't hurt).

From SkinDeep commit message:

In idRegister::SetToRegs() at `registers[ regs[ i ] ] = v[i];`
regs[i] contained values like 21845 or 22010 or 32272, even though
the static registers array that's written to there only holds 4096
elements (it's `static float regs[MAX_EXPRESSION_REGISTERS];`
 from `idWindow::EvalRegs()`).
So it overwrites other data, likely other global variables, like
`gameLocal.entities[4967]`, that now contain garbage and next time
someone tries to use them, bad things happen.
In this case, if someone tries to dereference gameLocal.entities[i]
and the pointer at i contains garbage, there's a segfault (crash).

462404af67
2025-03-03 05:22:40 +01:00
..
cm Fix issues in first map of the "UAC Franchise 666" user campaign, #651 2025-02-04 18:50:42 +01:00
d3xp Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
framework Bump SAVEGAME_VERSION to 18 for the CstDoom3 GUI changes 2025-01-21 03:04:18 +01:00
game Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
idlib Fix memory deallocation issue by using delete[] for arrays 2025-02-25 23:42:49 +01:00
libs/imgui Update Dear ImGui to 1.91.7 2025-01-29 18:16:28 +01:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer Support nospecular and allow_nospecular in demos 2025-01-21 00:51:38 +01:00
sound Fix running timedemo if sound is disabled (s_noSound 1), fix #163 2025-01-19 02:05:50 +01:00
sys Fix ImGui assertion when starting into DOOMEdit (+editor) 2025-01-21 00:51:38 +01:00
tools Set tr.allowNoSpecular in DOOMEdit 2025-01-21 00:51:38 +01:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Initialize all idRegister class members in constructors 2025-03-03 05:22:40 +01:00
CMakeLists.txt Added use of O3 instead of O2 for e2k arch 2025-02-07 14:50:18 +01:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00