Changesets: DarkRadiant

master 34378ec3

17.02.2021 20:34

orbweaver


Details Diff
AUI panels have captions but no close buttons

In theory there is no reason why the panels cannot be closeable, but for now
this functionality is disabled since there is no way to show the closed panels
again.
mod - radiant/ui/mainframe/AuiLayout.cpp Diff File

master 50b4ac0d

17.02.2021 20:19

orbweaver


Details Diff
Add an experimental AUI-based layout

This layout approximates the Embedded layout but uses the wxWidgets AUI system
to manage the components, allowing for panels to be moved, docked and floated
as required by the user. Currently the basic layout works and the panels are in
approximately the right positions, but the panels are very thin and have to be
dragged out to fill the whole window, and there is no way to get them back if
the close button is clicked.
mod - CMakeLists.txt Diff File
mod - radiant/CMakeLists.txt Diff File
add - radiant/ui/mainframe/AuiLayout.cpp Diff File
add - radiant/ui/mainframe/AuiLayout.h Diff File
mod - radiant/ui/mainframe/MainFrameLayoutManager.cpp Diff File

materialeditor 8b9e88e9

16.02.2021 18:53

greebo


Details Diff
0005532: More XRC work Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File

master d8f98d92

14.02.2021 14:22

orbweaver


Details Diff
Add test for material layer enumeration

Enumerate material layers with getAllLayers() and confirm properties of the
returned layers using the 4-layer 'tdm_spider_black' material.
mod - include/ShaderLayer.h Diff File
mod - test/Materials.cpp Diff File

materialeditor 31d3a92e

14.02.2021 12:38

greebo


Details Diff
0005532: WIP work on the XRC file Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
add - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File

materialeditor 44cd18b2

14.02.2021 12:38

greebo


Details Diff
0005532: In-progress work on the XRC file Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
add - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File

master b4dc4cbd

13.02.2021 19:35

orbweaver


Details Diff
Add test for the "overrideLightColour" registry key

Confirm that a light wireframe is rendered with a default shader (based on the
entity class) if the registry key is set, then reverts to using the _color key
once the registry key is cleared.
mod - libs/registry/CachedKey.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - radiantcore/entity/light/LightNode.h Diff File
mod - test/Entity.cpp Diff File

master 226163a4

13.02.2021 19:05

orbweaver


Details Diff
Add test for light volume colour

Test that the colour of the shader used to render the light wireframe defaults
to white and changes with the _color key.
mod - test/Entity.cpp Diff File

master e52ceae8

12.02.2021 20:18

orbweaver


Details Diff
Add test for light wireframe shader

Since the Shader interface doesn't expose very much information that can be
examined in tests, the shader system now attaches an internal dummy Material to
any shader which doesn't have a Material of its own. Currently this internal
Material only exposes the name used to construct the shader, and it is this
which is tested to confirm that the light wireframe shader matches the
editor_color value.

In order to make it easier to construct this new InternalMaterial class, all
public virtuals on the Material interface are now non-pure, with empty default
implementations. This in turn required a couple of method signatures to be
changed to return by value rather than by const reference.
mod - include/ieclasscolours.h Diff File
mod - include/ishaders.h Diff File
mod - libs/wxutil/preview/GuiRenderer.cpp Diff File
mod - radiantcore/eclass/EClassColourManager.cpp Diff File
mod - radiantcore/eclass/EClassColourManager.h Diff File
mod - radiantcore/eclass/EClassManager.cpp Diff File
mod - radiantcore/model/export/WavefrontExporter.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - test/Entity.cpp Diff File
mod - test/Materials.cpp Diff File

materialeditor 0269d29d

12.02.2021 07:35

greebo


Details Diff
0005532: Add MaterialTreeView to the editor window Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File

materialeditor eb8123cf

12.02.2021 07:26

greebo


Details Diff
0005532: Introduce an intermediate MaterialTreeView which is just displaying the materials without any default context menu actions.
MediaBrowserTreeView is inheriting MaterialTreeView to add the pieces needed for the Media Browser tab.
Affected Issues
0005532
mod - radiant/CMakeLists.txt Diff File
add - radiant/ui/common/MaterialPopulator.cpp Diff File
add - radiant/ui/common/MaterialPopulator.h Diff File
add - radiant/ui/common/MaterialTreeView.cpp Diff File
add - radiant/ui/common/MaterialTreeView.h Diff File
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp Diff File
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

master b8dbc7d0

12.02.2021 05:40

greebo


Details Diff
0002132: Don't draw the grid in lighting mode due to overdraw effects Affected Issues
0002132
mod - radiant/camera/CamWnd.cpp Diff File

master d82be950

12.02.2021 04:51

greebo


Details Diff
0000994: Adjust VC++ projects Affected Issues
0000994
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File

master f2ac15de

12.02.2021 04:40

greebo


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

# Conflicts:
# radiantcore/selection/RadiantSelectionSystem.cpp
mod - .gitignore Diff File
mod - debian/changelog Diff File
mod - debian/control Diff File
mod - include/ieclass.h Diff File
mod - include/ientity.h Diff File
mod - include/inode.h Diff File
mod - include/irender.h Diff File
mod - include/irenderable.h Diff File
mod - include/itransformnode.h Diff File
mod - install/bitmaps/view_show_lightradii.png Diff File
mod - install/bitmaps/view_show_speakerradii.png Diff File
mod - libs/scene/Node.cpp Diff File
mod - libs/scene/Node.h Diff File
mod - libs/string/replace.h Diff File
mod - libs/transformlib.h Diff File
mod - radiantcore/CMakeLists.txt Diff File
mod - radiantcore/eclass/Doom3EntityClass.cpp Diff File
mod - radiantcore/eclass/Doom3EntityClass.h Diff File
add - radiantcore/entity/AttachmentData.cpp Diff File
add - radiantcore/entity/AttachmentData.h Diff File
mod - radiantcore/entity/EntityModule.cpp Diff File
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
mod - radiantcore/entity/KeyObserverMap.h Diff File
mod - radiantcore/entity/NameKey.h Diff File
mod - radiantcore/entity/NamespaceManager.cpp Diff File
mod - radiantcore/entity/NamespaceManager.h Diff File
mod - radiantcore/entity/doom3group/Doom3Group.cpp Diff File
mod - radiantcore/entity/doom3group/Doom3Group.h Diff File
mod - radiantcore/entity/doom3group/Doom3GroupNode.cpp Diff File
mod - radiantcore/entity/eclassmodel/EclassModelNode.cpp Diff File
rm - radiantcore/entity/generic/GenericEntity.cpp Diff
rm - radiantcore/entity/generic/GenericEntity.h Diff
mod - radiantcore/entity/generic/GenericEntityNode.cpp Diff File
mod - radiantcore/entity/generic/GenericEntityNode.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
mod - radiantcore/entity/speaker/SpeakerNode.cpp Diff File
mod - radiantcore/entity/target/TargetableNode.cpp Diff File
mod - radiantcore/entity/target/TargetableNode.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp Diff File
mod - radiantcore/selection/RadiantSelectionSystem.cpp Diff File
mod - test/CMakeLists.txt Diff File
mod - test/ColourSchemes.cpp Diff File
add - test/Entity.cpp Diff File
mod - test/Favourites.cpp Diff File
mod - test/MapSavingLoading.cpp Diff File
mod - test/RadiantTest.h Diff File
mod - test/math/Matrix4.cpp Diff File
mod - test/math/Plane3.cpp Diff File
mod - test/math/Quaternion.cpp Diff File
mod - test/math/Vector3.cpp Diff File
add - test/resources/tdm/def/base.def Diff File
mod - test/resources/tdm/def/lights.def Diff File
add - test/resources/tdm/def/lights_static.def Diff File
add - test/resources/tdm/def/tdm_ai.def Diff File
add - test/resources/tdm/models/torch.lwo Diff File

master 2e35762c

11.02.2021 19:58

orbweaver


Details Diff
Skip rendering attachments at joint positions

Since we aren't yet handling the joint location correctly, attachments to
joints show up in weird positions (such as weapon appearing in front of an AI's
feet). For now we just skip rendering attachments altogether if they have a
"joint" parameter set.
mod - radiantcore/entity/EntityNode.cpp Diff File

