/dports/games/devilutionX/devilutionX-1.2.1/Source/ |
H A D | town.cpp | 49 dPiece[xx][yy] = v1; in T_FillSector() 78 dPiece[xx][yy] = v1; in T_FillTile() 89 dPiece[78][60] = 0x48a; in TownCloseHive() 129 dPiece[85][63] = 8; in TownCloseHive() 130 dPiece[85][64] = 8; in TownCloseHive() 131 dPiece[86][60] = 0xd9; in TownCloseHive() 132 dPiece[86][61] = 0x18; in TownCloseHive() 133 dPiece[85][62] = 0x13; in TownCloseHive() 166 dPiece[xx][yy] = 0; in T_Pass3() 270 dPiece[85][63] = 8; in TownOpenHive() [all …]
|
H A D | trigs.cpp | 129 if (dPiece[i][j] == 129) { in InitL1Triggers() 135 if (dPiece[i][j] == 115) { in InitL1Triggers() 146 if (dPiece[i][j] == 184) { in InitL1Triggers() 185 if (dPiece[i][j] == 559) { in InitL2Triggers() 193 if (dPiece[i][j] == 271) { in InitL2Triggers() 238 if (dPiece[i][j] == 66) { in InitL3Triggers() 245 if (dPiece[i][j] == 63) { in InitL3Triggers() 252 if (dPiece[i][j] == 80) { in InitL3Triggers() 271 if (dPiece[i][j] == 83) { in InitL4Triggers() 278 if (dPiece[i][j] == 422) { in InitL4Triggers() [all …]
|
H A D | themes.cpp | 67 if (nTrapTable[dPiece[xp][yp - 1]] in TFit_Shrine() 68 && !nSolidTable[dPiece[xp - 1][yp]] in TFit_Shrine() 69 && !nSolidTable[dPiece[xp + 1][yp]] in TFit_Shrine() 77 && nTrapTable[dPiece[xp - 1][yp]] in TFit_Shrine() 78 && !nSolidTable[dPiece[xp][yp - 1]] in TFit_Shrine() 79 && !nSolidTable[dPiece[xp][yp + 1]] in TFit_Shrine() 118 if (nSolidTable[dPiece[xp + trm5x[i]][yp + trm5y[i]]]) { in TFit_Obj5() 190 if (nSolidTable[dPiece[xp + trm3x[i]][yp + trm3y[i]]]) in CheckThemeObj3() 382 if (dTransVal[i][j] != tv || nSolidTable[dPiece[i][j]]) in CheckThemeRoom() 384 if (dTransVal[i - 1][j] != tv && !nSolidTable[dPiece[i - 1][j]]) in CheckThemeRoom() [all …]
|
H A D | path.cpp | 156 rv = !nSolidTable[dPiece[dx][dy + 1]] && !nSolidTable[dPiece[dx + 1][dy]]; in path_solid_pieces() 159 rv = !nSolidTable[dPiece[dx][dy + 1]] && !nSolidTable[dPiece[dx - 1][dy]]; in path_solid_pieces() 162 rv = !nSolidTable[dPiece[dx][dy - 1]] && !nSolidTable[dPiece[dx - 1][dy]]; in path_solid_pieces() 165 rv = !nSolidTable[dPiece[dx + 1][dy]] && !nSolidTable[dPiece[dx][dy - 1]]; in path_solid_pieces()
|
H A D | drlg_l2.cpp | 2855 dPiece[i][j] = v1; in DRLG_L2Pass3() 2856 dPiece[i + 1][j] = v2; in DRLG_L2Pass3() 2857 dPiece[i][j + 1] = v3; in DRLG_L2Pass3() 2858 dPiece[i + 1][j + 1] = v4; in DRLG_L2Pass3() 2872 dPiece[xx][yy] = v1; in DRLG_L2Pass3() 2873 dPiece[xx + 1][yy] = v2; in DRLG_L2Pass3() 2874 dPiece[xx][yy + 1] = v3; in DRLG_L2Pass3() 3274 if (dPiece[i][j] == 541) { in DRLG_InitL2Vals() 3292 if (dPiece[i][j] == 132) { in DRLG_InitL2Vals() 3295 } else if (dPiece[i][j] == 135 || dPiece[i][j] == 139) { in DRLG_InitL2Vals() [all …]
|
H A D | drlg_l1.cpp | 487 if (dPiece[i][j] == 77) { in DRLG_InitL5Vals() 1086 dPiece[i][j] = v1; in DRLG_L1Pass3() 1087 dPiece[i + 1][j] = v2; in DRLG_L1Pass3() 1088 dPiece[i][j + 1] = v3; in DRLG_L1Pass3() 1089 dPiece[i + 1][j + 1] = v4; in DRLG_L1Pass3() 1104 dPiece[xx][yy] = v1; in DRLG_L1Pass3() 1105 dPiece[xx + 1][yy] = v2; in DRLG_L1Pass3() 1106 dPiece[xx][yy + 1] = v3; in DRLG_L1Pass3() 1165 if (dPiece[i][j] == 12) { in DRLG_InitL1Vals() 2772 if (dPiece[i][j] == 290) { in CreateL5Dungeon() [all …]
|
H A D | drlg_l3.cpp | 2586 dPiece[i][j] = v1; in DRLG_L3Pass3() 2587 dPiece[i + 1][j] = v2; in DRLG_L3Pass3() 2588 dPiece[i][j + 1] = v3; in DRLG_L3Pass3() 2610 dPiece[xx][yy] = v1; in DRLG_L3Pass3() 2611 dPiece[xx + 1][yy] = v2; in DRLG_L3Pass3() 2612 dPiece[xx][yy + 1] = v3; in DRLG_L3Pass3() 2637 if (dPiece[i][j] >= 56 && dPiece[i][j] <= 147) { in CreateL3Dungeon() 2639 } else if (dPiece[i][j] >= 154 && dPiece[i][j] <= 161) { in CreateL3Dungeon() 2651 if (dPiece[i][j] >= 382 && dPiece[i][j] <= 457) { in CreateL3Dungeon() 2707 if (dPiece[i][j] >= 56 && dPiece[i][j] <= 147) { in LoadL3Dungeon() [all …]
|
H A D | objects.cpp | 278 if (leveltype != DTYPE_CATHEDRAL || dPiece[xp][yp] <= 126 || dPiece[xp][yp] >= 144) in RndLocOk() 520 pn = dPiece[i][j]; in AddL1Objs() 537 pn = dPiece[i][j]; in add_crypt_objs() 552 pn = dPiece[i][j]; in AddL2Objs() 567 pn = dPiece[i][j]; in AddL3Objs() 592 pn = dPiece[i][j]; in AddL2Torches() 2176 dPiece[dx][dy] = pn; in ObjSetMicro() 2197 pn = dPiece[x][y] - 1; in objects_set_door_piece() 2293 if (dPiece[i][j] == 135 || dPiece[i][j] == 139) { in ObjL2Special() 2305 pn = dPiece[dx][dy]; in DoorSet() [all …]
|
H A D | scrollrt.cpp | 531 level_piece_id = dPiece[x][y]; in drawCell() 822 level_piece_id = dPiece[x][y]; in scrollrt_drawFloor() 853 #define IsWall(x, y) (dPiece[x][y] == 0 || nSolidTable[dPiece[x][y]] || dSpecial[x][y] != 0) 854 #define IsWalkable(x, y) (dPiece[x][y] != 0 && !nSolidTable[dPiece[x][y]]) 886 if (dPiece[x][y] != 0) { in scrollrt_draw()
|
H A D | gendung.h | 76 extern int dPiece[MAXDUNX][MAXDUNY];
|
H A D | missiles.cpp | 1388 dp = dPiece[tx][ty]; 2171 pn = dPiece[r1][r2]; 2462 dp = dPiece[tx][ty]; 2592 pn = dPiece[tx][ty]; 3016 k = dPiece[tx][ty]; 3478 dp = dPiece[tx][ty]; 4096 pn = dPiece[mx][my]; 4245 dp = dPiece[tx][ty]; 4276 dp = dPiece[tx][ty]; 4437 pn = dPiece[mx][my]; [all …]
|
H A D | drlg_l4.cpp | 1764 dPiece[i][j] = v1; in DRLG_L4Pass3() 1765 dPiece[i + 1][j] = v2; in DRLG_L4Pass3() 1766 dPiece[i][j + 1] = v3; in DRLG_L4Pass3() 1767 dPiece[i + 1][j + 1] = v4; in DRLG_L4Pass3() 1788 dPiece[xx][yy] = v1; in DRLG_L4Pass3() 1789 dPiece[xx + 1][yy] = v2; in DRLG_L4Pass3() 1790 dPiece[xx][yy + 1] = v3; in DRLG_L4Pass3() 1791 dPiece[xx + 1][yy + 1] = v4; in DRLG_L4Pass3()
|
H A D | lighting.cpp | 735 nBlockerFlag = nBlockTable[dPiece[nCrawlX][nCrawlY]]; in DoVision() 737 && !nBlockTable[dPiece[x1adj + nCrawlX][y1adj + nCrawlY]]) in DoVision() 739 && !nBlockTable[dPiece[x2adj + nCrawlX][y2adj + nCrawlY]])) { in DoVision()
|
H A D | gendung.cpp | 90 int dPiece[MAXDUNX][MAXDUNY]; variable 208 lv = dPiece[x][y]; in SetDungeonMicros()
|
H A D | quests.cpp | 384 if (dPiece[i][j] == 370) { in CheckQuestKill()
|
H A D | player.cpp | 1126 return nSolidTable[dPiece[x][y]]; in SolidLoc() 1141 if (px < 0 || !dPiece[px][py] || !PosOkPlayer(pnum, px, py)) { in PlrDirOK() 1177 if (!nSolidTable[dPiece[j][i]] && dTransVal[j][i]) { in PlrDoTrans() 3663 if (dPiece[x][y] == 0)
|
H A D | monster.cpp | 760 done = dPiece[xp][yp] == 367; in PlaceUniqueMonst() 4883 return !nMissileTable[dPiece[x][y]] && !(dFlags[x][y] & BFLAG_MONSTLR); in PosOkMissile() 4888 return nSolidTable[dPiece[x][y]] == FALSE; in CheckNoSolid()
|
H A D | items.cpp | 570 if (nSolidTable[dPiece[xp][yp]]) in ItemPlace() 1537 return !nSolidTable[dPiece[i][j]]; in ItemSpaceOk()
|
H A D | inv.cpp | 2268 if (nSolidTable[dPiece[x][y]]) in CanPut()
|
/dports/games/devilutionX/devilutionX-1.2.1/SourceX/controls/ |
H A D | plrctrls.cpp | 797 if (!nSolidTable[dPiece[d1x][d1y]] && !nSolidTable[dPiece[d2x][d2y]]) in IsPathBlocked()
|