Changesets: DarkRadiant

master 41763df9

23.07.2024 18:41

orbweaver


Details Diff
0006514: remove obsolete code from PrefDialog

Remove code relating to expanding nodes and adding sub-pages, since all
pages are now at the same level. Remove function to show Game dialog,
which is never called and would fail since the Game page is no longer
part of this dialog. Switch from wxTreebook to wxListbook, which does
not waste space for non-existent tree expansion controls (although it
does center the page labels, which may not be desirable).
Affected Issues
0006514
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/prefdialog/PrefDialog.cpp Diff File
mod - radiant/ui/prefdialog/PrefDialog.h Diff File

master 9dd32334

23.07.2024 11:06

greebo


Details Diff
Project updates and compilation fixes
mod - DarkRadiant.sln Diff File
mod - include/ishaderlayer.h Diff File
mod - test/Skin.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File
mod - tools/msvc/scenelib.vcxproj Diff File
mod - tools/msvc/scenelib.vcxproj.filters Diff File
mod - tools/msvc/wxutillib.vcxproj Diff File
mod - tools/msvc/wxutillib.vcxproj.filters Diff File

master a537863e

23.07.2024 10:40

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
mod - .gitignore Diff File
mod - CMakeLists.txt Diff File
mod - Doxyfile Diff File
mod - debian/changelog Diff File
mod - doc/img/SurfaceInspector.png Diff File
add - doc/img/align_bottom.png Diff File
add - doc/img/align_left.png Diff File
add - doc/img/align_right.png Diff File
add - doc/img/align_top.png Diff File
add - doc/img/flip_horiz.png Diff File
add - doc/img/flip_vert.png Diff File
add - doc/img/texture_lock.png Diff File
mod - doc/manual.adoc Diff File
mod - include/ientity.h Diff File
mod - include/igame.h Diff File
mod - include/imapformat.h Diff File
mod - include/ishaderlayer.h Diff File
mod - include/ui/imainframe.h Diff File
add - install/bitmaps/align_bottom.png Diff File
add - install/bitmaps/align_left.png Diff File
add - install/bitmaps/align_right.png Diff File
add - install/bitmaps/align_top.png Diff File
add - install/bitmaps/flip_horiz.png Diff File
add - install/bitmaps/flip_vert.png Diff File
mod - install/bitmaps/texture_lock.png Diff File
mod - install/gl/interaction_fp.glsl Diff File
mod - install/ui/filterdialog.fbp Diff File
mod - install/ui/filterdialog.xrc Diff File
mod - install/ui/skineditor.fbp Diff File
mod - install/ui/skineditor.xrc Diff File
mod - install/user.xml Diff File
mod - libs/entitylib.h Diff File
mod - libs/maplib.h Diff File
mod - libs/render/VertexHashing.h Diff File
mv - radiantcore/entity/AttachmentData.cpp → libs/scene/AttachmentData.cpp Diff File
mv - radiantcore/entity/AttachmentData.h → libs/scene/AttachmentData.h Diff File
mod - libs/scene/CMakeLists.txt Diff File
mod - libs/scene/ChildPrimitives.cpp Diff File
mv - radiantcore/entity/ColourKey.h → libs/scene/ColourKey.h Diff File
mv - radiantcore/entity/SpawnArgs.cpp → libs/scene/Entity.cpp Diff File
add - libs/scene/Entity.h Diff File
add - libs/scene/EntityAttachment.h Diff File
mod - libs/scene/EntityBreakdown.h Diff File
mv - radiantcore/entity/KeyValue.cpp → libs/scene/EntityKeyValue.cpp Diff File
add - libs/scene/EntityKeyValue.h Diff File
mv - radiantcore/entity/EntityNode.cpp → libs/scene/EntityNode.cpp Diff File
mv - radiantcore/entity/EntityNode.h → libs/scene/EntityNode.h Diff File
mv - radiantcore/entity/EntitySettings.cpp → libs/scene/EntitySettings.cpp Diff File
mv - radiantcore/entity/EntitySettings.h → libs/scene/EntitySettings.h Diff File
mv - radiantcore/entity/KeyObserverDelegate.h → libs/scene/KeyObserverDelegate.h Diff File
mv - radiantcore/entity/KeyObserverMap.h → libs/scene/KeyObserverMap.h Diff File
mv - radiantcore/entity/KeyValueObserver.cpp → libs/scene/KeyValueObserver.cpp Diff File
mv - radiantcore/entity/KeyValueObserver.h → libs/scene/KeyValueObserver.h Diff File
mod - libs/scene/ModelFinder.cpp Diff File
mv - radiantcore/entity/ModelKey.cpp → libs/scene/ModelKey.cpp Diff File
mv - radiantcore/entity/ModelKey.h → libs/scene/ModelKey.h Diff File
mv - radiantcore/entity/NameKey.h → libs/scene/NameKey.h Diff File
mv - radiantcore/entity/NameKeyObserver.cpp → libs/scene/NameKeyObserver.cpp Diff File
mv - radiantcore/entity/NameKeyObserver.h → libs/scene/NameKeyObserver.h Diff File
mv - radiantcore/entity/NamespaceManager.cpp → libs/scene/NamespaceManager.cpp Diff File
mv - radiantcore/entity/NamespaceManager.h → libs/scene/NamespaceManager.h Diff File
mv - radiantcore/entity/OriginKey.h → libs/scene/OriginKey.h Diff File
mv - radiantcore/entity/RenderableEntityName.cpp → libs/scene/RenderableEntityName.cpp Diff File
mv - radiantcore/entity/RenderableEntityName.h → libs/scene/RenderableEntityName.h Diff File
mv - radiantcore/entity/RenderableObjectCollection.h → libs/scene/RenderableObjectCollection.h Diff File
add - libs/scene/RenderableTargetLines.cpp Diff File
mv - radiantcore/entity/target/RenderableTargetLines.h → libs/scene/RenderableTargetLines.h Diff File
mv - radiantcore/entity/ShaderParms.cpp → libs/scene/ShaderParms.cpp Diff File
mv - radiantcore/entity/ShaderParms.h → libs/scene/ShaderParms.h Diff File
mv - radiantcore/entity/target/Target.h → libs/scene/Target.h Diff File
mv - radiantcore/entity/target/TargetKey.cpp → libs/scene/TargetKey.cpp Diff File
mv - radiantcore/entity/target/TargetKey.h → libs/scene/TargetKey.h Diff File
mv - radiantcore/entity/target/TargetKeyCollection.cpp → libs/scene/TargetKeyCollection.cpp Diff File
mv - radiantcore/entity/target/TargetKeyCollection.h → libs/scene/TargetKeyCollection.h Diff File
mv - radiantcore/entity/target/TargetLineNode.cpp → libs/scene/TargetLineNode.cpp Diff File
mv - radiantcore/entity/target/TargetLineNode.h → libs/scene/TargetLineNode.h Diff File
mv - radiantcore/entity/target/TargetManager.cpp → libs/scene/TargetManager.cpp Diff File
mv - radiantcore/entity/target/TargetManager.h → libs/scene/TargetManager.h Diff File
mv - radiantcore/entity/target/TargetableNode.cpp → libs/scene/TargetableNode.cpp Diff File
mv - radiantcore/entity/target/TargetableNode.h → libs/scene/TargetableNode.h Diff File
mod - libs/scene/merge/GraphComparer.cpp Diff File
mod - libs/scene/merge/MergeAction.h Diff File
mod - libs/scene/merge/NodeUtils.h Diff File
add - libs/scene/scene_fwd.h Diff File
mod - libs/selection/CollectiveSpawnargs.h Diff File
mod - libs/selection/EntitiesFirstSelector.h Diff File
mod - libs/selection/EntitySelection.h Diff File
mod - libs/selectionlib.h Diff File
mod - libs/wxutil/Bitmap.h Diff File
mod - libs/wxutil/Button.h Diff File
mod - libs/wxutil/CMakeLists.txt Diff File
add - libs/wxutil/Debug.h Diff File
mod - libs/wxutil/WindowPosition.h Diff File
mod - libs/wxutil/XmlResourceBasedWidget.h Diff File
mod - libs/wxutil/dataview/ThreadedResourceTreePopulator.cpp Diff File
mod - libs/wxutil/preview/EntityPreview.cpp Diff File
mod - libs/wxutil/preview/EntityPreview.h Diff File
mod - libs/wxutil/preview/ParticlePreview.cpp Diff File
mod - libs/wxutil/sourceview/SourceView.cpp Diff File
mod - libs/wxutil/sourceview/SourceView.h Diff File

