Reduce exported functions in debug.h
This commit is contained in:
parent
8a71b9ded3
commit
9678d002d3
3 changed files with 69 additions and 52 deletions
|
|
@ -15,32 +15,12 @@
|
|||
|
||||
namespace devilution {
|
||||
|
||||
enum class DebugInfoFlags : uint16_t {
|
||||
// clang-format off
|
||||
empty = 0,
|
||||
dPiece = 1 << 0,
|
||||
dTransVal = 1 << 1,
|
||||
dLight = 1 << 2,
|
||||
dPreLight = 1 << 3,
|
||||
dFlags = 1 << 4,
|
||||
dPlayer = 1 << 5,
|
||||
dMonster = 1 << 6,
|
||||
dCorpse = 1 << 7,
|
||||
dObject = 1 << 8,
|
||||
dItem = 1 << 9,
|
||||
dSpecial = 1 << 10,
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
extern std::optional<CelSprite> pSquareCel;
|
||||
extern bool DebugToggle;
|
||||
extern bool DebugGodMode;
|
||||
extern bool DebugVision;
|
||||
extern bool DebugCoords;
|
||||
extern bool DebugCursorCoords;
|
||||
extern bool DebugGrid;
|
||||
extern std::unordered_map<int, Point> DebugCoordsMap;
|
||||
extern DebugInfoFlags DebugInfoFlag;
|
||||
|
||||
void FreeDebugGFX();
|
||||
void LoadDebugGFX();
|
||||
|
|
@ -50,6 +30,7 @@ void GetDebugMonster();
|
|||
void NextDebugMonster();
|
||||
void SetDebugLevelSeedInfos(uint32_t mid1Seed, uint32_t mid2Seed, uint32_t mid3Seed, uint32_t endSeed);
|
||||
bool CheckDebugTextCommand(const string_view text);
|
||||
int DebugGetTileData(Point dungeonCoords);
|
||||
bool IsDebugGridTextNeeded();
|
||||
bool GetDebugGridText(Point dungeonCoords, char *debugGridTextBuffer);
|
||||
|
||||
} // namespace devilution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue