mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-15 15:01:42 +00:00
3ea0658449
- added menu/advance sound alias.
31 lines
784 B
C++
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;
|
|
|