Changesets: DarkRadiant

master 2bd99ba7

18.12.2020 18:52

greebo


Details Diff
0005440: Fix exception on writing layer mappings of an empty map to the .darkradiant file Affected Issues
0005440
mod - radiantcore/layers/LayerInfoFileModule.cpp Diff File

master d877f4db

18.12.2020 14:11

orbweaver


Details Diff
0005364: move some render code from Light into LightNode

Light and LightNode are so tightly bound they would be better off as one class
(witness the constant use of _light.blah() in LightNode and _owner.blah() in
Light). With this minor refactoring the call chain for rendering light volumes
is shortened slightly, so that renderWireframe() and renderSolid() in LightNode
now call a method renderLightVolume() on the same class, rather than delegating
to Light methods.

In addition, LightNode now implements OpenGLRenderable itself and submits *this
for rendering, rather than submitting _light. Note that LightNode::render()
only renders the light origin box, not the radius or frustum.

This is just a small step and there is still much rendering code in Light, as
well as use of Light's private members from LightNode's rendering methods.
Affected Issues
0005364
mod - include/icolourscheme.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 7894a812

18.12.2020 13:50

orbweaver


Details Diff
0005364: connect 'Override light colour' to registry key

Checkbox initialised based on a new registry key and saves its value when
toggled.
Affected Issues
0005364
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File

master 597347ec

18.12.2020 13:22

orbweaver


Details Diff
0005364: initial 'Override light volume colour' option

Checkbox added underneath the list of colour schemes, but does not do anything
yet.
Affected Issues
0005364
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File

master 95db3b83

17.12.2020 15:06

orbweaver


Details Diff
0005364: ColourSchemeEditor now uses plain wxDataViewListCtrl

Simplify the ColourSchemeEditor implementation by moving away from the
heavyweight custom TreeModel/TreeStore and switching to a simple
wxDataViewListCtrl instead.
Affected Issues
0005364
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File

master 45a25edb

17.12.2020 14:02

orbweaver


Details Diff
0005364: primitivise model parameter to TreeView::CreateWithModel()

Despite requiring a TreeModel::Ptr argument, CreateWithModel() never made any
use of either the shared_ptr or the TreeModel interface, since the passed
argument was immediately decomposed to a simple wxDataViewModel pointer. We now
pass the wxDataViewModel pointer directly, giving increased flexibility to code
which might want to use a TreeView with a simpler wxWidgets data model.
Affected Issues
0005364
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

master fbcee94e

17.12.2020 13:15

orbweaver


Details Diff
Set correct script path on Linux

Script path is now ApplicationContext::getRuntimeDataPath() + "scripts" on all
platforms, rather than using different logic on Linux. This should work for
both relocatable and non-relocatable builds because getRuntimeDataPath returns
a different value in each case.
mod - plugins/script/ScriptingSystem.cpp Diff File

master e649657d

15.12.2020 20:19

orbweaver


Details Diff
Remove RendererLight::intersectsAABB()

Now that RendererLight exposes a lightAABB() method to return the actual AABB
of the illuminated area, we can just do a simple intersection test between
lightAABB and worldAABB for each lit object, instead of calling the complex and
slow Light::intersectsAABB() method.
mod - include/irender.h 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 279b9249

15.12.2020 02:41

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
mod - .gitignore Diff File
add - CMakeLists.txt Diff File
rm - Makefile.am Diff
mod - README.md Diff File
rm - autogen.sh Diff
rm - compile Diff
rm - config.guess Diff
add - config.h.in Diff File
rm - config.rpath Diff
rm - config.sub Diff
rm - configure.ac Diff
mod - debian/changelog Diff File
mod - debian/compat Diff File
mod - debian/control Diff File
mod - debian/darkradiant-plugins-darkmod.install Diff File
mod - debian/darkradiant.install Diff File
mod - debian/rules Diff File
rm - doc/Makefile.am Diff
rm - install-sh Diff
mod - install/darkradiant.desktop.in Diff File
rm - libs/Makefile.am Diff
add - libs/math/CMakeLists.txt Diff File
rm - libs/math/Makefile.am Diff
mod - libs/module/ApplicationContextBase.cpp Diff File
add - libs/module/CMakeLists.txt Diff File
rm - libs/module/Makefile.am Diff
mod - libs/render/CamRenderer.h Diff File
add - libs/scene/CMakeLists.txt Diff File
rm - libs/scene/Makefile.am Diff
add - libs/wxutil/CMakeLists.txt Diff File
rm - libs/wxutil/Makefile.am Diff
mod - libs/wxutil/TreeModel.cpp Diff File
add - libs/xmlutil/CMakeLists.txt Diff File
rm - libs/xmlutil/Makefile.am Diff
rm - m4/ax_cxx_compile_stdcxx.m4 Diff
rm - m4/boost.m4 Diff
rm - m4/gettext.m4 Diff
rm - m4/iconv.m4 Diff
rm - m4/lib-ld.m4 Diff
rm - m4/lib-link.m4 Diff
rm - m4/lib-prefix.m4 Diff
rm - m4/nls.m4 Diff
rm - m4/po.m4 Diff
rm - m4/progtest.m4 Diff
rm - m4/python.m4 Diff
rm - m4/wxwin.m4 Diff
rm - missing Diff
rm - plugins/Makefile.am Diff
rm - plugins/dm.conversation/Makefile.am Diff
add - plugins/dm.difficulty/CMakeLists.txt Diff File
rm - plugins/dm.difficulty/Makefile.am Diff
add - plugins/dm.editing/CMakeLists.txt Diff File
rm - plugins/dm.editing/Makefile.am Diff
add - plugins/dm.gameconnection/CMakeLists.txt Diff File
rm - plugins/dm.gameconnection/Makefile.am Diff
add - plugins/dm.gui/CMakeLists.txt Diff File
rm - plugins/dm.gui/Makefile.am Diff
add - plugins/dm.objectives/CMakeLists.txt Diff File
rm - plugins/dm.objectives/Makefile.am Diff
add - plugins/dm.stimresponse/CMakeLists.txt Diff File
rm - plugins/dm.stimresponse/Makefile.am Diff
add - plugins/script/CMakeLists.txt Diff File
rm - plugins/script/Makefile.am Diff
add - plugins/sound/CMakeLists.txt Diff File
rm - plugins/sound/Makefile.am Diff
add - radiant/CMakeLists.txt Diff File
rm - radiant/Makefile.am Diff
mod - radiant/camera/CamWnd.cpp Diff File
mod - radiant/selection/SelectionMouseTools.cpp Diff File
add - radiantcore/CMakeLists.txt Diff File
rm - radiantcore/Makefile.am Diff
mod - radiantcore/layers/LayerManager.cpp Diff File
mod - radiantcore/model/export/ScaledModelExporter.cpp Diff File
mod - radiantcore/patch/algorithm/General.cpp Diff File
rm - test-driver Diff
add - test/CMakeLists.txt Diff File
rm - test/Makefile.am Diff
mod - test/PatchWelding.cpp Diff File
rm - tools/debian/changelog Diff
rm - tools/debian/compat Diff
rm - tools/debian/control Diff
rm - tools/debian/dirs Diff
rm - tools/debian/docs Diff
rm - tools/debian/files Diff
rm - tools/debian/rules Diff

master a8a19bec

14.12.2020 20:25

orbweaver


Details Diff
Skip lighting calculations in non-lit render mode

CamRenderer::calculateLightIntersections() was being invoked even when lights
were not being rendered, which is a complete waste of CPU cycles.
mod - libs/render/CamRenderer.h Diff File
mod - radiant/camera/CamWnd.cpp Diff File

master 8b74197d

14.12.2020 16:39

greebo


