Changesets: DarkRadiant

master 06d0f8b3

25.12.2020 03:03

greebo


Details Diff
0005451: Add new "CreateLayer" command accepting a string argument. Mark the map as modified after creating a layer, also when created through the dialog.
A weakness of CommandSystem::executeCommand is that there is no way to return a result, which is limiting its use - this way we can't directly use the CreateNewLayer command in the CreateLayerDialog implementation.
Affected Issues
0005451
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/layers/CreateLayerDialog.cpp Diff File
mod - radiant/ui/layers/LayerContextMenu.h Diff File
mod - radiant/ui/layers/LayerControlDialog.cpp Diff File
mod - radiantcore/layers/LayerModule.cpp Diff File
mod - test/LayerManipulation.cpp Diff File

master 5ae4cfea

24.12.2020 12:04

greebo


Details Diff
0005451: LayerOrthoContextMenuItems now dispatch the operations through the command system Affected Issues
0005451
mod - radiant/ui/layers/LayerOrthoContextMenuItem.cpp Diff File
mod - radiant/ui/layers/LayerOrthoContextMenuItem.h Diff File

master 25fc3542

24.12.2020 11:47

greebo


Details Diff
0005451: Mark the map as modified from within the various layer Add/Remove/Move command implementation.
Remove the setModified call from the LayerOrthoContextMenuItems.
Add RemoveSelectionFromLayer command, as it was missing from the command set.
Affected Issues
0005451
mod - radiant/ui/layers/LayerOrthoContextMenuItem.cpp Diff File
mod - radiantcore/layers/LayerModule.cpp Diff File
mod - test/LayerManipulation.cpp Diff File

master 54b35855

24.12.2020 09:05

greebo


Details Diff
0005451: Expand unit test by more failing cases Affected Issues
0005451
mod - test/LayerManipulation.cpp Diff File

master 6b7f8b5e

24.12.2020 05:57

greebo


Details Diff
Debian 10 is using CMake 3.13 which doesn't support TYPE LOCALE, so use DESTINATION with CMAKE_INSTALL_LOCALEDIR as argument
mod - CMakeLists.txt Diff File

master 18cd6e65

24.12.2020 05:18

greebo


Details Diff
Remove DESTINATION again, it seems this has been changed between cmake 3.13 and cmake 3.16 - the latter requires setting the TYPE and will deduct the DESTINATION itself
mod - CMakeLists.txt Diff File

master 55435abf

24.12.2020 04:59

greebo


Details Diff
Add stdc++fs linker flag for GCC 8 and earlier - GCC 9+ doesn't require this anymore
mod - CMakeLists.txt Diff File

master 29e3fe51

24.12.2020 04:06

greebo


Details Diff
Adjust CMakeLists.txt for Debian 10
mod - CMakeLists.txt Diff File

master dc66158c

23.12.2020 17:30

greebo


Details Diff
Update .gitignore
mod - .gitignore Diff File

master 6d518047

23.12.2020 17:29

greebo


Details Diff
Update PKGBUILD to work with cmake
mod - PKGBUILD Diff File

master 7e586ec6

