All pastes #472519 Raw Edit

Anonymous

public c v1 · immutable
·published 2007-05-05 17:19 UTC
rendered paste body
typedef struct saveFileHeader_s {        int version; /**< which savegame version */        int compressed; /**< is this file compressed via zlib */        int dummy[14]; /**< maybe we have to extend this later */        char gameVersion[16]; /**< game version that was used to save this file */        char name[32]; /**< savefile name */        char gameDate[32]; /**< internal game date */        char realDate[32]; /**< real datestring when the user saved this game */} saveFileHeader_t;typedef struct saveSubsystems_s {        char *name;        qboolean (*save) (sizebuf_t *sb, void *data);   /**< return false if saving failed */        qboolean (*load) (sizebuf_t *sb, void *data);   /**< return false if loading failed */        int check;} saveSubsystems_t;