yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
message_data.h File Reference
#include <regex>
#include <string>
#include <vector>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_replace.h"
#include "app/rom.h"
This graph shows which files directly or indirectly include this file:

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)
 
uint8_t yaze::editor::FindDictionaryEntry (uint8_t value)
 
std::vector< uint8_t > yaze::editor::ParseMessageToData (std::string str)
 
std::vector< DictionaryEntryyaze::editor::BuildDictionaryEntries (Rom *rom)
 
std::string yaze::editor::ReplaceAllDictionaryWords (std::string str, std::vector< DictionaryEntry > dictionary)
 
TextElement yaze::editor::FindMatchingCommand (uint8_t b)
 
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< MessageDatayaze::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< std::string > yaze::editor::ImportMessageData (std::string_view filename)
 

Variables

const uint8_t yaze::editor::kMessageTerminator = 0x7F
 
const std::string yaze::editor::kBankToken = "BANK"
 
const std::string yaze::editor::DICTIONARYTOKEN = "D"
 
constexpr uint8_t yaze::editor::DICTOFF = 0x88
 
constexpr int yaze::editor::kTextData = 0xE0000
 
constexpr int yaze::editor::kTextDataEnd = 0xE7FFF
 
constexpr int yaze::editor::kNumDictionaryEntries = 97
 
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"