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

Function Freeupstairs

Source/trigs.cpp:595–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595void Freeupstairs()
596{
597 int i, tx, ty, yy, xx;
598
599 for (i = 0; i < numtrigs; i++) {
600 tx = trigs[i]._tx;
601 ty = trigs[i]._ty;
602
603 for (yy = -2; yy <= 2; yy++) {
604 for (xx = -2; xx <= 2; xx++) {
605 dFlags[tx + xx][ty + yy] |= BFLAG_POPULATED;
606 }
607 }
608 }
609}
610
611BOOL ForceSKingTrig()
612{

Callers 1

CreateLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected