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

Function SkipThemeRoom

Source/gendung.cpp:535–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535BOOL SkipThemeRoom(int x, int y)
536{
537 int i;
538
539 for (i = 0; i < themeCount; i++) {
540 if (x >= themeLoc[i].x - 2 && x <= themeLoc[i].x + themeLoc[i].width + 2
541 && y >= themeLoc[i].y - 2 && y <= themeLoc[i].y + themeLoc[i].height + 2)
542 return FALSE;
543 }
544
545 return TRUE;
546}
547
548void InitLevels()
549{

Callers 3

AddHookedBodiesFunction · 0.85
DRLG_WillThemeRoomFitFunction · 0.85
DRLG_L3WoodFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected