Home
last modified time | relevance | path

Searched refs:kMaxStepHeight (Results 1 – 7 of 7) sorted by relevance

/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dpath.cpp930 if (minZ + kMaxStepHeight >= tileMaxZ) { in tileTerrain()
947 && height > minZ + kMaxStepHeight) { in tileTerrain()
1569 if (ABS(quantizedCoords.z - startingCoords.z) > kMaxStepHeight) in initialize()
1623 || ABS(cell->height - prevHeight) > kMaxStepHeight) { in finish()
1852 if (ABS(testPt.z - prevZ) <= kMaxStepHeight) in findPath()
1898 && actorVolume.min.z + kMaxStepHeight in findPath()
2122 if (dist == 0 && zDist <= kMaxStepHeight) { in setCenter()
2646 if (deltaZ > kMaxStepHeight || deltaZ < -(kMaxStepHeight * 2)) { in selectNearbySite()
2785 if (ABS(quantizedCoords.z - startingCoords.z) > kMaxStepHeight) in checkPath()
2879 if (deltaZ > kMaxStepHeight || deltaZ < -(kMaxStepHeight * 2)) { in checkPath()
[all …]
H A Dmotion.cpp258 if (tHeight > pos.z + kMaxStepHeight in unstickObject()
259 || tHeight < pos.z - kMaxStepHeight * 4) continue; in unstickObject()
314 if (tHeight <= pos.z + kMaxStepHeight in unstickObject()
315 && tHeight >= pos.z - kMaxStepHeight * 4) { in unstickObject()
2575 newPos.z = object->_data.location.z + kMaxStepHeight; in walkAction()
2634 for (height = 0; height <= kMaxStepHeight; height += 8) { in walkAction()
4570 if (tHeight > newPos.z + kMaxStepHeight) { in freeFall()
4641 if (tHeight <= tPos.z + kMaxStepHeight in freeFall()
4649 if (tHeight <= tPos.z + kMaxStepHeight in freeFall()
4658 if (tHeight <= tPos.z + kMaxStepHeight in freeFall()
[all …]
H A Didtypes.h366 kMaxStepHeight = 16, // highest climbable step enumerator
H A Dterrain.cpp196 && height > minZ + kMaxStepHeight) { in tileTerrain()
844 if (supportHeight < loc.z - kMaxStepHeight * 4) in checkWalkable()
H A Dtask.cpp3685 || ABS(actorLoc.z - currentTarget.z) > kMaxStepHeight) { in atTarget()
3999 && ABS(actorLoc.z - currentWayPoint.z) <= kMaxStepHeight) { in handleFollowPatrolRoute()
H A Dobjects.cpp1537 if (tHeight > _data.location.z + kMaxStepHeight) { in updateState()
4184 if (isActor(obj)) volume.min.z += kMaxStepHeight / 2; in objectCollision()
H A Dtile.cpp3957 while (relPos.y < zMax + kTileDX + kMaxStepHeight - ABS(relPos.x >> 1)) { in pickTile()
3986 if (sti.surfaceHeight > zMax + kMaxStepHeight) continue; in pickTile()