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

Configuration for coordinate mapping. More...

#include <coordinate_mapper.h>

Public Attributes

float tile_size = 16.0f
 Size of tiles in pixels (8 or 16)
 
int tiles_per_row = 32
 Number of tiles per row in the map.
 
int tiles_per_col = 32
 Number of tiles per column.
 
int local_map_size = 512
 Size of local map in pixels (512 for OW)
 
bool use_tile16 = true
 Use 16x16 tile indexing.
 

Detailed Description

Configuration for coordinate mapping.

Definition at line 78 of file coordinate_mapper.h.

Member Data Documentation

◆ tile_size

◆ tiles_per_row

int yaze::gui::CoordinateMapperConfig::tiles_per_row = 32

◆ tiles_per_col

int yaze::gui::CoordinateMapperConfig::tiles_per_col = 32

Number of tiles per column.

Definition at line 81 of file coordinate_mapper.h.

Referenced by yaze::gui::CoordinateMapper::IsValidTileCoord().

◆ local_map_size

int yaze::gui::CoordinateMapperConfig::local_map_size = 512

Size of local map in pixels (512 for OW)

Definition at line 82 of file coordinate_mapper.h.

Referenced by yaze::gui::CoordinateMapper::CalculateLocalMapId(), and yaze::gui::CoordinateMapper::CanvasToTile().

◆ use_tile16

bool yaze::gui::CoordinateMapperConfig::use_tile16 = true

Use 16x16 tile indexing.

Definition at line 83 of file coordinate_mapper.h.

Referenced by yaze::gui::CoordinateMapper::CalculateRomOffset(), and yaze::gui::CoordinateMapper::CanvasToTile().


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