mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-30 13:22:18 -05:00
27 lines
379 B
C
27 lines
379 B
C
|
#pragma once
|
||
|
|
||
|
#include "Resource.h"
|
||
|
|
||
|
namespace Ship
|
||
|
{
|
||
|
class MessageEntry
|
||
|
{
|
||
|
public:
|
||
|
uint16_t id;
|
||
|
uint8_t textboxType;
|
||
|
uint8_t textboxYPos;
|
||
|
std::string msg;
|
||
|
};
|
||
|
|
||
|
class TextV0 : public ResourceFile
|
||
|
{
|
||
|
public:
|
||
|
void ParseFileBinary(BinaryReader* reader, Resource* res) override;
|
||
|
};
|
||
|
|
||
|
class Text : public Resource
|
||
|
{
|
||
|
public:
|
||
|
std::vector<MessageEntry> messages;
|
||
|
};
|
||
|
}
|