Changesets: DarkRadiant

master 3a3f5bad

28.10.2023 03:52

codereader


Details Diff
Update VC++ solution
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File
mod - tools/msvc/mathlib.vcxproj Diff File
mod - tools/msvc/mathlib.vcxproj.filters Diff File

master 9142c3f2

28.10.2023 03:45

codereader


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
add - doc/img/lightingModeWithShadows.png Diff File
mod - doc/manual.adoc Diff File
mod - include/iclipper.h Diff File
mod - include/iorthoview.h Diff File
mod - include/iregistry.h Diff File
mod - include/irender.h Diff File
mod - include/ui/iusercontrol.h Diff File
mod - include/ui/iuserinterface.h Diff File
add - libs/math/XYZ.h Diff File
mod - libs/scene/SelectionIndex.cpp Diff File
mod - libs/string/convert.h Diff File
mod - libs/wxutil/DockablePanel.h Diff File
mod - libs/wxutil/FreezePointer.cpp Diff File
mod - libs/wxutil/FreezePointer.h Diff File
mod - libs/xmlutil/Node.cpp Diff File
mod - libs/xmlutil/Node.h Diff File
mod - radiant/CMakeLists.txt Diff File
mod - radiant/RadiantApp.cpp Diff File
mod - radiant/camera/CameraWndManager.cpp Diff File
mod - radiant/camera/tools/JumpToObjectTool.h Diff File
mod - radiant/textool/TextureToolControl.h Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/UserInterfaceModule.h Diff File
mod - radiant/ui/aas/AasVisualisationControl.h Diff File
mod - radiant/ui/console/ConsoleControl.h Diff File
mod - radiant/ui/einspector/EntityInspectorModule.cpp Diff File
mod - radiant/ui/entitylist/EntityListControl.h Diff File
mod - radiant/ui/favourites/FavouritesBrowser.cpp Diff File
mod - radiant/ui/favourites/FavouritesBrowserControl.h Diff File
mod - radiant/ui/findshader/FindShaderControl.h Diff File
mod - radiant/ui/layers/LayerControl.h Diff File
mod - radiant/ui/lightinspector/LightInspectorControl.h Diff File
mod - radiant/ui/mainframe/MainFrame.cpp Diff File
mod - radiant/ui/mainframe/PropertyNotebook.cpp Diff File
mod - radiant/ui/mediabrowser/MediaBrowserModule.cpp Diff File
mod - radiant/ui/merge/MapMergeControl.h Diff File
mod - radiant/ui/overlay/OrthoBackgroundControl.h Diff File
mod - radiant/ui/patch/PatchInspectorControl.h Diff File
mod - radiant/ui/script/ScriptPanel.h Diff File
mod - radiant/ui/surfaceinspector/SurfaceInspectorControl.h Diff File
mod - radiant/ui/texturebrowser/TextureBrowserManager.cpp Diff File
mod - radiant/ui/transform/TransformPanelControl.h Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.h Diff File
mv - radiant/xyview/XYWnd.cpp → radiant/xyview/OrthoView.cpp Diff File
mv - radiant/xyview/XYWnd.h → radiant/xyview/OrthoView.h Diff File
mod - radiant/xyview/tools/BrushCreatorTool.cpp Diff File
mod - radiant/xyview/tools/CameraAngleTool.h Diff File
mod - radiant/xyview/tools/CameraMoveTool.h Diff File
mod - radiant/xyview/tools/ClipperTool.cpp Diff File
mod - radiant/xyview/tools/XYMouseToolEvent.h Diff File
mod - radiantcore/clipper/ClipPoint.cpp Diff File
mod - radiantcore/clipper/ClipPoint.h Diff File
mod - radiantcore/clipper/Clipper.cpp Diff File
mod - radiantcore/clipper/Clipper.h Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - radiantcore/map/PointFile.cpp Diff File
mod - radiantcore/map/RegionManager.cpp Diff File
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/rendersystem/backend/BuiltInShader.cpp Diff File
mod - radiantcore/rendersystem/backend/ColourShader.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLState.h Diff File
mod - radiantcore/selection/BasicSelectable.h Diff File
mod - radiantcore/selection/algorithm/Primitives.cpp Diff File
mod - radiantcore/selection/algorithm/SelectionPolicies.h Diff File
mod - radiantcore/selection/algorithm/Transformation.cpp Diff File
mod - radiantcore/selection/algorithm/Transformation.h Diff File
mod - radiantcore/selection/manipulators/ModelScaleManipulator.cpp Diff File
mod - radiantcore/selection/manipulators/Renderables.h Diff File
mod - radiantcore/selection/manipulators/RotateManipulator.cpp Diff File
mod - radiantcore/selection/manipulators/RotateManipulator.h Diff File
mod - radiantcore/selection/manipulators/TranslateManipulator.cpp Diff File
mod - radiantcore/selection/textool/TextureToolRotateManipulator.cpp Diff File
mod - radiantcore/xmlregistry/RegistryTree.cpp Diff File
mod - radiantcore/xmlregistry/RegistryTree.h Diff File
mod - radiantcore/xmlregistry/XMLRegistry.cpp Diff File
rm - snap/snapcraft.yaml Diff
mod - test/Basic.cpp Diff File
mod - test/CMakeLists.txt Diff File
add - test/Registry.cpp Diff File

