Changesets: DarkRadiant

layersystem_restructuring 23307e92

13.03.2020 07:21

greebo


Details Diff
Introduce ILayerModule which can create several layer systems to be hosted by the map root node.
mod - include/ilayer.h Diff File
mod - include/imap.h Diff File
mod - libs/scene/BasicRootNode.h Diff File
add - radiant/layers/LayerModule.cpp Diff File
mod - radiant/layers/LayerSystem.cpp Diff File
mod - radiant/layers/LayerSystem.h Diff File
mod - radiant/map/RootNode.cpp Diff File
mod - radiant/map/RootNode.h Diff File
mod - radiant/map/format/Doom3MapFormat.cpp Diff File
mod - radiant/map/format/Quake3MapFormat.cpp Diff File
mod - radiant/map/format/Quake4MapFormat.cpp Diff File
mod - radiant/map/format/portable/PortableMapFormat.cpp Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

layersystem_restructuring bc1727f9

12.03.2020 17:29

greebo


Details Diff
Return the layer list by ref-to-const
mod - include/ilayer.h Diff File
mod - libs/scene/LayerValidityCheckWalker.h Diff File
mod - libs/scene/Node.cpp Diff File
mod - libs/scene/Node.h Diff File
mod - radiant/layers/LayerSystem.cpp Diff File
mod - radiant/layers/LayerUsageBreakdown.cpp Diff File
mod - radiant/layers/SetLayerSelectedWalker.h Diff File
mod - radiant/map/format/portable/PortableMapWriter.cpp Diff File

layersystem_restructuring f37dc031

11.03.2020 15:49

greebo


Details Diff
Handle more than one possible prefab format in PrefabPopulator class
mod - radiant/ui/prefabselector/PrefabPopulator.cpp Diff File
mod - radiant/ui/prefabselector/PrefabPopulator.h Diff File

layersystem_restructuring 1c52da23

11.03.2020 15:32

greebo


Details Diff
Enable prefab export in portable format.
mod - radiant/map/MapFileManager.cpp Diff File
mod - radiant/map/format/portable/PortableMapFormat.cpp Diff File

master b9732a93

10.03.2020 21:24

orbweaver


Details Diff
Add documentation for the Difficulty editor
add - doc/img/DifficultyEditor.png Diff File
mod - doc/manual.adoc Diff File
mod - doc/manual.html Diff File

portable_map_format 8ba24231

10.03.2020 17:00

greebo


Details Diff
Instead of re-writing groups on the fly when inserting into the target scene, the new approach is to remove any conflicts before starting to migrate the nodes. This is similar to the approach taken when removing the name conflicts (NamespaceManager::ensureNoConflicts).
mod - radiant/map/algorithm/Import.cpp Diff File

portable_map_format 9b075992

10.03.2020 13:35

greebo


Details Diff
Expand the map marge/import code to handle incoming selection group assignments, assigning new group IDs not in conflict with the target scene.
mod - include/iselectiongroup.h Diff File
mod - libs/scene/SelectableNode.cpp Diff File
mod - libs/scene/SelectableNode.h Diff File
mod - radiant/map/algorithm/Import.cpp Diff File

portable_map_format 51aa21b0

10.03.2020 13:33

greebo


Details Diff
Allow string::join to handle non-string types by using the string::to_string convertor
mod - libs/string/join.h Diff File

portable_map_format f0ed1c9b

10.03.2020 04:10

greebo


Details Diff
Move map merge functions to Import.h file. Rename and refactor a few classes to reduce code duplication.
mod - libs/scenelib.h Diff File
mod - radiant/map/Map.cpp Diff File
mod - radiant/map/algorithm/Import.cpp Diff File
mod - radiant/map/algorithm/Import.h Diff File
rm - radiant/map/algorithm/Merge.h Diff
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

portable_map_format 84c8feb5

09.03.2020 15:52

greebo


Details Diff
Move common conflict handling code to map::algorithm namespace
mod - radiant/map/Map.cpp Diff File
mod - radiant/map/algorithm/Import.cpp Diff File
mod - radiant/map/algorithm/Import.h Diff File
mod - radiant/selection/algorithm/Transformation.cpp Diff File

portable_map_format 6bb8f7ef

09.03.2020 15:27

greebo


Details Diff
Fix 0005173: Remove Namespace.connect() calls when importing nodes from any source, be it the clipboard, a prefab file or when cloning nodes from the current map. This fixes the console warnings about nodes being attached to the same namespace again. This is basically a follow-up of commit 3575385 made in 2012. Affected Issues
0005173
mod - radiant/map/Map.cpp Diff File
mod - radiant/selection/algorithm/Transformation.cpp Diff File

portable_map_format e43b36ff

09.03.2020 14:42

greebo


Details Diff
Handle undoable operations in a correct way. Low-level algorithm shouldn't start undoable operations on their own, this is the responsibility of calling code. This fixes the crash occurring in ff33068.
Creating another undoable operation when a previous one is already opened will lead to an assertion now.
mod - radiant/selection/algorithm/Group.cpp Diff File
mod - radiant/selection/group/SelectionGroupManager.cpp Diff File
mod - radiant/selection/group/SelectionGroupManager.h Diff File
mod - radiant/undo/Stack.h Diff File

master 09145952

03.03.2020 20:49

orbweaver


Details Diff
Minor tweak to DifficultyEditor .fbp file

Set the global properties in the .fbp file to specify that we are generating
XML code (not C++ which is the default), and that the output file should be
named 'difficultyeditor'. This causes wxFormBuilder to automatically write the
correct .xrc file when pressing F8.

Also removed the internal border inside the left-hand tree panel, so that the
inserted tree view is horizontally aligned with the buttons.
mod - install/ui/difficultyeditor.fbp Diff File
mod - install/ui/difficultyeditor.xrc Diff File

master 2b2c39d1

02.03.2020 20:55

orbweaver


Details Diff
Show useful difficulty names in the Difficulty editor

The default difficulty names are contained within the 'difficultyMenu' entity
def stored inside the mod data itself; however these names are intended to be
translated using the mod-specific translation system, which is not read or
processed by DarkRadiant. Therefore the names actually shown in the GUI were
meaningless string table entries like '#str_03000', rather than the
user-friendly names like 'Easy'.

Rather than try to support the entire mod translation system, which would be a
massive task, a simple string table lookup is performed based on the contents
of additional <string> nodes which have been added to the darkmod.game file.
Affected Issues
0005210
mod - install/games/darkmod.game Diff File
mod - libs/gamelib.h Diff File
mod - plugins/dm.difficulty/DifficultySettingsManager.cpp Diff File

master 28358ed0

26.02.2020 21:36

orbweaver


Details Diff
Fix assertion failure on opening Difficulty editor

Tab images were placed into a wxImageList but this list was never set on the
wxNotebook with SetImageList(), causing an assertion failure.
mod - plugins/dm.difficulty/DifficultyDialog.cpp Diff File

master 8ee8e421

25.02.2020 21:19

orbweaver


Details Diff
Remove close button from modal dialogs

A user reported that accidentally closing dialogs such as the Objectives editor
with the top-right close button can result in data loss, because the dialog
treats this as "Cancel" and does not prompt to save changes. Now the close
button is removed, so a user must explicitly choose to click one of the main
buttons at the bottom.

I don't know for sure whether the wxSYSTEM_MENU style is needed, but since it
was part of the wxDEFAULT_DIALOG_STYLE and I'm not in a position to test its
removal (it only has an effect on Windows according to the docs), it is left in
for now.
Affected Issues
0005209
mod - libs/wxutil/dialog/DialogBase.cpp Diff File

master a6c3540f

25.02.2020 21:18

orbweaver


Details Diff
Move DialogBase method bodies into a separate .cpp file
mod - libs/wxutil/Makefile.am Diff File
add - libs/wxutil/dialog/DialogBase.cpp Diff File
mod - libs/wxutil/dialog/DialogBase.h Diff File

master ce08c7ff

25.02.2020 20:43

orbweaver


Details Diff
Fix a couple of typos in the Objective Components editor
mod - install/ui/objectivecomponentsdialog.fbp Diff File
mod - install/ui/objectivecomponentsdialog.xrc Diff File

portable_map_format 686fae6c

05.02.2020 03:44

greebo


Details Diff
Migrate all code to use the selection group manager hosted by the map root.
mod - include/inode.h Diff File
mod - libs/scene/Node.h Diff File
mod - radiant/map/format/portable/PortableMapReader.cpp Diff File
mod - radiant/map/format/portable/PortableMapWriter.cpp Diff File
mod - radiant/selection/algorithm/Transformation.cpp Diff File
mod - radiant/selection/group/SelectionGroupInfoFileModule.cpp Diff File
mod - radiant/selection/group/SelectionGroupInfoFileModule.h Diff File
mod - radiant/selection/group/SelectionGroupModule.cpp Diff File

master c7e288dc

04.02.2020 21:16

orbweaver


Details Diff
Start new manual section on reparenting primitives

The operation of converting brushes and patches to/from func_static entities
has not yet been mentioned, so a new section to cover this has been added under
Basic Editing.
mod - doc/manual.adoc Diff File
mod - doc/manual.html Diff File

portable_map_format 65923186

04.02.2020 04:52

greebo


Details Diff
Extend scene::Node by getRootNode() method, needed by the SelectableNode implementation to locate the selection group manager.
Fix selection group script interface compilation.
Still not compiling.
mod - include/iselectiongroup.h Diff File
mod - libs/scene/BasicRootNode.h Diff File
mod - libs/scene/Node.cpp Diff File
mod - libs/scene/Node.h Diff File
mod - libs/scene/SelectableNode.cpp Diff File
mod - plugins/script/interfaces/SelectionGroupInterface.cpp Diff File
mod - radiant/map/RootNode.cpp Diff File
mod - radiant/map/RootNode.h Diff File

portable_map_format b3c5d731

03.02.2020 04:36

greebo


Details Diff
Assert on a RegisterableModule being registered in the StaticModule template.
mod - radiant/modulesystem/StaticModule.h Diff File

portable_map_format 0c7357f5

03.02.2020 04:35

greebo


Details Diff
Restructuring the code to move the selection group manager to be a member of the root node.
Non-compiling WIP commit.
mod - include/imap.h Diff File
mod - include/iselectiongroup.h Diff File
mod - libs/scene/SelectableNode.cpp Diff File
mod - radiant/Makefile.am Diff File
mod - radiant/selection/algorithm/Group.cpp Diff File
mod - radiant/selection/algorithm/Group.h Diff File
mod - radiant/selection/group/SelectionGroupManager.cpp Diff File
mod - radiant/selection/group/SelectionGroupManager.h Diff File
add - radiant/selection/group/SelectionGroupModule.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

portable_map_format ff33068d

30.01.2020 04:32

greebo


Details Diff
Move clipboard import algorithm to separate file. (This commit is crashing after importing => WIP).
mod - radiant/map/Map.cpp Diff File
mod - radiant/map/Map.h Diff File
mod - radiant/map/algorithm/Import.cpp Diff File
mod - radiant/map/algorithm/Import.h Diff File
mod - radiant/map/algorithm/Merge.h Diff File
mod - radiant/selection/clipboard/Clipboard.cpp Diff File

portable_map_format 98965de5

30.01.2020 04:01

greebo


Details Diff
When exporting to the system clipboard, use the portable format which is able to store layer and grouping information.
mod - radiant/map/Map.cpp Diff File
mod - radiant/map/Map.h Diff File
mod - radiant/map/format/portable/PortableMapFormat.cpp Diff File
mod - radiant/map/format/portable/PortableMapFormat.h Diff File
mod - radiant/selection/clipboard/Clipboard.cpp Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 216 217 218 219 220 221 222 ... 240 ... 264 265 266  Next  Last