|
|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
#include "levels/crypt.h" |
|
|
|
|
|
|
|
|
|
#include "engine/point.hpp" |
|
|
|
|
#include "items.h" |
|
|
|
|
#include "levels/drlg_l1.h" |
|
|
|
|
|
|
|
|
|
namespace devilution { |
|
|
|
|
@ -763,4 +764,19 @@ void CryptSubstitution()
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void SetCryptSetPieceRoom() |
|
|
|
|
{ |
|
|
|
|
for (int j = dminPosition.y; j < dmaxPosition.y; j++) { |
|
|
|
|
for (int i = dminPosition.x; i < dmaxPosition.x; i++) { |
|
|
|
|
if (dPiece[i][j] == 289) { |
|
|
|
|
UberRow = i; |
|
|
|
|
UberCol = j; |
|
|
|
|
} |
|
|
|
|
if (dPiece[i][j] == 316) { |
|
|
|
|
CornerStone.position = { i, j }; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} // namespace devilution
|
|
|
|
|
|