1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-16 19:55:36 +01:00
GiantsTools/Plugins/imp_gbs/Gb2Importer.h
2022-09-16 17:57:19 -07:00

20 lines
427 B
C++

#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;
};