maug
Quick and dirty C mini-augmentation library.
|
Data Fields | |
uint8_t | mstate |
uint8_t | pass |
uint8_t | passes_max |
uint8_t | mode |
Value indicating the current type of object being parsed into. | |
mparser_wait_cb_t | wait_cb |
void * | wait_data |
retroflat_ms_t | wait_last |
size_t | layer_tile_iter |
char | last_prop_name [RETROTILE_PROP_NAME_SZ_MAX+1] |
The name of the last property key/value pair parsed. | |
size_t | last_prop_name_sz |
char | tilemap_name [RETROTILE_NAME_SZ_MAX+1] |
The name to give to the new tilemap. | |
size_t | pass_layer_iter |
size_t | tileset_id_cur |
Highest tileset ID on first pass and next ID to be assigned on second. | |
size_t | tiles_w |
size_t | tiles_h |
struct RETROTILE * | t |
retrotile_tj_parse_cb | tj_parse_cb |
mparser_parse_token_cb | custom_token_cb |
Callback to parse engine-specific custom tokens from the tilemap JSON. Should return MERROR_PREEMPT if parsing is successful and should override standard parsing. | |
void * | custom_token_cb_data |
struct MJSON_PARSER | jparser |
struct MDATA_VECTOR * | p_tile_defs |
char | dirname [RETROFLAT_PATH_MAX+1] |
uint16_t | layer_class |
Related Symbols | |
(Note that these are not member symbols.) | |
#define | RETROTILE_PARSER_MODE_MAP 0 |
Value for RETROTILE_PARSER::mode indicating the parser is currently parsing a tilemap. | |
#define | RETROTILE_PARSER_MODE_DEFS 1 |
Value for RETROTILE_PARSER::mode indicating the parser is currently parsing tile definitions. | |