Changesets: DarkRadiant
master 004e4095 27.05.2024 12:14 Details Diff |
Redirect wx assertions to console on Linux | ||
mod - radiant/RadiantApp.cpp | Diff File | ||
master a830b03e 25.05.2024 12:14 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 Details Diff |
Fix some IDE code parsing errors | ||
mod - radiant/camera/CameraSettings.cpp | Diff File | ||
master 9e791ff8 21.05.2024 18:51 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 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 Details Diff |
Remove extraneous asterisks from background image manual section | ||
mod - doc/manual.adoc | Diff File | ||
master b67318f5 24.04.2024 18:48 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 | ||
master debc7152 24.04.2024 18:29 Details Diff |
0006514: minor layout tweaks in Skin Editor Remove low-information static labels; shorten button labels and set correct stock wxIDs (although I'm not sure if the IDs do anything here). |
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 | ||
master 09e5ec1c 21.04.2024 19:33 Details Diff |
Avoid creating speaker min/max spawnargs when moving a speaker Instead of unconditionally creating min/max distance spawnargs in SpeakerNode::freezeTransform, we now write them under two different conditions: if the modified speaker radii differ from the shader default, or if there were already min/max spawnargs to begin with. This prevents creating redundant spawnargs just because a speaker was moved, but also will not remove existing spawnargs just because they happen to match the shader default (which was the original complaint in 0006062). |
Affected Issues 0006062 |
|
mod - radiantcore/entity/speaker/SpeakerNode.cpp | Diff File | ||
master b15b234d 21.04.2024 12:22 Details Diff |
Filter dialog respects minimum widget sizes Pack the loaded wxPanel into a wxSizer to provide proper size hint handling. Also remove redundant title label and several pixels of indentation. |
||
mod - install/ui/filterdialog.fbp | Diff File | ||
mod - install/ui/filterdialog.xrc | Diff File | ||
mod - radiant/ui/filters/editor/FilterDialog.cpp | Diff File | ||
mod - radiant/ui/filters/editor/FilterDialog.h | Diff File | ||
master 2c5b6eb7 21.04.2024 12:07 Details Diff |
Reduce default floating size of the Surface Inspector The dialog has now shrunk sufficiently that the hard-coded default floating size in the UserInterfaceModule was leaving extra blank space at the bottom. |
||
mod - include/ui/imainframe.h | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
master 81df3880 20.04.2024 13:45 Details Diff |
Reduce space wastage in bottom half of Surface Inspector Replace "Texture Lock" text button with an icon button. Remove "Normalise" button and align "Natural" button and default scale spinbox on the same row. Remove left-hand column of labels which provides little information. |
||
mod - install/bitmaps/texture_lock.png | Diff File | ||
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
mod - radiant/ui/surfaceinspector/SurfaceInspector.h | Diff File | ||
mod - resources/icons/flip_vert.svg | Diff File | ||
add - resources/icons/texture_lock.svg | Diff File | ||
master 99952768 20.04.2024 13:13 Details Diff |
Use icons for flip texture buttons in SurfaceInspector Remove the dedicated "flip" row, replacing its large text buttons with much smaller icon buttons on the same row as the 4 existing alignment buttons. Also use these new flip icons for the similar buttons in the Texture Tool. |
||
add - install/bitmaps/flip_horiz.png | Diff File | ||
add - install/bitmaps/flip_vert.png | Diff File | ||
mod - install/user.xml | Diff File | ||
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
mod - radiant/ui/surfaceinspector/SurfaceInspector.h | Diff File | ||
add - resources/icons/flip_horiz.svg | Diff File | ||
add - resources/icons/flip_vert.svg | Diff File | ||
master c97aae8d 20.04.2024 12:52 Details Diff |
Add a wxutil::IconButton() convenience function | ||
mod - libs/wxutil/Bitmap.h | Diff File | ||
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
master a57156a6 20.04.2024 12:43 Details Diff |
Use icons for align buttons in Surface Inspector | ||
add - install/bitmaps/align_bottom.png | Diff File | ||
add - install/bitmaps/align_left.png | Diff File | ||
add - install/bitmaps/align_right.png | Diff File | ||
add - install/bitmaps/align_top.png | Diff File | ||
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
add - resources/icons/align_top.svg | Diff File | ||
master daa7cfd3 17.04.2024 18:36 Details Diff |
Fix "usage" message in console when using texture align buttons Missing 'else' keywords caused the usage message (intended for an invalid edge argument) to be displayed even when the argument was valid. |
||
mod - radiantcore/selection/algorithm/Shader.cpp | Diff File | ||
master 1707555a 16.04.2024 19:16 Details Diff |
Various Doxygen fixes Fix several instances of comments intended for classes being incorrectly attached to the containing namespace. Exclude certain 3rd party header libraries. Add the generated 'dox' directory to .gitignore, and remove ignore patterns for obsolete autotools files. |
||
mod - .gitignore | Diff File | ||
mod - Doxyfile | Diff File | ||
mod - include/igame.h | Diff File | ||
mod - libs/render/VertexHashing.h | Diff File | ||
mod - libs/wxutil/Button.h | Diff File | ||
mod - libs/wxutil/WindowPosition.h | Diff File | ||
mod - plugins/sound/OggFileStream.h | Diff File | ||
mod - radiant/settings/Win32Registry.h | Diff File | ||
mod - radiant/ui/about/AboutDialog.h | Diff File | ||
master 74b062fe 16.04.2024 18:43 Details Diff |
Remove CTest cruft from CMake project outline | ||
mod - CMakeLists.txt | Diff File | ||
master 893526d4 16.04.2024 18:18 Details Diff |
Fix some IDE-only parsing errors caused by missing includes | ||
mod - radiantcore/entity/algorithm/Speaker.h | Diff File | ||
master d5470cc8 14.04.2024 16:09 Details Diff |
Reclaim some space in SurfaceInspector dialog Remove largely useless "Texture Properties" and "Texture Operations" labels, which in turn allows the removal of an extra 18 pixels of indentation. Shorten some labels (e.g. "Horiz. Shift" is now "X Shift" and "Rotation" is now "Rotate"). Slightly reduce minimum size of Fit spin boxes. Note that because the wxWidgets AUI system saves the minimum size of each window into preferences, changes to size hints in code do not have any effect unless user.xml is wiped out. |
||
mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
master e06a1629 14.04.2024 15:40 Details Diff |
Add a Debug.h for printing out wxWidgets objects | ||
add - libs/wxutil/Debug.h | Diff File | ||
master a23b472a 13.04.2024 16:56 Details Diff |
AuiLayout respects windows' minimum sizes Instead of applying a hard-coded minimum size of 128x128 (which is far too small for many windows, such as the Surface Inspector), we now ask the window's main sizer for its minimum size, and set this as the minimum size of the AUI pane. This makes windows created by the AUI layout behave more similarly to standard dialogs populated with SetSizerAndFit(). The possible downside of this change is that if users are docking widgets like the Surface Inspector (rather than using them as floating dialogs), they may find that their ability to resize dock panels is more limited than before, since the docked widget can no longer be shrunk below the size hint of the widget contents. The Surface Inspector in particular seems to be claiming a minimum width which is larger than necessary. |
||
mod - radiant/ui/mainframe/AuiLayout.cpp | Diff File | ||
master 03a5b6f8 13.04.2024 14:17 Details Diff |
ConversationDialog no longer shrinks below minimum panel size Set the [[nodiscard]] attribute on loadNamedPanel(); this emits a warning in several dialogs which are ignoring the return value rather than packing the loaded panel into a sizer. One consequence of this is that (on GTK at least) the dialog ignores the panel's size hints and can be shrunk to zero size. This is now corrected for the conversation editor. |
||
mod - libs/wxutil/XmlResourceBasedWidget.h | Diff File | ||
mod - plugins/dm.conversation/ConversationDialog.cpp | Diff File | ||
master f359038c 13.04.2024 13:59 Details Diff |
Set skin editor splitter parameters in XRC file I mistakenly thought these properties were not working when set in the XRC file, so set them in code instead, but it turns out I had just failed to install the modified XRC file into the runtime location. |
||
mod - install/ui/skineditor.fbp | Diff File | ||
mod - install/ui/skineditor.xrc | Diff File | ||
mod - radiant/ui/skin/SkinEditor.cpp | Diff File | ||
master 261ce750 10.04.2024 20:23 Details Diff |
Skin Editor layout improvements - Add a top-level sizer to the window. Previously there was no sizer at all, and the return value of loadNamedPanel() was being ignored rather than packed into the top-level window's sizer. This might have been a factor in the previous layout issues. - The immediate result of adding a top-level sizer with SetSizerAndFit() is that the window can no longer be shrunk to zero size, but obeys the size hints of the contents. - Set the LIVE_UPDATE flag on the main splitter so that the contents are updated when the sash is dragged. GTK does not show any feedback at all without this flag (the quick sash preview mode is broken). - Set minimum sizes on the main splitter so that the panels cannot be dragged to zero size. - Set the sash gravity to 0.5 so that resizing the window causes both panels to resize evenly, rather than only resizing the right-hand panel. |
||
mod - install/ui/skineditor.fbp | Diff File | ||
mod - install/ui/skineditor.xrc | Diff File | ||
mod - radiant/ui/skin/SkinEditor.cpp | Diff File |