TombEngine/TR5Main/Game/gameflow.h

26 lines
483 B
C
Raw Normal View History

2018-08-19 09:46:58 +02:00
#pragma once
2018-08-19 09:46:58 +02:00
#include <vector>
#include <string>
2018-10-24 23:32:22 +02:00
#include "savegame.h"
2018-08-19 09:46:58 +02:00
using namespace std;
typedef struct SavegameInfo {
bool present;
char levelName[75];
int saveNumber;
short days;
short hours;
short minutes;
short seconds;
2018-08-19 09:46:58 +02:00
char fileName[255];
};
#define MAX_SAVEGAMES 16
extern SavegameInfo g_SavegameInfos[MAX_SAVEGAMES];
extern vector<string> g_NewStrings;
2018-10-24 23:32:22 +02:00
extern SaveGameHeader g_NewSavegameInfos[MAX_SAVEGAMES];
2018-08-19 09:46:58 +02:00
int LoadSavegameInfos();