ZoneLoading: Make AssetDumpers get the zone via their args

This commit is contained in:
Jan
2019-11-19 02:30:04 +01:00
parent 7077ba8ce3
commit 11168c782f
15 changed files with 30 additions and 29 deletions

View File

@ -2,12 +2,12 @@
using namespace T6;
std::string AssetDumperStringTable::GetFileNameForAsset(StringTable* asset)
std::string AssetDumperStringTable::GetFileNameForAsset(Zone* zone, StringTable* asset)
{
return std::string(asset->name);
}
void AssetDumperStringTable::DumpAsset(StringTable* asset, FileAPI::File* out)
void AssetDumperStringTable::DumpAsset(Zone* zone, StringTable* asset, FileAPI::File* out)
{
char separator[]{ ',' };
char newLine[]{ '\n' };