Changesets: DarkRadiant
|
master 78620678 20.09.2022 20:00 Details Diff |
0006095: don't create menu items for unsupported game features The menu.xml allows a new "gamefeature" attribute to be applied to a <menuItem> node. If present, this feature will be looked up in the current game using the hasFeature() method, and the menu item will not be created if the feature is not present. This is used to hide the "Make Structural" and "Make Detail" menu items for games which are not Quake 3. |
Affected Issues 0006095 |
|
| mod - install/games/darkmod.game | Diff File | ||
| mod - install/menu.xml | Diff File | ||
| mod - radiant/ui/menu/MenuElement.cpp | Diff File | ||
| mod - radiant/ui/menu/MenuElement.h | Diff File | ||
| mod - test/Game.cpp | Diff File | ||
|
master 8b7c4c05 18.09.2022 19:33 Details Diff |
0005537: Refactor SkinChooser to inherit from DeclarationSelectorDialog. |
Affected Issues 0005537 |
|
| mod - radiant/ui/common/SkinChooser.cpp | Diff File | ||
| mod - radiant/ui/common/SkinChooser.h | Diff File | ||
| mod - radiant/ui/einspector/ModelPropertyEditor.cpp | Diff File | ||
| mod - radiant/ui/einspector/SkinPropertyEditor.cpp | Diff File | ||
|
master 9c6c7ded 18.09.2022 17:59 Details Diff |
0005537: Fix Linux compilation |
Affected Issues 0005537 |
|
| mod - libs/wxutil/dialog/DialogBase.cpp | Diff File | ||
|
master 20ba7f38 18.09.2022 16:58 Details Diff |
0005537: EntityClassChooser migrated after moving the state handling code to the base |
Affected Issues 0005537 |
|
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelectorDialog.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelectorDialog.h | Diff File | ||
|
master e4888612 18.09.2022 16:43 Details Diff |
0005537: Each DeclarationSelector monitors its corresponding decl::Type to refresh the tree on reloadDecls. |
Affected Issues 0005537 |
|
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.h | Diff File | ||
|
master 43f426f9 18.09.2022 16:35 Details Diff |
0005537: A public Populate() method is now mandatory for DeclarationSelector implementations |
Affected Issues 0005537 |
|
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.h | Diff File | ||
| mod - radiant/ui/common/SkinChooser.cpp | Diff File | ||
| mod - radiant/ui/common/SoundChooser.cpp | Diff File | ||
| mod - radiant/ui/common/SoundShaderSelector.h | Diff File | ||
| mod - radiant/ui/materials/MaterialSelector.cpp | Diff File | ||
| mod - radiant/ui/materials/MaterialSelector.h | Diff File | ||
| mod - radiant/ui/particles/ParticleSelector.cpp | Diff File | ||
| mod - radiant/ui/particles/ParticleSelector.h | Diff File | ||
|
master bfcafd5c 18.09.2022 16:24 Details Diff |
0005537: Move double-click behaviour to base DeclarationSelectorDialog |
Affected Issues 0005537 |
|
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelectorDialog.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelectorDialog.h | Diff File | ||
|
master 77f90967 18.09.2022 16:19 Details Diff |
0005537: Move more common code to DeclarationSelectorDialog |
Affected Issues 0005537 |
|
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelectorDialog.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelectorDialog.h | Diff File | ||
|
master 7001d58a 18.09.2022 16:00 Details Diff |
0005537: Introduce DeclarationSelectorDialog as new base type for declaration choosers. Start refactoring EntityClassChooser, moving common code to the base. |
Affected Issues 0005537 |
|
| mod - libs/wxutil/CMakeLists.txt | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| add - libs/wxutil/decl/DeclarationSelectorDialog.cpp | Diff File | ||
| add - libs/wxutil/decl/DeclarationSelectorDialog.h | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
|
master db00b163 18.09.2022 14:16 Details Diff |
0005537: Refactored SkinChooser, code cleanup |
Affected Issues 0005537 |
|
| mod - libs/wxutil/decl/DeclarationSelector.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.h | Diff File | ||
| mod - radiant/ui/common/SkinChooser.cpp | Diff File | ||
| mod - radiant/ui/common/SkinChooser.h | Diff File | ||
| mod - radiant/ui/modelselector/MaterialsList.h | Diff File | ||
|
master 70f7fa71 18.09.2022 08:32 Details Diff |
0005537: ResourceTreeView finished event should propagate upwards |
Affected Issues 0005537 |
|
| mod - libs/wxutil/dataview/ResourceTreeView.cpp | Diff File | ||
| mod - radiant/ui/common/SkinChooser.cpp | Diff File | ||
|
master af96a3fd 18.09.2022 08:22 Details Diff |
0005537: Move more preview-related code to the SkinSelector widget. |
Affected Issues 0005537 |
|
| mod - install/user.xml | Diff File | ||
| add - libs/wxutil/preview/SkinPreview.h | Diff File | ||
| mod - radiant/ui/common/SkinChooser.cpp | Diff File | ||
| mod - radiant/ui/common/SkinChooser.h | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
|
master ac26f793 18.09.2022 07:56 Details Diff |
0005537: Start refactoring the SkinChooser |
Affected Issues 0005537 |
|
| mod - radiant/ui/common/SkinChooser.cpp | Diff File | ||
| mod - radiant/ui/common/SkinChooser.h | Diff File | ||
|
master 644a7afd 18.09.2022 07:03 Details Diff |
0005537: EntityClassChooser now implements IPersistableObject to save the last selected decl name. Precaution is necessary to not overwrite the pre-selected eclass with the one from the registry. |
Affected Issues 0005537 |
|
| mod - libs/registry/registry.h | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| mod - libs/wxutil/PanedPosition.cpp | Diff File | ||
| mod - libs/wxutil/PanedPosition.h | Diff File | ||
|
master d8c28f70 18.09.2022 06:27 Details Diff |
0005537: PanedPosition is saving the sash position to a separate registry element to avoid name clashes when multiple splitters are saved. |
Affected Issues 0005537 |
|
| mod - libs/wxutil/PanedPosition.cpp | Diff File | ||
| mod - libs/wxutil/PanedPosition.h | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.cpp | Diff File | ||
|
master b8b06d83 18.09.2022 06:17 Details Diff |
0005537: DeclarationSelector is now able to persist the sash position of the splitter window. Provided it's registered by the owning dialog to the WindowState handler. |
Affected Issues 0005537 |
|
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| mod - libs/wxutil/PanedPosition.cpp | Diff File | ||
| mod - libs/wxutil/PanedPosition.h | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.h | Diff File | ||
|
master 8505b548 18.09.2022 06:00 Details Diff |
0005537: Refactor WindowPosition, implement IPersistableObject |
Affected Issues 0005537 |
|
| mod - libs/wxutil/WindowPosition.cpp | Diff File | ||
| mod - libs/wxutil/WindowPosition.h | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.cpp | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.h | Diff File | ||
| mod - plugins/dm.objectives/ObjectiveConditionsDialog.cpp | Diff File | ||
|
master f9fc54f5 18.09.2022 05:35 Details Diff |
0005537: Take a further step and introduce a generic WindowState serialization helper. This helper will save/restore the window position as well as the state of all registered elements in a dialog that implement the IPersistableObject interface. |
Affected Issues 0005537 |
|
| add - include/ui/iwindowstate.h | Diff File | ||
| mod - libs/wxutil/CMakeLists.txt | Diff File | ||
| add - libs/wxutil/WindowState.cpp | Diff File | ||
| add - libs/wxutil/WindowState.h | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.cpp | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.h | Diff File | ||
| mod - tools/msvc/include.vcxproj | Diff File | ||
| mod - tools/msvc/include.vcxproj.filters | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
|
master a5be8ad9 18.09.2022 05:00 Details Diff |
0005537: Extend wxutil::DialogBase to maintain the window position/size, using the window name to form the registry key. DialogBase constructors now accept an optional window name for this purpose. |
Affected Issues 0005537 |
|
| mod - install/user.xml | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| mod - libs/wxutil/WindowPosition.cpp | Diff File | ||
| mod - libs/wxutil/WindowPosition.h | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.cpp | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.h | Diff File | ||
|
master 6f9daf3e 17.09.2022 16:51 Details Diff |
0005537: Refactor wxutil::DialogBase, cleanup #includes |
Affected Issues 0005537 |
|
| mod - libs/wxutil/dialog/Dialog.cpp | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.cpp | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.h | Diff File | ||
|
master 7c3b550d 17.09.2022 16:39 Details Diff |
0005537: Remove the EntityClassChooser XRC, all there was left in the XRC file were the buttons, which are now replaced by a standard button sizer. |
Affected Issues 0005537 |
|
| rm - install/ui/entityclasschooser.fbp | Diff | ||
| rm - install/ui/entityclasschooser.xrc | Diff | ||
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
|
master c37a0b3a 17.09.2022 16:17 Details Diff |
0005537: DeclarationSelector creates a splitter window as soon as a preview is added to the right panel |
Affected Issues 0005537 |
|
| mod - libs/wxutil/decl/DeclarationSelector.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.h | Diff File | ||
|
master 8b9329a5 17.09.2022 15:46 Details Diff |
0005537: Convert entity description text to IDeclarationPreview to receive automatic selection updates. |
Affected Issues 0005537 |
|
| mod - install/ui/entityclasschooser.fbp | Diff File | ||
| mod - install/ui/entityclasschooser.xrc | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.cpp | Diff File | ||
| mod - libs/wxutil/decl/DeclarationSelector.h | Diff File | ||
|
master 5577a829 17.09.2022 15:16 Details Diff |
0005537: Introduce EntityClassPreview (a specialised ModelPreview) and move ownership to EntityClassSelector. |
Affected Issues 0005537 |
|
| mod - install/ui/entityclasschooser.fbp | Diff File | ||
| mod - install/ui/entityclasschooser.xrc | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
| add - libs/wxutil/preview/EntityClassPreview.h | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
|
master fb00152f 17.09.2022 14:55 Details Diff |
0005537: Remove redundant controls |
Affected Issues 0005537 |
|
| mod - install/ui/entityclasschooser.fbp | Diff File | ||
| mod - install/ui/entityclasschooser.xrc | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
| mod - libs/wxutil/EntityClassChooser.h | Diff File | ||