2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CGAMEDEBUG_HPP__
|
|
|
|
#define __URDE_CGAMEDEBUG_HPP__
|
2015-08-27 00:23:46 +00:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2016-03-04 23:04:53 +00:00
|
|
|
namespace urde
|
2015-08-27 00:23:46 +00:00
|
|
|
{
|
2018-02-04 06:46:47 +00:00
|
|
|
struct CFinalInput;
|
2015-08-27 00:23:46 +00:00
|
|
|
|
|
|
|
const char* StringForControlOption(int);
|
|
|
|
|
2015-11-21 01:16:07 +00:00
|
|
|
enum class EDebugMenu
|
2015-08-27 00:23:46 +00:00
|
|
|
{
|
|
|
|
};
|
|
|
|
|
2015-11-21 01:16:07 +00:00
|
|
|
enum class EDebugOptions
|
2015-08-27 00:23:46 +00:00
|
|
|
{
|
|
|
|
};
|
|
|
|
|
2015-11-21 01:16:07 +00:00
|
|
|
enum class EDebugMainMenu
|
2015-08-27 00:23:46 +00:00
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
class CDebugOption
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CDebugOption(EDebugMenu, EDebugOptions, const std::string&, bool);
|
|
|
|
CDebugOption(EDebugMenu, EDebugOptions, const std::string&, float, float, float, float);
|
|
|
|
};
|
|
|
|
|
|
|
|
class CGameDebug
|
|
|
|
{
|
|
|
|
public:
|
2015-11-21 01:16:07 +00:00
|
|
|
enum class EReturnValue
|
2015-08-27 00:23:46 +00:00
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
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&);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CGAMEDEBUG_HPP__
|