master 28bc0b38

26.10.2023 11:01

Matthew Mott


Details Diff
Remove Snap configuration file

The Snap build of DarkRadiant never worked correctly, and Snap itself is
a widely-disliked Ubuntu-specific software installation mechanism which
is very unlikely to be used in future now that we have a functioning
FlatPak.
rm - snap/snapcraft.yaml Diff

master 0f5e8e21

25.10.2023 19:24

Matthew Mott


Details Diff
Document the shadow toggle button in the camera view
add - doc/img/lightingModeWithShadows.png Diff File
mod - doc/manual.adoc Diff File

master da321126

18.10.2023 18:33

Matthew Mott


Details Diff
0006327: fix assertion on docking additional views on Properties panel

It seems that the GTK implementation of wxWidgets does not like -1 as an
image index in wxAuiNotebook::AddPage(), so intead we call the overload
which takes an explicit wxBitmap object with wxNullBitmap as the value.
mod - radiant/ui/mainframe/PropertyNotebook.cpp Diff File

master 5931fe7a

11.10.2023 18:40

Matthew Mott


Details Diff
Update "Interface layout" manual section

Remove obsolete information about the hard-coded layouts, and describe
the new approach based on dockable windows.
mod - doc/manual.adoc Diff File

master 5debc68d

04.10.2023 19:16

Matthew Mott


Details Diff
Remove some unneeded methods on FreezePointer
mod - libs/wxutil/FreezePointer.cpp Diff File
mod - libs/wxutil/FreezePointer.h Diff File

master 82c78542

20.09.2023 18:31

Matthew Mott


Details Diff
De-duplicate orientation-to-axis code

Replace numerous almost-identical lines which map OrthoOrientation
values to pairs of axis indices, with a lookup into a static map.
mod - radiant/xyview/OrthoView.cpp Diff File

master b9b17632

19.09.2023 19:09

Matthew Mott


Details Diff
Cleanup OrthoView::mouseToPoint()

Constify, return by value rather than parameter, accept Vector2i instead
of separate coordinates.
mod - include/iorthoview.h Diff File
mod - radiant/xyview/OrthoView.cpp Diff File
mod - radiant/xyview/OrthoView.h Diff File

master d04c3fdc

14.09.2023 19:15

Matthew Mott


Details Diff
OrthoView orientation loaded from registry
mod - radiant/xyview/OrthoView.cpp Diff File
mod - radiant/xyview/OrthoView.h Diff File

master 3bb62adc

13.09.2023 19:10

Matthew Mott


Details Diff
OrthoView orientation saved into registry

The orientation of the view is saved to (but not yet loaded from) a
registry key under a new "ui/xyview/state" node, with a separate
sub-node for each separate OrthoView indexed by numeric ID.
mod - radiant/xyview/OrthoView.cpp Diff File
mod - radiant/xyview/OrthoView.h Diff File

