| 26 | } |
| 27 | |
| 28 | void CheckDungeonClear() |
| 29 | { |
| 30 | int i, j; |
| 31 | |
| 32 | for (j = 0; j < MAXDUNY; j++) { |
| 33 | for (i = 0; i < MAXDUNX; i++) { |
| 34 | if (dMonster[i][j]) |
| 35 | app_fatal("Monsters not cleared"); |
| 36 | if (dPlayer[i][j]) |
| 37 | app_fatal("Players not cleared"); |
| 38 | |
| 39 | dMonsDbg[currlevel][i][j] = dFlags[i][j] & BFLAG_VISIBLE; |
| 40 | dFlagDbg[currlevel][i][j] = dFlags[i][j] & BFLAG_POPULATED; |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | #ifdef _DEBUG |
| 46 | void GiveGoldCheat() |
no test coverage detected