Changesets: DarkRadiant

master 1fa67ff9

07.01.2024 12:56

greebo


Details Diff
0006360: Refactor patch cap algorithm. Don't add the cap to the parent only to remove it later if it's degenerate in the first place Affected Issues
0006360
mod - radiantcore/patch/algorithm/Prefab.cpp Diff File

master 6cf7792f

07.01.2024 12:40

greebo


Details Diff
0006360: Move some cap algorithm to patch::algorithm namespace, out of the Patch class implementation

Refactor code to operate on the IPatch interface
Affected Issues
0006360
mod - radiantcore/patch/Patch.cpp Diff File
mod - radiantcore/patch/Patch.h Diff File
mod - radiantcore/patch/algorithm/Prefab.cpp Diff File
mod - radiantcore/patch/algorithm/Prefab.h Diff File
mod - radiantcore/selection/algorithm/Patch.cpp Diff File

master a50ae68e

07.01.2024 12:35

greebo


Details Diff
0006360: More patch cap code refactoring Affected Issues
0006360
mod - radiantcore/patch/Patch.cpp Diff File
mod - radiantcore/patch/Patch.h Diff File
mod - radiantcore/patch/algorithm/Prefab.cpp Diff File

master 575ca074

07.01.2024 12:30

greebo


Details Diff
0006360: Refactor cap creation routine to reduce code duplication Affected Issues
0006360
mod - radiantcore/patch/algorithm/Prefab.cpp Diff File

master 6597d0e6

07.01.2024 12:24

greebo


Details Diff
0006360: Add unit test checking the creation of various cap types Affected Issues
0006360
mod - test/Patch.cpp Diff File
add - test/resources/tdm/maps/patch_cap_test.mapx Diff File

master 140dabba

07.01.2024 10:35

greebo


Details Diff
0006360: Inherit the tesselation of the source patch. Refactoring. Affected Issues
0006360
mod - radiantcore/patch/Patch.cpp Diff File
mod - radiantcore/patch/Patch.h Diff File
mod - test/Patch.cpp Diff File

master 77586c6e

07.01.2024 10:14

greebo


Details Diff
0006360: Add test proving that an inverted endcap inherits the tesselation settings from a def2 endcap Affected Issues
0006360
mod - radiantcore/patch/Patch.cpp Diff File
mod - radiantcore/patch/Patch.h Diff File
mod - radiantcore/patch/algorithm/Prefab.cpp Diff File
mod - test/CMakeLists.txt Diff File
mod - test/Patch.cpp Diff File
mod - test/RadiantTest.h Diff File
add - test/TestOrthoViewManager.cpp Diff File
add - test/TestOrthoViewManager.h Diff File
mod - test/algorithm/Scene.h Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File

master 3bdf71a7

07.01.2024 07:09

greebo


Details Diff
0006255 Add new stock filter definitions Affected Issues
0006255
mod - install/games/darkmod.game Diff File

master 2142b2c5

07.01.2024 06:06

greebo


Details Diff
Compilation fix
mod - radiantcore/map/Map.cpp Diff File

master 9044c539

07.01.2024 05:56

greebo


Details Diff
Update fmtlib to version 10.2.1. This fixes deprecation warnings in VS 17.8.
mod - libs/libfmt/LICENSE.rst Diff File
mod - libs/libfmt/fmt/args.h Diff File
mod - libs/libfmt/fmt/chrono.h Diff File
mod - libs/libfmt/fmt/color.h Diff File
mod - libs/libfmt/fmt/compile.h Diff File
mod - libs/libfmt/fmt/core.h Diff File
mod - libs/libfmt/fmt/fmt.cc Diff File
mod - libs/libfmt/fmt/format-inl.h Diff File
mod - libs/libfmt/fmt/format.cc Diff File
mod - libs/libfmt/fmt/format.h Diff File
rm - libs/libfmt/fmt/locale.h Diff
mod - libs/libfmt/fmt/os.cc Diff File
mod - libs/libfmt/fmt/os.h Diff File
mod - libs/libfmt/fmt/ostream.h Diff File
mod - libs/libfmt/fmt/printf.h Diff File
mod - libs/libfmt/fmt/ranges.h Diff File
add - libs/libfmt/fmt/std.h Diff File
mod - libs/libfmt/fmt/xchar.h Diff File

