main
saves.h
1#ifndef SAVES_H_
2#define SAVES_H_
3
4#include <time.h>
5#include <stdint.h>
6#include "system.h"
7
8#define QUICK_SAVE_SLOT 10
9#define SERIALIZE_SLOT 11
10
11typedef struct {
12 char *desc;
13 time_t modification_time;
14} save_slot_info;
15
16char *get_slot_name(system_header *system, uint32_t slot_index, char *ext);
17save_slot_info *get_slot_info(system_header *system, uint32_t *num_out);
18void free_slot_info(save_slot_info *slots);
19
20#endif //SAVES_H_