Changesets: DarkRadiant

master b77588dd

06.02.2021 12:18

orbweaver


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

greebo


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

greebo


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

greebo


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

greebo


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

orbweaver


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

greebo


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

greebo


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

greebo


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

master 55fa827b

05.02.2021 09:26

greebo


Details Diff
0002132: Add tool item to camera toolbar Affected Issues
0002132
mod - install/ui/camwnd.fbp Diff File
mod - install/ui/camwnd.xrc Diff File
mod - radiant/camera/CamWnd.cpp Diff File
mod - radiant/camera/CameraWndManager.cpp Diff File

master 26a2adb7

05.02.2021 09:15

greebo


Details Diff
0002132: Add preference settings for enabling the camera grid and adjusting its spacing Affected Issues
0002132
mod - install/user.xml Diff File
mod - radiant/camera/CamWnd.cpp Diff File
mod - radiant/camera/CameraSettings.cpp Diff File
mod - radiant/camera/CameraSettings.h Diff File

master 7a0ac7a1

05.02.2021 08:58

greebo


Details Diff
0002132: Draw a camera-centered grid snapped to multiples of 32 Affected Issues
0002132
mod - radiant/camera/CamWnd.cpp Diff File
mod - radiant/camera/CamWnd.h Diff File

master 53d3d9c3

05.02.2021 07:45

greebo


Details Diff
0005460: Add unit test covering the behaviour - the workzone needs to be recalculated everytime the user has finished a selection through the SelectionSystem API.
The lower level Node_setSelected() itself is not enough.
Affected Issues
0005460
mod - test/Selection.cpp Diff File
mod - test/algorithm/Primitives.h Diff File

master 0cbee8e6

05.02.2021 04:46

greebo


Details Diff
0005460: Recalculate the selection workzone after a selection test has been performed. This is not quite the same as doing it in the idle processing loop (like in pre-2.10.0 versions), but let's hope it does the trick. Affected Issues
0005460
mod - radiantcore/selection/RadiantSelectionSystem.cpp Diff File
mod - radiantcore/selection/RadiantSelectionSystem.h Diff File

master bb8ce4db

05.02.2021 04:33

greebo


Details Diff
0004846: Construct a unit test asserting that the pivot is properly reset on canceling the operation Affected Issues
0004846
mod - test/Selection.cpp Diff File

master 89e5a1c5

05.02.2021 04:03

greebo


Details Diff
0004846: Fix the manipulation pivot being stuck in a position when the user cancels the move, preventing it from recalculating its position on selection change or even changing the manipulator. Affected Issues
0004846
mod - radiantcore/selection/ManipulationPivot.cpp Diff File
mod - radiantcore/selection/ManipulationPivot.h Diff File
mod - radiantcore/selection/RadiantSelectionSystem.cpp Diff File

master 4c6e85e2

05.02.2021 03:48

greebo


Details Diff
0005465: Backfacing brush faces are no longer being culled in orthoviews Affected Issues
0005465
mod - radiantcore/brush/BrushNode.cpp Diff File

master 3bd99f9f

04.02.2021 20:08

orbweaver


Details Diff
Initial list of attached entities in EntityNode

EntityNode maintains a list of entity node pointers representing the attached
entities, which are submitted at render time. The basic rendering is working
and covered by a unit test, but the attached entity appears at the origin since
there is not yet any handling of the localToWorld matrix.
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp Diff File
mod - test/Entity.cpp Diff File
mod - test/resources/tdm/def/lights.def Diff File

master 3f2c43cf

03.02.2021 21:10

orbweaver


Details Diff
Add initial test for rendering attached light entity

Confirm that we can create an EclassModelNode from the torch_brazier model,
traverse its children (which consists of 1 StaticModelNode) and receive
renderables for the model surfaces. This does not test for the presence of any
attached entities, since this functionality isn't implemented yet.
mod - test/Entity.cpp Diff File
add - test/resources/tdm/def/base.def Diff File
mod - test/resources/tdm/def/lights_static.def Diff File
add - test/resources/tdm/models/torch.lwo Diff File

master 1e546235

03.02.2021 17:15

greebo


Details Diff
0005266: Pass the two-sided flag only if the material is actually two-sided (exception: brush faces should always be treated like they're twosided due to 0005444).
Adjusted the cull type determination code in SelectionVolume::BeginMesh.
Affected Issues
0005266, 0005444
mod - libs/selection/SelectionVolume.h Diff File
mod - radiantcore/brush/BrushNode.cpp Diff File
mod - radiantcore/model/picomodel/StaticModel.cpp Diff File
mod - radiantcore/model/picomodel/StaticModelSurface.cpp Diff File
mod - radiantcore/model/picomodel/StaticModelSurface.h Diff File
mod - radiantcore/patch/PatchNode.cpp Diff File

master b4b79b00

02.02.2021 20:48

orbweaver


Details Diff
Test that entity updates when its entity class is modified

Confirm that a light entity captures a new wireframe shader in response to a
colour change on its entity class. Currently we can't confirm that it's the
*right* shader because the Shader interface doesn't expose that much (the
result of getMaterial() will be null because this is a built-in single-colour
shader rather than one derived from a material).
mod - test/Entity.cpp Diff File

master 859ed645

02.02.2021 20:05

orbweaver


Details Diff
Remove Light::worldOrigin()

For some reason this was a public virtual exposed on the RendererLight
interface despite not being used anywhere outside Light itself. Perhaps other
calls to this method were removed during recent renderer refactoring.
mod - include/irender.h Diff File
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - test/Entity.cpp Diff File

master c9fba2dd

01.02.2021 21:11

orbweaver


Details Diff
Test more RendererLight properties

Construct a light_torchflame_small instead of just a basic light, and confirm
that the AABB extents and origin match the values from the entity def, along
with the light shader.
mod - include/irender.h Diff File
mod - test/Entity.cpp Diff File

master df60c5f8

31.01.2021 21:18

orbweaver


Details Diff
Test rendered light entity has correct world origin

TestRenderableCollector now stores a list of RendererLight pointers rather than
just counting the lights submitted, and this list is used to confirm that the
"origin" key set on the test light entity appears correctly as the result of
worldOrigin().
mod - include/irender.h Diff File
mod - test/Entity.cpp Diff File

master 65a2ef3e

31.01.2021 20:59

orbweaver


Details Diff
Add a test for light source rendering

This test checks that the RenderableCollector::addLight() method has been
invoked after rendering a light entity in full materials mode.
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - test/Entity.cpp Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 167 168 169 170 171 172 173 ... 180 ... 210 ... 240 ... 270 271 272  Next  Last