master 2bb9cce9

07.01.2024 05:40

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'

# Conflicts:
# plugins/dm.editing/AIEditingControl.h
# plugins/dm.gameconnection/GameConnectionControl.h
mod - include/iglprogram.h Diff File
mod - include/irender.h Diff File
mod - include/ui/iusercontrol.h Diff File
mod - install/ui/overlaydialog.fbp Diff File
mod - install/ui/overlaydialog.xrc Diff File
mod - libs/command/ExecutionNotPossible.h Diff File
mod - libs/registry/registry.h Diff File
mod - libs/util/ScopedBoolLock.h Diff File
mod - plugins/dm.editing/AIEditingControl.h Diff File
mod - plugins/dm.gameconnection/GameConnectionControl.h Diff File
mod - radiant/RadiantApp.cpp Diff File
mod - radiant/RadiantApp.h Diff File
mod - radiant/camera/CamWnd.cpp Diff File
mod - radiant/camera/CamWnd.h Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.h Diff File
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp Diff File
mod - radiantcore/rendersystem/OpenGLRenderSystem.h Diff File
mod - radiantcore/rendersystem/backend/GLProgramFactory.cpp Diff File
mod - radiantcore/rendersystem/backend/GLProgramFactory.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/BlendLightProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/BlendLightProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/CubeMapProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/CubeMapProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/DepthFillAlphaProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/DepthFillAlphaProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/GLSLProgramBase.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/GLSLProgramBase.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/GenericVFPProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/GenericVFPProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/RegularStageProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/RegularStageProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/ShadowMapProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/ShadowMapProgram.h Diff File
mod - radiantcore/xmlregistry/XMLRegistry.cpp Diff File

master 3e1877aa

21.12.2023 14:25

orbweaver


Details Diff
Fix compilation errors due to IUserControlCreator rename

IUserControl was renamed to IUserControlCreator in 33fb427cca877278181
but some references in the Dark Mod plugins had not been updated because
I wasn't building them locally.
mod - include/ui/iusercontrol.h Diff File
mod - plugins/dm.editing/AIEditingControl.h Diff File
mod - plugins/dm.gameconnection/GameConnectionControl.h Diff File

master 254d9c10

21.12.2023 13:41

orbweaver


Details Diff
0006332: file picker constructed in code Affected Issues
0006332
mod - install/ui/overlaydialog.fbp Diff File
mod - install/ui/overlaydialog.xrc Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.h Diff File

master f2495c1e

21.12.2023 13:22

orbweaver


Details Diff
0006332: OrthoBackgroundPanel sliders and spinners now added in code

Instead of the previous confusing hybrid of XML-based layout and
additional widgets inserted via code, all the slider and spinner
construction is now done in code. Common code is now refactored into a
helper function, and the widget hierarchy is simpler since there is no
need for placeholder panels within the XML form to hold the
code-constructed spinners.
Affected Issues
0006332
mod - install/ui/overlaydialog.fbp Diff File
mod - install/ui/overlaydialog.xrc Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File

master 9c5e880e

08.12.2023 14:18

orbweaver


Details Diff
0006351: fix crash on activating lighting mode in Model Selector

The issue was almost certainly introduced in a99bd537c293fc6eba6, when
(in order to solve an issue with wxWidgets parenting) intialisation of
the ModelSelector was connected to the MainFrameConstructed signal.

This resulted in the ModelSelector and its component preview widget
being constructed before the shared OpenGL context, which in turn meant
that the preview widget's contained OpenGLRenderSystem did not properly
realise the GLPrograms, resulting in the crash when lighting mode was
activated and the non-existent interaction shader was requested.

Rather than make further changes to ModelSelector initialisation timing,
which would be a fragile solution that could easily allow the issue to
recur in future, the OpenGLRenderSystem initialisation has been made
more robust. If there is no shared context at the time of construction,
we now connect to the appropriate signal to ensure construction happens
when the shared context is created, rather than leaving the render
system without any shaders available.
Affected Issues
0006351
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp Diff File

master 715b6180

08.12.2023 13:26

orbweaver


Details Diff
0006351: use abort() for unexpected exception on Linux

For a reason which is unclear but probably has something to do with
wxWidgets event handling, the popup-based OnExceptionInMainLoop() is
entering an infinite loop of error popups which cannot be interacted
with or dismissed, which makes debugging impossible on Linux.

