qzdoom/src/menu/doommenu.h

32 lines
784 B
C
Raw Normal View History

#pragma once
#include "menu.h"
#include "savegamemanager.h"
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);
void M_CreateGameMenus();
void SetDefaultMenuColors();
2020-06-13 21:04:10 +00:00
class FSavegameManager : public FSavegameManagerBase
2020-06-13 21:04:10 +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;