mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-23 01:25:51 +00:00
22 lines
650 B
C++
22 lines
650 B
C++
#pragma once
|
|
|
|
#include "Dumping/AbstractAssetDumper.h"
|
|
#include "Game/IW4/IW4.h"
|
|
#include "InfoString/InfoString.h"
|
|
|
|
namespace IW4
|
|
{
|
|
class AssetDumperVehicle final : public AbstractAssetDumper<VehicleDef>
|
|
{
|
|
static constexpr const char* FILE_TYPE_STR = "VEHICLEFILE";
|
|
static constexpr const char* GDF_NAME = "vehicle.gdf";
|
|
static cspField_t vehicle_fields[];
|
|
|
|
static InfoString CreateInfoString(XAssetInfo<VehicleDef>* asset);
|
|
|
|
protected:
|
|
bool ShouldDump(XAssetInfo<VehicleDef>* asset) override;
|
|
void DumpAsset(AssetDumpingContext& context, XAssetInfo<VehicleDef>* asset) override;
|
|
};
|
|
}
|