Changesets: DarkRadiant
|
master 8782a963 06.08.2021 17:08 Details Diff |
Cleaning the code. 1) Same style of commenting. 2) Reorder methods. 3) Removed unnecessary commands, bool return values. |
||
| mod - plugins/dm.gameconnection/AutomationEngine.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/AutomationEngine.h | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||
|
master de42044d 06.08.2021 14:26 Details Diff |
Added some image to buttons (respawn/pause). | ||
| mod - install/ui/gameconnection.fbp | Diff File | ||
|
master 4cbcf683 06.08.2021 13:59 Details Diff |
0005675: Block auto saves when a modal dialog is open |
Affected Issues 0005675 |
|
| add - libs/wxutil/dialog/AutoSaveRequestBlocker.h | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.cpp | Diff File | ||
| mod - libs/wxutil/dialog/DialogBase.h | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
| mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
|
master 90c39947 06.08.2021 13:58 Details Diff |
Now TDM path, mod and map name are obtained properly. Also fixed crash on engine restart (should exit to menu first). Plus, signal GUI update in a few more cases (so that enabling cmaera sync from toolbar changes checkbox in GUI) |
||
| mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||
|
master eb66f608 06.08.2021 12:46 Details Diff |
Improvements in restart game: 1) fixed activity indicator 2) save/restore all modes 3) handle properly if TDM is killed during restart 4) always enable god/notarget/noclip if restoring camera Generic changes: 1) Removed menu items. 2) Update checkboxes from GameConnection class too. |
||
| mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnectionDialog.cpp | Diff File | ||
|
master a8b79481 06.08.2021 11:53 Details Diff |
Restart Game button resurrected after refactoring. | ||
| mod - plugins/dm.gameconnection/AutomationEngine.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/AutomationEngine.h | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnectionDialog.cpp | Diff File | ||
|
master 4bb9cc69 06.08.2021 10:16 Details Diff |
Restored GUI signals + various fixes after refactoring. | ||
| mod - plugins/dm.gameconnection/AutomationEngine.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/AutomationEngine.h | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
|
master 5b8b04ec 06.08.2021 09:38 Details Diff |
Major refactoring in GameConnection. Now basic connection stuff is in AutomationEngine, and specific features are in GameConnection. |
||
| add - plugins/dm.gameconnection/AutomationEngine.cpp | Diff File | ||
| add - plugins/dm.gameconnection/AutomationEngine.h | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||
| mod - tools/msvc/dm.gameconnection.vcxproj | Diff File | ||
| mod - tools/msvc/dm.gameconnection.vcxproj.filters | Diff File | ||
|
master c895b4f9 06.08.2021 08:20 Details Diff |
0005682: Don't render the particle quads as highlighted when their parent is selected |
Affected Issues 0005682 |
|
| mod - libs/render/RenderableCollectionWalker.h | Diff File | ||
|
master 2f13e2f1 05.08.2021 19:41 Details Diff |
0005644: Add unit tests covering a simple light volume drag-resize operation (just on the x axis, light has an identity rotation) |
Affected Issues 0005644 |
|
| add - libs/selection/SelectedPlaneSet.h | Diff File | ||
| mod - libs/selection/SingleItemSelector.h | Diff File | ||
| mod - radiantcore/selection/algorithm/Planes.cpp | Diff File | ||
| mod - test/Selection.cpp | Diff File | ||
| mod - test/Transformation.cpp | Diff File | ||
| add - test/algorithm/View.h | Diff File | ||
| mod - tools/msvc/Tests/Tests.vcxproj | Diff File | ||
| mod - tools/msvc/Tests/Tests.vcxproj.filters | Diff File | ||
| mod - tools/msvc/libs.vcxproj | Diff File | ||
| mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
|
master 3718a2de 05.08.2021 18:41 Details Diff |
0005644: Fix non-uniform drag-resize operations sending the light's origin way off the view |
Affected Issues 0005644 |
|
| mod - radiantcore/entity/light/LightNode.cpp | Diff File | ||
|
master 36de921e 04.08.2021 19:33 Details Diff |
Use GL_RG8 format for uncompressed normal maps Now that we are unconditionally reconstructing the Z coordinate in the shader, there is no need to store it in the texture (and there was never any need for an alpha channel). The BindableTexture interface now defines a new Role enum which can be used as a hint for the implementing image class to choose an appropriate GL internal format based on usage. In RGBAImage, the role is now used to choose between GL_RGBA8 for general images (as per the previous behaviour) and GL_RG8 for normal maps. This appears to save around 500 MB of GPU memory in the St Lucia map. Further optimisations would be possible, for example skipping the alpha channel in diffuse maps if the material does not use any alpha-related commands. |
||
| mod - include/iimage.h | Diff File | ||
| mod - libs/RGBAImage.h | Diff File | ||
| mod - radiantcore/imagefile/dds.cpp | Diff File | ||
| mod - radiantcore/shaders/CameraCubeMapDecl.cpp | Diff File | ||
| mod - radiantcore/shaders/CameraCubeMapDecl.h | Diff File | ||
| mod - radiantcore/shaders/Doom3ShaderLayer.cpp | Diff File | ||
| mod - radiantcore/shaders/MapExpression.h | Diff File | ||
| mod - radiantcore/shaders/SoundMapExpression.h | Diff File | ||
| mod - radiantcore/shaders/VideoMapExpression.h | Diff File | ||
| mod - radiantcore/shaders/textures/GLTextureManager.cpp | Diff File | ||
| mod - radiantcore/shaders/textures/GLTextureManager.h | Diff File | ||
|
master 68ca7867 04.08.2021 18:34 Details Diff |
Add .natvis file to mathlib, adding a BasicVector3 visualisation. | ||
| mod - tools/msvc/mathlib.vcxproj | Diff File | ||
| add - tools/msvc/mathlib.vcxproj.filters | Diff File | ||
| add - tools/msvc/natvis/mathlib.natvis | Diff File | ||
|
master 36bb3573 04.08.2021 15:10 Details Diff |
Merge remote-tracking branch 'remotes/orbweaver/master' | ||
| add - doc/img/CameraSync.png | Diff File | ||
| add - doc/img/CameraSyncBack.png | Diff File | ||
| mod - doc/manual.adoc | Diff File | ||
| mod - doc/manual.html | Diff File | ||
| mod - include/iimage.h | Diff File | ||
| mod - install/gl/interaction_fp.glsl | Diff File | ||
| mod - libs/RGBAImage.h | Diff File | ||
| mod - radiant/ui/surfaceinspector/SurfaceInspector.cpp | Diff File | ||
| mod - radiantcore/brush/TextureProjection.cpp | Diff File | ||
| mod - radiantcore/imagefile/TGALoader.cpp | Diff File | ||
| mod - radiantcore/imagefile/dds.cpp | Diff File | ||
| mod - test/ImageLoading.cpp | Diff File | ||
| add - test/resources/tdm/textures/dds/not_a_dds.dds | Diff File | ||
| add - test/resources/tdm/textures/dds/test_16x16_bc5.dds | Diff File | ||
|
master 2f95d38f 03.08.2021 20:03 Details Diff |
Shader supports RG-only normal maps Reconstruct the B channel in the shader using Pythagoras, removing the need for a valid B channel in the source image. This results in correct rendering of RGTC normal maps where the B channel is not stored. |
||
| mod - install/gl/interaction_fp.glsl | Diff File | ||
|
master 519439a7 03.08.2021 19:34 Details Diff |
Test GL formats of DXT1/5 textures Use the new getGLFormat() method to ensure that we have the appropriate GL format for the DXT1 and DXT5 test images. |
||
| mod - test/ImageLoading.cpp | Diff File | ||
|
master 3eba251d 03.08.2021 19:23 Details Diff |
Test and fix handling of invalid DDS files For some reason DDS errors (such as an invalid header due to missing magic number) were reported using rError(), but the code then carried on regardless rather than aborting. We now correctly abandon the loading attempt after detecting an error, returning a null image pointer. |
||
| mod - radiantcore/imagefile/dds.cpp | Diff File | ||
| mod - test/ImageLoading.cpp | Diff File | ||
| add - test/resources/tdm/textures/dds/not_a_dds.dds | Diff File | ||
|
master 0705fce0 03.08.2021 18:58 Details Diff |
Use correct GL format for BC5 DDS Add an entry to the format table for the "ATI2" FOURCC, choosing the matching GL format (GL_COMPRESSED_RG_RGTC2). |
||
| mod - radiantcore/imagefile/dds.cpp | Diff File | ||
|
master 130e9525 03.08.2021 18:52 Details Diff |
Add failing test for BC5 GL format Add a new getGLFormat() method to the Image interface. This is used in the test to confirm that the image has the expected format of GL_COMPRESSED_RG_RGTC2 (which it currently doesn't). |
||
| mod - include/iimage.h | Diff File | ||
| mod - libs/RGBAImage.h | Diff File | ||
| mod - radiantcore/imagefile/TGALoader.cpp | Diff File | ||
| mod - radiantcore/imagefile/dds.cpp | Diff File | ||
| mod - test/ImageLoading.cpp | Diff File | ||
|
master b22b6db4 03.08.2021 18:34 Details Diff |
Initial test for BC5 DDS loading Image does actually load, it just renders incorrectly due to incorrect GL format (plus no support in the shader). |
||
| mod - test/ImageLoading.cpp | Diff File | ||
| add - test/resources/tdm/textures/dds/test_16x16_bc5.dds | Diff File | ||
|
master 6f8dc824 02.08.2021 17:06 Details Diff |
Don't try to start a three-way merge if two-way mode is selected but the base map text entry happens to contain content from a previous three-way merge. | ||
| mod - radiant/ui/merge/MergeControlDialog.cpp | Diff File | ||
|
master 35f86da4 02.08.2021 16:36 Details Diff |
Fix a crash due to the original source node being added to the target scene instead of its clone. | ||
| mod - libs/scene/merge/ThreeWayMergeOperation.cpp | Diff File | ||
|
master a584ecdb 02.08.2021 16:31 Details Diff |
Further work. | ||
| mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnectionDialog.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnectionDialog.h | Diff File | ||
|
master 3a50f53a 02.08.2021 10:41 Details Diff |
Connected restart functionality to GUI dialog. | ||
| mod - plugins/dm.gameconnection/GameConnectionDialog.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnectionDialog.h | Diff File | ||
|
master 5165fe80 02.08.2021 10:37 Details Diff |
Restart game works as "multistep procedure". | ||
| mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
| mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||