mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
28 lines
361 B
C
28 lines
361 B
C
|
#pragma once
|
||
|
|
||
|
#include "Resource.h"
|
||
|
|
||
|
namespace Ship
|
||
|
{
|
||
|
class Vtx
|
||
|
{
|
||
|
public:
|
||
|
int16_t x, y, z;
|
||
|
uint16_t flag;
|
||
|
int16_t s, t;
|
||
|
uint8_t r, g, b, a;
|
||
|
};
|
||
|
|
||
|
class VertexV0 : public ResourceFile
|
||
|
{
|
||
|
public:
|
||
|
void ParseFileBinary(BinaryReader* reader, Resource* res) override;
|
||
|
};
|
||
|
|
||
|
class Vertex : public Resource
|
||
|
{
|
||
|
public:
|
||
|
std::vector<Vtx> vtxList;
|
||
|
};
|
||
|
}
|