Changesets: DarkRadiant

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

master 1297cfd0

20.03.2021 20:18

orbweaver


Details Diff
Remove unused Matrix4::rotateByEulerZXYDegrees()
mod - libs/math/Matrix4.h Diff File

master abdab5a3

20.03.2021 20:14

orbweaver


Details Diff
Remove unused Matrix4::rotateByEulerYXZDegrees()
mod - libs/math/Matrix4.h Diff File

materialeditor2 3bc65a41

20.03.2021 18:59

greebo


Details Diff
0005532: Spectrum is editable 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/Binding.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 9e0b59f2

20.03.2021 18:30

greebo


Details Diff
0005532: Two-way material binding, used for polygonOffset Affected Issues
0005532
mod - include/ishaders.h Diff File
mod - radiant/ui/materials/Binding.h Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/SpinCtrlBinding.h Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File

master 09f8c77e

20.03.2021 17:36

orbweaver


Details Diff
Remove unused Matrix4::getRotationForEulerXZYDegrees()
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 ... 150 151 152 153 154 155 156 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last