1
0
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:
Gymnasiast
2020-02-08 10:34:03 +01:00
committed by Ted John
parent 9fa7e97d63
commit 9220380b7d
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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);