dhewm3/neo/ui
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
..
BindWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
BindWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ChoiceWindow.cpp Make rvGEWindowWrapper (for GUI editor) 64bit clean 2021-05-08 07:03:55 +02:00
ChoiceWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeviceContext.cpp Make CstDoom3 anchored GUIs work with dhewm3's menu scale fix 2025-01-21 03:04:18 +01:00
DeviceContext.h Make CstDoom3 anchored GUIs work with dhewm3's menu scale fix 2025-01-21 03:04:18 +01:00
EditWindow.cpp Improve handling of "console key", add in_ignoreConsoleKey CVar 2021-07-15 07:00:18 +02:00
EditWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
FieldWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
FieldWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameBearShootWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameBearShootWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameBustOutWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameBustOutWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameSSDWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameSSDWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GuiScript.cpp Some spelling error fixes found during Debian build 2018-06-30 00:08:45 -01:00
GuiScript.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ListGUI.cpp Fix -Wformat-security warnings - thanks James Addison! 2023-01-05 04:45:34 +01:00
ListGUI.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ListGUILocal.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ListWindow.cpp idListWindow: Scroll to selected item 2021-07-03 02:25:20 +02:00
ListWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
MarkerWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
MarkerWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Rectangle.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RegExp.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RegExp.h Initialize all idRegister class members in constructors 2025-03-03 05:22:40 +01:00
RegExp_old.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
RenderWindow.cpp Scale "Menu" GUIs (incl. PDA + fullscreen vids) to 4:3 2018-10-28 05:29:11 +01:00
RenderWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
SimpleWindow.cpp Bump SAVEGAME_VERSION to 18 for the CstDoom3 GUI changes 2025-01-21 03:04:18 +01:00
SimpleWindow.h Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
SliderWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
SliderWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
UserInterface.cpp HighDPI support, hopefully 2024-06-03 14:49:23 +02:00
UserInterface.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
UserInterfaceLocal.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Window.cpp Make cst_hudAdjustAspect default to 1 2025-01-21 03:06:41 +01:00
Window.h Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
Winvar.cpp Fix new[]/delete missmatches and memory leaks found by clang's ASAN 2015-12-17 18:11:03 +01:00
Winvar.h Fix new[]/delete missmatches and memory leaks found by clang's ASAN 2015-12-17 18:11:03 +01:00