Changesets: DarkRadiant

master ae9b6294

07.01.2023 17:49

greebo

Committer: GitHub


Details Diff
Merge pull request 0000032 from stgatilov/text-linebreak-compatibility

Text linebreak compatibility
Affected Issues
0000032
mod - plugins/dm.gui/gui/RenderableText.cpp Diff File
mod - plugins/dm.gui/gui/TextParts.h Diff File

master 89c20a3d

07.01.2023 15:21

stgatilov


Details Diff
Added some tolerance to width comparisons to avoid unprodictable behavior in case of exact equality.

Without this tolerance, the cases where line width is exactly correct mathematically are doomed to work randomly.
Sometimes a word is added, sometime it is broken to a new line.
There is 50% chance of doing the same as Doom 3 engine (because D3 uses floats and slightly different computations).

Note that I added the same 1e-3 tolerance to this check in TDM, which will hopefully get into 2.11...
mod - plugins/dm.gui/gui/TextParts.h Diff File

master d0f9be37

07.01.2023 15:17

stgatilov


Details Diff
Don't take last character into account when checking if new word can be added to the current line.

This improves compatibility with Doom 3 and TDM engine.
A good example of where readable display is fixed by this is the guests list in Inn Business TDM mission.
mod - plugins/dm.gui/gui/RenderableText.cpp Diff File
mod - plugins/dm.gui/gui/TextParts.h Diff File

master 330f2224

05.01.2023 17:04

greebo


Details Diff
0006212: Attempt to fix Linux compilation.

Some imported header probably #defined the "None" token.
Affected Issues
0006212
mod - include/ishaders.h Diff File
mod - libs/materials/ParseLib.h Diff File
mod - plugins/script/interfaces/ShaderSystemInterface.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File
mod - test/MaterialExport.cpp Diff File
mod - test/Materials.cpp Diff File

master 70a94b4c

05.01.2023 16:21

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
mod - radiant/ui/lightinspector/LightInspector.cpp Diff File
mod - radiant/ui/materials/MaterialChooser.cpp Diff File
mod - radiant/ui/materials/MaterialSelector.cpp Diff File
mod - radiant/ui/materials/MaterialSelector.h Diff File

master a1f0c789

04.01.2023 20:25

orbweaver


Details Diff
0006216: fix crash on showing Light Inspector

Crash was caused by a race condition initialising the _texSelector
member of LightInspector. This member stores a pointer to a
MaterialSelector, but the MaterialSelector constructor itself was
triggering a callback to shaderSelectionChanged() which found a null
_texSelector since the assignment hadn't happened yet.

MaterialSelector no longer accepts a std::function callback in its
constructor, but instead exposes a sigc::signal which client code can
connect to. This automatically avoids any future race condition because
nothing can access or connect to the signal until the MaterialSelector
has been fully constructed.
Affected Issues
0006216
mod - radiant/ui/lightinspector/LightInspector.cpp Diff File
mod - radiant/ui/materials/MaterialChooser.cpp Diff File
mod - radiant/ui/materials/MaterialSelector.cpp Diff File
mod - radiant/ui/materials/MaterialSelector.h Diff File

master d2cda5f5

02.01.2023 06:00

greebo


Details Diff
0006212: Add examples to materialtest.py. Tweak MaterialSourceGenerator whitespace output. Affected Issues
0006212
mod - install/scripts/materialtest.py Diff File
mod - radiantcore/shaders/MaterialSourceGenerator.cpp Diff File

master 44733cba

02.01.2023 05:44

greebo


Details Diff
0006212: Extend Python interface with frobstage-related methods Affected Issues
0006212
mod - plugins/script/interfaces/ShaderSystemInterface.cpp Diff File
mod - plugins/script/interfaces/ShaderSystemInterface.h Diff File

master 9d13df4e

02.01.2023 05:34

greebo


Details Diff
0006212: MaterialSourceGenerator can export frobstage syntax now Affected Issues
0006212
mod - libs/materials/ParseLib.h Diff File
mod - radiantcore/shaders/MaterialSourceGenerator.cpp Diff File

master a399a0e0

02.01.2023 05:21

greebo


Details Diff
0006212: Implement frob stage setters Affected Issues
0006212
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File
mod - test/MaterialExport.cpp Diff File

master 83e3fd81

02.01.2023 04:48

greebo


Details Diff
0006212: Add setter interface for frobstage-related keywords Affected Issues
0006212
mod - include/ishaders.h Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - test/MaterialExport.cpp Diff File

master fef19255

02.01.2023 04:34

greebo


Details Diff
0006212: Rename methods Affected Issues
0006212
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
mod - test/Materials.cpp Diff File

master 2a2ea377

02.01.2023 04:29

greebo


Details Diff
0006212: Implement parsing code Affected Issues
0006212
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File

master ecd71c2a

02.01.2023 04:05

greebo


Details Diff
0006212: Extend copy constructor Affected Issues
0006212
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File

master aed34ab6

01.01.2023 18:30

greebo


Details Diff
0006212: Extend Material interface by some frobstage-related getters. Add test materials with RGB frobstage specifiers Affected Issues
0006212
mod - include/ishaders.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/frobstage.mtr Diff File

master 4b389014

01.01.2023 17:41

greebo


Details Diff
0006212: Add test materials featuring the new keywords and skeleton unit tests Affected Issues
0006212
mod - test/Materials.cpp Diff File
add - test/resources/tdm/materials/frobstage.mtr Diff File

master cb58e18f

01.01.2023 14:30

greebo


Details Diff
0006185: Restrict the maximum offset to the buffer size just to be safe Affected Issues
0006185
mod - libs/render/ContinuousBuffer.h Diff File

master 1176b6e5

01.01.2023 14:28

greebo


Details Diff
0006185: Prevent modified chunk info from exceeding a slot's boundaries Affected Issues
0006185
mod - libs/render/ContinuousBuffer.h Diff File

master 9722a076

01.01.2023 14:23

greebo


Details Diff
Revert "0006185: Add my personal debugging code only to have it stored in git history"

This reverts commit eac000ee00ee3a947cbbf527582a470c67ef5b87.
Affected Issues
0006185
mod - libs/render/ContinuousBuffer.h Diff File

master eac000ee

01.01.2023 14:23

greebo


Details Diff
0006185: Add my personal debugging code only to have it stored in git history Affected Issues
0006185
mod - libs/render/ContinuousBuffer.h Diff File

master 3796ac3f

01.01.2023 13:57

greebo


Details Diff
0006185: Add a size check to the GL BufferObject wrapper Affected Issues
0006185
mod - radiantcore/rendersystem/backend/BufferObjectProvider.h Diff File

master 262b5c0e

01.01.2023 07:02

greebo


Details Diff
0006185: Verify uploaded geometry after syncing the buffer objects Affected Issues
0006185
mod - include/igeometrystore.h Diff File
mod - libs/render/ContinuousBuffer.h Diff File
mod - libs/render/RenderVertex.h Diff File
mod - radiantcore/rendersystem/backend/BufferObjectProvider.h Diff File
mod - test/testutil/TestBufferObjectProvider.h Diff File

master 916df97d

31.12.2022 07:31

greebo


Details Diff
0006176: Prevent EntityPreview base from resetting the view position on every model selection.

Virtualise this step and override this in the ModelPreview to have
control over when this happens and which bounds to use.
Affected Issues
0006176
mod - libs/wxutil/preview/EntityPreview.cpp Diff File
mod - libs/wxutil/preview/EntityPreview.h Diff File
mod - libs/wxutil/preview/ModelPreview.cpp Diff File
mod - libs/wxutil/preview/ModelPreview.h Diff File

master 2cb946db

31.12.2022 06:34

greebo


Details Diff
0006183: Add "Assign silence" button to SoundPropertyEditor Affected Issues
0006183
add - install/bitmaps/icon_sound_mute.png Diff File
mod - radiant/ui/einspector/SoundPropertyEditor.cpp Diff File
mod - radiant/ui/einspector/SoundPropertyEditor.h Diff File

master b112efd0

31.12.2022 06:10

greebo


Details Diff
0006180: Copy Resource Path context menu item should copy the decl name Affected Issues
0006180
mod - libs/wxutil/dataview/DeclarationTreeView.cpp Diff File
mod - libs/wxutil/dataview/DeclarationTreeView.h Diff File
1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last