Enhance message editor with import/export functionality for messages, including file handling and UI updates

This commit is contained in:
scawful
2025-04-16 22:34:34 -04:00
parent 97788fc033
commit a01d554f15
4 changed files with 315 additions and 242 deletions

View File

@@ -311,6 +311,12 @@ std::vector<std::string> ParseMessageData(
std::vector<MessageData> &message_data,
const std::vector<DictionaryEntry> &dictionary_entries);
constexpr int kTextData2 = 0x75F40;
constexpr int kTextData2End = 0x773FF;
// Reads all text data from the ROM and returns a vector of MessageData objects.
void ReadAllTextData(Rom *rom, std::vector<MessageData> &list_of_texts_);
std::vector<std::string> ImportMessageData(std::string_view filename);
} // namespace editor