Working on save-load system and UI

This commit is contained in:
Vladislav Khorev committed 2026-06-20 21:41:07 +03:00
1 parent 901142385d
commit d7db0faea3
29 files changed
+708 -180

No files matched your search

+11
View File
@@ -23,6 +23,12 @@
#include "GameState.h"
namespace ZL {
struct SaveSlotInfo {
std::string locationName;
std::string savedAt;
bool empty = true;
};
class Game {
public:
Game();
@@ -89,6 +95,11 @@ namespace ZL {
Location* currentLocation() const;
void saveGame(int slot);
void loadGame(int slot);
SaveSlotInfo readSlotInfo(int slot) const;
void createLocations();
int64_t getSyncTimeMs();
void processTickCount();
void drawScene();