yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
pot_item_position.h File Reference
#include <cstdint>
#include <optional>
Include dependency graph for pot_item_position.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 

Functions

constexpr int yaze::zelda3::PotItemPixelX (uint16_t word)
 
constexpr int yaze::zelda3::PotItemPixelY (uint16_t word)
 
constexpr std::optional< uint16_t > yaze::zelda3::EncodePotItemPosition (int x, int y, uint16_t original=0)
 

Variables

constexpr uint16_t yaze::zelda3::kPotItemCoordinateMask = 0x1FFE