mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-27 08:03:09 +01:00
20 lines
427 B
C++
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;
|
|
};
|