mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +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
@@ -14,7 +14,6 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "../addresses.h"
|
||||
#include "../common.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../interface/window.h"
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
|
||||
#include "../common.h"
|
||||
#include "font.h"
|
||||
#ifndef NO_RCT2
|
||||
#include "../addresses.h"
|
||||
#endif
|
||||
|
||||
// For g1 only enable packing when still relying on vanilla
|
||||
#ifndef NO_RCT2
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include "../../addresses.h"
|
||||
#include "../../config.h"
|
||||
#include "../../game.h"
|
||||
#include "../../interface/screenshot.h"
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "../addresses.h"
|
||||
#include "../common.h"
|
||||
#include "../interface/colour.h"
|
||||
#include "../platform/platform.h"
|
||||
|
||||
Reference in New Issue
Block a user