maug
Quick and dirty C mini-augmentation library.
|
Topics | |
RetroTile Custom Property Types | |
Data Structures | |
struct | RETROTILE_TILE_DEF |
Macros | |
#define | RETROTILE_PROP_TYPE_OTHER 0 |
Value for RETROTILE_PARSER::last_prop_type indicating other type. | |
#define | RETROTILE_PROP_TYPE_STRING 1 |
Value for RETROTILE_PARSER::last_prop_type indicating string. | |
#define | RETROTILE_PROP_TYPE_FILE 2 |
Value for RETROTILE_PARSER::last_prop_type indicating file path. | |
#define | RETROTILE_PROP_TYPE_INT 3 |
Value for RETROTILE_PARSER::last_prop_type indicating integer. | |
#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" |
Conversion specifier to use with retroflat_tile_t. | |
#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.