Changesets: DarkRadiant

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

master 004e4095

27.05.2024 12:14

orbweaver


Details Diff
Redirect wx assertions to console on Linux
mod - radiant/RadiantApp.cpp Diff File

master a830b03e

25.05.2024 12:14

orbweaver


Details Diff
Update build scripts for 3.9.1
mod - CMakeLists.txt Diff File
mod - debian/changelog Diff File

master 47bad8bd

22.05.2024 18:44

orbweaver


Details Diff
Fix some IDE code parsing errors
mod - radiant/camera/CameraSettings.cpp Diff File

master 9e791ff8

21.05.2024 18:51

orbweaver


Details Diff
Fix RGTC normal maps showing as black in lighting preview mode

Although we were correctly loading RGTC normal maps into the appropriate
destination format, there was no code in the shader to actually handle
the missing Z value, resulting in RGTC normal maps showing as entirely
black.

The Z value is now recovered for all normal maps (because it's much
easier than having to implement format-specific shader behaviour, and
should be fairly quick), using a simple application of Pythagoras. I
can't prove that this is 100% mathematically correct but it seems to
give realistic results, and is a lot better than black.
mod - install/gl/interaction_fp.glsl Diff File
mod - radiantcore/rendersystem/backend/GLProgramFactory.cpp Diff File

master 00f1140a

08.05.2024 18:20

orbweaver


Details Diff
Update Surface Inspector screenshot in manual
mod - doc/img/SurfaceInspector.png Diff File
mod - doc/manual.adoc Diff File

master ba312b37

05.05.2024 19:57

orbweaver


Details Diff
Remove extraneous asterisks from background image manual section
mod - doc/manual.adoc Diff File

master b67318f5

24.04.2024 18:48

orbweaver


Details Diff
0006514: Skin Name text control only commits changes on ENTER

The previous event was emitted on every character change, which was far
too frequent and led to performance problems and strange behaviour. By
setting the PROCESS_ENTER style flag we can connect instead to an event
which is only emitted when the ENTER key is pressed, which is the more
usual behaviour when editing the name of something in a text field.
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
 First  Prev  1 2 3 4 5 6 7 8 9 10 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 269 270 271  Next  Last