2020-06-13 20:43:35 +00:00
|
|
|
#pragma once
|
|
|
|
#include "menu.h"
|
2020-10-07 13:44:08 +00:00
|
|
|
#include "savegamemanager.h"
|
2020-06-13 20:43:35 +00:00
|
|
|
|
|
|
|
void M_StartControlPanel (bool makeSound, bool scaleoverride = false);
|
2020-06-13 21:04:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
struct FNewGameStartup
|
|
|
|
{
|
|
|
|
const char *PlayerClass;
|
|
|
|
int Episode;
|
|
|
|
int Skill;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern FNewGameStartup NewGameStartupInfo;
|
|
|
|
void M_StartupEpisodeMenu(FNewGameStartup *gs);
|
|
|
|
void M_StartupSkillMenu(FNewGameStartup *gs);
|
2020-06-13 22:27:32 +00:00
|
|
|
void M_CreateGameMenus();
|
2020-10-04 20:12:56 +00:00
|
|
|
void SetDefaultMenuColors();
|
2020-06-13 21:04:10 +00:00
|
|
|
|
2020-10-07 13:44:08 +00:00
|
|
|
class FSavegameManager : public FSavegameManagerBase
|
2020-06-13 21:04:10 +00:00
|
|
|
{
|
2020-10-07 13:44:08 +00:00
|
|
|
void PerformSaveGame(const char *fn, const char *sgdesc) override;
|
|
|
|
void PerformLoadGame(const char *fn, bool) override;
|
|
|
|
FString ExtractSaveComment(FSerializer &arc) override;
|
|
|
|
FString BuildSaveName(const char* prefix, int slot) override;
|
|
|
|
void ReadSaveStrings() override;
|
2020-06-13 21:04:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern FSavegameManager savegameManager;
|
2020-06-13 22:27:32 +00:00
|
|
|
|