mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-30 05:12:18 -05:00
d24c8453db
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: "???"
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;
|
|
};
|
|
} |