diff --git a/docs/tr2/CHANGELOG.md b/docs/tr2/CHANGELOG.md index dea0aeb94..2da860bda 100644 --- a/docs/tr2/CHANGELOG.md +++ b/docs/tr2/CHANGELOG.md @@ -12,6 +12,7 @@ - changed the default fog distance to 22 tiles cutting off at 30 tiles to match TR1X (#1622) - changed the number of static mesh slots from 50 to 256 (#2734) - changed the maximum number of items (moveables) per level from 256 to 10240 (1024 remains the limit for triggered items) (#1794) +- changed the maximum number of visible enemies from 5 to 32 (#1624) - fixed the inability to completely mute the sounds, even at sound volume 0 (#2722) - fixed the final two levels not allowing for secrets to be counted in the statistics (#1582) - fixed Lara's holsters being empty if a game flow level removes all weapons but also re-adds the pistols (#2677) diff --git a/docs/tr2/README.md b/docs/tr2/README.md index ac75698af..b73e1f0b3 100644 --- a/docs/tr2/README.md +++ b/docs/tr2/README.md @@ -326,6 +326,7 @@ as Notepad. - expanded maximum texture pages from 32 to 128 - expanded the number of static mesh slots from 50 to 256 - expanded maximum number of items (moveables) from 256 to 10240 (1024 remains the limit for triggered items) +- expanded maximum number of visible enemies from 5 to 32 - ported audio decoding library to ffmpeg - ported video decoding library to ffmpeg - ported input backend to SDL diff --git a/src/libtrx/include/libtrx/game/pathing/const.h b/src/libtrx/include/libtrx/game/pathing/const.h index 696ffbb35..b2d5661ec 100644 --- a/src/libtrx/include/libtrx/game/pathing/const.h +++ b/src/libtrx/include/libtrx/game/pathing/const.h @@ -4,12 +4,11 @@ #define NO_BOX (-1) #define BOX_ZONE(num) (((num) / STEP_L) - 1) +#define LOT_SLOT_COUNT 32 #if TR_VERSION == 1 #define MAX_ZONES 2 - #define LOT_SLOT_COUNT 32 #else #define MAX_ZONES 4 - #define LOT_SLOT_COUNT 5 #endif #define BOX_BLOCKED 0x4000