Instead we just dump the error message to std::cerr and then abort(),
which creates a console message and then terminates the program. This
code is protected by an __linux__ #ifdef to avoid changing the behaviour
on Windows.
Affected Issues
0006351
mod - radiant/RadiantApp.cpp Diff File
mod - radiant/RadiantApp.h Diff File

master c1534a5f

08.12.2023 13:10

orbweaver


Details Diff
0006351: remove two-stage initialisation of GLProgram

Although this is not the cause of 0006351, two-stage initialisation is
inherently error-prone, and entirely unnecessary in this case since only
the GLProgramFactory is responsible for constructing and destructing
shaders and can simply ensure that it happens at the appropriate time
(during realise/unrealise, rather than construction/destruction).
Affected Issues
0006351
mod - include/iglprogram.h Diff File
mod - libs/command/ExecutionNotPossible.h Diff File
mod - radiantcore/rendersystem/backend/GLProgramFactory.cpp Diff File
mod - radiantcore/rendersystem/backend/GLProgramFactory.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/BlendLightProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/BlendLightProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/CubeMapProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/CubeMapProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/DepthFillAlphaProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/DepthFillAlphaProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/GLSLProgramBase.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/GLSLProgramBase.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/GenericVFPProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/GenericVFPProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/InteractionProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/RegularStageProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/RegularStageProgram.h Diff File
mod - radiantcore/rendersystem/backend/glprogram/ShadowMapProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/ShadowMapProgram.h Diff File

master 36a99d21

07.12.2023 14:51

orbweaver


Details Diff
0006351: reduce console message spam

Remove "Auto-saving registry to user settings path" which happens every
few seconds, and reduce GLSL program construction messages to a single
line unless there are any validation warnings to report.
Affected Issues
0006351
mod - radiantcore/rendersystem/backend/GLProgramFactory.cpp Diff File
mod - radiantcore/xmlregistry/XMLRegistry.cpp Diff File

master 98b70589

07.12.2023 14:39

orbweaver


Details Diff
0006351: remove RenderSystem::setShaderProgramsAvailable()

The availability of shader programs is determined internally by
OpenGLRenderSystem based on GL version/extensions; this method is never
called virtually from other modules.
Affected Issues
0006351
mod - include/irender.h Diff File
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp Diff File
mod - radiantcore/rendersystem/OpenGLRenderSystem.h Diff File

master 70c73d85

29.11.2023 20:33

orbweaver


Details Diff
0006332: OrthoBackgroundPanel stores slider pointers as members

As with the checkbox pointers, use a nested member struct to store the
slider pointers instead of retrieving them from the XML form each time
they are used. Also move common spinner construction code into a
separate local function, and create the option checkboxes in code.
Affected Issues
0006332
mod - install/ui/overlaydialog.fbp Diff File
mod - install/ui/overlaydialog.xrc Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.h Diff File

master a0fb69f3

28.11.2023 20:28

orbweaver


Details Diff
0006332: remove unused argument from OrthoBackgroundPanel::onOptionToggled() Affected Issues
0006332
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.h Diff File

master d98ba072

15.11.2023 20:30

orbweaver


Details Diff
0006332: OrthoBackgroundPanel stores checkbox pointers as members

Store the checkbox pointers as members of a nested struct rather than
looking them up from the XML form each time. Also switch to the modern
Bind() API for connecting checkbox signals.
Affected Issues
0006332
mod - libs/util/ScopedBoolLock.h Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.h Diff File

master d54ed353

08.11.2023 19:35

orbweaver


Details Diff
Use modern event binding API for OrthoBackgroundPanel spinboxes
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.h Diff File

master 4a0a33d9

01.11.2023 19:58

orbweaver


Details Diff
Add a registry::connect convenience function
mod - libs/registry/registry.h Diff File
mod - radiant/camera/CamWnd.cpp Diff File
mod - radiant/camera/CamWnd.h Diff File

master 48ec32e0

28.10.2023 03:58

codereader


Details Diff
Compilation fixes
mod - plugins/dm.editing/AIEditingControl.h Diff File
mod - plugins/dm.gameconnection/GameConnectionControl.h Diff File
 First  Prev  1 2 3 4 5 6 7 8 9 10 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last