Changesets: DarkRadiant
declmanager b954865d 09.07.2022 04:44 Details Diff |
0005977: Implement the rest of the unit tests. Most of them are red now, they're aimed to work with the upcoming changes |
Affected Issues 0005977 |
|
mod - test/Particles.cpp | Diff File | ||
declmanager 6e853d2b 09.07.2022 03:53 Details Diff |
0005977: Implement a unit tests covering particle export to an existing file |
Affected Issues 0005977 |
|
mod - test/Particles.cpp | Diff File | ||
mod - test/algorithm/FileUtils.h | Diff File | ||
declmanager e1bbe7f4 08.07.2022 17:26 Details Diff |
0005977: More unit tests and a few outlined ones covering particle management |
Affected Issues 0005977 |
|
mod - test/Particles.cpp | Diff File | ||
add - test/resources/tdm/particles/testparticles.prt | Diff File | ||
mod - test/resources/tdm/test_particles.pk4 | Diff File | ||
mod - test/testutil/TemporaryFile.h | Diff File | ||
declmanager d6aed78a 08.07.2022 14:50 Details Diff |
0005977: Start adding unit tests covering the particle interfaces |
Affected Issues 0005977 |
|
mod - test/Particles.cpp | Diff File | ||
declmanager b188a7a7 08.07.2022 14:20 Details Diff |
0005977: IParticleDef is now deriving from IDeclaration. Adjust ParticleDef implementation minimally to meet the interface requirements. |
Affected Issues 0005977 |
|
mod - include/iparticles.h | Diff File | ||
mod - libs/wxutil/preview/ParticlePreview.cpp | Diff File | ||
mod - libs/wxutil/preview/ParticlePreview.h | Diff File | ||
mod - radiant/ui/particles/ParticleEditor.cpp | Diff File | ||
mod - radiant/ui/particles/ParticleEditor.h | Diff File | ||
mod - radiantcore/particles/ParticleDef.h | Diff File | ||
mod - radiantcore/particles/ParticlesManager.cpp | Diff File | ||
mod - radiantcore/particles/ParticlesManager.h | Diff File | ||
mod - radiantcore/particles/RenderableParticle.cpp | Diff File | ||
mod - radiantcore/particles/RenderableParticle.h | Diff File | ||
declmanager f0aaeda0 08.07.2022 12:55 Details Diff |
0005977: Move the skin refreshing algorithm to the ModelSkinCache (this fixes the unit test). Remove the "ReloadSkins" command and code files. |
Affected Issues 0005977 |
|
mod - radiantcore/CMakeLists.txt | Diff File | ||
mod - radiantcore/map/Map.cpp | Diff File | ||
rm - radiantcore/map/algorithm/Skins.cpp | Diff | ||
rm - radiantcore/map/algorithm/Skins.h | Diff | ||
mod - radiantcore/skins/Doom3SkinCache.cpp | Diff File | ||
mod - radiantcore/skins/Doom3SkinCache.h | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
declmanager ddbb5dcb 08.07.2022 12:48 Details Diff |
0005977: Add a variant unit test checking that the skins reloaded signal is the one causing models to update their skin remaps |
Affected Issues 0005977 |
|
mod - test/Skin.cpp | Diff File | ||
declmanager 3005c714 08.07.2022 12:28 Details Diff |
0005977: Add unit test checking that reloadDecls is actually refreshing the skin mapping of models in the scene. Even though there's no explicit code monitoring skins being reloaded, the test is already green due to the entitydef-reloaded signal causing a full refresh of all the entities in the map, including refreshing their skins. |
Affected Issues 0005977 |
|
mod - test/Skin.cpp | Diff File | ||
declmanager dfc4de02 08.07.2022 12:10 Details Diff |
0005977: Fix TestModelSkin needed to change the test surface in the Material Editor |
Affected Issues 0005977 |
|
mod - radiant/ui/materials/editor/TestModelSkin.h | Diff File | ||
declmanager 091b7394 08.07.2022 11:57 Details Diff |
0005977: Remove redundant methods from ISkin interface. Remove Reload Skins command from menu, is superseded by Reload Declarations. |
Affected Issues 0005977 |
|
mod - include/modelskin.h | Diff File | ||
mod - install/menu.xml | Diff File | ||
mod - plugins/script/interfaces/SkinInterface.h | Diff File | ||
mod - test/Skin.cpp | Diff File | ||
declmanager 7c3d4cb3 08.07.2022 11:50 Details Diff |
0005977: ModelTreeView: Don't attempt to add skins to model folders. |
Affected Issues 0005977 |
|
mod - radiant/ui/modelselector/ModelDataInserter.h | Diff File | ||
declmanager 1810e736 08.07.2022 11:17 Details Diff |
0005977: Fix flaky unit test now that signal emission is no longer synchronised |
Affected Issues 0005977 |
|
mod - test/DeclManager.cpp | Diff File | ||
add - test/testutil/ThreadUtils.h | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj.filters | Diff File | ||
declmanager b967f34f 08.07.2022 10:57 Details Diff |
0005977: DeclarationManager's declsReloaded signal is now fired on a different thread when coming back from the parser. |
Affected Issues 0005977 |
|
mod - include/ideclmanager.h | Diff File | ||
mod - radiantcore/decl/DeclarationManager.cpp | Diff File | ||
mod - radiantcore/decl/DeclarationManager.h | Diff File | ||
mod - radiantcore/skins/Doom3SkinCache.cpp | Diff File | ||
mod - radiantcore/skins/Doom3SkinCache.h | Diff File | ||
mod - test/DeclManager.cpp | Diff File | ||
mod - test/Skin.cpp | Diff File | ||
declmanager 096d8af7 08.07.2022 09:51 Details Diff |
0005977: Migrate skin code to use the DeclarationManager infrastructure |
Affected Issues 0005977 |
|
mod - include/imodel.h | Diff File | ||
mod - include/modelskin.h | Diff File | ||
mod - libs/wxutil/preview/ModelPreview.cpp | Diff File | ||
mod - plugins/script/interfaces/ModelInterface.cpp | Diff File | ||
mod - plugins/script/interfaces/SkinInterface.cpp | Diff File | ||
mod - plugins/script/interfaces/SkinInterface.h | Diff File | ||
mod - radiant/ui/einspector/SkinChooser.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialPreview.cpp | Diff File | ||
mod - radiant/ui/materials/editor/TestModelSkin.h | Diff File | ||
mod - radiantcore/model/NullModel.cpp | Diff File | ||
mod - radiantcore/model/NullModel.h | Diff File | ||
mod - radiantcore/model/StaticModel.cpp | Diff File | ||
mod - radiantcore/model/StaticModel.h | Diff File | ||
mod - radiantcore/model/StaticModelNode.cpp | Diff File | ||
mod - radiantcore/model/md5/MD5Model.cpp | Diff File | ||
mod - radiantcore/model/md5/MD5Model.h | Diff File | ||
mod - radiantcore/model/md5/MD5ModelNode.cpp | Diff File | ||
mod - radiantcore/skins/Doom3ModelSkin.h | Diff File | ||
mod - radiantcore/skins/Doom3SkinCache.cpp | Diff File | ||
mod - radiantcore/skins/Doom3SkinCache.h | Diff File | ||
add - radiantcore/skins/SkinCreator.h | Diff File | ||
rm - radiantcore/skins/SkinDeclParser.h | Diff | ||
mod - test/Skin.cpp | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
declmanager 2b2a0e35 08.07.2022 05:08 Details Diff |
0005977: Some more skin tests, most of them failing right now |
Affected Issues 0005977 |
|
mod - test/Skin.cpp | Diff File | ||
mod - test/resources/tdm/skins/test_skins.skin | Diff File | ||
declmanager c80f1279 08.07.2022 03:55 Details Diff |
0005977: Add unit tests covering the ModelSkinCache module. The first test is failing already since the skin parser cannot deal with mixed casing "SkiN" tokens. |
Affected Issues 0005977 |
|
add - test/Skin.cpp | Diff File | ||
add - test/resources/tdm/skins/test_skins.skin | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj.filters | Diff File | ||
declmanager 76ea178d 07.07.2022 17:46 Details Diff |
0005977: Place ReloadDecls in the file menu. This replaces the menu items to the more specific reloadDefs and reloadSounds commands |
Affected Issues 0005977 |
|
mod - install/menu.xml | Diff File | ||
mod - libs/DeclarationBase.h | Diff File | ||
mod - radiantcore/decl/DeclarationManager.h | Diff File | ||
declmanager c9f982a2 07.07.2022 17:33 Details Diff |
0005977: Change exception type to the ones that are natively handled by the CommandSystem |
Affected Issues 0005977 |
|
mod - radiantcore/map/algorithm/Export.cpp | Diff File | ||
declmanager eec7cda9 07.07.2022 13:16 Details Diff |
0005977: Remove ISoundShader::getDefinition in favour of IDeclaration::getBlockSyntax |
Affected Issues 0005977 |
|
mod - include/isound.h | Diff File | ||
mod - plugins/script/interfaces/SoundInterface.h | Diff File | ||
mod - plugins/sound/SoundShader.cpp | Diff File | ||
mod - plugins/sound/SoundShader.h | Diff File | ||
mod - radiant/ui/common/SoundShaderDefinitionView.cpp | Diff File | ||
mod - test/DeclManager.cpp | Diff File | ||
mod - test/SoundManager.cpp | Diff File | ||
declmanager c2c145c3 07.07.2022 12:59 Details Diff |
0005977: Add IDeclaration::getDeclFilePath() to interface. Remove the redundant and differently named methods from the current declaration classes. |
Affected Issues 0005977 |
|
mod - include/ideclmanager.h | Diff File | ||
mod - include/ieclass.h | Diff File | ||
mod - include/isound.h | Diff File | ||
mod - libs/DeclarationBase.h | Diff File | ||
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - plugins/script/interfaces/EClassInterface.h | Diff File | ||
mod - plugins/script/interfaces/SoundInterface.h | Diff File | ||
mod - plugins/sound/SoundShader.cpp | Diff File | ||
mod - plugins/sound/SoundShader.h | Diff File | ||
mod - radiant/ui/common/SoundShaderDefinitionView.cpp | Diff File | ||
mod - radiant/ui/common/SoundShaderPreview.cpp | Diff File | ||
mod - radiantcore/eclass/EntityClass.cpp | Diff File | ||
mod - radiantcore/eclass/EntityClass.h | Diff File | ||
mod - test/DeclManager.cpp | Diff File | ||
mod - test/EntityClass.cpp | Diff File | ||
mod - test/SoundManager.cpp | Diff File | ||
declmanager 35c9687e 07.07.2022 12:22 Details Diff |
0005977: All IDeclarations need to implement ModResource now. Move common implementation to DeclarationBase. |
Affected Issues 0005977 |
|
mod - include/ideclmanager.h | Diff File | ||
mod - include/ieclass.h | Diff File | ||
mod - include/isound.h | Diff File | ||
mod - libs/DeclarationBase.h | Diff File | ||
mod - plugins/sound/SoundShader.h | Diff File | ||
mod - radiantcore/eclass/Doom3ModelDef.h | Diff File | ||
mod - radiantcore/eclass/EntityClass.h | Diff File | ||
mod - test/DeclManager.cpp | Diff File | ||
declmanager 9b4a6d05 07.07.2022 12:12 Details Diff |
0005977: Adjust ModelDef and SoundShader implementations, remove redundant code |
Affected Issues 0005977 |
|
mod - plugins/sound/SoundShader.cpp | Diff File | ||
mod - plugins/sound/SoundShader.h | Diff File | ||
mod - radiantcore/eclass/Doom3ModelDef.h | Diff File | ||
declmanager 38292da5 07.07.2022 11:54 Details Diff |
0005977: Move getDeclType to DeclarationBase. Move the parsing infrastructure to the base as well, subclasses will have to implement the parseFromTokens method. |
Affected Issues 0005977 |
|
mod - include/isound.h | Diff File | ||
mod - libs/DeclarationBase.h | Diff File | ||
mod - plugins/dm.editing/AIVocalSetPreview.cpp | Diff File | ||
mod - plugins/script/interfaces/SoundInterface.cpp | Diff File | ||
mod - plugins/script/interfaces/SoundInterface.h | Diff File | ||
mod - plugins/sound/SoundManager.cpp | Diff File | ||
mod - plugins/sound/SoundManager.h | Diff File | ||
mod - plugins/sound/SoundShader.cpp | Diff File | ||
mod - plugins/sound/SoundShader.h | Diff File | ||
mod - radiant/ui/common/SoundChooser.cpp | Diff File | ||
mod - radiant/ui/common/SoundShaderDefinitionView.h | Diff File | ||
mod - radiantcore/eclass/Doom3ModelDef.h | Diff File | ||
mod - radiantcore/eclass/EntityClass.cpp | Diff File | ||
mod - radiantcore/eclass/EntityClass.h | Diff File | ||
mod - test/SoundManager.cpp | Diff File | ||
declmanager 6bf627f7 07.07.2022 11:03 Details Diff |
0005977: Merge redundant getName and getDeclName methods on the IEntityClass interface => use only getDeclName from this point on. The DeclarationBase<> template is now implementing getDeclName and accepts the name in its constructor. |
Affected Issues 0005977 |
|
mod - include/ieclass.h | Diff File | ||
mod - libs/DeclarationBase.h | Diff File | ||
mod - libs/scene/EntityBreakdown.h | Diff File | ||
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - plugins/dm.conversation/ConversationCommandInfo.cpp | Diff File | ||
mod - plugins/dm.conversation/ConversationCommandLibrary.cpp | Diff File | ||
mod - plugins/dm.difficulty/ClassNameStore.cpp | Diff File | ||
mod - plugins/dm.difficulty/DifficultySettings.cpp | Diff File | ||
mod - plugins/dm.editing/AIHeadChooserDialog.cpp | Diff File | ||
mod - plugins/dm.editing/AIVocalSetChooserDialog.cpp | Diff File | ||
mod - plugins/dm.editing/DeprecatedEclassCollector.h | Diff File | ||
mod - plugins/dm.stimresponse/ResponseEffectTypes.cpp | Diff File | ||
mod - plugins/sound/SoundShader.cpp | Diff File | ||
mod - plugins/sound/SoundShader.h | Diff File | ||
mod - radiant/ui/eclasstree/EClassTreeBuilder.cpp | Diff File | ||
mod - radiant/ui/einspector/AddPropertyDialog.cpp | Diff File | ||
mod - radiant/ui/materials/editor/MaterialPreview.cpp | Diff File | ||
mod - radiantcore/eclass/Doom3ModelDef.h | Diff File | ||
mod - radiantcore/eclass/EClassColourManager.cpp | Diff File | ||
mod - radiantcore/eclass/EntityClass.cpp | Diff File | ||
mod - radiantcore/eclass/EntityClass.h | Diff File | ||
mod - radiantcore/entity/EntityModule.cpp | Diff File | ||
mod - radiantcore/entity/EntityNode.cpp | Diff File | ||
mod - radiantcore/entity/NameKey.h | Diff File | ||
mod - radiantcore/entity/SpawnArgs.cpp | Diff File | ||
mod - radiantcore/filters/XMLFilter.cpp | Diff File | ||
mod - test/Entity.cpp | Diff File | ||
mod - test/ModelExport.cpp | Diff File | ||
mod - test/UndoRedo.cpp | Diff File | ||
declmanager 663212c0 07.07.2022 10:47 Details Diff |
0005977: Compilation fix |
Affected Issues 0005977 |
|
mod - plugins/dm.editing/AIVocalSetChooserDialog.cpp | Diff File |