mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Refactor inclusion of addresses.h
addresses.h is now only included when necessary, limiting scope as much as possible.
This commit is contained in:
committed by
Ted John
parent
4cdc91a910
commit
f8145b6edc
@@ -20,6 +20,9 @@
|
||||
extern rct_water_type *gWaterEntries[1];
|
||||
extern rct_stex_entry *gStexEntries[1];
|
||||
#else
|
||||
|
||||
#include "addresses.h"
|
||||
|
||||
#define gRideEntries RCT2_ADDRESS(RCT2_ADDRESS_RIDE_ENTRIES, rct_ride_entry*)
|
||||
#define gSmallSceneryEntries RCT2_ADDRESS(RCT2_ADDRESS_SMALL_SCENERY_ENTRIES, rct_small_scenery_entry*)
|
||||
#define gLargeSceneryEntries RCT2_ADDRESS(RCT2_ADDRESS_LARGE_SCENERY_ENTRIES, rct_large_scenery_entry*)
|
||||
|
||||
Reference in New Issue
Block a user