Changesets: DarkRadiant

materialeditor2 b09cbc82

21.03.2021 14:48

greebo


Details Diff
0005532: Move source view to collapsible pane Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File

materialeditor2 802882d7

21.03.2021 14:48

greebo


Details Diff
0005532: Polygon offset implicitly set by macros should be visible in the GUI Affected Issues
0005532
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File

master c0fd3da6

21.03.2021 14:43

orbweaver


Details Diff
Rename c_pi to math::PI
mod - libs/math/Vector3.h Diff File
mod - libs/math/pi.h Diff File
mod - libs/render.h Diff File
mod - radiant/xyview/XYWnd.cpp Diff File
mod - radiantcore/brush/Brush.cpp Diff File
mod - radiantcore/entity/speaker/SpeakerRenderables.cpp Diff File
mod - radiantcore/particles/RenderableParticleBunch.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp Diff File
mod - radiantcore/selection/manipulators/RotateManipulator.cpp Diff File
mod - test/math/Matrix4.cpp Diff File
mod - test/math/Plane3.cpp Diff File

master 71554fc2

21.03.2021 14:25

orbweaver


Details Diff
Add test for getRotationAboutZ in radians
mod - test/math/Matrix4.cpp Diff File

master 552f54b0

21.03.2021 14:16

orbweaver


Details Diff
Merge getRotationAboutZ degree and radian versions

Instead of two separate methods, there is now a single templated method
getRotationAboutZ which accepts a class which must define toRadians(). Two such
classes are added: math::Degrees and math::Radians, both of which have explict
constructors (so calling code must be clear about whether the provided angle is
in degrees or radians).
mod - libs/math/Matrix4.h Diff File
mod - libs/math/pi.h Diff File
mod - radiantcore/entity/AngleKey.cpp Diff File
mod - radiantcore/entity/RotationMatrix.cpp Diff File
mod - radiantcore/entity/generic/GenericEntityNode.cpp Diff File
mod - radiantcore/particles/RenderableParticleStage.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp Diff File
mod - radiantcore/selection/algorithm/Transformation.cpp Diff File
mod - test/math/Matrix4.cpp Diff File

master ff8f21f0

21.03.2021 13:40

orbweaver


Details Diff
Streamline Y and Z rotation constructors

Similar treatment to getRotationForX, except that getRotationForZ is actually
used elsewhere so cannot be removed. All of the 'ForSinCos' implementing
methods are now private.
mod - libs/math/Matrix4.h Diff File

master 73acbccf

21.03.2021 13:25

orbweaver


Details Diff
Streamline getRotationAboutXDegrees()

Remove intermediate getRotationAboutX() (radians version); privatise the
implementing method getRotationAboutXForSinCos() which is only called by other
Matrix4 methods.
mod - libs/math/Matrix4.h Diff File

master dea0d496

21.03.2021 13:07

orbweaver


Details Diff
Streamline Matrix4 rotation tests

Add a new expectNear() function to compare two matrices componentwise using
EXPECT_DOUBLE_EQ, and use this in the axis rotation tests to avoid the need for
16 separate comparison lines for each matrix.
mod - test/math/Matrix4.cpp Diff File

materialeditor2 8b9dba02

21.03.2021 12:29

greebo


Details Diff
0005532: Disable a few more controls, don't leak exceptions when parsing empty expression strings Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiantcore/shaders/MapExpression.cpp Diff File

materialeditor2 509bcbb1

21.03.2021 12:29

greebo


Details Diff
0005532: Change ScopedBoolLock to revert the attached boolean to its previous value on destruction Affected Issues
0005532
mod - libs/util/ScopedBoolLock.h Diff File

materialeditor2 7b4c12e9

21.03.2021 12:01

greebo


Details Diff
0005532 Some refactoring and rearrangement, surface flags can be modified now Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/Binding.h Diff File
add - radiant/ui/materials/CheckBoxBinding.h Diff File
mod - radiant/ui/materials/ExpressionBinding.h Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File
mod - radiant/ui/materials/RadioButtonBinding.h Diff File
mod - radiant/ui/materials/SpinCtrlBinding.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

materialeditor2 1fb9fed6

21.03.2021 11:19

greebo


Details Diff
0005532: Setters for clamp type and cull type. Affected Issues
0005532
mod - include/ishaders.h Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File

materialeditor2 a3dfdf07

21.03.2021 11:09

greebo


Details Diff
0005532: Add a few setters to Material Affected Issues
0005532
mod - include/ishaderlayer.h Diff File
mod - include/ishaders.h Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/Doom3ShaderLayer.h Diff File
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File

materialeditor2 f198d659

21.03.2021 08:33

greebo


Details Diff
0005532: Disable a couple of controls which don't support editing at this point Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File

materialeditor2 abece930

21.03.2021 08:20

greebo


Details Diff
0005532: Unit test tweaks Affected Issues
0005532
mod - test/Materials.cpp Diff File
mod - test/resources/tdm/materials/parsertest.mtr Diff File

materialeditor2 4d9cbcb7

21.03.2021 08:17

greebo


Details Diff
0005532: Sort request is a float value Affected Issues
0005532
mod - include/ishaders.h Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File
mod - test/Materials.cpp Diff File
mod - test/resources/tdm/materials/parsertest.mtr Diff File

materialeditor2 f31ea17a

21.03.2021 07:45

greebo


Details Diff
0005532: Bind lightFallOffImage text control. Affected Issues
0005532
mod - include/ishaders.h Diff File
mod - radiant/ui/materials/ExpressionBinding.h Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File

materialeditor2 a33b14b1

21.03.2021 07:32

greebo


Details Diff
0005532: More template trickery to remove the separate base templates for MaterialPtr and IShaderLayer::Ptr bindings Affected Issues
0005532
mod - radiant/ui/materials/Binding.h Diff File
mod - radiant/ui/materials/ExpressionBinding.h Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/RadioButtonBinding.h Diff File
mod - radiant/ui/materials/SpinCtrlBinding.h Diff File

materialeditor2 5d371ca5

21.03.2021 06:04

greebo


Details Diff
0005532: Refactoring to reduce code duplication Affected Issues
0005532
mod - radiant/ui/materials/Binding.h Diff File

materialeditor2 fdd8a4c6

21.03.2021 05:37

greebo


Details Diff
0005532: Change lightFalloffImage handling, since only the last occurrence of lightFalloffImage and lightFalloffCubeMap will actually make it into the effective map, if both are declared. Affected Issues
0005532
mod - include/ishaders.h Diff File
mod - install/ui/materialeditor.fbp Diff File
mod - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File
mod - test/Materials.cpp Diff File
mod - test/resources/tdm/materials/parsertest.mtr Diff File

master a0ecbc7c

20.03.2021 21:17

orbweaver


Details Diff
Remove unused Matrix4::isEqual()

Also add a simple test for Matrix4 equality using the regular operator==
method.
mod - libs/math/Matrix4.h Diff File
mod - test/math/Matrix4.cpp Diff File

master ef6e756a

20.03.2021 21:04

orbweaver


Details Diff
Remove unused SelectionTest::TestLineLoop()
mod - include/iselectiontest.h Diff File
mod - libs/selection/SelectionVolume.h Diff File

master 23b1bcd9

20.03.2021 20:57

orbweaver


Details Diff
Remove unused Matrix4 affine methods

These were methods which dealt with affine multiplication and testing if a
particular matrix is affine.
mod - libs/math/Matrix4.h Diff File
mod - test/math/Matrix4.cpp Diff File

master e37a1f69

20.03.2021 20:49

orbweaver


Details Diff
Remove 3 more unused Matrix4 rotation methods

These are methods that accept a Quaternion directly.
mod - libs/math/Matrix4.h Diff File

master d014dd99

20.03.2021 20:32

orbweaver


Details Diff
Remove even more Matrix4 Euler rotation methods

It seems pretty much every possible permutation of X,Y,Z Euler angles was
implemented in its own public method, including both degrees and radians
variants, none of which were ever used. I'm not sure if this code was
autogenerated or if the original author was paid by the line.
mod - libs/math/Matrix4.cpp Diff File
mod - libs/math/Matrix4.h Diff File
mod - test/math/Matrix4.cpp Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 146 147 148 149 150 151 152 ... 180 ... 210 ... 240 ... 260 261 262  Next  Last