|
|
|
|
/**
|
|
|
|
|
* @file debug.h
|
|
|
|
|
*
|
|
|
|
|
* Interface of debug functions.
|
|
|
|
|
*/
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
|
#include "engine/cel_sprite.hpp"
|
|
|
|
|
#include "miniwin/miniwin.h"
|
|
|
|
|
#include "utils/stdcompat/optional.hpp"
|
|
|
|
|
|
|
|
|
|
namespace devilution {
|
|
|
|
|
|
|
|
|
|
extern std::optional<CelSprite> pSquareCel;
|
|
|
|
|
extern bool DebugGodMode;
|
|
|
|
|
extern bool DebugVision;
|
|
|
|
|
|
|
|
|
|
void FreeDebugGFX();
|
|
|
|
|
void LoadDebugGFX();
|
|
|
|
|
void PrintDebugPlayer(bool bNextPlayer);
|
|
|
|
|
void PrintDebugQuest();
|
|
|
|
|
void GetDebugMonster();
|
|
|
|
|
void NextDebugMonster();
|
|
|
|
|
bool CheckDebugTextCommand(const std::string_view text);
|
|
|
|
|
|
|
|
|
|
} // namespace devilution
|