yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::anonymous_namespace{cutscene_shot.cc} Namespace Reference

Typedefs

using ordered_json = nlohmann::ordered_json
 

Functions

std::string Hex2 (int value)
 
absl::Status FieldError (const std::string &where, const std::string &what)
 
absl::StatusOr< int > ReadInt (const ordered_json &object, const char *key, const std::string &where, int min, int max)
 
bool ValidName (const std::string &name)
 

Variables

constexpr std::array< uint16_t, 64 > kVanillaOriginY
 
constexpr std::array< uint16_t, 64 > kVanillaOriginX
 
constexpr int kMaxWorldPixel = 0xFFFF
 

Typedef Documentation

◆ ordered_json

using yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::ordered_json = nlohmann::ordered_json

Definition at line 16 of file cutscene_shot.cc.

Function Documentation

◆ Hex2()

std::string yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::Hex2 ( int value)

Definition at line 40 of file cutscene_shot.cc.

References Hex2().

Referenced by Hex2().

Here is the call graph for this function:

◆ FieldError()

absl::Status yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::FieldError ( const std::string & where,
const std::string & what )

Definition at line 44 of file cutscene_shot.cc.

References FieldError().

Referenced by FieldError(), and ReadInt().

Here is the call graph for this function:

◆ ReadInt()

absl::StatusOr< int > yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::ReadInt ( const ordered_json & object,
const char * key,
const std::string & where,
int min,
int max )

Definition at line 50 of file cutscene_shot.cc.

References FieldError(), and ReadInt().

Referenced by ReadInt().

Here is the call graph for this function:

◆ ValidName()

bool yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::ValidName ( const std::string & name)

Definition at line 82 of file cutscene_shot.cc.

References yaze::zelda3::name, and ValidName().

Referenced by ValidName().

Here is the call graph for this function:

Variable Documentation

◆ kVanillaOriginY

constexpr std::array<uint16_t, 64> yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::kVanillaOriginY
constexpr
Initial value:
= {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0200, 0x0000, 0x0000, 0x0000, 0x0000, 0x0200,
0x0400, 0x0400, 0x0400, 0x0400, 0x0400, 0x0400, 0x0400, 0x0400,
0x0600, 0x0600, 0x0600, 0x0600, 0x0600, 0x0600, 0x0600, 0x0600,
0x0600, 0x0600, 0x0800, 0x0600, 0x0600, 0x0800, 0x0600, 0x0600,
0x0A00, 0x0A00, 0x0A00, 0x0A00, 0x0A00, 0x0A00, 0x0A00, 0x0A00,
0x0C00, 0x0C00, 0x0C00, 0x0C00, 0x0C00, 0x0C00, 0x0C00, 0x0C00,
0x0C00, 0x0C00, 0x0E00, 0x0E00, 0x0E00, 0x0C00, 0x0C00, 0x0E00}

Definition at line 19 of file cutscene_shot.cc.

◆ kVanillaOriginX

constexpr std::array<uint16_t, 64> yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::kVanillaOriginX
constexpr
Initial value:
= {
0x0000, 0x0000, 0x0400, 0x0600, 0x0600, 0x0A00, 0x0A00, 0x0E00,
0x0000, 0x0000, 0x0400, 0x0600, 0x0600, 0x0A00, 0x0A00, 0x0E00,
0x0000, 0x0200, 0x0400, 0x0600, 0x0800, 0x0A00, 0x0C00, 0x0E00,
0x0000, 0x0000, 0x0400, 0x0600, 0x0600, 0x0A00, 0x0C00, 0x0C00,
0x0000, 0x0000, 0x0400, 0x0600, 0x0600, 0x0A00, 0x0C00, 0x0C00,
0x0000, 0x0200, 0x0400, 0x0600, 0x0800, 0x0A00, 0x0C00, 0x0E00,
0x0000, 0x0000, 0x0400, 0x0600, 0x0800, 0x0A00, 0x0A00, 0x0E00,
0x0000, 0x0000, 0x0400, 0x0600, 0x0800, 0x0A00, 0x0A00, 0x0E00}

Definition at line 28 of file cutscene_shot.cc.

◆ kMaxWorldPixel

constexpr int yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::kMaxWorldPixel = 0xFFFF
constexpr

Definition at line 38 of file cutscene_shot.cc.