Changesets: DarkRadiant
portable_map_format e43b36ff 09.03.2020 14:42 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 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 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 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 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 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 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 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 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 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 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 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 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 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 | ||
portable_map_format f904d730 29.01.2020 06:00 Details Diff |
Move map format detection algorithm to separate file, so it can be used from different sources. | ||
mod - include/imapformat.h | Diff File | ||
mod - radiant/Makefile.am | Diff File | ||
mod - radiant/map/MapFormatManager.cpp | Diff File | ||
mod - radiant/map/MapFormatManager.h | Diff File | ||
mod - radiant/map/MapResource.cpp | Diff File | ||
mod - radiant/map/MapResource.h | Diff File | ||
add - radiant/map/algorithm/Import.cpp | Diff File | ||
add - radiant/map/algorithm/Import.h | Diff File | ||
mod - radiant/map/format/Doom3PrefabFormat.cpp | Diff File | ||
mod - radiant/map/format/Doom3PrefabFormat.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master f971659a 28.01.2020 21:39 Details Diff |
Initial documentation of the "Reparent primitives..." commands Probably a separate section will be needed to properly document these features, since they are a bit too complex to be described only in a brief "Command reference" overview. |
||
mod - doc/manual.adoc | Diff File | ||
mod - doc/manual.html | Diff File | ||
portable_map_format 60ac2bd8 24.01.2020 13:20 Details Diff |
Move Map::getFormatForFile() to MapFormatManager::getMapFormatForFilename() | ||
mod - include/imapformat.h | Diff File | ||
mod - radiant/map/Map.cpp | Diff File | ||
mod - radiant/map/Map.h | Diff File | ||
mod - radiant/map/MapFormatManager.cpp | Diff File | ||
mod - radiant/map/MapFormatManager.h | Diff File | ||
mod - radiant/map/RegionManager.cpp | Diff File | ||
portable_map_format 7606277d 23.01.2020 18:56 Details Diff |
Tweak a few strings for better appearance in the map file browser | ||
mod - radiant/map/MapFileManager.cpp | Diff File | ||
mod - radiant/map/format/portable/PortableMapFormat.cpp | Diff File | ||
portable_map_format dcd9a3a7 23.01.2020 04:54 Details Diff |
Better handling of map events, the MapSaving/MapSaved events are fired on exporting a map as well now. Handle map editing stop watch in portable map format. Fix a copy/paste error in the IKeyValueStore interface. |
||
mod - include/ikeyvaluestore.h | Diff File | ||
mod - install/menu.xml | Diff File | ||
mod - libs/KeyValueStore.h | Diff File | ||
mod - radiant/map/EditingStopwatch.cpp | Diff File | ||
mod - radiant/map/EditingStopwatch.h | Diff File | ||
mod - radiant/map/Map.cpp | Diff File | ||
mod - radiant/map/Map.h | Diff File | ||
mod - radiant/map/format/portable/PortableMapReader.cpp | Diff File | ||
portable_map_format f04eb1b3 22.01.2020 18:23 Details Diff |
Parse layer and selection group/set info from the file. | ||
mod - radiant/map/format/portable/PortableMapReader.cpp | Diff File | ||
mod - radiant/map/format/portable/PortableMapReader.h | Diff File | ||
master 2629ada5 21.01.2020 21:23 Details Diff |
Document first few items in the the Edit menu | ||
mod - doc/manual.adoc | Diff File | ||
mod - doc/manual.html | Diff File | ||
portable_map_format 48e0cf92 21.01.2020 18:27 Details Diff |
Implement patch loading from portable map format | ||
mod - radiant/map/format/portable/PortableMapReader.cpp | Diff File | ||
portable_map_format 0ff304bf 21.01.2020 17:47 Details Diff |
Implement parsing brushes from portable map format. | ||
mod - radiant/map/format/portable/PortableMapReader.cpp | Diff File | ||
mod - radiant/map/format/portable/PortableMapReader.h | Diff File | ||
portable_map_format 4156af5b 21.01.2020 05:02 Details Diff |
More PortableMapReader implementation | ||
mod - radiant/map/format/portable/PortableMapReader.cpp | Diff File | ||
mod - radiant/map/format/portable/PortableMapReader.h | Diff File | ||
portable_map_format b1170c9a 21.01.2020 03:44 Details Diff |
Start implementing the PortableMapReader class. Expand a few interfaces to support the loading process. |
||
mod - include/ikeyvaluestore.h | Diff File | ||
mod - include/imapformat.h | Diff File | ||
mod - libs/KeyValueStore.h | Diff File | ||
mod - radiant/map/Map.cpp | Diff File | ||
mod - radiant/map/algorithm/MapImporter.cpp | Diff File | ||
mod - radiant/map/algorithm/MapImporter.h | Diff File | ||
mod - radiant/map/format/portable/PortableMapReader.cpp | Diff File | ||
mod - radiant/map/format/portable/PortableMapReader.h | Diff File |