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

Function QuestStatus

Source/quests.cpp:239–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239BOOL QuestStatus(int i)
240{
241 BOOL result;
242
243 if (setlevel
244 || currlevel != quests[i]._qlevel
245 || !quests[i]._qactive
246 || (result = 1, gbMaxPlayers != 1) && !(questlist[i]._qflags & 1)) {
247 result = FALSE;
248 }
249 return result;
250}
251
252void CheckQuestKill(int m, BOOL sendmsg)
253{

Callers 15

DRLG_LoadL1SPFunction · 0.85
DRLG_L5Function · 0.85
InitObjectGFXFunction · 0.85
AddBookLeverFunction · 0.85
InitObjectsFunction · 0.85
OperateBookCaseFunction · 0.85
CheckQuestsFunction · 0.85
DRLG_CheckQuestsFunction · 0.85
ResyncMPQuestsFunction · 0.85
ResyncQuestsFunction · 0.85
GetLevelMTypesFunction · 0.85
PlaceQuestMonstersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected