yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::dungeon_coords::CameraToLocalResult Struct Reference

Convert camera coordinates back to room ID and local position. More...

#include <dungeon_coordinates.h>

Public Attributes

int room_id
 
int local_pixel_x
 
int local_pixel_y
 
int local_tile_x
 
int local_tile_y
 

Detailed Description

Convert camera coordinates back to room ID and local position.

Parameters
camera_x16-bit camera X coordinate
camera_y16-bit camera Y coordinate
Returns
Tuple-like struct with room_id, local_pixel_x, local_pixel_y

Definition at line 196 of file dungeon_coordinates.h.

Member Data Documentation

◆ room_id

int yaze::editor::dungeon_coords::CameraToLocalResult::room_id

Definition at line 197 of file dungeon_coordinates.h.

◆ local_pixel_x

int yaze::editor::dungeon_coords::CameraToLocalResult::local_pixel_x

Definition at line 198 of file dungeon_coordinates.h.

◆ local_pixel_y

int yaze::editor::dungeon_coords::CameraToLocalResult::local_pixel_y

Definition at line 199 of file dungeon_coordinates.h.

◆ local_tile_x

int yaze::editor::dungeon_coords::CameraToLocalResult::local_tile_x

Definition at line 200 of file dungeon_coordinates.h.

◆ local_tile_y

int yaze::editor::dungeon_coords::CameraToLocalResult::local_tile_y

Definition at line 201 of file dungeon_coordinates.h.


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