Shipwright/libultraship/libultraship/Text.h

27 lines
379 B
C
Raw Normal View History

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