2015-08-27 00:23:46 +00:00
|
|
|
#ifndef __RETRO_CGAMEDEBUG_HPP__
|
|
|
|
#define __RETRO_CGAMEDEBUG_HPP__
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace Retro
|
|
|
|
{
|
|
|
|
class CFinalInput;
|
|
|
|
|
|
|
|
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&);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __RETRO_CGAMEDEBUG_HPP__
|