22.12.2020 17:50

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
mod - include/icolourscheme.h Diff File
mod - install/input.xml Diff File
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - libs/wxutil/KeyValueTable.cpp Diff File
mod - libs/wxutil/TreeView.cpp Diff File
mod - libs/wxutil/TreeView.h Diff File
mod - libs/wxutil/fsview/FileSystemView.cpp Diff File
mod - plugins/dm.conversation/ConversationDialog.cpp Diff File
mod - plugins/dm.conversation/ConversationEditor.cpp Diff File
mod - plugins/dm.difficulty/DifficultyEditor.cpp Diff File
mod - plugins/dm.editing/AIHeadChooserDialog.cpp Diff File
mod - plugins/dm.editing/AIVocalSetChooserDialog.cpp Diff File
mod - plugins/dm.editing/MissionInfoEditDialog.cpp Diff File
mod - plugins/dm.gui/GuiSelector.cpp Diff File
mod - plugins/dm.gui/XDataSelector.cpp Diff File
mod - plugins/dm.gui/XdFileChooserDialog.cpp Diff File
mod - plugins/dm.objectives/ComponentsDialog.cpp Diff File
mod - plugins/dm.objectives/ObjectiveConditionsDialog.cpp Diff File
mod - plugins/dm.objectives/ObjectivesEditor.cpp Diff File
mod - plugins/dm.stimresponse/ClassEditor.cpp Diff File
mod - plugins/dm.stimresponse/ResponseEditor.cpp Diff File
mod - radiant/selection/SelectionMouseTools.cpp Diff File
mod - radiant/selection/SelectionMouseTools.h Diff File
mod - radiant/ui/commandlist/CommandList.cpp Diff File
mod - radiant/ui/common/ShaderSelector.cpp Diff File
mod - radiant/ui/eclasstree/EClassTree.cpp Diff File
mod - radiant/ui/einspector/EntityInspector.cpp Diff File
mod - radiant/ui/einspector/SkinChooser.cpp Diff File
mod - radiant/ui/entitylist/EntityList.cpp Diff File
mod - radiant/ui/filters/editor/FilterDialog.cpp Diff File
mod - radiant/ui/mapinfo/EntityInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/LayerInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/ModelInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/ShaderInfoTab.cpp Diff File
mod - radiant/ui/modelselector/MaterialsList.cpp Diff File
mod - radiant/ui/mousetool/RegistrationHelper.h Diff File
mod - radiant/ui/particles/ParticleEditor.cpp Diff File
mod - radiant/ui/particles/ParticlesChooser.cpp Diff File
mod - radiant/uimanager/SoundChooser.cpp Diff File
mod - radiant/uimanager/SoundShaderPreview.cpp Diff File
mod - radiant/uimanager/animationpreview/MD5AnimationViewer.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File
mod - radiantcore/entity/ColourKey.h Diff File
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - radiantcore/entity/light/LightNode.h Diff File

master d63a0ed1

22.12.2020 14:47

orbweaver


Details Diff
Update input.xml to match renamed BasicSelectionTool
mod - install/input.xml Diff File

master 6158697c

22.12.2020 14:42

orbweaver


Details Diff
Rename DragSelectionMouseTool to BasicSelectionTool

This class handles both drags and simple left-click selection operations, so
'DragSelection' is a non-intuitive name.
mod - radiant/selection/SelectionMouseTools.cpp Diff File
mod - radiant/selection/SelectionMouseTools.h Diff File
mod - radiant/ui/mousetool/RegistrationHelper.h Diff File

master f7f1720b

22.12.2020 13:47

orbweaver


Details Diff
0005364: set a tooltip on the 'Override light colour' checkbox Affected Issues
0005364
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File

master e357a35f

22.12.2020 13:28

orbweaver


Details Diff
Merge branch 'topic/single-colour-lights'