master 0ccecc0e

23.07.2024 10:35

greebo


Details Diff
Compilation fixes.
mod - plugins/vcs/Repository.cpp Diff File
mod - tools/msvc/properties/DarkRadiant Base.props Diff File

master 2365ced8

23.07.2024 10:02

greebo

Committer: GitHub


Details Diff
Merge pull request 0000039 from es20490446e/master

Compatibility with libgit2 1.8+
Affected Issues
0000039
mod - plugins/vcs/Commit.h Diff File
mod - plugins/vcs/Repository.cpp Diff File

master 95198712

23.07.2024 09:59

greebo

Committer: GitHub


Details Diff
Merge pull request 0000043 from coldtobi/use-system-pugixml-if-available

Use packaged version of pugixml, if it is installed
Affected Issues
0000043
mod - CMakeLists.txt Diff File
mod - libs/xmlutil/CMakeLists.txt Diff File
mod - libs/xmlutil/Document.h Diff File
mod - libs/xmlutil/Node.h Diff File

master ffe51db1

17.07.2024 18:52

orbweaver


Details Diff
0006514: remove "Settings" root node from preference page tree

All preference pages exist at the same level in the tree; this empty
root node was just a waste of space.
Affected Issues
0006514
mod - plugins/dm.gui/plugin.cpp Diff File
mod - plugins/vcs/GitModule.cpp Diff File
mod - radiant/camera/CameraSettings.cpp Diff File
mod - radiant/map/AutoSaveTimer.cpp Diff File
mod - radiant/settings/LocalisationModule.cpp Diff File
mod - radiant/ui/mainframe/MainFrame.cpp Diff File
mod - radiant/ui/texturebrowser/TextureBrowserManager.cpp Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File
mod - radiantcore/brush/BrushModule.cpp Diff File
mod - radiantcore/clipper/Clipper.cpp Diff File
mod - radiantcore/grid/GridManager.cpp Diff File
mod - radiantcore/map/autosaver/AutoSaver.cpp Diff File
mod - radiantcore/map/mru/MRU.cpp Diff File
mod - radiantcore/model/ModelFormatManager.cpp Diff File
mod - radiantcore/patch/PatchModule.cpp Diff File
mod - radiantcore/selection/RadiantSelectionSystem.cpp Diff File
mod - radiantcore/settings/PreferenceSystem.h Diff File
mod - radiantcore/undo/UndoSystemFactory.cpp Diff File

master 5c220668

17.07.2024 18:39

orbweaver


Details Diff
0006514: remove placeholder "Game" page from preferences dialog

It's been 7 years since this placeholder was added; I doubt anyone's
still looking for the game settings here.
Affected Issues
0006514
mod - radiantcore/settings/GameManager.cpp Diff File

master 3c5bf0d7

16.07.2024 18:49

orbweaver


Details Diff
0006514: improve size hinting of preferences dialog

- PrefPage no longer derives from wxScrolledWindow; instead it is just a
simple wxPanel. This causes it to report an accurate size hint,
instead of a suggested height of -1.
- All hard-coded sizes or screen proportions removed from PrefDialog.
The dialog is now sized entirely based on the size hints of the
contained panels.
- To prevent the dialog from become too large as a result of the lack of
scrollable panels, several redundant visibility toggles have been removed
from the Orthoview panel. All of the removed items are available in
the View -> Show menu so there is no need for them to be duplicated in
the Orthoview preferences.
Affected Issues
0006514
mod - radiant/ui/prefdialog/PrefDialog.cpp Diff File
mod - radiant/ui/prefdialog/PrefDialog.h Diff File
mod - radiant/ui/prefdialog/PrefPage.cpp Diff File
mod - radiant/ui/prefdialog/PrefPage.h Diff File
mod - radiant/xyview/GlobalXYWnd.cpp Diff File

master 237069c1

16.07.2024 17:55

orbweaver


Details Diff
0006514: remove Style::fontsize member variable

Per-element font sizes are not used anywhere (and would be highly
unusual in a source code editor). The value is still currently
hard-coded, but is not stored separately in each Style object.
Affected Issues
0006514
mod - libs/wxutil/sourceview/SourceView.cpp Diff File
mod - libs/wxutil/sourceview/SourceView.h Diff File

master e0b7bf82

14.07.2024 10:14

coldtobi


Details Diff
Use packaged version of pugixml, if it is installed
mod - CMakeLists.txt Diff File
mod - libs/xmlutil/CMakeLists.txt Diff File
mod - libs/xmlutil/Document.h Diff File
mod - libs/xmlutil/Node.h Diff File

master 7f8db4fa

10.07.2024 18:31

orbweaver


Details Diff
0006514: autosize remapping list columns

Columns now expand to contain the (possibly long) material names, with
the widget showing a horizontal scrollbar if necessary.
Affected Issues
0006514
mod - radiant/ui/skin/SkinEditor.cpp Diff File

master 4ba6b8d5

09.07.2024 18:54

orbweaver


Details Diff
0006514: remove custom MaterialSelectorColumn from SkinEditor

None of this ever worked on GTK, and trying to debug such a rarely-used
corner of the wxWidgets API seems like more trouble than it's worth now
that the separate entry boxes and browse buttons are providing the same
functionality.
Affected Issues
0006514
rm - radiant/ui/skin/MaterialSelectorColumn.h Diff
mod - radiant/ui/skin/SkinEditor.cpp Diff File
mod - radiant/ui/skin/SkinEditor.h Diff File

master 0ed4f4d9

03.07.2024 18:47

orbweaver


Details Diff
0006514: original material browse button now applies changes to list Affected Issues
0006514
mod - radiant/ui/skin/SkinEditor.cpp Diff File
mod - radiant/ui/skin/SkinEditor.h Diff File

master 6fcd0d3f

03.07.2024 18:38

orbweaver


Details Diff
0006514: material text entries are read-only

Updating the skin on manual editing isn't yet implemented (and may not
be important) so keep the text entry boxes read-only for now.
Affected Issues
0006514
mod - install/ui/skineditor.fbp Diff File
mod - install/ui/skineditor.xrc Diff File

master a154a7fb

03.07.2024 18:19

orbweaver


Details Diff
0006514: replacement material is now applied to skin after browsing

If the browse button was clicked and the result was OK, call the
onReplacementEntryChanged method to apply the change to the data model.
This does not yet apply if the replacement material entry box is edited
manually.
Affected Issues
0006514
mod - radiant/ui/skin/SkinEditor.cpp Diff File

master c0a5a24b

02.07.2024 18:48

orbweaver


Details Diff
0006514: "Choose source material" disabled for wildcard row

The text entry was already disabled when the "*" row is selected; now
the browse button is also disabled.
Affected Issues
0006514
mod - radiant/ui/skin/SkinEditor.cpp Diff File
mod - radiant/ui/skin/SkinEditor.h Diff File

master b97b7df6

25.06.2024 18:32

orbweaver


Details Diff
0006514: add "browse" buttons for Replace/With text boxes

These are using a relative path to the bitmap set directly in the
FBP/XRC file, rather than the "darkradiant:" art provider prefix, which
allows the icons to appear in wxFormBuilder. This works correctly in GTK
since the relative path between XRC and bitmap is the same, and
hopefully will work in Windows too.

