1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-05 14:55:38 +01:00
GiantsTools/Plugins/imp_gbs/Gb2Importer.h

20 lines
427 B
C
Raw Normal View History

2022-09-17 02:54:10 +02:00
#pragma once
#include "IGiantsImporter.h"
#include "Gb2Data.h"
class Gb2Importer : IGiantsImporter
{
public:
// Inherited via IGiantsImporter
virtual void ImportFile(const MCHAR* name, ImpInterface* ii, Interface* i, BOOL suppressPrompts) override;
private:
void ReadGb2File(const MCHAR* Name);
void BuildMeshes(ImpInterface* ii);
Mtl* BuildMaterial(SingleObjectData& obj);
FILE* m_OpenFile{};
Gb2Data m_gb2Data;
};