mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-04 07:47:25 +00:00
refactor: restructure light def dumper
This commit is contained in:
14
src/ObjWriting/Game/IW4/LightDef/LightDefDumperIW4.h
Normal file
14
src/ObjWriting/Game/IW4/LightDef/LightDefDumperIW4.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "Dumping/AbstractAssetDumper.h"
|
||||
#include "Game/IW4/IW4.h"
|
||||
|
||||
namespace IW4::light_def
|
||||
{
|
||||
class Dumper final : public AbstractAssetDumper<GfxLightDef>
|
||||
{
|
||||
protected:
|
||||
bool ShouldDump(XAssetInfo<GfxLightDef>* asset) override;
|
||||
void DumpAsset(AssetDumpingContext& context, XAssetInfo<GfxLightDef>* asset) override;
|
||||
};
|
||||
} // namespace IW4
|
Reference in New Issue
Block a user