![]() |
dsekai
World engine for retrocomputers.
|
Data Fields | |
uint16_t | map_gid |
TILEMAP::gid of the tilemap on which this crop is growing. | |
uint8_t | crop_gid |
Compared to GIDs in TILEMAP::crop_defs to find crop details. | |
uint8_t | flags |
See Crop Flags for more information. | |
uint16_t | cycle |
Nominal number of ms until crop reaches next growth stage. | |
uint32_t | next_at_ticks |
Next absolute ms at which this crop may advance to next growth stage. | |
struct TILEMAP_COORDS | coords |
uint16_t CROP_PLOT::cycle |
Nominal number of ms until crop reaches next growth stage.
Intentionally duplicated from CROP_DEF::cycle so that crops are able to continue growing even when the TILEMAP they exist on is not loaded.