Moved CompressionUtil to Core (to keep zlib/LZO dependencies out of Common and Math)
This commit is contained in:
parent
e138cd7035
commit
15f0b9338c
|
@ -65,7 +65,6 @@ HEADERS += \
|
||||||
CColor.h \
|
CColor.h \
|
||||||
CFourCC.h \
|
CFourCC.h \
|
||||||
CHashFNV1A.h \
|
CHashFNV1A.h \
|
||||||
CompressionUtil.h \
|
|
||||||
CTimer.h \
|
CTimer.h \
|
||||||
EKeyInputs.h \
|
EKeyInputs.h \
|
||||||
EMouseInputs.h \
|
EMouseInputs.h \
|
||||||
|
@ -93,7 +92,6 @@ HEADERS += \
|
||||||
# Source Files
|
# Source Files
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
CColor.cpp \
|
CColor.cpp \
|
||||||
CompressionUtil.cpp \
|
|
||||||
CTimer.cpp \
|
CTimer.cpp \
|
||||||
TString.cpp \
|
TString.cpp \
|
||||||
Log.cpp \
|
Log.cpp \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "CompressionUtil.h"
|
#include "CompressionUtil.h"
|
||||||
#include "Log.h"
|
#include <Common/Log.h>
|
||||||
#include "TString.h"
|
#include <Common/TString.h>
|
||||||
#include "types.h"
|
#include <Common/types.h>
|
||||||
|
|
||||||
#include <lzo/lzo1x.h>
|
#include <lzo/lzo1x.h>
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
|
@ -1,9 +1,9 @@
|
||||||
#ifndef COMPRESSIONUTIL_H
|
#ifndef COMPRESSIONUTIL_H
|
||||||
#define COMPRESSIONUTIL_H
|
#define COMPRESSIONUTIL_H
|
||||||
|
|
||||||
#include "TString.h"
|
|
||||||
#include "types.h"
|
|
||||||
#include <FileIO/FileIO.h>
|
#include <FileIO/FileIO.h>
|
||||||
|
#include <Common/TString.h>
|
||||||
|
#include <Common/types.h>
|
||||||
|
|
||||||
namespace CompressionUtil
|
namespace CompressionUtil
|
||||||
{
|
{
|
|
@ -227,7 +227,9 @@ HEADERS += \
|
||||||
GameProject/CGameInfo.h \
|
GameProject/CGameInfo.h \
|
||||||
Resource/CResTypeInfo.h \
|
Resource/CResTypeInfo.h \
|
||||||
Resource/Cooker/CResourceCooker.h \
|
Resource/Cooker/CResourceCooker.h \
|
||||||
Resource/CAudioMacro.h
|
Resource/CAudioMacro.h \
|
||||||
|
Resource/Animation/CCharacter.h \
|
||||||
|
CompressionUtil.h
|
||||||
|
|
||||||
# Source Files
|
# Source Files
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
|
@ -332,4 +334,5 @@ SOURCES += \
|
||||||
GameProject/AssetNameGeneration.cpp \
|
GameProject/AssetNameGeneration.cpp \
|
||||||
GameProject/CAssetNameMap.cpp \
|
GameProject/CAssetNameMap.cpp \
|
||||||
GameProject/CGameInfo.cpp \
|
GameProject/CGameInfo.cpp \
|
||||||
Resource/CResTypeInfo.cpp
|
Resource/CResTypeInfo.cpp \
|
||||||
|
CompressionUtil.cpp
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CResourceIterator.h"
|
#include "CResourceIterator.h"
|
||||||
#include "CResourceStore.h"
|
#include "CResourceStore.h"
|
||||||
|
#include "Core/CompressionUtil.h"
|
||||||
#include "Core/Resource/CWorld.h"
|
#include "Core/Resource/CWorld.h"
|
||||||
#include "Core/Resource/Script/CMasterTemplate.h"
|
#include "Core/Resource/Script/CMasterTemplate.h"
|
||||||
#include <FileIO/FileIO.h>
|
#include <FileIO/FileIO.h>
|
||||||
#include <Common/AssertMacro.h>
|
#include <Common/AssertMacro.h>
|
||||||
#include <Common/CompressionUtil.h>
|
|
||||||
#include <Common/CScopedTimer.h>
|
#include <Common/CScopedTimer.h>
|
||||||
#include <Common/FileUtil.h>
|
#include <Common/FileUtil.h>
|
||||||
#include <Common/Serialization/CXMLWriter.h>
|
#include <Common/Serialization/CXMLWriter.h>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#include "CPackage.h"
|
#include "CPackage.h"
|
||||||
#include "DependencyListBuilders.h"
|
#include "DependencyListBuilders.h"
|
||||||
#include "CGameProject.h"
|
#include "CGameProject.h"
|
||||||
|
#include "Core/CompressionUtil.h"
|
||||||
#include "Core/Resource/Cooker/CWorldCooker.h"
|
#include "Core/Resource/Cooker/CWorldCooker.h"
|
||||||
#include <FileIO/FileIO.h>
|
#include <FileIO/FileIO.h>
|
||||||
#include <Common/AssertMacro.h>
|
#include <Common/AssertMacro.h>
|
||||||
#include <Common/CompressionUtil.h>
|
|
||||||
#include <Common/FileUtil.h>
|
#include <Common/FileUtil.h>
|
||||||
#include <Common/Serialization/XML.h>
|
#include <Common/Serialization/XML.h>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "CAreaCooker.h"
|
#include "CAreaCooker.h"
|
||||||
#include "CScriptCooker.h"
|
#include "CScriptCooker.h"
|
||||||
#include <Common/CompressionUtil.h>
|
#include "Core/CompressionUtil.h"
|
||||||
#include <Common/Log.h>
|
#include <Common/Log.h>
|
||||||
|
|
||||||
const bool gkForceDisableCompression = false;
|
const bool gkForceDisableCompression = false;
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
#include "CModelLoader.h"
|
#include "CModelLoader.h"
|
||||||
#include "CMaterialLoader.h"
|
#include "CMaterialLoader.h"
|
||||||
#include "CScriptLoader.h"
|
#include "CScriptLoader.h"
|
||||||
|
#include "Core/CompressionUtil.h"
|
||||||
#include <Common/Log.h>
|
#include <Common/Log.h>
|
||||||
|
|
||||||
#include <Common/CFourCC.h>
|
#include <Common/CFourCC.h>
|
||||||
#include <Common/CompressionUtil.h>
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue