mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
Dump a few iw4 assets
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user