Details Diff
0005440: Add a couple of test scenarios - unit tests are pretty red right now since it's warning way too often and blocking the save Affected Issues
0005440
mod - test/MapSavingLoading.cpp Diff File

master 35364ec7

14.12.2020 12:05

greebo


Details Diff
0005440: Add FileOverwriteConfirmationHandler to UI module Affected Issues
0005440
mod - libs/messages/FileOverwriteConfirmation.h Diff File
add - radiant/ui/FileOverwriteConfirmationHandler.h Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/UserInterfaceModule.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

master e836a292

14.12.2020 11:55

greebo


Details Diff
0005440: Add FileOverwriteConfirmation message. An unhandled message will cancel the save process. Affected Issues
0005440
mod - include/imessagebus.h Diff File
add - libs/messages/FileOverwriteConfirmation.h Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

master 05eb111d

13.12.2020 21:01

orbweaver


Details Diff
Install drtest binary

drtest binary is installed to the 'bin' directory alongside the main
darkradiant binary (this is different from the Automake build, which installed
drtest to a subdirectory of $pkglibdir).

This in turn exposed a link issue with libradiantcore.so, which was using the
same '$ORIGIN/../lib/darkradiant' rpath as the main binary, which is actually
incorrect for libradiantcore which is in the lib/darkradiant/modules directory.
This did not matter when libradiantcore was being loaded from darkradiant, but
caused a runtime link failure with drtest.
mod - radiantcore/CMakeLists.txt Diff File
mod - test/CMakeLists.txt Diff File

master 9960f414

13.12.2020 20:43

orbweaver


Details Diff
Initial support for building tests with CMake

test/drtest binary is now built by CMake, but is not yet installed or run.
mod - CMakeLists.txt Diff File
add - test/CMakeLists.txt Diff File
mod - test/PatchWelding.cpp Diff File

master 602c2789

13.12.2020 17:40

greebo


Details Diff
0005382: Improved check for merged patches which should be facing the same direction Affected Issues
0005382
mod - radiantcore/patch/algorithm/General.cpp Diff File
mod - test/PatchWelding.cpp Diff File

master c35e419d

13.12.2020 17:37

greebo


Details Diff
0005382: Vector3::angle should clamp all dot values to -1..+1, not just the positive values. Affected Issues
0005382
mod - libs/math/Vector3.h Diff File

master fa02e0a7

13.12.2020 16:38

greebo


Details Diff
0005382: Make sure the merged patches are facing the same direction Affected Issues
0005382
mod - include/version.h Diff File
mod - radiantcore/patch/algorithm/General.cpp Diff File
mod - test/PatchWelding.cpp Diff File

master 62c33324

13.12.2020 14:14

orbweaver


Details Diff
Bump CMake project version to 2.10.0
mod - CMakeLists.txt Diff File

master ef19ddae

13.12.2020 14:06

orbweaver


