Namespaces | |
namespace | anonymous_namespace{bps.cc} |
namespace | anonymous_namespace{hex.cc} |
Classes | |
class | Flag |
class | FlagParser |
class | FlagRegistry |
struct | HexStringParams |
class | IFlag |
class | NotifyValue |
A class to manage a value that can be modified and notify when it changes. More... | |
Functions | |
void | CreateBpsPatch (const std::vector< uint8_t > &source, const std::vector< uint8_t > &target, std::vector< uint8_t > &patch) |
void | ApplyBpsPatch (const std::vector< uint8_t > &source, const std::vector< uint8_t > &patch, std::vector< uint8_t > &target) |
FlagRegistry * | global_flag_registry () |
std::string | HexByte (uint8_t byte, HexStringParams params) |
std::string | HexWord (uint16_t word, HexStringParams params) |
std::string | HexLong (uint32_t dword, HexStringParams params) |
std::string | HexLongLong (uint64_t qword, HexStringParams params) |
void yaze::util::CreateBpsPatch | ( | const std::vector< uint8_t > & | source, |
const std::vector< uint8_t > & | target, | ||
std::vector< uint8_t > & | patch ) |
Definition at line 47 of file bps.cc.
Referenced by yaze::cli::CreatePatch::handle().
void yaze::util::ApplyBpsPatch | ( | const std::vector< uint8_t > & | source, |
const std::vector< uint8_t > & | patch, | ||
std::vector< uint8_t > & | target ) |
Definition at line 136 of file bps.cc.
Referenced by yaze::cli::anonymous_namespace{tui.cc}::ApplyBpsPatchComponent(), and yaze::cli::ApplyPatch::handle().
|
inline |
std::string yaze::util::HexByte | ( | uint8_t | byte, |
HexStringParams | params ) |
Definition at line 33 of file hex.cc.
References yaze::util::HexStringParams::uppercase.
Referenced by yaze::zelda3::OverworldMap::DrawAnimatedTiles(), yaze::editor::ScreenEditor::DrawDungeonMapsTabs(), yaze::editor::DungeonEditor::DrawEntranceSelector(), yaze::editor::OverworldEditor::DrawOverworldEntrances(), yaze::editor::OverworldEditor::DrawOverworldExits(), yaze::editor::DungeonEditor::DrawRoomSelector(), yaze::editor::SpriteEditor::DrawSpritesList(), yaze::editor::HandleEntityDragging(), yaze::editor::Tile16Editor::InitBlockset(), yaze::editor::ScreenEditor::LoadDungeonMaps(), yaze::editor::MessageEditor::ReadAllTextDataV2(), yaze::zelda3::Overworld::SaveOverworldMaps(), yaze::editor::OverworldEditor::UpdateUsageStats(), yaze::Rom::WriteByte(), and yaze::Rom::WriteVector().
std::string yaze::util::HexWord | ( | uint16_t | word, |
HexStringParams | params ) |
Definition at line 46 of file hex.cc.
References yaze::util::HexStringParams::uppercase.
Referenced by yaze::editor::MessageEditor::DrawDictionary(), yaze::editor::MessageEditor::DrawMessageList(), yaze::editor::ParseSingleMessage(), yaze::editor::MessageEditor::ReadAllTextData(), yaze::editor::MessageEditor::ReadAllTextDataV2(), yaze::Rom::WriteColor(), yaze::Rom::WriteShort(), and yaze::Rom::WriteWord().
std::string yaze::util::HexLong | ( | uint32_t | dword, |
HexStringParams | params ) |
Definition at line 59 of file hex.cc.
References yaze::util::HexStringParams::uppercase.
Referenced by yaze::editor::MessageEditor::DrawMessageList(), yaze::editor::ParseMessageData(), yaze::zelda3::Overworld::SaveOverworldMaps(), and yaze::Rom::WriteLong().
std::string yaze::util::HexLongLong | ( | uint64_t | qword, |
HexStringParams | params ) |
Definition at line 72 of file hex.cc.
References yaze::util::HexStringParams::uppercase.
Referenced by yaze::editor::EditorManager::DrawPopups().