#include <optional>#include <regex>#include <string>#include <unordered_map>#include <vector>#include <string_view>#include "absl/strings/str_format.h"#include "absl/strings/str_replace.h"#include "absl/strings/match.h"#include "app/rom.h"Go to the source code of this file.
Classes | |
| struct | yaze::editor::DictionaryEntry |
| struct | yaze::editor::MessageData |
| struct | yaze::editor::TextElement |
| struct | yaze::editor::ParsedElement |
Namespaces | |
| namespace | yaze |
| Main namespace for the application. | |
| namespace | yaze::editor |
| Editors are the view controllers for the application. | |
Functions | |
| uint8_t | yaze::editor::FindMatchingCharacter (char value) |
| int8_t | yaze::editor::FindDictionaryEntry (uint8_t value) |
| std::vector< uint8_t > | yaze::editor::ParseMessageToData (std::string str) |
| std::vector< DictionaryEntry > | yaze::editor::BuildDictionaryEntries (Rom *rom) |
| std::string | yaze::editor::ReplaceAllDictionaryWords (std::string str, const std::vector< DictionaryEntry > &dictionary) |
| DictionaryEntry | yaze::editor::FindRealDictionaryEntry (uint8_t value, const std::vector< DictionaryEntry > &dictionary) |
| std::optional< TextElement > | yaze::editor::FindMatchingCommand (uint8_t b) |
| std::optional< TextElement > | yaze::editor::FindMatchingSpecial (uint8_t value) |
| ParsedElement | yaze::editor::FindMatchingElement (const std::string &str) |
| std::string | yaze::editor::ParseTextDataByte (uint8_t value) |
| absl::StatusOr< MessageData > | yaze::editor::ParseSingleMessage (const std::vector< uint8_t > &rom_data, int *current_pos) |
| std::vector< std::string > | yaze::editor::ParseMessageData (std::vector< MessageData > &message_data, const std::vector< DictionaryEntry > &dictionary_entries) |
| std::vector< MessageData > | yaze::editor::ReadAllTextData (uint8_t *rom, int pos) |
| absl::Status | yaze::editor::LoadExpandedMessages (std::string &expanded_message_path, std::vector< std::string > &parsed_messages, std::vector< MessageData > &expanded_messages, std::vector< DictionaryEntry > &dictionary) |
Variables | |
| const std::string | yaze::editor::kBankToken = "BANK" |
| const std::string | yaze::editor::DICTIONARYTOKEN = "D" |
| constexpr uint8_t | yaze::editor::kMessageTerminator = 0x7F |
| constexpr uint8_t | yaze::editor::DICTOFF = 0x88 |
| constexpr uint8_t | yaze::editor::kWidthArraySize = 100 |
| constexpr int | yaze::editor::kTextData = 0xE0000 |
| constexpr int | yaze::editor::kTextDataEnd = 0xE7FFF |
| constexpr int | yaze::editor::kNumDictionaryEntries = 0x61 |
| constexpr int | yaze::editor::kPointersDictionaries = 0x74703 |
| constexpr uint8_t | yaze::editor::kScrollVertical = 0x73 |
| constexpr uint8_t | yaze::editor::kLine1 = 0x74 |
| constexpr uint8_t | yaze::editor::kLine2 = 0x75 |
| constexpr uint8_t | yaze::editor::kLine3 = 0x76 |
| const std::string | yaze::editor::CHEESE = "\uBEBE" |
| constexpr int | yaze::editor::kTextData2 = 0x75F40 |
| constexpr int | yaze::editor::kTextData2End = 0x773FF |