Details Diff
Merge remote-tracking branch 'greebo/master'
mod - install/menu.xml Diff File
mod - install/scripts/test.py Diff File
add - libs/patch/PatchIterators.h Diff File
mod - libs/selectionlib.h Diff File
mod - plugins/script/CMakeLists.txt Diff File
mod - plugins/script/ScriptingSystem.cpp Diff File
add - plugins/script/interfaces/LayerInterface.cpp Diff File
add - plugins/script/interfaces/LayerInterface.h Diff File
mod - radiantcore/patch/PatchModule.cpp Diff File
mod - radiantcore/patch/algorithm/General.cpp Diff File
mod - radiantcore/patch/algorithm/General.h Diff File
add - test/PatchIterators.cpp Diff File
add - test/PatchWelding.cpp Diff File
mod - test/RadiantTest.h Diff File
add - test/TestLogFile.h Diff File
add - test/resources/tdm/maps/weld_patches.mapx Diff File
add - test/resources/tdm/maps/weld_patches2.mapx Diff File
add - test/resources/tdm/materials/numbers.mtr Diff File
add - test/resources/tdm/textures/numbers/0.tga Diff File
add - test/resources/tdm/textures/numbers/1.tga Diff File
add - test/resources/tdm/textures/numbers/10.tga Diff File
add - test/resources/tdm/textures/numbers/11.tga Diff File
add - test/resources/tdm/textures/numbers/12.tga Diff File
add - test/resources/tdm/textures/numbers/13.tga Diff File
add - test/resources/tdm/textures/numbers/14.tga Diff File
add - test/resources/tdm/textures/numbers/15.tga Diff File
add - test/resources/tdm/textures/numbers/16.tga Diff File
add - test/resources/tdm/textures/numbers/17.tga Diff File
add - test/resources/tdm/textures/numbers/18.tga Diff File
add - test/resources/tdm/textures/numbers/19.tga Diff File
add - test/resources/tdm/textures/numbers/2.tga Diff File
add - test/resources/tdm/textures/numbers/20.tga Diff File
add - test/resources/tdm/textures/numbers/21.tga Diff File
add - test/resources/tdm/textures/numbers/22.tga Diff File
add - test/resources/tdm/textures/numbers/23.tga Diff File
add - test/resources/tdm/textures/numbers/24.tga Diff File
add - test/resources/tdm/textures/numbers/25.tga Diff File
add - test/resources/tdm/textures/numbers/26.tga Diff File
add - test/resources/tdm/textures/numbers/27.tga Diff File
add - test/resources/tdm/textures/numbers/28.tga Diff File
add - test/resources/tdm/textures/numbers/29.tga Diff File
add - test/resources/tdm/textures/numbers/3.tga Diff File
add - test/resources/tdm/textures/numbers/30.tga Diff File
add - test/resources/tdm/textures/numbers/31.tga Diff File
add - test/resources/tdm/textures/numbers/32.tga Diff File
add - test/resources/tdm/textures/numbers/4.tga Diff File
add - test/resources/tdm/textures/numbers/5.tga Diff File
add - test/resources/tdm/textures/numbers/6.tga Diff File
add - test/resources/tdm/textures/numbers/7.tga Diff File
add - test/resources/tdm/textures/numbers/8.tga Diff File
add - test/resources/tdm/textures/numbers/9.tga Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File
mod - tools/msvc/script.vcxproj Diff File
mod - tools/msvc/script.vcxproj.filters Diff File

master 04ae5764

13.12.2020 13:27

greebo


Details Diff
0005440: Experimental commit, MapResource is keeping track of the last modification date of a file Affected Issues
0005440
mod - include/imapresource.h Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - radiantcore/map/MapResource.cpp Diff File
mod - radiantcore/map/MapResource.h Diff File

master 8a915016

13.12.2020 05:56

greebo


Details Diff
Merge branch 'python_layer_interface'
mod - install/scripts/test.py Diff File
mod - plugins/script/Makefile.am Diff File
mod - plugins/script/ScriptingSystem.cpp Diff File
add - plugins/script/interfaces/LayerInterface.cpp Diff File
add - plugins/script/interfaces/LayerInterface.h Diff File
mod - tools/msvc/script.vcxproj Diff File
mod - tools/msvc/script.vcxproj.filters Diff File

master 76160cae

13.12.2020 05:55

greebo


Details Diff
0005442: Add some example code to test.py Affected Issues
0005442
mod - install/scripts/test.py Diff File

master 540dbea0

13.12.2020 05:50

greebo


Details Diff
0005442: Add LayerInterface files to VC++ project Affected Issues
0005442
mod - tools/msvc/script.vcxproj Diff File
mod - tools/msvc/script.vcxproj.filters Diff File

master e27e13cd

13.12.2020 04:57

greebo


Details Diff
0005382: Welding should preserve the first patch's material Affected Issues
0005382
mod - radiantcore/patch/algorithm/General.cpp Diff File
mod - test/PatchWelding.cpp Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 174 175 176 177 178 179 180 ... 210 ... 240 ... 264 265 266  Next  Last