Roguelike
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Attributes | List of all members
chunk_meta Struct Reference

Public Attributes

int height
 
int width
 
int depth
 
int chunk_type_id
 
int world_row
 
int world_col
 

Member Data Documentation

int chunk_meta::chunk_type_id

The ID of this chunk's map type

int chunk_meta::depth

An integer representing chunk depth. Chunk depth is equal to the number of dungeons beneath the overworld. This means that ocean and sand tiles have a depth of 0. If a chunk consists of a forest tile with 4 dungeons below it, the chunk has a depth of 4.

int chunk_meta::height

This chunk's height in tiles (the number of rows)

int chunk_meta::width

This chunk's width in tiles (the number of columns).

int chunk_meta::world_col

The index of the chunk's column on the world map.

int chunk_meta::world_row

The index of the chunk's row on the world map.


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