Begin an idea for "continue game" functionality

This commit is contained in:
Linus Probert 2020-03-03 13:07:32 +01:00
parent 8221304df8
commit 4106a856fc
2 changed files with 17 additions and 0 deletions

1
compile_commands.json Symbolic link
View File

@ -0,0 +1 @@
_build/debug/compile_commands.json

16
src/save.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef SAVE_H_
#define SAVE_H_
#include "player.h"
typedef struct Save {
int seed;
unsigned int map_level;
unsigned int player_level;
unsigned int player_daggers;
unsigned int player_xp;
double player_gold;
class_t class;
} Save;
#endif // SAVE_H_