mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-24 14:51:46 -05:00

subrepo: subdir: "libultraship" merged: "a484cda98" upstream: origin: "https://github.com/HarbourMasters/libultraship.git" branch: "main" commit: "a484cda98" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
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;
|
|
};
|
|
}
|