2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2015-08-27 00:23:46 +00:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2018-02-04 06:46:47 +00:00
|
|
|
struct CFinalInput;
|
2015-08-27 00:23:46 +00:00
|
|
|
|
|
|
|
const char* StringForControlOption(int);
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
enum class EDebugMenu {};
|
2015-08-27 00:23:46 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
enum class EDebugOptions {};
|
2015-08-27 00:23:46 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
enum class EDebugMainMenu {};
|
2015-08-27 00:23:46 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CDebugOption {
|
2015-08-27 00:23:46 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CDebugOption(EDebugMenu, EDebugOptions, const std::string&, bool);
|
|
|
|
CDebugOption(EDebugMenu, EDebugOptions, const std::string&, float, float, float, float);
|
2015-08-27 00:23:46 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CGameDebug {
|
2015-08-27 00:23:46 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
enum class EReturnValue {};
|
|
|
|
|
|
|
|
void DeactivateMenu();
|
|
|
|
void AddDebugOption(EDebugMenu, EDebugOptions, const char*, bool);
|
|
|
|
void AddDebugOption(EDebugMenu, EDebugOptions, const char*, float, float, float, float);
|
|
|
|
void SetCaptureMovieTimeLeft(float);
|
|
|
|
const std::string& GetCaptureMovieName();
|
|
|
|
void SetCaptureMovieName(const std::string&);
|
|
|
|
void AddDebugOptions();
|
|
|
|
void CopyDebugToTweaks();
|
|
|
|
void CopyTweaksToDebug();
|
|
|
|
void ProcessControllerInput(const CFinalInput&);
|
|
|
|
void Update(float);
|
|
|
|
void Draw(void) const;
|
|
|
|
void ActivateMenu(EDebugMainMenu, int);
|
|
|
|
void AddDebugOption(const CDebugOption&);
|
2015-08-27 00:23:46 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|