MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / IsDebugGridInMegatiles

Function IsDebugGridInMegatiles

Source/debug.cpp:1168–1179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1166}
1167
1168bool IsDebugGridInMegatiles()
1169{
1170 switch (SelectedDebugGridTextItem) {
1171 case DebugGridTextItem::AutomapView:
1172 case DebugGridTextItem::dungeon:
1173 case DebugGridTextItem::pdungeon:
1174 case DebugGridTextItem::Protected:
1175 return true;
1176 default:
1177 return false;
1178 }
1179}
1180
1181bool GetDebugGridText(Point dungeonCoords, char *debugGridTextBuffer)
1182{

Callers 1

DrawViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected