yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
chest Struct Reference

Treasure chest. More...

#include <zelda.h>

Public Attributes

uint8_t x
 
uint8_t y
 
uint8_t item
 
bool picker
 
bool big_chest
 

Detailed Description

Treasure chest.

Represents a chest containing an item.

Definition at line 424 of file zelda.h.

Member Data Documentation

◆ x

uint8_t chest::x

X position in room

Definition at line 425 of file zelda.h.

Referenced by yaze::editor::DungeonObjectSelector::DrawCompactChestEditor().

◆ y

uint8_t chest::y

Y position in room

Definition at line 426 of file zelda.h.

Referenced by yaze::editor::DungeonObjectSelector::DrawCompactChestEditor().

◆ item

uint8_t chest::item

Item ID (for backward compatibility)

Definition at line 427 of file zelda.h.

◆ picker

bool chest::picker

Legacy field

Definition at line 428 of file zelda.h.

◆ big_chest

bool chest::big_chest

True for large chests

Definition at line 429 of file zelda.h.


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