Stardew Engine
Loading...
Searching...
No Matches
WfGame.h
Go to the documentation of this file.
1#ifndef WFGAME_H
2#define WFGAME_H
3
4/*
5 Game save file handling
6*/
7
8#define VECTOR(a) a*
9
10/*
11 a very important struct - the data for a save game that is not saved by serializing the tilemap and object layers.
12 Stuff like:
13 - The in-game date: season, day of season, year
14 - Player inventory
15 - Player stats
16 - Story progression
17*/
19{
20 int f;
21};
22
23
25{
26 const char* folderPath;
27 const char* saveName;
28};
29
30VECTOR(struct WfGameSave) WfGameGetSaves();
31void WfSetCurrentSaveGame(struct WfGameSave* pSave);
32
33void WfGameInit();
34
35#endif
void WfSetCurrentSaveGame(struct WfGameSave *pSave)
Definition WfGame.c:57
#define VECTOR(a)
Definition WfGame.h:8
void WfGameInit()
Definition WfGame.c:44
Definition WfGame.h:25
const char * folderPath
Definition WfGame.h:26
const char * saveName
Definition WfGame.h:27
Definition WfGame.h:19
int f
Definition WfGame.h:20