master bd82dba4

13.09.2023 18:52

Matthew Mott


Details Diff
OrthoView::setViewType() is now setOrientation()
mod - radiant/xyview/GlobalXYWnd.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.h Diff File
mod - radiant/xyview/OrthoView.cpp Diff File
mod - radiant/xyview/OrthoView.h Diff File

master c32e050a

13.09.2023 18:36

Matthew Mott


Details Diff
IOrthoView::getViewType() is now getOrientation()
mod - include/iorthoview.h Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File
mod - radiant/xyview/OrthoView.cpp Diff File
mod - radiant/xyview/OrthoView.h Diff File
mod - radiant/xyview/tools/XYMouseToolEvent.h Diff File

master 78a96778

12.09.2023 19:15

Matthew Mott


Details Diff
XYWnd is now OrthoView
mod - radiant/CMakeLists.txt Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.h Diff File
mv - radiant/xyview/XYWnd.cpp → radiant/xyview/OrthoView.cpp Diff File
mv - radiant/xyview/XYWnd.h → radiant/xyview/OrthoView.h Diff File

master cd19cb7b

06.09.2023 19:05

Matthew Mott


Details Diff
EViewType is now enum class OrthoOrientation
mod - include/iclipper.h Diff File
mod - include/iorthoview.h Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.h Diff File
mod - radiant/xyview/XYWnd.cpp Diff File
mod - radiant/xyview/XYWnd.h Diff File
mod - radiant/xyview/tools/BrushCreatorTool.cpp Diff File
mod - radiant/xyview/tools/CameraAngleTool.h Diff File
mod - radiant/xyview/tools/CameraMoveTool.h Diff File
mod - radiant/xyview/tools/ClipperTool.cpp Diff File
mod - radiant/xyview/tools/XYMouseToolEvent.h Diff File
mod - radiantcore/clipper/ClipPoint.cpp Diff File
mod - radiantcore/clipper/ClipPoint.h Diff File
mod - radiantcore/clipper/Clipper.cpp Diff File
mod - radiantcore/clipper/Clipper.h Diff File
mod - radiantcore/map/RegionManager.cpp Diff File
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/Primitives.cpp Diff File
mod - radiantcore/selection/algorithm/SelectionPolicies.h Diff File
mod - radiantcore/selection/algorithm/Transformation.cpp Diff File
mod - radiantcore/selection/algorithm/Transformation.h Diff File

master 0aa99969

05.09.2023 19:12

Matthew Mott


Details Diff
XYWndManager implements IUserControlCreator directly

Instead of a local implementation of IUserControlCreator in the .cpp
file, the XYWndManager class now derives from IUserControlCreator and
implements its methods directly.
mod - include/ui/iuserinterface.h Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/UserInterfaceModule.h Diff File
mod - radiant/ui/einspector/EntityInspectorModule.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.h Diff File

master 33fb427c

29.08.2023 19:27

Matthew Mott


Details Diff
IUserControl is now IUserControlCreator

Clarify that this interface is responsible for *creating* user controls,
but is not necessarily implemented by the control itself.
mod - include/ui/iusercontrol.h Diff File
mod - include/ui/iuserinterface.h Diff File
mod - radiant/camera/CameraWndManager.cpp Diff File
mod - radiant/textool/TextureToolControl.h Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/UserInterfaceModule.h Diff File
mod - radiant/ui/aas/AasVisualisationControl.h Diff File
mod - radiant/ui/console/ConsoleControl.h Diff File
mod - radiant/ui/einspector/EntityInspectorModule.cpp Diff File
mod - radiant/ui/entitylist/EntityListControl.h Diff File
mod - radiant/ui/favourites/FavouritesBrowserControl.h Diff File
mod - radiant/ui/findshader/FindShaderControl.h Diff File
mod - radiant/ui/layers/LayerControl.h Diff File
mod - radiant/ui/lightinspector/LightInspectorControl.h Diff File
mod - radiant/ui/mediabrowser/MediaBrowserModule.cpp Diff File
mod - radiant/ui/merge/MapMergeControl.h Diff File
mod - radiant/ui/overlay/OrthoBackgroundControl.h Diff File
mod - radiant/ui/patch/PatchInspectorControl.h Diff File
mod - radiant/ui/script/ScriptPanel.h Diff File
mod - radiant/ui/surfaceinspector/SurfaceInspectorControl.h Diff File
mod - radiant/ui/texturebrowser/TextureBrowserManager.cpp Diff File
mod - radiant/ui/transform/TransformPanelControl.h Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File

master 1f6c8698

23.08.2023 19:15

Matthew Mott


Details Diff
Remove unused XYWndManager::getUniqueID()
mod - libs/wxutil/DockablePanel.h Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.h Diff File

master f08ac00b

23.08.2023 18:55

Matthew Mott


Details Diff
IXWndManager is now IOrthoViewManager

In addition to being a more accurate representation of the function of
this interface, this also fixes the typo in the previous name (no "Y" in
"IXWndManager").
mod - include/iorthoview.h Diff File
mod - libs/scene/SelectionIndex.cpp Diff File
mod - radiant/camera/tools/JumpToObjectTool.h Diff File
mod - radiant/ui/favourites/FavouritesBrowser.cpp Diff File
mod - radiant/ui/mainframe/MainFrame.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.h Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - radiantcore/map/PointFile.cpp Diff File
mod - radiantcore/map/RegionManager.cpp Diff File
mod - radiantcore/patch/algorithm/Prefab.cpp Diff File
mod - radiantcore/selection/algorithm/Primitives.cpp Diff File
mod - radiantcore/selection/algorithm/SelectionPolicies.h Diff File
mod - radiantcore/selection/algorithm/Transformation.cpp Diff File

master 166d9240

23.08.2023 18:33

Matthew Mott


Details Diff
XYWnd recent origin/scale stored as node content

Use the standard registry::getValue()/setValue() API to store and
retrieve the recent origin and scale values, rather than using custom
attributes on an XML node.
mod - radiant/xyview/XYWnd.cpp Diff File
mod - radiant/xyview/XYWnd.h Diff File

master cd3a24ef

22.08.2023 19:21

Matthew Mott


Details Diff
Use inline initialisation for XYWnd class members
mod - radiant/xyview/XYWnd.cpp Diff File
mod - radiant/xyview/XYWnd.h Diff File

master b1afc44e

09.08.2023 19:14

Matthew Mott


Details Diff
Registry stores keyvalues using XML content (not attributes)

Instead of storing key values in a "value" attribute on a node with no
content, the value is now stored as content and the legacy "value"
attribute (if present) is removed.

To retain backwards compatibility, a "value" attribute will still be
used for retrieval if the node does not contain any content.
mod - libs/xmlutil/Node.cpp Diff File
mod - libs/xmlutil/Node.h Diff File
mod - radiantcore/xmlregistry/RegistryTree.cpp Diff File
mod - radiantcore/xmlregistry/XMLRegistry.cpp Diff File
mod - test/Registry.cpp Diff File

master 7c711ba7

08.08.2023 19:10

Matthew Mott


Details Diff
Remove unused RegistryTree::get()

XMLRegistry never calls this method; its own get() method looks up the
value attribute directly.
mod - radiantcore/xmlregistry/RegistryTree.cpp Diff File
mod - radiantcore/xmlregistry/RegistryTree.h Diff File

master a124997f

02.08.2023 19:19

Matthew Mott


Details Diff
Remove some redundancy in XMLRegistry implementation

The get() method is now just forwarding to getAttribute() to obtain the
"value" attribute, then calling utf8_to_mb() on the returned string.
mod - radiantcore/xmlregistry/XMLRegistry.cpp Diff File

master f092d3b6

02.08.2023 19:12

Matthew Mott


Details Diff
Further tests for getting and setting registry keyvalues
mod - libs/xmlutil/Node.h Diff File
mod - test/Registry.cpp Diff File
 First  Prev  1 2 3 ... 5 6 7 8 9 10 11 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last