yaze 0.2.0
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"
Include dependency graph for message_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::app::editor::DictionaryEntry
 
struct  yaze::app::editor::MessageData
 
struct  yaze::app::editor::TextElement
 
struct  yaze::app::editor::ParsedElement
 

Namespaces

namespace  yaze
 
namespace  yaze::app
 Main namespace for the ImGui application.
 
namespace  yaze::app::editor
 Editors are the view controllers for the application.
 

Functions

uint8_t yaze::app::editor::FindMatchingCharacter (char value)
 
uint8_t yaze::app::editor::FindDictionaryEntry (uint8_t value)
 
std::vector< uint8_t > yaze::app::editor::ParseMessageToData (std::string str)
 
std::vector< DictionaryEntryyaze::app::editor::BuildDictionaryEntries (app::Rom *rom)
 
std::string yaze::app::editor::ReplaceAllDictionaryWords (std::string str, std::vector< DictionaryEntry > dictionary)
 
TextElement yaze::app::editor::FindMatchingCommand (uint8_t b)
 
TextElement yaze::app::editor::FindMatchingSpecial (uint8_t value)
 
ParsedElement yaze::app::editor::FindMatchingElement (const std::string &str)
 
std::string yaze::app::editor::ParseTextDataByte (uint8_t value)
 

Variables

const uint8_t yaze::app::editor::kMessageTerminator = 0x7F
 
const std::string yaze::app::editor::BANKToken = "BANK"
 
const std::string yaze::app::editor::DICTIONARYTOKEN = "D"
 
constexpr uint8_t yaze::app::editor::DICTOFF = 0x88
 
constexpr int yaze::app::editor::kTextData = 0xE0000
 
constexpr int yaze::app::editor::kTextDataEnd = 0xE7FFF
 
constexpr int yaze::app::editor::kNumDictionaryEntries = 97
 
constexpr int yaze::app::editor::kPointersDictionaries = 0x74703
 
const std::string yaze::app::editor::CHEESE = "\uBEBE"