Mass refactoring part 2/2: fixing include paths and project files

This commit is contained in:
parax0 2015-12-14 19:07:22 -07:00
parent 8805baaee1
commit 824d23efc1
207 changed files with 662 additions and 1035 deletions

2
.gitignore vendored
View File

@ -9,6 +9,7 @@
*.so *.so
*.dll *.dll
*.dylib *.dylib
*.pdb
# Qt-es # Qt-es
@ -37,5 +38,6 @@ Makefile*
bin/*.log bin/*.log
bin/dump/* bin/dump/*
bin/PrimeWorldEditor.exe bin/PrimeWorldEditor.exe
bin/PrimeWorldEditor-debug.exe
build/* build/*
externals/* externals/*

View File

@ -3,7 +3,7 @@
#include <FileIO/CInputStream.h> #include <FileIO/CInputStream.h>
#include <FileIO/COutputStream.h> #include <FileIO/COutputStream.h>
#include "CVector4f.h" #include "Math/CVector4f.h"
#include "types.h" #include "types.h"
class CColor class CColor

View File

@ -1,5 +1,5 @@
#include "CUniqueID.h" #include "CUniqueID.h"
#include <Common/TString.h> #include "TString.h"
#include <iomanip> #include <iomanip>
#include <random> #include <random>

View File

@ -1,8 +1,7 @@
#include "CAABox.h" #include "CAABox.h"
#include <Common/CTransform4f.h> #include "CTransform4f.h"
#include <Common/Math.h> #include "Math.h"
#include "CRay.h" #include "CRay.h"
#include "SRayIntersection.h"
#include <float.h> #include <float.h>
CAABox::CAABox() CAABox::CAABox()

View File

@ -1,9 +1,9 @@
#ifndef CAABOX_H #ifndef CAABOX_H
#define CAABOX_H #define CAABOX_H
#include "CVector3f.h"
#include <FileIO/CInputStream.h> #include <FileIO/CInputStream.h>
#include <FileIO/COutputStream.h> #include <FileIO/COutputStream.h>
#include "CVector3f.h"
#include <utility> #include <utility>
class CRay; class CRay;

View File

@ -1,6 +1,6 @@
#include "CFrustumPlanes.h" #include "CFrustumPlanes.h"
#include <Common/Math.h> #include "Math.h"
#include <Common/types.h> #include "Common/types.h"
CFrustumPlanes::CFrustumPlanes() CFrustumPlanes::CFrustumPlanes()
{ {

View File

@ -1,9 +1,9 @@
#ifndef CFRUSTUMPLANES_H #ifndef CFRUSTUMPLANES_H
#define CFRUSTUMPLANES_H #define CFRUSTUMPLANES_H
#include <Common/CAABox.h> #include "CAABox.h"
#include <Common/CPlane.h> #include "CPlane.h"
#include <Common/CVector3f.h> #include "CVector3f.h"
class CFrustumPlanes class CFrustumPlanes
{ {

View File

@ -1,8 +1,8 @@
#include "CQuaternion.h" #include "CQuaternion.h"
#include "CMatrix4f.h"
#include "Math.h"
#include <cmath> #include <cmath>
#include <math.h> #include <math.h>
#include "Math.h"
#include "CMatrix4f.h"
CQuaternion::CQuaternion() CQuaternion::CQuaternion()
{ {

View File

@ -1,6 +1,6 @@
#include "CRay.h" #include "CRay.h"
#include <Common/CVector4f.h> #include "CVector4f.h"
#include <Common/CTransform4f.h> #include "CTransform4f.h"
#include <iostream> #include <iostream>
CRay::CRay() CRay::CRay()

View File

@ -1,4 +1,4 @@
#include "CVector2f.h" #include "Common/Math/CVector2f.h"
CVector2f::CVector2f() CVector2f::CVector2f()
{ {

View File

@ -1,5 +1,5 @@
#include "Math.h" #include "Math.h"
#include <Common/CMatrix4f.h> #include "CMatrix4f.h"
#include <gtc/matrix_transform.hpp> #include <gtc/matrix_transform.hpp>
namespace Math namespace Math

View File

@ -1,11 +1,10 @@
#ifndef MATH #ifndef MATH_H
#define MATH #define MATH_H
#include "CAABox.h" #include "CAABox.h"
#include "CRay.h" #include "CRay.h"
#include "CPlane.h" #include "CPlane.h"
#include "CVector3f.h" #include "CVector3f.h"
#include "SRayIntersection.h"
#include <utility> #include <utility>
namespace Math namespace Math
@ -43,5 +42,5 @@ static const float skPi = 3.14159265358979323846f;
static const float skHalfPi = skPi / 2.f; static const float skHalfPi = skPi / 2.f;
} }
#endif // MATH #endif // MATH_H

View File

@ -1,6 +1,6 @@
#include "CAreaAttributes.h" #include "CAreaAttributes.h"
#include <Resource/script/CMasterTemplate.h> #include "Core/Resource/Script/CMasterTemplate.h"
#include <Resource/script/CScriptLayer.h> #include "Core/Resource/Script/CScriptLayer.h"
CAreaAttributes::CAreaAttributes(CScriptObject *pObj) CAreaAttributes::CAreaAttributes(CScriptObject *pObj)
{ {

View File

@ -1,7 +1,7 @@
#ifndef CAREAATTRIBUTES_H #ifndef CAREAATTRIBUTES_H
#define CAREAATTRIBUTES_H #define CAREAATTRIBUTES_H
#include <Resource/script/CScriptObject.h> #include "Core/Resource/Script/CScriptObject.h"
class CAreaAttributes class CAreaAttributes
{ {

View File

@ -1,8 +1,8 @@
#ifndef CLIGHTPARAMETERS_H #ifndef CLIGHTPARAMETERS_H
#define CLIGHTPARAMETERS_H #define CLIGHTPARAMETERS_H
#include <Resource/CGameArea.h> #include "Core/Resource/CGameArea.h"
#include <Resource/script/CProperty.h> #include "Core/Resource/Script/CProperty.h"
class CLightParameters class CLightParameters
{ {

View File

@ -1,5 +1,5 @@
#include "CRayCollisionTester.h" #include "CRayCollisionTester.h"
#include <Scene/CSceneNode.h> #include "Core/Scene/CSceneNode.h"
CRayCollisionTester::CRayCollisionTester(const CRay& Ray) CRayCollisionTester::CRayCollisionTester(const CRay& Ray)
: mRay(Ray) : mRay(Ray)

View File

@ -1,13 +1,13 @@
#ifndef CRAYCOLLISIONHELPER_H #ifndef CRAYCOLLISIONHELPER_H
#define CRAYCOLLISIONHELPER_H #define CRAYCOLLISIONHELPER_H
#include "CAABox.h"
#include "CRay.h"
#include "CVector3f.h"
#include "SRayIntersection.h" #include "SRayIntersection.h"
#include "types.h" #include "Core/Render/SViewInfo.h"
#include <Core/SViewInfo.h> #include "Core/Resource/Model/CBasicModel.h"
#include <Resource/model/CBasicModel.h> #include <Common/Math/CAABox.h>
#include <Common/Math/CRay.h>
#include <Common/Math/CVector3f.h>
#include <Common/types.h>
#include <list> #include <list>

View File

@ -1,7 +1,6 @@
#include <Common/TString.h>
#include <ctime> #include <ctime>
#include <iostream> #include <iostream>
#include <Common/TString.h>
#include <QMessageBox>
namespace Log namespace Log
{ {

View File

@ -1,12 +1,13 @@
#ifndef CDYNAMICVERTEXBUFFER_H #ifndef CDYNAMICVERTEXBUFFER_H
#define CDYNAMICVERTEXBUFFER_H #define CDYNAMICVERTEXBUFFER_H
#include <GL/glew.h> #include "Core/Resource/Model/EVertexDescription.h"
#include <Common/types.h> #include <Common/types.h>
#include <Common/CVector2f.h> #include <Common/Math/CVector2f.h>
#include <Common/CVector3f.h> #include <Common/Math/CVector3f.h>
#include <Resource/model/EVertexDescription.h>
#include <vector> #include <vector>
#include <GL/glew.h>
class CDynamicVertexBuffer class CDynamicVertexBuffer
{ {

View File

@ -2,8 +2,8 @@
#define CFRAMEBUFFER_H #define CFRAMEBUFFER_H
#include "CRenderbuffer.h" #include "CRenderbuffer.h"
#include <Resource/CTexture.h> #include "Core/Resource/CTexture.h"
#include <gl/glew.h> #include <GL/glew.h>
class CFramebuffer class CFramebuffer
{ {

View File

@ -2,8 +2,8 @@
#define CINDEXBUFFER_H #define CINDEXBUFFER_H
#include <Common/types.h> #include <Common/types.h>
#include <Common/CVector3f.h> #include <Common/Math/CVector3f.h>
#include <gl/glew.h> #include <GL/glew.h>
class CIndexBuffer class CIndexBuffer
{ {

View File

@ -1,8 +1,8 @@
#ifndef CRENDERBUFFER_H #ifndef CRENDERBUFFER_H
#define CRENDERBUFFER_H #define CRENDERBUFFER_H
#include <GL/glew.h>
#include <Common/types.h> #include <Common/types.h>
#include <GL/glew.h>
class CRenderbuffer class CRenderbuffer
{ {

View File

@ -1,12 +1,12 @@
#include "CShader.h" #include "CShader.h"
#include "Core/Render/CGraphics.h"
#include <Common/TString.h>
#include <Common/types.h> #include <Common/types.h>
#include <Core/CGraphics.h>
#include <FileIO/CTextInStream.h> #include <FileIO/CTextInStream.h>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <string>
bool gDebugDumpShaders = false; bool gDebugDumpShaders = false;
u64 gFailedCompileCount = 0; u64 gFailedCompileCount = 0;

View File

@ -1,8 +1,8 @@
#ifndef CSHADER_H #ifndef CSHADER_H
#define CSHADER_H #define CSHADER_H
#include <gl/glew.h>
#include <Common/TString.h> #include <Common/TString.h>
#include <GL/glew.h>
class CShader class CShader
{ {

View File

@ -1,8 +1,8 @@
#include "CShaderGenerator.h"
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#include <gl/glew.h> #include <GL/glew.h>
#include "CShaderGenerator.h"
const TString gkCoordSrc[] = { const TString gkCoordSrc[] = {
"RawPosition.xyz", "RawPosition.xyz",

View File

@ -1,10 +1,9 @@
#ifndef SHADERGEN_H #ifndef SHADERGEN_H
#define SHADERGEN_H #define SHADERGEN_H
#include <gl/glew.h>
#include "CShader.h" #include "CShader.h"
#include <Resource/CMaterial.h> #include "Core/Resource/CMaterial.h"
#include <GL/glew.h>
class CShaderGenerator class CShaderGenerator
{ {

View File

@ -1,8 +1,8 @@
#ifndef CUNIFORMBUFFER_H #ifndef CUNIFORMBUFFER_H
#define CUNIFORMBUFFER_H #define CUNIFORMBUFFER_H
#include <gl/glew.h>
#include <Common/types.h> #include <Common/types.h>
#include <GL/glew.h>
class CUniformBuffer class CUniformBuffer
{ {

View File

@ -1,6 +1,5 @@
#include "CVertexBuffer.h" #include "CVertexBuffer.h"
#include "CVertexArrayManager.h" #include "CVertexArrayManager.h"
#include <Core/CGraphics.h>
CVertexBuffer::CVertexBuffer() CVertexBuffer::CVertexBuffer()
{ {

View File

@ -1,10 +1,10 @@
#ifndef CVERTEXBUFFER_H #ifndef CVERTEXBUFFER_H
#define CVERTEXBUFFER_H #define CVERTEXBUFFER_H
#include <GL/glew.h> #include "Core/Resource/Model/CVertex.h"
#include <Resource/model/CVertex.h> #include "Core/Resource/Model/EVertexDescription.h"
#include <Resource/model/EVertexDescription.h>
#include <vector> #include <vector>
#include <GL/glew.h>
class CVertexBuffer class CVertexBuffer
{ {

View File

@ -1,8 +1,8 @@
#ifndef GLCOMMON_H #ifndef GLCOMMON_H
#define GLCOMMON_H #define GLCOMMON_H
#include <GL/glew.h>
#include <Common/types.h> #include <Common/types.h>
#include <GL/glew.h>
enum EBlendFactor enum EBlendFactor
{ {

View File

@ -1,7 +1,7 @@
#include "CCamera.h" #include "CCamera.h"
#include "CGraphics.h" #include "CGraphics.h"
#include <Common/CQuaternion.h> #include <Common/Math/CQuaternion.h>
#include <Common/Math.h> #include <Common/Math/Math.h>
#include <gtc/matrix_transform.hpp> #include <gtc/matrix_transform.hpp>
CCamera::CCamera() CCamera::CCamera()

View File

@ -1,12 +1,12 @@
#ifndef CCAMERA_H #ifndef CCAMERA_H
#define CCAMERA_H #define CCAMERA_H
#include "CFrustumPlanes.h" #include <Common/Math/CAABox.h>
#include <Common/CAABox.h> #include <Common/Math/CFrustumPlanes.h>
#include <Common/CMatrix4f.h> #include <Common/Math/CMatrix4f.h>
#include <Common/CRay.h> #include <Common/Math/CRay.h>
#include <Common/CVector2i.h> #include <Common/Math/CVector2i.h>
#include <Common/CVector3f.h> #include <Common/Math/CVector3f.h>
#include <Common/types.h> #include <Common/types.h>
#include <Common/EKeyInputs.h> #include <Common/EKeyInputs.h>
#include <Common/EMouseInputs.h> #include <Common/EMouseInputs.h>
@ -22,8 +22,8 @@ enum ECameraMoveMode
* value via the const get functions. They are not modified in const functions * value via the const get functions. They are not modified in const functions
* beyond ensuring that all data is valid and synced with everything else (eg * beyond ensuring that all data is valid and synced with everything else (eg
* mPosition is only modified to ensure it's correct in orbit mode given the * mPosition is only modified to ensure it's correct in orbit mode given the
* target/distance/pitch/yaw; it won't be modified as a camera snap in a const * target/distance/pitch/yaw; it won't be snapped to a different location in a
* function). */ * const function). */
class CCamera class CCamera
{ {
ECameraMoveMode mMode; ECameraMoveMode mMode;

View File

@ -1,9 +1,9 @@
#include "CDrawUtil.h" #include "CDrawUtil.h"
#include "CGraphics.h" #include "CGraphics.h"
#include "CResCache.h" #include "Core/Resource/CResCache.h"
#include <Common/CTransform4f.h> #include "Core/Log.h"
#include <Common/Math/CTransform4f.h>
#include <iostream> #include <iostream>
#include "Log.h"
// ************ MEMBER INITIALIZATION ************ // ************ MEMBER INITIALIZATION ************
CVertexBuffer CDrawUtil::mGridVertices; CVertexBuffer CDrawUtil::mGridVertices;

View File

@ -1,15 +1,15 @@
#ifndef CDRAWUTIL #ifndef CDRAWUTIL
#define CDRAWUTIL #define CDRAWUTIL
#include <OpenGL/CVertexBuffer.h> #include "Core/OpenGL/CVertexBuffer.h"
#include <OpenGL/CDynamicVertexBuffer.h> #include "Core/OpenGL/CDynamicVertexBuffer.h"
#include <OpenGL/CIndexBuffer.h> #include "Core/OpenGL/CIndexBuffer.h"
#include <Resource/model/CModel.h> #include "Core/Resource/model/CModel.h"
#include <Resource/CLight.h> #include "Core/Resource/CLight.h"
// todo: CDrawUtil should work with CRenderer to queue primitives for rendering /* todo: CDrawUtil should work with CRenderer to queue primitives for rendering
// rather than trying to draw them straight away, so that CDrawUtil functions can * rather than trying to draw them straight away, so that CDrawUtil functions can
// be called from anywhere in the codebase and still function correctly * be called from anywhere in the codebase and still function correctly */
class CDrawUtil class CDrawUtil
{ {
// 7x7 Grid // 7x7 Grid

View File

@ -1,7 +1,7 @@
#include "CGraphics.h" #include "CGraphics.h"
#include <OpenGL/CShader.h> #include "Core/OpenGL/CShader.h"
#include <Resource/CMaterial.h> #include "Core/Resource/CMaterial.h"
#include "Log.h" #include "Core/Log.h"
// ************ MEMBER INITIALIZATION ************ // ************ MEMBER INITIALIZATION ************
CUniformBuffer* CGraphics::mpMVPBlockBuffer; CUniformBuffer* CGraphics::mpMVPBlockBuffer;

View File

@ -1,15 +1,20 @@
#ifndef CGRAPHICS_H #ifndef CGRAPHICS_H
#define CGRAPHICS_H #define CGRAPHICS_H
#include "Core/OpenGL/CUniformBuffer.h"
#include "Core/OpenGL/CVertexArrayManager.h"
#include "Core/Resource/CLight.h"
#include <Common/CColor.h> #include <Common/CColor.h>
#include <Common/CMatrix4f.h> #include <Common/Math/CMatrix4f.h>
#include <Common/CVector3f.h> #include <Common/Math/CVector3f.h>
#include <Common/CVector4f.h> #include <Common/Math/CVector4f.h>
#include <GL/glew.h> #include <GL/glew.h>
#include <OpenGL/CUniformBuffer.h>
#include <OpenGL/CVertexArrayManager.h>
#include <Resource/CLight.h>
/**
* todo: should probably be replaced with a CGraphicsState class which
* can be instantiated and is probably more safe/functional than global access.
* also,
*/
class CGraphics class CGraphics
{ {
static CUniformBuffer *mpMVPBlockBuffer; static CUniformBuffer *mpMVPBlockBuffer;

View File

@ -1,8 +1,8 @@
#include "CRenderBucket.h" #include "CRenderBucket.h"
#include <algorithm>
#include "CDrawUtil.h" #include "CDrawUtil.h"
#include "CGraphics.h" #include "CGraphics.h"
#include "CRenderer.h" #include "CRenderer.h"
#include <algorithm>
CRenderBucket::CRenderBucket() CRenderBucket::CRenderBucket()
{ {

View File

@ -2,10 +2,10 @@
#include "CDrawUtil.h" #include "CDrawUtil.h"
#include "CGraphics.h" #include "CGraphics.h"
#include "CResCache.h" #include "Core/Resource/CResCache.h"
#include "Core/Resource/Factory/CTextureDecoder.h"
#include <Common/AnimUtil.h> #include <Common/AnimUtil.h>
#include <Common/CTransform4f.h> #include <Common/Math/CTransform4f.h>
#include <Resource/factory/CTextureDecoder.h>
#include <algorithm> #include <algorithm>
#include <iostream> #include <iostream>

View File

@ -1,8 +1,6 @@
#ifndef CRENDERER_H #ifndef CRENDERER_H
#define CRENDERER_H #define CRENDERER_H
#include <gl/glew.h>
#include "CCamera.h" #include "CCamera.h"
#include "CGraphics.h" #include "CGraphics.h"
#include "CRenderBucket.h" #include "CRenderBucket.h"
@ -10,15 +8,17 @@
#include "ERenderCommand.h" #include "ERenderCommand.h"
#include "SRenderablePtr.h" #include "SRenderablePtr.h"
#include "SViewInfo.h" #include "SViewInfo.h"
#include <Common/CAABox.h> #include "Core/OpenGL/CFramebuffer.h"
#include "Core/Resource/CFont.h"
#include "Core/Resource/CLight.h"
#include "Core/Resource/CTexture.h"
#include "Core/Scene/CSceneNode.h"
#include <Common/Math/CAABox.h>
#include <Common/Math/CMatrix4f.h>
#include <Common/CColor.h> #include <Common/CColor.h>
#include <Common/CMatrix4f.h>
#include <Common/types.h> #include <GL/glew.h>
#include <OpenGL/CFramebuffer.h>
#include <Resource/CFont.h>
#include <Resource/CLight.h>
#include <Resource/CTexture.h>
#include <Scene/CSceneNode.h>
class CRenderer class CRenderer
{ {

View File

@ -1,11 +1,11 @@
#ifndef SRENDERABLEPTR_H #ifndef SRENDERABLEPTR_H
#define SRENDERABLEPTR_H #define SRENDERABLEPTR_H
#include <Common/CAABox.h> #include "ERenderCommand.h"
#include "Core/Resource/CMaterial.h"
#include "Core/Scene/CSceneNode.h"
#include <Common/Math/CAABox.h>
#include <Common/types.h> #include <Common/types.h>
#include <Core/ERenderCommand.h>
#include <Scene/CSceneNode.h>
#include <Resource/CMaterial.h>
struct SRenderablePtr struct SRenderablePtr
{ {

View File

@ -1,9 +1,9 @@
#ifndef SVIEWINFO #ifndef SVIEWINFO
#define SVIEWINFO #define SVIEWINFO
#include "CFrustumPlanes.h" #include <Common/Math/CFrustumPlanes.h>
#include <Common/CMatrix4f.h> #include <Common/Math/CMatrix4f.h>
#include <Common/CRay.h> #include <Common/Math/CRay.h>
struct SViewInfo struct SViewInfo
{ {

View File

@ -1,5 +1,4 @@
#include "CAnimSet.h" #include "CAnimSet.h"
#include <Core/CResCache.h>
CAnimSet::CAnimSet() : CResource() CAnimSet::CAnimSet() : CResource()
{ {

View File

@ -1,11 +1,12 @@
#ifndef CANIMSET_H #ifndef CANIMSET_H
#define CANIMSET_H #define CANIMSET_H
#include <Common/types.h> #include "TResPtr.h"
#include <Core/TResPtr.h>
#include <vector>
#include "model/CModel.h"
#include "CResource.h" #include "CResource.h"
#include "Core/Resource/Model/CModel.h"
#include <Common/types.h>
#include <vector>
// will expand later! this is where animation support will come in // will expand later! this is where animation support will come in
class CAnimSet : public CResource class CAnimSet : public CResource

View File

@ -1,7 +1,7 @@
#include "CAnimationParameters.h" #include "CAnimationParameters.h"
#include "CAnimSet.h" #include "CAnimSet.h"
#include <Core/CResCache.h> #include "CResCache.h"
#include <Core/Log.h> #include "Core/Log.h"
#include <iostream> #include <iostream>
CAnimationParameters::CAnimationParameters() CAnimationParameters::CAnimationParameters()

View File

@ -2,9 +2,9 @@
#define CANIMATIONPARAMETERS_H #define CANIMATIONPARAMETERS_H
#include "CResource.h" #include "CResource.h"
#include "model/CModel.h" #include "TResPtr.h"
#include <Core/TResPtr.h>
#include "EFormatVersion.h" #include "EFormatVersion.h"
#include "Core/Resource/Model/CModel.h"
class CAnimationParameters class CAnimationParameters
{ {

View File

@ -1,5 +1,5 @@
#include "CCollisionMesh.h" #include "CCollisionMesh.h"
#include <Core/CRenderer.h> #include "Core/Render/CRenderer.h"
CCollisionMesh::CCollisionMesh() CCollisionMesh::CCollisionMesh()
{ {

View File

@ -1,10 +1,10 @@
#ifndef CCOLLISIONMESH_H #ifndef CCOLLISIONMESH_H
#define CCOLLISIONMESH_H #define CCOLLISIONMESH_H
#include <Common/CAABox.h>
#include <OpenGL/CVertexBuffer.h>
#include <OpenGL/CIndexBuffer.h>
#include "CResource.h" #include "CResource.h"
#include "Core/OpenGL/CVertexBuffer.h"
#include "Core/OpenGL/CIndexBuffer.h"
#include <Common/Math/CAABox.h>
class CCollisionMesh class CCollisionMesh
{ {

View File

@ -3,7 +3,7 @@
#include "CResource.h" #include "CResource.h"
#include "CCollisionMesh.h" #include "CCollisionMesh.h"
#include <Core/TResPtr.h> #include "TResPtr.h"
#include <vector> #include <vector>
class CCollisionMeshGroup : public CResource class CCollisionMeshGroup : public CResource

View File

@ -1,7 +1,7 @@
#include "CFont.h" #include "CFont.h"
#include <Core/CDrawUtil.h> #include "CResCache.h"
#include <Core/CRenderer.h> #include "Core/Render/CDrawUtil.h"
#include <Core/CResCache.h> #include "Core/Render/CRenderer.h"
#include <Common/AnimUtil.h> #include <Common/AnimUtil.h>
CDynamicVertexBuffer CFont::smGlyphVertices; CDynamicVertexBuffer CFont::smGlyphVertices;

View File

@ -3,11 +3,11 @@
#include "CResource.h" #include "CResource.h"
#include "CTexture.h" #include "CTexture.h"
#include "model/CVertex.h" #include "TResPtr.h"
#include "Core/Resource/Model/CVertex.h"
#include "Core/OpenGL/CDynamicVertexBuffer.h"
#include "Core/OpenGL/CIndexBuffer.h"
#include <Common/types.h> #include <Common/types.h>
#include <Core/TResPtr.h>
#include <OpenGL/CDynamicVertexBuffer.h>
#include <OpenGL/CIndexBuffer.h>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>

View File

@ -1,6 +1,6 @@
#include "CGameArea.h" #include "CGameArea.h"
#include "script/CScriptLayer.h" #include "Core/Resource/Script/CScriptLayer.h"
#include <Core/CRenderer.h> #include "Core/Render/CRenderer.h"
CGameArea::CGameArea() : CResource() CGameArea::CGameArea() : CResource()
{ {

View File

@ -1,14 +1,15 @@
#ifndef CGAMEAREA_H #ifndef CGAMEAREA_H
#define CGAMEAREA_H #define CGAMEAREA_H
#include "CResource.h"
#include "CCollisionMeshGroup.h" #include "CCollisionMeshGroup.h"
#include "CLight.h" #include "CLight.h"
#include "CMaterialSet.h" #include "CMaterialSet.h"
#include "model/CModel.h" #include "Core/Resource/Model/CModel.h"
#include "model/CStaticModel.h" #include "Core/Resource/Model/CStaticModel.h"
#include "CResource.h"
#include <Common/types.h> #include <Common/types.h>
#include <Common/CTransform4f.h> #include <Common/Math/CTransform4f.h>
#include <unordered_map> #include <unordered_map>
class CScriptLayer; class CScriptLayer;

View File

@ -1,7 +1,7 @@
#include "CLight.h" #include "CLight.h"
#include "Core/Render/CGraphics.h"
#include <cmath> #include <cmath>
#include <float.h> #include <float.h>
#include <Core/CGraphics.h>
#define CLIGHT_NO_RADIUS 0x40 #define CLIGHT_NO_RADIUS 0x40
#define CLIGHT_NO_INTENSITY 0x80 #define CLIGHT_NO_INTENSITY 0x80

View File

@ -3,8 +3,7 @@
#include <FileIO/CInputStream.h> #include <FileIO/CInputStream.h>
#include <Common/CColor.h> #include <Common/CColor.h>
#include <Common/CVector3f.h> #include <Common/Math/CVector3f.h>
#include <GL/glew.h>
/* CLight is currently heavily based on the lights system from Metroid Prime, /* CLight is currently heavily based on the lights system from Metroid Prime,
* including code reverse engineered from the game's executable. Not yet sure * including code reverse engineered from the game's executable. Not yet sure

View File

@ -1,13 +1,13 @@
#include "CMaterial.h" #include "CMaterial.h"
#include "CResCache.h"
#include "Core/Render/CDrawUtil.h"
#include "Core/Render/CRenderer.h"
#include "Core/OpenGL/GLCommon.h"
#include "Core/OpenGL/CShaderGenerator.h"
#include <Common/CHashFNV1A.h> #include <Common/CHashFNV1A.h>
#include <Core/CDrawUtil.h>
#include <Core/CRenderer.h>
#include <Core/CResCache.h>
#include <OpenGL/GLCommon.h>
#include <OpenGL/CShaderGenerator.h>
#include <iostream> #include <iostream>
#include <gl/glew.h> #include <GL/glew.h>
u64 CMaterial::sCurrentMaterial = 0; u64 CMaterial::sCurrentMaterial = 0;
CColor CMaterial::sCurrentTint = CColor::skWhite; CColor CMaterial::sCurrentTint = CColor::skWhite;

View File

@ -4,15 +4,15 @@
#include "CMaterialPass.h" #include "CMaterialPass.h"
#include "CTexture.h" #include "CTexture.h"
#include "EFormatVersion.h" #include "EFormatVersion.h"
#include "model/EVertexDescription.h" #include "TResPtr.h"
#include "Core/Resource/Model/EVertexDescription.h"
#include "Core/Render/ERenderOptions.h"
#include "Core/OpenGL/CShader.h"
#include <Common/CColor.h> #include <Common/CColor.h>
#include <Common/EnumUtil.h> #include <Common/EnumUtil.h>
#include <Common/types.h> #include <Common/types.h>
#include <Core/TResPtr.h>
#include <Core/ERenderOptions.h>
#include <FileIO/CInputStream.h> #include <FileIO/CInputStream.h>
#include <OpenGL/CShader.h>
#include <Resource/CTexture.h>
class CMaterialSet; class CMaterialSet;

View File

@ -1,7 +1,7 @@
#include "CMaterialPass.h" #include "CMaterialPass.h"
#include "CMaterial.h" #include "CMaterial.h"
#include "Core/Render/CGraphics.h"
#include <Common/AnimUtil.h> #include <Common/AnimUtil.h>
#include <Core/CGraphics.h>
CMaterialPass::CMaterialPass(CMaterial *pParent) CMaterialPass::CMaterialPass(CMaterial *pParent)
{ {

View File

@ -1,12 +1,12 @@
#ifndef CMATERIALPASS_H #ifndef CMATERIALPASS_H
#define CMATERIALPASS_H #define CMATERIALPASS_H
#include "TResPtr.h"
#include "CTexture.h"
#include "ETevEnums.h"
#include "Core/Render/ERenderOptions.h"
#include <Common/CFourCC.h> #include <Common/CFourCC.h>
#include <Common/CHashFNV1A.h> #include <Common/CHashFNV1A.h>
#include <Core/TResPtr.h>
#include <Core/ERenderOptions.h>
#include <Resource/CTexture.h>
#include "ETevEnums.h"
class CMaterial; class CMaterial;

View File

@ -1,5 +1,5 @@
#include "CMaterialSet.h" #include "CMaterialSet.h"
#include <Core/CResCache.h> #include "CResCache.h"
#include <iostream> #include <iostream>
CMaterialSet::CMaterialSet() CMaterialSet::CMaterialSet()

View File

@ -1,10 +1,10 @@
#ifndef CMATERIALSET_H #ifndef CMATERIALSET_H
#define CMATERIALSET_H #define CMATERIALSET_H
#include <FileIO/CInputStream.h> #include "CMaterial.h"
#include <Resource/CTexture.h> #include "CTexture.h"
#include <Resource/CMaterial.h>
#include "EFormatVersion.h" #include "EFormatVersion.h"
#include <FileIO/CInputStream.h>
class CMaterialSet class CMaterialSet
{ {

View File

@ -2,6 +2,7 @@
#include <Common/types.h> #include <Common/types.h>
#include <FileIO/CMemoryInStream.h> #include <FileIO/CMemoryInStream.h>
#include <FileIO/FileIO.h> #include <FileIO/FileIO.h>
#include <zlib.h> #include <zlib.h>
#include <lzo/lzo1x.h> #include <lzo/lzo1x.h>
#include <iostream> #include <iostream>

View File

@ -1,10 +1,10 @@
#ifndef CPAKFILE_H #ifndef CPAKFILE_H
#define CPAKFILE_H #define CPAKFILE_H
#include <Common/types.h>
#include <FileIO/CFileInStream.h>
#include "SNamedResource.h" #include "SNamedResource.h"
#include "SResInfo.h" #include "SResInfo.h"
#include <Common/types.h>
#include <FileIO/CFileInStream.h>
#include <vector> #include <vector>
class CPakFile class CPakFile

View File

@ -1,20 +1,18 @@
#include "CResCache.h" #include "CResCache.h"
#include "Log.h" #include "Core/Resource/Factory/CAreaLoader.h"
#include "Core/Resource/Factory/CAnimSetLoader.h"
#include "Core/Resource/Factory/CCollisionLoader.h"
#include "Core/Resource/Factory/CFontLoader.h"
#include "Core/Resource/Factory/CModelLoader.h"
#include "Core/Resource/Factory/CScanLoader.h"
#include "Core/Resource/Factory/CStringLoader.h"
#include "Core/Resource/Factory/CTextureDecoder.h"
#include "Core/Resource/Factory/CWorldLoader.h"
#include "Core/Log.h"
#include <Common/TString.h> #include <Common/TString.h>
#include <FileIO/FileIO.h> #include <FileIO/FileIO.h>
#include <iostream> #include <iostream>
#include <string>
// Loaders
#include <Resource/factory/CAreaLoader.h>
#include <Resource/factory/CAnimSetLoader.h>
#include <Resource/factory/CCollisionLoader.h>
#include <Resource/factory/CFontLoader.h>
#include <Resource/factory/CModelLoader.h>
#include <Resource/factory/CScanLoader.h>
#include <Resource/factory/CStringLoader.h>
#include <Resource/factory/CTextureDecoder.h>
#include <Resource/factory/CWorldLoader.h>
CResCache::CResCache() CResCache::CResCache()
{ {

View File

@ -1,10 +1,10 @@
#ifndef CRESCACHE_H #ifndef CRESCACHE_H
#define CRESCACHE_H #define CRESCACHE_H
#include "CPakFile.h"
#include "CResource.h"
#include <Common/types.h> #include <Common/types.h>
#include <Common/TString.h> #include <Common/TString.h>
#include <Resource/CPakFile.h>
#include <Resource/CResource.h>
#include <unordered_map> #include <unordered_map>
struct SResSource struct SResSource

View File

@ -1,5 +1,5 @@
#include "CResource.h" #include "CResource.h"
#include <Core/CResCache.h> #include "CResCache.h"
#include <iostream> #include <iostream>
CResource::CResource() CResource::CResource()

View File

@ -4,7 +4,7 @@
#include "CResource.h" #include "CResource.h"
#include "CStringTable.h" #include "CStringTable.h"
#include "EFormatVersion.h" #include "EFormatVersion.h"
#include <Core/TResPtr.h> #include "TResPtr.h"
class CScan : public CResource class CScan : public CResource
{ {

View File

@ -2,10 +2,10 @@
#define CSTRINGTABLE_H #define CSTRINGTABLE_H
#include "CResource.h" #include "CResource.h"
#include <Common/types.h>
#include <Common/CFourCC.h> #include <Common/CFourCC.h>
#include <Common/TString.h>
#include <Common/types.h>
#include <vector> #include <vector>
#include <string>
class CStringTable : public CResource class CStringTable : public CResource
{ {

View File

@ -1,12 +1,13 @@
#ifndef CTEXTURE_H #ifndef CTEXTURE_H
#define CTEXTURE_H #define CTEXTURE_H
#include <Common/types.h>
#include <Common/CVector2f.h>
#include <FileIO/FileIO.h>
#include <gl/glew.h>
#include "CResource.h" #include "CResource.h"
#include "ETexelFormat.h" #include "ETexelFormat.h"
#include <Common/types.h>
#include <Common/Math/CVector2f.h>
#include <FileIO/FileIO.h>
#include <GL/glew.h>
class CTexture : public CResource class CTexture : public CResource
{ {

View File

@ -1,6 +1,6 @@
#include "CWorld.h" #include "CWorld.h"
#include "script/CScriptLayer.h" #include "CResCache.h"
#include <Core/CResCache.h> #include "Core/Resource/Script/CScriptLayer.h"
CWorld::CWorld() : CResource() CWorld::CWorld() : CResource()
{ {

View File

@ -5,8 +5,8 @@
#include "CGameArea.h" #include "CGameArea.h"
#include "CStringTable.h" #include "CStringTable.h"
#include "SDependency.h" #include "SDependency.h"
#include "model/CModel.h" #include "Core/Resource/Model/CModel.h"
#include <Common/CTransform4f.h> #include <Common/Math/CTransform4f.h>
class CWorld : public CResource class CWorld : public CResource
{ {

View File

@ -1,5 +1,4 @@
#include "CMaterialCooker.h" #include "CMaterialCooker.h"
#include <algorithm> #include <algorithm>
CMaterialCooker::CMaterialCooker() CMaterialCooker::CMaterialCooker()

View File

@ -1,9 +1,9 @@
#ifndef CMATERIALCOOKER_H #ifndef CMATERIALCOOKER_H
#define CMATERIALCOOKER_H #define CMATERIALCOOKER_H
#include "../CMaterial.h" #include "Core/Resource/CMaterial.h"
#include "../CMaterialSet.h" #include "Core/Resource/CMaterialSet.h"
#include "../EFormatVersion.h" #include "Core/Resource/EFormatVersion.h"
class CMaterialCooker class CMaterialCooker
{ {

View File

@ -1,8 +1,8 @@
#ifndef CMODELCOOKER_H #ifndef CMODELCOOKER_H
#define CMODELCOOKER_H #define CMODELCOOKER_H
#include "../model/CModel.h" #include "Core/Resource/Model/CModel.h"
#include "../EFormatVersion.h" #include "Core/Resource/EFormatVersion.h"
#include <FileIO/FileIO.h> #include <FileIO/FileIO.h>
class CModelCooker class CModelCooker

View File

@ -1,8 +1,8 @@
#ifndef CBLOCKMGROUT_H #ifndef CBLOCKMGROUT_H
#define CBLOCKMGROUT_H #define CBLOCKMGROUT_H
#include <FileIO/COutputStream.h>
#include <Common/types.h> #include <Common/types.h>
#include <FileIO/COutputStream.h>
#include <vector> #include <vector>
// Small class to manage file sections for CMDL/MREA output // Small class to manage file sections for CMDL/MREA output

View File

@ -1,7 +1,8 @@
#include "CTemplateWriter.h" #include "CTemplateWriter.h"
#include "../cooker/CWorldCooker.h" #include "CWorldCooker.h"
#include <tinyxml2.h>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <tinyxml2.h>
using namespace tinyxml2; using namespace tinyxml2;

View File

@ -1,8 +1,9 @@
#ifndef CTEMPLATEWRITER_H #ifndef CTEMPLATEWRITER_H
#define CTEMPLATEWRITER_H #define CTEMPLATEWRITER_H
#include "../script/CMasterTemplate.h" #include "Core/Resource/Script/CMasterTemplate.h"
#include "../script/CScriptTemplate.h" #include "Core/Resource/Script/CScriptTemplate.h"
#include <tinyxml2.h>
class CTemplateWriter class CTemplateWriter
{ {

View File

@ -1,8 +1,8 @@
#ifndef CTEXTUREENCODER_H #ifndef CTEXTUREENCODER_H
#define CTEXTUREENCODER_H #define CTEXTUREENCODER_H
#include "../CTexture.h" #include "Core/Resource/CTexture.h"
#include <Core/TResPtr.h> #include "Core/Resource/TResPtr.h"
// Class contains basic functionality right now - only supports directly converting DXT1 to CMPR // Class contains basic functionality right now - only supports directly converting DXT1 to CMPR
// More advanced functions (including actual encoding!) coming later // More advanced functions (including actual encoding!) coming later

View File

@ -1,8 +1,8 @@
#ifndef CWORLDCOOKER_H #ifndef CWORLDCOOKER_H
#define CWORLDCOOKER_H #define CWORLDCOOKER_H
#include "Core/Resource/EFormatVersion.h"
#include <Common/types.h> #include <Common/types.h>
#include "../EFormatVersion.h"
class CWorldCooker class CWorldCooker
{ {

View File

@ -1,6 +1,6 @@
#include "CAnimSetLoader.h" #include "CAnimSetLoader.h"
#include <Core/CResCache.h> #include "Core/Resource/CResCache.h"
#include <Core/Log.h> #include "Core/Log.h"
CAnimSetLoader::CAnimSetLoader() CAnimSetLoader::CAnimSetLoader()
{ {

View File

@ -1,9 +1,9 @@
#ifndef CCHARACTERLOADER_H #ifndef CCHARACTERLOADER_H
#define CCHARACTERLOADER_H #define CCHARACTERLOADER_H
#include "../CAnimSet.h" #include "Core/Resource/CAnimSet.h"
#include "../EFormatVersion.h" #include "Core/Resource/EFormatVersion.h"
#include <Core/CResCache.h> #include "Core/Resource/CResCache.h"
class CAnimSetLoader class CAnimSetLoader
{ {

View File

@ -3,10 +3,12 @@
#include "CModelLoader.h" #include "CModelLoader.h"
#include "CMaterialLoader.h" #include "CMaterialLoader.h"
#include "CScriptLoader.h" #include "CScriptLoader.h"
#include "Core/Log.h"
#include <Common/CFourCC.h> #include <Common/CFourCC.h>
#include <Common/CompressionUtil.h> #include <Common/CompressionUtil.h>
#include <iostream> #include <iostream>
#include <Core/Log.h>
CAreaLoader::CAreaLoader() CAreaLoader::CAreaLoader()
{ {

View File

@ -1,12 +1,13 @@
#ifndef CAREALOADER_H #ifndef CAREALOADER_H
#define CAREALOADER_H #define CAREALOADER_H
#include <FileIO/FileIO.h>
#include "../CGameArea.h"
#include "../EFormatVersion.h"
#include "CBlockMgrIn.h" #include "CBlockMgrIn.h"
#include <Core/CResCache.h> #include "Core/Resource/Script/SConnection.h"
#include <Resource/script/SConnection.h> #include "Core/Resource/CGameArea.h"
#include "Core/Resource/EFormatVersion.h"
#include "Core/Resource/CResCache.h"
#include <FileIO/FileIO.h>
class CAreaLoader class CAreaLoader
{ {

View File

@ -1,5 +1,5 @@
#include "CCollisionLoader.h" #include "CCollisionLoader.h"
#include <Core/Log.h> #include "Core/Log.h"
#include <iostream> #include <iostream>
CCollisionLoader::CCollisionLoader() CCollisionLoader::CCollisionLoader()

View File

@ -1,9 +1,9 @@
#ifndef CCOLLISIONLOADER_H #ifndef CCOLLISIONLOADER_H
#define CCOLLISIONLOADER_H #define CCOLLISIONLOADER_H
#include "../CCollisionMesh.h" #include "Core/Resource/CCollisionMesh.h"
#include "../CCollisionMeshGroup.h" #include "Core/Resource/CCollisionMeshGroup.h"
#include "../EFormatVersion.h" #include "Core/Resource/EFormatVersion.h"
class CCollisionLoader class CCollisionLoader
{ {

View File

@ -1,5 +1,5 @@
#include "CFontLoader.h" #include "CFontLoader.h"
#include <Core/Log.h> #include "Core/Log.h"
#include <iostream> #include <iostream>
CFontLoader::CFontLoader() CFontLoader::CFontLoader()

View File

@ -1,9 +1,9 @@
#ifndef CFONTLOADER_H #ifndef CFONTLOADER_H
#define CFONTLOADER_H #define CFONTLOADER_H
#include "../CFont.h" #include "Core/Resource/CFont.h"
#include "../EFormatVersion.h" #include "Core/Resource/EFormatVersion.h"
#include <Core/CResCache.h> #include "Core/Resource/CResCache.h"
class CFontLoader class CFontLoader
{ {

View File

@ -1,7 +1,7 @@
#include "CMaterialLoader.h" #include "CMaterialLoader.h"
#include <Core/CResCache.h> #include "Core/Resource/CResCache.h"
#include <Core/Log.h> #include "Core/OpenGL/GLCommon.h"
#include <OpenGL/GLCommon.h> #include "Core/Log.h"
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>

View File

@ -1,9 +1,9 @@
#ifndef CMATERIALLOADER_H #ifndef CMATERIALLOADER_H
#define CMATERIALLOADER_H #define CMATERIALLOADER_H
#include "../CMaterialSet.h" #include "Core/Resource/CMaterialSet.h"
#include "../EFormatVersion.h" #include "Core/Resource/EFormatVersion.h"
#include <Core/CResCache.h> #include "Core/Resource/CResCache.h"
#include <FileIO/FileIO.h> #include <FileIO/FileIO.h>
#include <assimp/scene.h> #include <assimp/scene.h>

View File

@ -1,6 +1,6 @@
#include "CModelLoader.h" #include "CModelLoader.h"
#include "CMaterialLoader.h" #include "CMaterialLoader.h"
#include <Core/Log.h> #include "Core/Log.h"
CModelLoader::CModelLoader() CModelLoader::CModelLoader()
{ {

View File

@ -1,13 +1,14 @@
#ifndef CMODELLOADER_H #ifndef CMODELLOADER_H
#define CMODELLOADER_H #define CMODELLOADER_H
#include "../model/CBasicModel.h"
#include "../model/CModel.h"
#include "../EFormatVersion.h"
#include "CBlockMgrIn.h" #include "CBlockMgrIn.h"
#include <FileIO/FileIO.h> #include "Core/Resource/Model/CBasicModel.h"
#include <Core/CResCache.h> #include "Core/Resource/Model/CModel.h"
#include "Core/Resource/CResCache.h"
#include "Core/Resource/EFormatVersion.h"
#include <Common/EnumUtil.h> #include <Common/EnumUtil.h>
#include <FileIO/FileIO.h>
#include <assimp/scene.h> #include <assimp/scene.h>
class CModelLoader class CModelLoader

View File

@ -1,6 +1,6 @@
#include "CScanLoader.h" #include "CScanLoader.h"
#include <Core/CResCache.h> #include "Core/Resource/CResCache.h"
#include <Core/Log.h> #include "Core/Log.h"
CScanLoader::CScanLoader() CScanLoader::CScanLoader()
{ {

View File

@ -1,8 +1,8 @@
#ifndef CSCANLOADER_H #ifndef CSCANLOADER_H
#define CSCANLOADER_H #define CSCANLOADER_H
#include "../CScan.h" #include "Core/Resource/CScan.h"
#include "../EFormatVersion.h" #include "Core/Resource/EFormatVersion.h"
class CScanLoader class CScanLoader
{ {

View File

@ -1,7 +1,7 @@
#include "CScriptLoader.h" #include "CScriptLoader.h"
#include "../script/CMasterTemplate.h" #include "Core/Resource/Script/CMasterTemplate.h"
#include <Core/CResCache.h> #include "Core/Resource/CResCache.h"
#include <Core/Log.h> #include "Core/Log.h"
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>

View File

@ -1,11 +1,11 @@
#ifndef CSCRIPTLOADER_H #ifndef CSCRIPTLOADER_H
#define CSCRIPTLOADER_H #define CSCRIPTLOADER_H
#include "../script/CScriptObject.h" #include "Core/Resource/Script/CScriptObject.h"
#include "../script/CScriptLayer.h" #include "Core/Resource/Script/CScriptLayer.h"
#include "../script/CMasterTemplate.h" #include "Core/Resource/Script/CMasterTemplate.h"
#include "../CGameArea.h" #include "Core/Resource/CGameArea.h"
#include <Core/CResCache.h> #include "Core/Resource/CResCache.h"
class CScriptLoader class CScriptLoader
{ {

View File

@ -1,5 +1,5 @@
#include "CStringLoader.h" #include "CStringLoader.h"
#include <Core/Log.h> #include "Core/Log.h"
CStringLoader::CStringLoader() CStringLoader::CStringLoader()
{ {

View File

@ -1,10 +1,10 @@
#ifndef CSTRINGLOADER_H #ifndef CSTRINGLOADER_H
#define CSTRINGLOADER_H #define CSTRINGLOADER_H
#include "../CStringTable.h" #include "Core/Resource/CStringTable.h"
#include "../EFormatVersion.h" #include "Core/Resource/CResCache.h"
#include <Core/CResCache.h> #include "Core/Resource/EFormatVersion.h"
#include <Core/TResPtr.h> #include "Core/Resource/TResPtr.h"
class CStringLoader class CStringLoader
{ {

View File

@ -1,6 +1,6 @@
#include "CTemplateLoader.h" #include "CTemplateLoader.h"
#include "CWorldLoader.h" #include "CWorldLoader.h"
#include <Core/Log.h> #include "Core/Log.h"
void CTemplateLoader::LoadBitFlags(tinyxml2::XMLElement *pElem, CBitfieldTemplate *pTemp, const TString& templateName) void CTemplateLoader::LoadBitFlags(tinyxml2::XMLElement *pElem, CBitfieldTemplate *pTemp, const TString& templateName)
{ {

View File

@ -1,8 +1,8 @@
#ifndef CTEMPLATELOADER_H #ifndef CTEMPLATELOADER_H
#define CTEMPLATELOADER_H #define CTEMPLATELOADER_H
#include "../script/CMasterTemplate.h" #include "Core/Resource/Script/CMasterTemplate.h"
#include "../script/CScriptTemplate.h" #include "Core/Resource/Script/CScriptTemplate.h"
#include <tinyxml2.h> #include <tinyxml2.h>
class CTemplateLoader class CTemplateLoader

View File

@ -1,6 +1,6 @@
#include <Common/CColor.h>
#include <Core/Log.h>
#include "CTextureDecoder.h" #include "CTextureDecoder.h"
#include "Core/Log.h"
#include <Common/CColor.h>
// A cleanup is warranted at some point. Trying to support both partial + full decode ended up really messy. // A cleanup is warranted at some point. Trying to support both partial + full decode ended up really messy.

View File

@ -1,11 +1,12 @@
#ifndef CTEXTUREDECODER_H #ifndef CTEXTUREDECODER_H
#define CTEXTUREDECODER_H #define CTEXTUREDECODER_H
#include <FileIO/FileIO.h> #include "Core/Resource/CTexture.h"
#include "Core/Resource/ETexelFormat.h"
#include <Common/CColor.h> #include <Common/CColor.h>
#include <Common/types.h> #include <Common/types.h>
#include "../CTexture.h"
#include "../ETexelFormat.h" #include <FileIO/FileIO.h>
class CTextureDecoder class CTextureDecoder
{ {

Some files were not shown because too many files have changed in this diff Show More