|
|
|
|
@ -64,10 +64,13 @@ TrackerTargetCategory SelectedTrackerTargetCategory = TrackerTargetCategory::Ite
|
|
|
|
|
TrackerTargetCategory AutoWalkTrackerTargetCategory = TrackerTargetCategory::Items; ///< Category of the active auto-walk target.
|
|
|
|
|
int AutoWalkTrackerTargetId = -1; ///< ID of the target being auto-walked to, or -1 if inactive.
|
|
|
|
|
|
|
|
|
|
/// Maximum Chebyshev distance (in tiles) at which the player is considered
|
|
|
|
|
/// close enough to interact with a tracker target.
|
|
|
|
|
/// Maximum Chebyshev distance (in tiles) at which the player is considered
|
|
|
|
|
/// close enough to interact with a tracker target.
|
|
|
|
|
constexpr int TrackerInteractDistanceTiles = 1; |
|
|
|
|
constexpr int TrackerCycleDistanceTiles = 20; |
|
|
|
|
// Selection list range for PageUp/PageDown. Use a value larger than the maximum
|
|
|
|
|
// possible distance across the 112x112 dungeon grid so the list includes all
|
|
|
|
|
// eligible targets on the current level.
|
|
|
|
|
constexpr int TrackerCycleDistanceTiles = MAXDUNX + MAXDUNY; |
|
|
|
|
|
|
|
|
|
int LockedTrackerItemId = -1; |
|
|
|
|
int LockedTrackerChestId = -1; |
|
|
|
|
|