MCPcopy Create free account
hub / github.com/diasurgical/devilution / PrintDebugQuest

Function PrintDebugQuest

Source/debug.cpp:167–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void PrintDebugQuest()
168{
169 char dstr[128];
170
171 sprintf(dstr, "Quest %i : Active = %i, Var1 = %i", dbgqst, quests[dbgqst]._qactive, quests[dbgqst]._qvar1);
172 NetSendCmdString(1 << myplr, dstr);
173
174 dbgqst++;
175 if (dbgqst == MAXQUESTS)
176 dbgqst = 0;
177}
178
179void PrintDebugMonster(int m)
180{

Callers 1

PressKeyFunction · 0.85

Calls 1

NetSendCmdStringFunction · 0.85

Tested by

no test coverage detected