mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
29 lines
651 B
C
29 lines
651 B
C
|
#pragma once
|
||
|
|
||
|
#include "ZFile.h"
|
||
|
#include "ZResource.h"
|
||
|
|
||
|
class ZCollisionPoly : public ZResource
|
||
|
{
|
||
|
public:
|
||
|
uint16_t type;
|
||
|
uint16_t vtxA, vtxB, vtxC;
|
||
|
uint16_t normX, normY, normZ;
|
||
|
uint16_t dist;
|
||
|
|
||
|
ZCollisionPoly(ZFile* nParent);
|
||
|
~ZCollisionPoly();
|
||
|
|
||
|
void ParseRawData() override;
|
||
|
void DeclareReferences(const std::string& prefix) override;
|
||
|
|
||
|
std::string GetBodySourceCode() const override;
|
||
|
std::string GetDefaultName(const std::string& prefix) const override;
|
||
|
|
||
|
std::string GetSourceTypeName() const override;
|
||
|
ZResourceType GetResourceType() const override;
|
||
|
|
||
|
bool DoesSupportArray() const override;
|
||
|
|
||
|
size_t GetRawDataSize() const override;
|
||
|
};
|