|
maug
Quick and dirty C mini-augmentation library.
|

Data Fields | |
| uint8_t | mstate |
| uint16_t | flags |
| 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. | |
| int | last_prop_type |
| size_t | last_prop_name_sz |
| char | tilemap_name [RETROTILE_NAME_SZ_MAX+1] |
| The name to give to the new tilemap. | |
| char | tileset_name [RETROTILE_NAME_SZ_MAX+1] |
| 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 [MAUG_PATH_SZ_MAX+1] |
| uint16_t | layer_class |
Related Symbols | |
(Note that these are not member symbols.) | |
| #define | RETROTILE_PARSER_FLAG_LITERAL_PATHS 0x02 |
| Flag for RETROTILE_PARSER::flags indicating to use literal image asset paths. | |
| #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. | |
| #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. | |