22#ifndef TWINE_PARSER_TEXT_H
23#define TWINE_PARSER_TEXT_H
25#include "common/array.h"
26#include "common/memstream.h"
27#include "common/stream.h"
28#include "twine/parser/parser.h"
29#include "twine/shared.h"
44 void add(TextBankId textBankId,
const TextEntry &entry) {
45 _texts[(int)textBankId].push_back(entry);
49 void initCustomTexts(TextBankId textBankId);
51 bool loadFromHQR(
const char *name, TextBankId textBankId,
int language,
bool lba1,
int entryCount);
53 const TextEntry *getText(TextBankId textBankId, TextId textIndex)
const;
TextId textIndex
Definition: text.h:37
int index
Definition: text.h:36
Common::String string
Definition: text.h:35