Shipwright/libultraship/libultraship/Text.h
M4xw d24c8453db git subrepo clone https://github.com/HarbourMasters/libultraship.git
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:   "???"
2022-03-22 02:52:44 +01:00

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;
};
}