The browse buttons show a material chooser to choose a new material for
the associated text box, although the chosen material is not yet being
applied to the skin.
Affected Issues
0006514
mod - install/ui/skineditor.fbp Diff File
mod - install/ui/skineditor.xrc Diff File
mod - radiant/ui/skin/SkinEditor.cpp Diff File
mod - radiant/ui/skin/SkinEditor.h Diff File

master b3aaf558

19.06.2024 18:40

orbweaver


Details Diff
0006514: initial material replacement edit boxes

Add "Replace" and "With" text boxes underneath the skin editor's
material replacements list. The text boxes are populated with the
selected material information, although editing them does not have any
effect.
Affected Issues
0006514
mod - install/ui/skineditor.fbp Diff File
mod - install/ui/skineditor.xrc Diff File
mod - radiant/ui/skin/SkinEditor.cpp Diff File
mod - radiant/ui/skin/SkinEditor.h Diff File

master 09605944

12.06.2024 19:06

orbweaver


Details Diff
Update Surface Inspector documentation with new icons
add - doc/img/align_bottom.png Diff File
add - doc/img/align_left.png Diff File
add - doc/img/align_right.png Diff File
add - doc/img/align_top.png Diff File
add - doc/img/flip_horiz.png Diff File
add - doc/img/flip_vert.png Diff File
add - doc/img/texture_lock.png Diff File
mod - doc/manual.adoc Diff File

master 1704aeb7

11.06.2024 19:20

orbweaver


Details Diff
0005718: fix rendering of vertex blend between two materials

This required fixes in two places:

- Remove the sorting of material stages in OpenGLShader, which placed
ALL bump maps before ALL diffuse maps. This discarded vital
information about which pairs or triplets of maps needed to be bound
together in interaction passes. Sorting of bump maps before diffuse
maps is necessary, but this must be done by the artist in the MTR
decl, otherwise the engine will not render the blend correctly.
- When we assemble the maps into D/B/S triplets in the RegularLight
rendering code, treat bump maps as "delimiters" which start a new
interaction pass (via a new clear() method). If we don't do this we
end up with unwanted extra passes: a MTR which declares a sequence
{B1, D1, B2, D2} generates interaction passes {B1, D1}, {D1, B2},
{B2, D2} which gives the wrong result.

Note that 0005718 is actually a Dark Mod bug, but the investigation led to
the discovery of this incorrect rendering behaviour in DarkRadiant. The
actual engine renderer seems to produce correct results provided the
material stages are correctly sorted bumpmap-first in the decl.
Affected Issues
0005718
mod - include/ishaderlayer.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/rendersystem/backend/RegularLight.cpp Diff File
mod - radiantcore/rendersystem/backend/RegularLight.h Diff File

master 66f7882c

29.05.2024 19:16

orbweaver


Details Diff
Fix incorrect vertex colours in imported LWO models

The picomodel code was multiplying the vertex colours by the surface
DIFF and COLR values, which are not used for any purpose when exporting
models to TDM, and may be set to Blender's default of (0.8, 0.8, 0.8).
This resulted in white vertex colours appearing grey.
mod - radiantcore/model/picomodel/lib/pm_lwo.c Diff File

master c019674e

28.05.2024 22:38

es20490446e


Details Diff
Don't check libgit2 version
mod - plugins/vcs/Commit.h Diff File
mod - plugins/vcs/Repository.cpp Diff File

master 1673f3a8

28.05.2024 13:44

es20490446e


Details Diff
Remove unneded consts
mod - plugins/vcs/Commit.h Diff File
mod - plugins/vcs/Repository.cpp Diff File

master 666ccbc9

27.05.2024 12:14

orbweaver


Details Diff
Prevent exceptions escaping from Cam_Draw()

Since this call happens in a wxWidgets event, uncaught exceptions (e.g.
due to a shader error) will cause the program to terminate.
mod - radiant/camera/CamWnd.cpp Diff File
 First  Prev  1 2 3 4 5 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last