Merge completed 0005364 which adds a checkbox in the Colours dialog to force all
light volumes to be rendered with a single colour set by the colour scheme,
rather than changing colour based on the _color spawnarg.
Affected Issues
0005364
mod - include/icolourscheme.h Diff File
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - libs/wxutil/KeyValueTable.cpp Diff File
mod - libs/wxutil/TreeView.cpp Diff File
mod - libs/wxutil/TreeView.h Diff File
mod - libs/wxutil/fsview/FileSystemView.cpp Diff File
mod - plugins/dm.conversation/ConversationDialog.cpp Diff File
mod - plugins/dm.conversation/ConversationEditor.cpp Diff File
mod - plugins/dm.difficulty/DifficultyEditor.cpp Diff File
mod - plugins/dm.editing/AIHeadChooserDialog.cpp Diff File
mod - plugins/dm.editing/AIVocalSetChooserDialog.cpp Diff File
mod - plugins/dm.editing/MissionInfoEditDialog.cpp Diff File
mod - plugins/dm.gui/GuiSelector.cpp Diff File
mod - plugins/dm.gui/XDataSelector.cpp Diff File
mod - plugins/dm.gui/XdFileChooserDialog.cpp Diff File
mod - plugins/dm.objectives/ComponentsDialog.cpp Diff File
mod - plugins/dm.objectives/ObjectiveConditionsDialog.cpp Diff File
mod - plugins/dm.objectives/ObjectivesEditor.cpp Diff File
mod - plugins/dm.stimresponse/ClassEditor.cpp Diff File
mod - plugins/dm.stimresponse/ResponseEditor.cpp Diff File
mod - radiant/ui/commandlist/CommandList.cpp Diff File
mod - radiant/ui/common/ShaderSelector.cpp Diff File
mod - radiant/ui/eclasstree/EClassTree.cpp Diff File
mod - radiant/ui/einspector/EntityInspector.cpp Diff File
mod - radiant/ui/einspector/SkinChooser.cpp Diff File
mod - radiant/ui/entitylist/EntityList.cpp Diff File
mod - radiant/ui/filters/editor/FilterDialog.cpp Diff File
mod - radiant/ui/mapinfo/EntityInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/LayerInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/ModelInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/ShaderInfoTab.cpp Diff File
mod - radiant/ui/modelselector/MaterialsList.cpp Diff File
mod - radiant/ui/particles/ParticleEditor.cpp Diff File
mod - radiant/ui/particles/ParticlesChooser.cpp Diff File
mod - radiant/uimanager/SoundChooser.cpp Diff File
mod - radiant/uimanager/SoundShaderPreview.cpp Diff File
mod - radiant/uimanager/animationpreview/MD5AnimationViewer.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File
mod - radiantcore/entity/ColourKey.h Diff File
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - radiantcore/entity/light/LightNode.h Diff File

master 0b21decd

21.12.2020 17:01

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
mod - CMakeLists.txt Diff File
mod - config.h.in Diff File
mod - libs/module/ApplicationContextBase.cpp Diff File

master deaea8a6

21.12.2020 14:54

orbweaver


Details Diff
0005364: 'Override light colour' now working

If the checkbox is set, the LightNode::renderLightVolume() method uses the
EntityNode::_wireShader shader instead of the shader exposed by ColourKey
(which changes with the '_color' spawnarg).
Affected Issues
0005364
mod - include/icolourscheme.h Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiantcore/entity/ColourKey.h Diff File
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - radiantcore/entity/light/LightNode.h Diff File

master 10bbba28

21.12.2020 14:27

orbweaver


Details Diff
Light no longer derives from Bounded or Snappable

The Bounded::localAABB and Snappable::snapto methods are only ever called
directly by LightNode which stores a Light reference, so these interfaces are
not needed.
mod - radiantcore/entity/light/Light.h Diff File

master 574ee9cf

21.12.2020 14:25

orbweaver


Details Diff
Move Light::testSelect() into LightNode::testSelect() method body
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File

master 737a8ae0

21.12.2020 13:43

orbweaver


Details Diff
Avoid hard-coded '../lib' in ApplicationContextBase

Another hard-coded library directory lurking in ApplicationContextBase was
continuing to break relocatable builds on systems which default to 'lib64' as
their library directory name. Although the RPATH was fixed in bf5eaaa9264d1763,
the relative path is also needed when we dynamically load the modules.

The CMake script now writes a RELATIVE_LIBDIR variable into config.h which
contains the relative part of the library directory (i.e. starting with ".."),
and this RELATIVE_LIBDIR is now used both to set the RPATH in CMakeLists.txt
and in ApplicationContextBase to load the modules.
mod - CMakeLists.txt Diff File
mod - config.h.in Diff File
mod - libs/module/ApplicationContextBase.cpp Diff File

master 4aebaa22

21.12.2020 04:06

greebo


Details Diff
Use the absolute path TESTRESOURCEDIR even in relocatable builds
mod - test/TestContext.h Diff File

