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

Functions

absl::Status GetSpritePointerTablePc (const std::vector< uint8_t > &rom_data, int *table_pc)
 
int ReadRoomSpriteAddressPc (const std::vector< uint8_t > &rom_data, int table_pc, int room_id)
 
int MeasureSpriteStreamSize (const std::vector< uint8_t > &rom_data, int sprite_address, int hard_end)
 
bool IsSpritePointerShared (const std::vector< uint8_t > &rom_data, int table_pc, int room_id, int sprite_address)
 
std::vector< std::vector< uint8_t > > ParseRomTorchSegments (const std::vector< uint8_t > &rom_data, int bytes_count)
 
std::vector< std::vector< std::pair< uint8_t, bool > > > ParseRomChests (const std::vector< uint8_t > &rom_data, int cpos, int clength)
 
std::vector< std::vector< uint8_t > > ParseRomPotItems (const std::vector< uint8_t > &rom_data)
 

Variables

constexpr int kTorchesMaxSize = 0x120
 

Function Documentation

◆ GetSpritePointerTablePc()

absl::Status yaze::zelda3::anonymous_namespace{room.cc}::GetSpritePointerTablePc ( const std::vector< uint8_t > & rom_data,
int * table_pc )

Definition at line 108 of file room.cc.

References GetSpritePointerTablePc(), yaze::zelda3::kNumberOfRooms, yaze::zelda3::kRoomsSpritePointer, and yaze::SnesToPc().

Referenced by GetSpritePointerTablePc().

Here is the call graph for this function:

◆ ReadRoomSpriteAddressPc()

int yaze::zelda3::anonymous_namespace{room.cc}::ReadRoomSpriteAddressPc ( const std::vector< uint8_t > & rom_data,
int table_pc,
int room_id )

Definition at line 128 of file room.cc.

References yaze::zelda3::kNumberOfRooms, ReadRoomSpriteAddressPc(), and yaze::SnesToPc().

Referenced by IsSpritePointerShared(), and ReadRoomSpriteAddressPc().

Here is the call graph for this function:

◆ MeasureSpriteStreamSize()

int yaze::zelda3::anonymous_namespace{room.cc}::MeasureSpriteStreamSize ( const std::vector< uint8_t > & rom_data,
int sprite_address,
int hard_end )

Definition at line 143 of file room.cc.

References MeasureSpriteStreamSize().

Referenced by MeasureSpriteStreamSize().

Here is the call graph for this function:

◆ IsSpritePointerShared()

bool yaze::zelda3::anonymous_namespace{room.cc}::IsSpritePointerShared ( const std::vector< uint8_t > & rom_data,
int table_pc,
int room_id,
int sprite_address )

Definition at line 166 of file room.cc.

References IsSpritePointerShared(), yaze::zelda3::kNumberOfRooms, and ReadRoomSpriteAddressPc().

Referenced by IsSpritePointerShared().

Here is the call graph for this function:

◆ ParseRomTorchSegments()

std::vector< std::vector< uint8_t > > yaze::zelda3::anonymous_namespace{room.cc}::ParseRomTorchSegments ( const std::vector< uint8_t > & rom_data,
int bytes_count )

Definition at line 2168 of file room.cc.

References yaze::zelda3::kNumberOfRooms, yaze::zelda3::kTorchData, kTorchesMaxSize, and ParseRomTorchSegments().

Referenced by ParseRomTorchSegments().

Here is the call graph for this function:

◆ ParseRomChests()

std::vector< std::vector< std::pair< uint8_t, bool > > > yaze::zelda3::anonymous_namespace{room.cc}::ParseRomChests ( const std::vector< uint8_t > & rom_data,
int cpos,
int clength )

Definition at line 2462 of file room.cc.

References yaze::zelda3::kNumberOfRooms, and ParseRomChests().

Referenced by ParseRomChests().

Here is the call graph for this function:

◆ ParseRomPotItems()

std::vector< std::vector< uint8_t > > yaze::zelda3::anonymous_namespace{room.cc}::ParseRomPotItems ( const std::vector< uint8_t > & rom_data)

Definition at line 2480 of file room.cc.

References yaze::zelda3::kNumberOfRooms, yaze::zelda3::kRoomItemsPointers, ParseRomPotItems(), and yaze::SnesToPc().

Referenced by ParseRomPotItems().

Here is the call graph for this function:

Variable Documentation

◆ kTorchesMaxSize

constexpr int yaze::zelda3::anonymous_namespace{room.cc}::kTorchesMaxSize = 0x120
constexpr

Definition at line 2165 of file room.cc.

Referenced by ParseRomTorchSegments().