#ifndef FARM_H #define FARM_H #include #define NPLOTS 6 #define SAVE_FILE "farm.sav" #define SAVE_MAGIC 0x4641524D struct plot { int32_t crop; int32_t growth; }; struct save { uint32_t magic; int32_t gold; int32_t seeds; int32_t day; struct plot plots[NPLOTS]; }; #endif