1
0
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:
Michał Janiszewski
2016-09-03 20:25:19 +00:00
committed by Ted John
parent 4cdc91a910
commit f8145b6edc
123 changed files with 78 additions and 79 deletions

View File

@@ -14,7 +14,6 @@
*****************************************************************************/
#pragma endregion
#include "../addresses.h"
#include "../common.h"
#include "../localisation/localisation.h"
#include "../interface/window.h"

View File

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

View File

@@ -22,6 +22,7 @@
extern "C"
{
#include "../../addresses.h"
#include "../../config.h"
#include "../../game.h"
#include "../../interface/screenshot.h"

View File

@@ -14,7 +14,6 @@
*****************************************************************************/
#pragma endregion
#include "../addresses.h"
#include "../common.h"
#include "../interface/colour.h"
#include "../platform/platform.h"