master 60543211

21.12.2020 02:56

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
mod - CMakeLists.txt Diff File
mod - include/irender.h Diff File
mod - plugins/script/ScriptingSystem.cpp Diff File
mod - radiant/ui/einspector/Vector3PropertyEditor.cpp Diff File
mod - radiant/ui/mainframe/FloatingLayout.h Diff File
mod - radiant/ui/mainframe/RegularLayout.cpp Diff File
mod - radiant/uimanager/GroupDialog.cpp Diff File
mod - radiant/uimanager/GroupDialog.h Diff File
mod - radiantcore/CMakeLists.txt Diff File
mod - radiantcore/brush/BrushNode.cpp Diff File
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - radiantcore/model/md5/MD5ModelNode.cpp Diff File
mod - radiantcore/model/picomodel/StaticModelNode.cpp Diff File
mod - radiantcore/patch/PatchNode.cpp Diff File

master 39de2db0

21.12.2020 02:56

greebo


Details Diff
Merge branch 'pybind11_upgrade'
mod - include/imodule.h Diff File
mod - include/iscriptinterface.h Diff File
mod - libs/pybind/pybind11/attr.h Diff File
add - libs/pybind/pybind11/buffer_info.h Diff File
mod - libs/pybind/pybind11/cast.h Diff File
mod - libs/pybind/pybind11/chrono.h Diff File
rm - libs/pybind/pybind11/class_support.h Diff
mod - libs/pybind/pybind11/common.h Diff File
mod - libs/pybind/pybind11/complex.h Diff File
rm - libs/pybind/pybind11/descr.h Diff
add - libs/pybind/pybind11/detail/class.h Diff File
add - libs/pybind/pybind11/detail/common.h Diff File
add - libs/pybind/pybind11/detail/descr.h Diff File
add - libs/pybind/pybind11/detail/init.h Diff File
add - libs/pybind/pybind11/detail/internals.h Diff File
mod - libs/pybind/pybind11/eigen.h Diff File
add - libs/pybind/pybind11/embed.h Diff File
mod - libs/pybind/pybind11/eval.h Diff File
mod - libs/pybind/pybind11/functional.h Diff File
add - libs/pybind/pybind11/iostream.h Diff File
mod - libs/pybind/pybind11/numpy.h Diff File
mod - libs/pybind/pybind11/operators.h Diff File
mod - libs/pybind/pybind11/options.h Diff File
mod - libs/pybind/pybind11/pybind11.h Diff File
mod - libs/pybind/pybind11/pytypes.h Diff File
mod - libs/pybind/pybind11/stl.h Diff File
mod - libs/pybind/pybind11/stl_bind.h Diff File
mod - plugins/script/CMakeLists.txt Diff File
mod - plugins/script/PythonModule.cpp Diff File
mod - plugins/script/PythonModule.h Diff File
mod - plugins/script/ScriptingSystem.cpp Diff File
mod - plugins/script/ScriptingSystem.h Diff File

master 5ae45caf

20.12.2020 20:36

orbweaver


Details Diff
Add ZLIB as an explicit dependency in CMake build

On many systems -lz is added automatically via ${PNG_LIBRARIES}, but this does
not necessarily hold on all systems. We now explicitly link with ZLIB in the
radiantcore module (which includes DeflatedInputStream and related classes).
mod - CMakeLists.txt Diff File
mod - radiantcore/CMakeLists.txt Diff File

master bf5eaaa9

20.12.2020 20:05

orbweaver


Details Diff
Avoid hard-coded 'lib' in relative RPATH

On some systems CMake defaults to 'lib64' rather than 'lib' as the destination
for library files, so the relative path '$ORIGIN/../lib/darkradiant' does not
work. It seems that CMAKE_INSTALL_LIBDIR contains the bare directory name so we
can use it instead of 'lib' when setting the RPATH.
mod - CMakeLists.txt Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 172 173 174 175 176 177 178 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last