master 39250cbd

11.02.2021 18:20

greebo


Details Diff
0005534: Re-associate the model in UpdateTreeVisibility in wxGTK < 3.0.5 to fix the blank tree views after typing Affected Issues
0005534
mod - libs/wxutil/dataview/ResourceTreeView.cpp Diff File

master df126d90

10.02.2021 21:18

orbweaver


Details Diff
Entity::Attachment now provides joint information

Pass the already-parsed joint value from AttachmentData to the
Entity::Attachment functor parameter, and confirm this in the unit test of the
builder_guard AI.
mod - include/ientity.h Diff File
mod - radiantcore/entity/AttachmentData.h Diff File
mod - test/Entity.cpp Diff File

master aaf51345

10.02.2021 21:03

orbweaver


Details Diff
Add test for builder guard entity

Test constructing a more complex entity with an attachment (hammer attached to
a joint on the back; currently shows on floor in front of feet due to lack of
parsing of joint information).
mod - test/Entity.cpp Diff File
add - test/resources/tdm/def/tdm_ai.def Diff File

master 0ce5666d

10.02.2021 20:33

orbweaver


Details Diff
0005534: EntityClassChooser is no longer a static singleton

Since populating the tree for this dialog is very quick, there is no benefit in
keeping a singleton around. Creating a new dialog each time requires much less
code and also fixes the major issue described in 0005534, namely that the dialog
is always empty on its second showing.

There is still a problem with the search feature (at least on Linux), which
results in the tree view becoming empty as soon as any text is entered in the
search box. However it is at least now possible to resume normal service by
closing the dialog and showing another one.
Affected Issues
0005534
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - libs/wxutil/EntityClassChooser.h Diff File

master fd4b5f94

10.02.2021 20:33

orbweaver

Committer: greebo


Details Diff
0005534: EntityClassChooser is no longer a static singleton

Since populating the tree for this dialog is very quick, there is no benefit in
keeping a singleton around. Creating a new dialog each time requires much less
code and also fixes the major issue described in 0005534, namely that the dialog
is always empty on its second showing.

There is still a problem with the search feature (at least on Linux), which
results in the tree view becoming empty as soon as any text is entered in the
search box. However it is at least now possible to resume normal service by
closing the dialog and showing another one.
Affected Issues
0005534
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - libs/wxutil/EntityClassChooser.h Diff File

materialeditor 9ed05927

10.02.2021 08:29

greebo


Details Diff
0005532: Close button, empty preview widget Affected Issues
0005532
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File

materialeditor 252ea449

10.02.2021 06:37

greebo


Details Diff
0005532: Copy the particle editor XRC file to use that as launchpad Affected Issues
0005532
add - install/ui/materialeditor.fbp Diff File
mod - radiant/CMakeLists.txt Diff File
add - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File
mod - radiant/ui/materials/MaterialEditorModule.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

materialeditor 59b1b754

10.02.2021 04:22

greebo


Details Diff
0005532: Add the module and command/menu bindings Affected Issues
0005532
mod - radiant/CMakeLists.txt Diff File
add - radiant/ui/materials/MaterialEditor.h Diff File
add - radiant/ui/materials/MaterialEditorModule.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

master b6b8c2f2

09.02.2021 20:32

orbweaver


Details Diff
Remove obsolete Node::setTransformChangedCallback()

This callback mechanism seems to have only been used by the now-removed light
list system.
mod - libs/scene/Node.cpp Diff File
mod - libs/scene/Node.h Diff File

master aab26c88

09.02.2021 20:25

orbweaver


Details Diff
Tweaks to new light/speaker radius icons

Try to improve visibility and sharpness by avoiding subtle curves at the
corners, although it's still challenging to make an image readable with only 16
pixels to work with.
mod - install/bitmaps/view_show_lightradii.png Diff File
mod - install/bitmaps/view_show_speakerradii.png Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 156 157 158 159 160 161 162 ... 180 ... 210 ... 240 ... 261 262 263  Next  Last