mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-12 07:48:16 -05:00
Dump iw4 images
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
#include <cassert>
|
||||
|
||||
#include "ObjWriting.h"
|
||||
#include "Image/IwiWriter27.h"
|
||||
#include "Image/IwiWriter8.h"
|
||||
#include "Image/DdsWriter.h"
|
||||
|
||||
using namespace IW4;
|
||||
@ -16,7 +16,7 @@ AssetDumperGfxImage::AssetDumperGfxImage()
|
||||
m_writer = new DdsWriter();
|
||||
break;
|
||||
case ObjWriting::Configuration_t::ImageOutputFormat_e::IWI:
|
||||
m_writer = new IwiWriter27();
|
||||
m_writer = new iwi8::IwiWriter();
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
|
@ -35,7 +35,7 @@ bool ZoneDumper::DumpZone(Zone* zone, const std::string& basePath) const
|
||||
// DUMP_ASSET_POOL(AssetDumperMaterialVertexShader, m_material_vertex_shader);
|
||||
// DUMP_ASSET_POOL(AssetDumperMaterialVertexDeclaration, m_material_vertex_decl);
|
||||
// DUMP_ASSET_POOL(AssetDumperMaterialTechniqueSet, m_technique_set);
|
||||
// DUMP_ASSET_POOL(AssetDumperGfxImage, m_image);
|
||||
DUMP_ASSET_POOL(AssetDumperGfxImage, m_image);
|
||||
// DUMP_ASSET_POOL(AssetDumpersnd_alias_list_t, m_sound);
|
||||
// DUMP_ASSET_POOL(AssetDumperSndCurve, m_sound_curve);
|
||||
// DUMP_ASSET_POOL(AssetDumperLoadedSound, m_loaded_sound);
|
||||
|
Reference in New Issue
Block a user