Dump a few iw4 assets

This commit is contained in:
Jan
2020-09-09 18:40:01 +02:00
parent 4aafbac113
commit 14666ed944
32 changed files with 734 additions and 220 deletions

View File

@ -12,12 +12,14 @@
#include "AssetDumpers/AssetDumperGfxImage.h"
#include "AssetDumpers/AssetDumperFontIcon.h"
bool ZoneDumperT6::CanHandleZone(Zone* zone) const
using namespace T6;
bool ZoneDumper::CanHandleZone(Zone* zone) const
{
return zone->m_game == &g_GameT6;
}
bool ZoneDumperT6::DumpZone(Zone* zone, const std::string& basePath) const
bool ZoneDumper::DumpZone(Zone* zone, const std::string& basePath) const
{
#define DUMP_ASSET_POOL(dumperType, poolName) \
if(assetPools->poolName) \
@ -80,4 +82,4 @@ bool ZoneDumperT6::DumpZone(Zone* zone, const std::string& basePath) const
return true;
#undef DUMP_ASSET_POOL
}
}