yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::AreaTableInfo Struct Reference

One table the game or yaze indexes with an overworld area ID. More...

#include <overworld_allocation.h>

Public Member Functions

bool Covers (int area) const
 
bool Applies (int area) const
 
bool Misses (int area) const
 The game reads this table for area but has no entry for it.
 

Public Attributes

std::string id
 
std::string label
 
std::string group
 
bool in_rom = true
 
uint32_t pc = 0
 
uint32_t snes = 0
 
int entry_bytes = 1
 
int first_area = 0
 
int last_area = 0
 
std::string past_end
 
std::string note
 
int applies_first = 0x00
 
int applies_last = 0xBF
 

Detailed Description

One table the game or yaze indexes with an overworld area ID.

Definition at line 43 of file overworld_allocation.h.

Member Function Documentation

◆ Covers()

bool yaze::zelda3::AreaTableInfo::Covers ( int area) const
inline

Definition at line 61 of file overworld_allocation.h.

References first_area, and last_area.

Referenced by Misses().

◆ Applies()

bool yaze::zelda3::AreaTableInfo::Applies ( int area) const
inline

Definition at line 64 of file overworld_allocation.h.

References applies_first, and applies_last.

Referenced by Misses().

◆ Misses()

bool yaze::zelda3::AreaTableInfo::Misses ( int area) const
inline

The game reads this table for area but has no entry for it.

Definition at line 68 of file overworld_allocation.h.

References Applies(), and Covers().

Referenced by yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::TableJson().

Here is the call graph for this function:

Member Data Documentation

◆ id

◆ label

◆ group

◆ in_rom

◆ pc

◆ snes

◆ entry_bytes

◆ first_area

◆ last_area

◆ past_end

◆ note

◆ applies_first

int yaze::zelda3::AreaTableInfo::applies_first = 0x00

◆ applies_last

int yaze::zelda3::AreaTableInfo::applies_last = 0xBF

The documentation for this struct was generated from the following file: