33 0, 33, 32, 32, 32, 32, 32, 32, 32, 32, 32, 23,
35 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
36 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
37 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
38 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
39 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
40 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
41 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
42 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
43 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
44 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
45 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
46 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
47 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
48 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
49 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
50 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
51 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28
57 0, 29, 32, 32, 32, 32, 32, 32, 32, 32, 32, 35,
59 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
60 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
61 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
62 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
63 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28, 1 * 28,
64 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28,
65 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28,
66 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
67 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
68 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28, 2 * 28,
69 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28,
70 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28,
71 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28,
72 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28,
73 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28,
74 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28,
75 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28, 3 * 28
141 strcpy(
infostr,
"Town Portal");
169 strcpy(
tempstr,
"The Unholy Altar");
182 int i, sx, sy, fx, fy, mx, my, tx, ty, px, py, xx, yy, mi;
184 BOOL flipflag, flipx, flipy;
246 my =
ViewY + ty - tx;
248 flipy = py < (px >> 1);
252 flipx = py >= 32 - (px >> 1);
270 flipflag = flipy && flipx || (flipy || flipx) && px < 32;
383 if (
monster[mi]._mhitpoints >> 6 > 0 &&
monster[mi].MData->mSelFlag & 4) {
391 if (
monster[mi]._mhitpoints >> 6 > 0 &&
monster[mi].MData->mSelFlag & 4) {
399 if (
monster[mi]._mhitpoints >> 6 > 0 &&
monster[mi].MData->mSelFlag & 4) {
407 if (
monster[mi]._mhitpoints >> 6 > 0 &&
monster[mi].MData->mSelFlag & 2) {
415 if (
monster[mi]._mhitpoints >> 6 > 0 &&
monster[mi].MData->mSelFlag & 2) {
423 if (
monster[mi]._mhitpoints >> 6 > 0 &&
monster[mi].MData->mSelFlag & 1) {
431 if (
monster[mi]._mhitpoints >> 6 > 0 &&
monster[mi].MData->mSelFlag & 2) {
446 if (!flipflag &&
dMonster[mx + 1][my] > 0) {
451 if (flipflag &&
dMonster[mx][my + 1] > 0) {
472 if (!flipflag &&
dPlayer[mx + 1][my] != 0) {
474 if (bv !=
myplr &&
plr[bv]._pHitPoints != 0) {
480 if (flipflag &&
dPlayer[mx][my + 1] != 0) {
482 if (bv !=
myplr &&
plr[bv]._pHitPoints != 0) {
498 if (
plr[i].WorldX == mx &&
plr[i].WorldY == my && i !=
myplr) {
506 for (xx = -1; xx < 2; xx++) {
507 for (yy = -1; yy < 2; yy++) {
510 if (
plr[i].WorldX == mx + xx &&
plr[i].WorldY == my + yy && i !=
myplr) {
520 if (
dPlayer[mx + 1][my + 1] != 0) {
522 if (bv !=
myplr &&
plr[bv]._pHitPoints != 0) {
530 if (!flipflag &&
dObject[mx + 1][my] != 0) {
532 if (
object[bv]._oSelFlag >= 2) {
538 if (flipflag &&
dObject[mx][my + 1] != 0) {
540 if (
object[bv]._oSelFlag >= 2) {
548 if (
object[bv]._oSelFlag == 1 ||
object[bv]._oSelFlag == 3) {
554 if (
dObject[mx + 1][my + 1] != 0) {
556 if (
object[bv]._oSelFlag >= 2) {
564 if (!flipflag &&
dItem[mx + 1][my] > 0) {
565 bv =
dItem[mx + 1][my] - 1;
566 if (
item[bv]._iSelFlag >= 2) {
572 if (flipflag &&
dItem[mx][my + 1] > 0) {
573 bv =
dItem[mx][my + 1] - 1;
574 if (
item[bv]._iSelFlag >= 2) {
580 if (
dItem[mx][my] > 0) {
581 bv =
dItem[mx][my] - 1;
582 if (
item[bv]._iSelFlag == 1 ||
item[bv]._iSelFlag == 3) {
588 if (
dItem[mx + 1][my + 1] > 0) {
589 bv =
dItem[mx + 1][my + 1] - 1;
590 if (
item[bv]._iSelFlag >= 2) {