qzdoom/src/menu/doommenu.h
2020-10-16 22:57:28 +02:00

31 lines
784 B
C++

#pragma once
#include "menu.h"
#include "savegamemanager.h"
void M_StartControlPanel (bool makeSound, bool scaleoverride = false);
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();
class FSavegameManager : public FSavegameManagerBase
{
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;
};
extern FSavegameManager savegameManager;