Changesets: DarkRadiant
master 11cd8c26 07.02.2021 08:48 Details Diff |
0005527: Move static wx initialisation code to RadiantApp, add the corresponding tear down calls rather than leaving the app without cleanup. |
Affected Issues 0005527 |
|
mod - radiant/RadiantApp.cpp | Diff File | ||
mod - radiant/RadiantApp.h | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
master 7a7207fd 07.02.2021 08:07 Details Diff |
0005527: Since modules cannot know that the UI manager is registering the local art provider, or rely on it happening in time, the LocalBitmapArtProvider is now instantiated right at application startup in RadiantApp. |
Affected Issues 0005527 |
|
mod - radiant/RadiantApp.cpp | Diff File | ||
mod - radiant/RadiantApp.h | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
master 4a396dd8 07.02.2021 07:54 Details Diff |
0005527: Replace all occurrences of wxArtProvider::GetBitmap(GlobalUIManager().getArtIdPrefix() + "bla") with wxutil::GetLocalBitmap("bla"). The UI manager module no longer exposes that prefix, now that wxutil::GetLocalBitmap is the only client. |
Affected Issues 0005527 |
|
mod - include/iuimanager.h | Diff File | ||
mod - libs/wxutil/Bitmap.h | Diff File | ||
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - libs/wxutil/dataview/ResourceTreeView.cpp | Diff File | ||
mod - libs/wxutil/dataview/ResourceTreeViewToolbar.cpp | Diff File | ||
mod - libs/wxutil/dataview/TreeView.cpp | Diff File | ||
mod - libs/wxutil/fsview/FileSystemView.cpp | Diff File | ||
mod - libs/wxutil/fsview/Populator.cpp | Diff File | ||
mod - libs/wxutil/menu/IconTextMenuItem.h | Diff File | ||
mod - libs/wxutil/preview/ParticlePreview.cpp | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
mod - libs/wxutil/window/TransientWindow.cpp | Diff File | ||
mod - plugins/dm.conversation/CommandArgumentItem.cpp | Diff File | ||
mod - plugins/dm.editing/AIEditingPanel.cpp | Diff File | ||
mod - plugins/dm.editing/AIHeadPropertyEditor.cpp | Diff File | ||
mod - plugins/dm.editing/AIVocalSetPreview.cpp | Diff File | ||
mod - plugins/dm.editing/AIVocalSetPropertyEditor.cpp | Diff File | ||
mod - plugins/dm.gui/GuiSelector.cpp | Diff File | ||
mod - plugins/dm.gui/XDataSelector.cpp | Diff File | ||
mod - plugins/dm.stimresponse/SREntity.cpp | Diff File | ||
mod - plugins/dm.stimresponse/StimTypes.cpp | Diff File | ||
mod - radiant/ui/aas/AasControl.cpp | Diff File | ||
mod - radiant/ui/common/ShaderSelector.cpp | Diff File | ||
mod - radiant/ui/eclasstree/EClassTree.cpp | Diff File | ||
mod - radiant/ui/eclasstree/EClassTreeBuilder.cpp | Diff File | ||
mod - radiant/ui/einspector/AddPropertyDialog.cpp | Diff File | ||
mod - radiant/ui/einspector/AnglePropertyEditor.cpp | Diff File | ||
mod - radiant/ui/einspector/EntityInspector.cpp | Diff File | ||
mod - radiant/ui/einspector/ModelPropertyEditor.cpp | Diff File | ||
mod - radiant/ui/einspector/PropertyEditorFactory.cpp | Diff File | ||
mod - radiant/ui/einspector/SkinChooser.cpp | Diff File | ||
mod - radiant/ui/favourites/FavouritesBrowser.cpp | Diff File | ||
mod - radiant/ui/layers/LayerControl.cpp | Diff File | ||
mod - radiant/ui/mainframe/TopLevelFrame.cpp | Diff File | ||
mod - radiant/ui/mapinfo/MapInfoDialog.cpp | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp | Diff File | ||
mod - radiant/ui/modelselector/ModelDataInserter.h | Diff File | ||
mod - radiant/ui/modelselector/ModelPopulator.h | Diff File | ||
mod - radiant/ui/patch/CapDialog.cpp | Diff File | ||
mod - radiant/ui/patch/PatchInspector.cpp | Diff File | ||
mod - radiant/ui/selectionset/SelectionSetToolmenu.cpp | Diff File | ||
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
mod - radiant/ui/transform/TransformDialog.cpp | Diff File | ||
mod - radiant/uimanager/SoundChooser.cpp | Diff File | ||
mod - radiant/uimanager/SoundShaderPreview.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
master ca89e71c 07.02.2021 07:35 Details Diff |
0005527: Use wxutil::GetLocalBitmap to be more concise about where the method is loading bitmaps from. GetLocalBitmap is directly referencing the LocalBitmapArtProvider static prefix, bypassing the UI manager module. Construct LocalBitmapArtProvider with the search path instead of having it look up the path every time from the application context. |
Affected Issues 0005527 |
|
mod - libs/wxutil/Bitmap.h | Diff File | ||
mod - libs/wxutil/LocalBitmapArtProvider.h | Diff File | ||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
mod - radiant/ui/menu/MenuItem.cpp | Diff File | ||
mod - radiant/ui/statusbar/StatusBarManager.cpp | Diff File | ||
mod - radiant/ui/toolbar/ToolbarManager.cpp | Diff File | ||
mod - radiant/uimanager/GroupDialog.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
master 01a74f13 07.02.2021 07:26 Details Diff |
0005527: Move LocalBitmapArtProvider to wxutil library. Rename bitmap.h filename to leading uppercase to fit the rest of the files. |
Affected Issues 0005527 |
|
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
mod - radiant/ui/menu/MenuItem.cpp | Diff File | ||
mod - radiant/ui/statusbar/StatusBarManager.cpp | Diff File | ||
mod - radiant/ui/toolbar/ToolbarManager.cpp | Diff File | ||
mod - radiant/uimanager/GroupDialog.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
master 751d8f9a 07.02.2021 07:13 Details Diff |
0005527: Handle art provider (de-)registration in the LocalBitmapArtProvider class itself |
Affected Issues 0005527 |
|
mod - radiant/uimanager/LocalBitmapArtProvider.h | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
master 4021f236 07.02.2021 07:05 Details Diff |
0005527: Move animation preview and colourscheme editor to ui/ folder |
Affected Issues 0005527 |
|
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiant/uimanager/DialogManager.cpp | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master dcf6d394 07.02.2021 06:59 Details Diff |
0005527: Linux build adjusted |
Affected Issues 0005527 |
|
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/ui/mainframe/EmbeddedLayout.cpp | Diff File | ||
mod - radiant/ui/mainframe/RegularLayout.cpp | Diff File | ||
mod - radiant/ui/mainframe/SplitPaneLayout.cpp | Diff File | ||
mod - radiant/ui/mainframe/TopLevelFrame.cpp | Diff File | ||
mod - radiant/ui/script/ScriptUserInterfaceModule.cpp | Diff File | ||
master 47202d3b 07.02.2021 06:11 Details Diff |
0005527: Move MenuManager files to ui/menu/ |
Affected Issues 0005527 |
|
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master d3f3cf0a 07.02.2021 06:08 Details Diff |
0005527: Move MenuManager to separate interface file imenumanager.h, refactor namespace a bit. |
Affected Issues 0005527 |
|
add - include/imenumanager.h | Diff File | ||
mod - include/iuimanager.h | Diff File | ||
mod - plugins/dm.conversation/plugin.cpp | Diff File | ||
mod - plugins/dm.difficulty/plugin.cpp | Diff File | ||
mod - plugins/dm.editing/plugin.cpp | Diff File | ||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
mod - plugins/dm.gui/plugin.cpp | Diff File | ||
mod - plugins/dm.objectives/objectives.cpp | Diff File | ||
mod - plugins/dm.stimresponse/plugin.cpp | Diff File | ||
mod - radiant/ui/filters/FiltersMainMenu.cpp | Diff File | ||
mod - radiant/ui/mainframe/EmbeddedLayout.cpp | Diff File | ||
mod - radiant/ui/mainframe/LayoutCommand.h | Diff File | ||
mod - radiant/ui/mainframe/RegularLayout.cpp | Diff File | ||
mod - radiant/ui/mainframe/SplitPaneLayout.cpp | Diff File | ||
mod - radiant/ui/mainframe/TopLevelFrame.cpp | Diff File | ||
mod - radiant/ui/mru/MRUMenu.h | Diff File | ||
mod - radiant/ui/script/ScriptMenu.cpp | Diff File | ||
mod - radiant/ui/script/ScriptUserInterfaceModule.cpp | Diff File | ||
mod - radiant/ui/statusbar/StatusBarManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
mod - radiant/uimanager/menu/MenuBar.cpp | Diff File | ||
mod - radiant/uimanager/menu/MenuBar.h | Diff File | ||
mod - radiant/uimanager/menu/MenuElement.cpp | Diff File | ||
mod - radiant/uimanager/menu/MenuElement.h | Diff File | ||
mod - radiant/uimanager/menu/MenuFolder.cpp | Diff File | ||
mod - radiant/uimanager/menu/MenuFolder.h | Diff File | ||
mod - radiant/uimanager/menu/MenuItem.cpp | Diff File | ||
mod - radiant/uimanager/menu/MenuItem.h | Diff File | ||
mod - radiant/uimanager/menu/MenuManager.cpp | Diff File | ||
mod - radiant/uimanager/menu/MenuManager.h | Diff File | ||
mod - radiant/uimanager/menu/MenuRootElement.h | Diff File | ||
mod - radiant/uimanager/menu/MenuSeparator.cpp | Diff File | ||
mod - radiant/uimanager/menu/MenuSeparator.h | Diff File | ||
mod - tools/msvc/include.vcxproj | Diff File | ||
master eaca85ec 06.02.2021 17:10 Details Diff |
0005527: Make ToolbarManager a separate module, extract interface to itoolbarmanager.h |
Affected Issues 0005527 |
|
add - include/itoolbarmanager.h | Diff File | ||
mod - include/iuimanager.h | Diff File | ||
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/textool/TexTool.cpp | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiant/ui/mainframe/TopLevelFrame.cpp | Diff File | ||
mod - radiant/ui/mainframe/TopLevelFrame.h | Diff File | ||
mod - radiant/ui/texturebrowser/TextureBrowser.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
mod - tools/msvc/include.vcxproj | Diff File | ||
master aec77c09 06.02.2021 15:09 Details Diff |
0005527: Move constant to the one place it's being used |
Affected Issues 0005527 |
|
mod - include/istatusbarmanager.h | Diff File | ||
mod - radiant/eventmanager/MouseToolManager.cpp | Diff File | ||
mod - radiant/ui/statusbar/StatusBarManager.cpp | Diff File | ||
master d414d9c1 06.02.2021 15:03 Details Diff |
0005527: Move more classes to ui::statusbar namespace. |
Affected Issues 0005527 |
|
mod - include/istatusbarmanager.h | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiant/ui/UserInterfaceModule.h | Diff File | ||
mod - radiant/ui/grid/GridUserInterface.cpp | Diff File | ||
mod - radiant/ui/statusbar/EditingStopwatchStatus.cpp | Diff File | ||
mod - radiant/ui/statusbar/EditingStopwatchStatus.h | Diff File | ||
mod - radiant/ui/statusbar/MapStatistics.cpp | Diff File | ||
mod - radiant/ui/statusbar/StatusBarManager.cpp | Diff File | ||
mod - radiant/ui/statusbar/StatusBarManager.h | Diff File | ||
mod - radiant/xyview/GlobalXYWnd.cpp | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master b7022c4a 06.02.2021 14:48 Details Diff |
0005527: Move map statistics status bar widget into its own object. |
Affected Issues 0005527 |
|
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiant/ui/UserInterfaceModule.h | Diff File | ||
add - radiant/ui/statusbar/MapStatistics.cpp | Diff File | ||
add - radiant/ui/statusbar/MapStatistics.h | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
mod - radiant/xyview/GlobalXYWnd.cpp | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
master 3b486271 06.02.2021 13:35 Details Diff |
Add failing test for attached light position Test confirms observed behaviour in GUI, attached light is appearing at the origin rather than offset relative to the parent entity position. |
||
mod - test/Entity.cpp | Diff File | ||
master 3e8f58a2 06.02.2021 13:05 Details Diff |
Improve readability of show light/speaker radius icons These original icons are quite difficult to distinguish at 16x16 on high-res displays. Replace with flat designs based on a large orange light bulb and a large purple loudspeaker symbol to make the difference clearer. |
||
mod - install/bitmaps/view_show_lightradii.png | Diff File | ||
mod - install/bitmaps/view_show_speakerradii.png | Diff File | ||
master b77588dd 06.02.2021 12:18 Details Diff |
Add unit tests for func_static creation and rendering Confirm that func_static renders nothing without a "model" key, then the expected number of renderables once a model is set. |
||
mod - include/irender.h | Diff File | ||
mod - test/Entity.cpp | Diff File | ||
master db5acfe5 06.02.2021 10:06 Details Diff |
0005527: Extract status bar manager interface to separate file. |
Affected Issues 0005527 |
|
add - include/istatusbarmanager.h | Diff File | ||
mod - include/iuimanager.h | Diff File | ||
mod - radiant/eventmanager/MouseToolManager.cpp | Diff File | ||
mod - radiant/ui/grid/GridUserInterface.cpp | Diff File | ||
mod - radiant/ui/mainframe/TopLevelFrame.cpp | Diff File | ||
mod - radiant/ui/shaderclipboard/ShaderClipboardStatus.h | Diff File | ||
mod - radiant/ui/statusbar/EditingStopwatchStatus.cpp | Diff File | ||
mod - radiant/uimanager/StatusBarManager.cpp | Diff File | ||
mod - radiant/uimanager/StatusBarManager.h | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
mod - radiant/xyview/GlobalXYWnd.cpp | Diff File | ||
mod - radiant/xyview/XYWnd.cpp | Diff File | ||
mod - tools/msvc/include.vcxproj | Diff File | ||
master 3736c00e 06.02.2021 05:14 Details Diff |
0005527: Fix a name collision compiler warning |
Affected Issues 0005527 |
|
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp | Diff File | ||
master 2279efed 06.02.2021 05:10 Details Diff |
0005527: FilterPopupMenu inherits from wxutil::PopupMenu because that's what it is |
Affected Issues 0005527 |
|
mod - libs/wxutil/menu/FilterPopupMenu.cpp | Diff File | ||
mod - libs/wxutil/menu/FilterPopupMenu.h | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
master 9f26b942 06.02.2021 05:04 Details Diff |
0005527: Move FilterMenu class to wxutil, it's only used by the RenderPreview class which happens to be in wxutil too. Rename class to FilterPopupMenu. Remove the global interface for it. |
Affected Issues 0005527 |
|
rm - include/ifiltermenu.h | Diff | ||
mod - include/iuimanager.h | Diff File | ||
mod - include/precompiled_interfaces.h | Diff File | ||
mod - libs/wxutil/CMakeLists.txt | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.h | Diff File | ||
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/uimanager/UIManager.cpp | Diff File | ||
mod - radiant/uimanager/UIManager.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
mod - tools/msvc/include.vcxproj | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
master 7ffc528b 05.02.2021 19:54 Details Diff |
Refactor overridden SetUp() and TearDown() Since any non-trivial test must rely on RadiantTest's standard SetUp() and TearDown() code to correctly start and stop the core module, test subclasses must use the fragile CallSuper anti-pattern if they want to add any custom code to this phase. RadiantTest now defines empty virtual methods preStartup(), preShutdown() and postShutdown() which subclasses can override to inject custom code at the appropriate time, without having to remember to call methods on the base class to avoid breaking the setup procedure. |
||
mod - test/ColourSchemes.cpp | Diff File | ||
mod - test/Favourites.cpp | Diff File | ||
mod - test/MapSavingLoading.cpp | Diff File | ||
mod - test/RadiantTest.h | Diff File | ||
master fa39eb98 05.02.2021 17:52 Details Diff |
0005524: Add portal_sky filter to default filters |
Affected Issues 0005524 |
|
mod - install/games/darkmod.game | Diff File | ||
master 90d10fc8 05.02.2021 17:03 Details Diff |
0004644: Add unit test to check the material fallback behaviour in the TDM game configuration |
Affected Issues 0004644 |
|
mod - test/Models.cpp | Diff File | ||
add - test/resources/tdm/models/missing_texture.ase | Diff File | ||
master 0bcf5307 05.02.2021 16:52 Details Diff |
0004644: TDM/idTech4 is not falling back to *MATERIAL_NAME if *BITMAP is not loadable, so wrap a condition around the XreaL behaviour to check the flag in the game config. |
Affected Issues 0004644 |
|
mod - install/games/darkmod.game | Diff File | ||
mod - install/games/doom3.game | Diff File | ||
mod - install/games/xreal.game | Diff File | ||
mod - radiantcore/model/picomodel/StaticModelSurface.cpp | Diff File |