From 6e3b23ec50230c2f2651012436ce685db5d792bf Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 6 Nov 2019 16:52:45 -1000 Subject: [PATCH 1/2] Accurate MP3 material processing --- .idea/codeStyles/Project.xml | 7 + CMakeLists.txt | 2 +- externals/LibCommon | 2 +- src/Core/GameProject/AssetNameGeneration.cpp | 6 +- src/Core/OpenGL/CShaderGenerator.cpp | 55 +- src/Core/Render/CGraphics.h | 8 +- src/Core/Render/CRenderer.cpp | 2 +- src/Core/Resource/Area/CGameArea.cpp | 2 +- src/Core/Resource/CMaterial.cpp | 61 +- src/Core/Resource/CMaterial.h | 40 +- src/Core/Resource/CMaterialPass.cpp | 32 +- src/Core/Resource/CMaterialPass.h | 16 +- src/Core/Resource/CMaterialSet.h | 7 +- src/Core/Resource/ETevEnums.h | 16 + src/Core/Resource/Factory/CMaterialLoader.cpp | 1389 ++++++++++++++--- src/Core/Resource/Factory/CMaterialLoader.h | 156 +- src/Core/Resource/Factory/CModelLoader.cpp | 4 +- src/Core/Resource/Model/CModel.cpp | 74 +- src/Core/Scene/CCharacterNode.cpp | 2 +- src/Core/Scene/CModelNode.cpp | 4 +- src/Core/Scene/CScriptAttachNode.cpp | 2 +- src/Core/Scene/CScriptNode.cpp | 4 +- src/Core/Scene/CStaticNode.cpp | 2 +- src/Core/ScriptExtra/CDoorExtra.cpp | 2 +- src/Editor/CGizmo.cpp | 5 +- src/Editor/CTweakEditor.cpp | 2 +- .../CCharacterEditorViewport.cpp | 6 +- .../CCollisionEditorViewport.cpp | 3 +- .../ModelEditor/CModelEditorViewport.cpp | 6 +- src/Editor/PropertyEdit/CPropertyView.cpp | 2 +- .../ResourceBrowser/CResourceBrowser.cpp | 2 +- src/Editor/Undo/CDeleteLinksCommand.cpp | 4 +- src/Editor/Undo/CDeleteSelectionCommand.cpp | 4 +- src/Editor/Widgets/CFilteredResourceModel.h | 2 +- src/Editor/WorldEditor/CInstancesModel.cpp | 2 +- src/Editor/WorldEditor/CStateMessageModel.h | 2 +- src/Editor/WorldEditor/CTemplateListView.h | 2 +- src/Editor/WorldEditor/CWorldTreeModel.cpp | 4 +- src/Editor/WorldEditor/WInstancesTab.cpp | 4 +- 39 files changed, 1583 insertions(+), 362 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index cdfa624e..05f7bd42 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -7,8 +7,15 @@