dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
Data Fields
CROP_DEF Struct Reference

Definition of a crop to be stored with the TILEMAP on which the crop may be grown. More...

#include <cropdef.h>

Data Fields

RESOURCE_NAME sprite_name
 Sprite sheet for this crop as it's growing.
 
int16_t sprite_cache_id
 
char name [CROP_NAME_MAX]
 
uint8_t gid
 System identifier for this crop. Unique among all CROP_DEF.
 
uint8_t flags
 See Crop Definition Flags for more information.
 
uint16_t cycle
 Nominal number of ms until crop reaches next growth stage.
 
int16_t produce_gid
 ITEM::gid of the item to be given when this crop is harvested.
 

Detailed Description

Definition of a crop to be stored with the TILEMAP on which the crop may be grown.


The documentation for this struct was generated from the following file: