maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
RetroTile Tile Definitions
Collaboration diagram for RetroTile Tile Definitions:

Topics

 RetroTile Custom Property Types
 

Data Structures

struct  RETROTILE_TILE_DEF
 

Macros

#define RETROTILE_DS_FLAG_INIT_DATA   0x02
 Flag for retrotile_gen_diamond_square_iter() indicating that passed RETROTILE_DATA_DS object should be initialized (first pass).
 
#define RETROTILE_IDX_FMT   "%u"
 

Detailed Description

Macro Definition Documentation

◆ RETROTILE_DS_FLAG_INIT_DATA

#define RETROTILE_DS_FLAG_INIT_DATA   0x02

Flag for retrotile_gen_diamond_square_iter() indicating that passed RETROTILE_DATA_DS object should be initialized (first pass).

This should only be used if calling retrotile_gen_diamond_square_iter() from outside retrotil.h with a RETROTILE_DATA_DS object, so as to return statistics about the generated terrain. Otherwise, a NULL can be passed to retrotile_gen_diamond_square_iter() so that it will just use an internal object which will always be initialized.