yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
game_parity_gate.cc File Reference
#include "zelda3/dungeon/game_parity_gate.h"
#include <algorithm>
#include <fstream>
#include <iterator>
#include <set>
#include <sstream>
#include <tuple>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "nlohmann/json.hpp"
#include "util/rom_hash.h"
#include "zelda3/dungeon/game_tilemap_comparison.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 
namespace  yaze::zelda3::parity
 
namespace  yaze::zelda3::parity::anonymous_namespace{game_parity_gate.cc}
 

Typedefs

using yaze::zelda3::parity::anonymous_namespace{game_parity_gate.cc}::json = nlohmann::json
 
using yaze::zelda3::parity::anonymous_namespace{game_parity_gate.cc}::TileKey = std::tuple<int, int, int, int>
 

Functions

std::string yaze::zelda3::parity::anonymous_namespace{game_parity_gate.cc}::RoomKey (int room_id)
 
bool yaze::zelda3::parity::anonymous_namespace{game_parity_gate.cc}::ReadFileBytes (const std::filesystem::path &path, std::vector< uint8_t > &out)
 
std::string yaze::zelda3::parity::anonymous_namespace{game_parity_gate.cc}::ManifestString (const json &manifest, const char *key)
 
bool yaze::zelda3::parity::anonymous_namespace{game_parity_gate.cc}::ParseRoomId (std::string_view text, int &room_id)
 
std::string yaze::zelda3::parity::CaptureRomSha1 (std::span< const uint8_t > rom)
 
absl::StatusOr< CaptureSet > yaze::zelda3::parity::LoadVerifiedCaptureSet (const std::filesystem::path &dir, const CaptureExpectation &expected, std::string_view rom_sha1)
 
std::string yaze::zelda3::parity::DifferenceDigest (uint16_t game_word, uint16_t yaze_word)
 
absl::StatusOr< Baseline > yaze::zelda3::parity::ParseBaseline (std::string_view text)
 
std::string yaze::zelda3::parity::SerializeBaseline (const Baseline &baseline)
 
const char * yaze::zelda3::parity::GateFindingKindName (GateFinding::Kind kind)
 
std::string yaze::zelda3::parity::DescribeFinding (const GateFinding &finding)
 
GateReport yaze::zelda3::parity::EvaluateParity (const Baseline &baseline, const std::vector< ObservedDifference > &observed, const std::vector< int > &rooms_checked)
 

Variables

constexpr int yaze::zelda3::parity::anonymous_namespace{game_parity_gate.cc}::kBaselineVersion = 1