mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
Increase maximum sprites to 65535; increase max stations to 8
This commit is contained in:
@@ -42,7 +42,7 @@ struct Vehicle;
|
||||
#define DOWNTIME_HISTORY_SIZE 8
|
||||
#define CUSTOMER_HISTORY_SIZE 10
|
||||
#define MAX_CARS_PER_TRAIN 255
|
||||
#define MAX_STATIONS 4
|
||||
#define MAX_STATIONS 8 // Increase to 254 once the tile elements can handle it
|
||||
#define MAX_RIDES 255
|
||||
#define RIDE_TYPE_NULL 255
|
||||
#define RIDE_ADJACENCY_CHECK_DISTANCE 5
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "SpriteBase.h"
|
||||
|
||||
constexpr uint16_t MAX_ENTITIES = 10000;
|
||||
constexpr uint16_t MAX_ENTITIES = 65535;
|
||||
|
||||
SpriteBase* try_get_sprite(size_t spriteIndex);
|
||||
SpriteBase* get_sprite(size_t sprite_idx);
|
||||
|
||||
Reference in New Issue
Block a user