1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +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

@@ -15,7 +15,6 @@
#pragma endregion
#include <time.h>
#include "../addresses.h"
#include "../game.h"
#include "date.h"
#include "string_ids.h"

View File

@@ -18,6 +18,9 @@
#define _DATE_H_
#include "../common.h"
#ifndef NO_RCT2
#include "../addresses.h"
#endif
enum {
MONTH_MARCH,

View File

@@ -15,6 +15,7 @@
#pragma endregion
#include "../common.h"
#include "../addresses.h"
#ifdef __WINDOWS__
#include <windows.h>
@@ -23,7 +24,6 @@
#include <errno.h>
#endif // __WINDOWS__
#include "../addresses.h"
#include "../config.h"
#include "../game.h"
#include "../util/util.h"