Skip to content

Commit

Permalink
More citizen values.
Browse files Browse the repository at this point in the history
  • Loading branch information
afritz1 committed Nov 20, 2024
1 parent 328be49 commit 90cd9e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions OpenTESArena/src/Entities/ArenaCitizenUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@

namespace ArenaCitizenUtils
{
constexpr int CITY_COUNT = 15;
constexpr int WILD_COUNT = 7;

// Min and max spawn distance from player.
constexpr int SPAWN_DISTANCE_MIN_UNITS = 2048;
constexpr int SPAWN_DISTANCE_MAX_UNITS = 3072;
constexpr double SPAWN_DISTANCE_MIN_REAL = static_cast<double>(SPAWN_DISTANCE_MIN_UNITS) / MIFUtils::ARENA_UNITS;
constexpr double SPAWN_DISTANCE_MAX_REAL = static_cast<double>(SPAWN_DISTANCE_MAX_UNITS) / MIFUtils::ARENA_UNITS;

// How far away a citizen will consider idling to the player.
constexpr int IDLE_DISTANCE_UNITS = 200;
constexpr double IDLE_DISTANCE_REAL = static_cast<double>(IDLE_DISTANCE_UNITS) / MIFUtils::ARENA_UNITS;
Expand Down

0 comments on commit 90cd9e3

Please sign in to comment.