mirror of https://github.com/OpenRCT2/OpenRCT2.git
commit
4077e607b0
|
@ -16,12 +16,7 @@
|
|||
|
||||
#include "../config.h"
|
||||
#include "../interface/viewport.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../localisation/language.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "../world/map.h"
|
||||
#include "../world/sprite.h"
|
||||
#include "audio.h"
|
||||
#include "mixer.h"
|
||||
#include "../openrct2.h"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
extern "C"
|
||||
{
|
||||
#include "../game.h"
|
||||
#include "../scenario.h"
|
||||
#include "../openrct2.h"
|
||||
#include "../interface/window.h"
|
||||
}
|
||||
|
|
|
@ -26,6 +26,11 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#elif defined(__WINDOWS__)
|
||||
extern "C" {
|
||||
// Windows needs this for widechar <-> utf8 conversion utils
|
||||
#include "../localisation/language.h"
|
||||
}
|
||||
#endif
|
||||
|
||||
#include <stack>
|
||||
|
@ -37,7 +42,6 @@
|
|||
|
||||
extern "C"
|
||||
{
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../platform/platform.h"
|
||||
}
|
||||
|
||||
|
|
|
@ -18,11 +18,6 @@
|
|||
|
||||
#include "../common.h"
|
||||
|
||||
struct DirectoryInfo
|
||||
{
|
||||
const utf8 * Name;
|
||||
};
|
||||
|
||||
struct FileInfo
|
||||
{
|
||||
const utf8 * Name;
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace DrawingEngineFactory
|
|||
IDrawingEngine * CreateSoftware();
|
||||
IDrawingEngine * CreateSoftwareWithHardwareDisplay();
|
||||
IDrawingEngine * CreateOpenGL();
|
||||
};
|
||||
}
|
||||
|
||||
interface IRainDrawer
|
||||
{
|
||||
|
|
|
@ -16,11 +16,16 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <SDL_video.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "../rct2.h"
|
||||
#include "drawing.h"
|
||||
|
||||
extern rct_string_id DrawingEngineStringIds[3];
|
||||
|
||||
sint32 drawing_engine_get_type();
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "../../../common.h"
|
||||
#include "OpenGLAPI.h"
|
||||
#include "GLSLTypes.h"
|
||||
#include "TextureCache.h"
|
||||
|
||||
struct DrawRectCommand {
|
||||
uint32 flags;
|
||||
|
@ -43,4 +44,4 @@ struct DrawImageCommand {
|
|||
CachedTextureInfo texPalette;
|
||||
sint32 bounds[4];
|
||||
bool mask;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
#ifndef _INTERFACE_KEYBOARD_SHORTCUT_H_
|
||||
#define _INTERFACE_KEYBOARD_SHORTCUT_H_
|
||||
|
||||
#include "../common.h"
|
||||
|
||||
#define SHORTCUT_UNDEFINED 0xFFFF
|
||||
|
||||
/** The current shortcut being changed. */
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#include "audio/mixer.h"
|
||||
#include "drawing/drawing.h"
|
||||
#include "intro.h"
|
||||
#include "localisation/localisation.h"
|
||||
#include "platform/platform.h"
|
||||
#include "sprites.h"
|
||||
|
||||
#define BACKROUND_COLOUR_DARK 10
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <jansson.h>
|
||||
#include <string>
|
||||
#include "NetworkPacket.h"
|
||||
#include "../common.h"
|
||||
|
||||
|
|
|
@ -15,12 +15,9 @@
|
|||
#pragma endregion
|
||||
|
||||
#include "../../cheats.h"
|
||||
#include "../../common.h"
|
||||
#include "../../config.h"
|
||||
#include "../../interface/viewport.h"
|
||||
#include "../../peep/staff.h"
|
||||
#include "../../world/map.h"
|
||||
#include "../paint.h"
|
||||
#include "map_element.h"
|
||||
#include "surface.h"
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#define _VEHICLE_H_
|
||||
|
||||
#include "../common.h"
|
||||
#include "../world/map.h"
|
||||
|
||||
#pragma pack(push, 1)
|
||||
/* size: 0x2 */
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#define _TITLE_H_
|
||||
|
||||
#include <SDL.h>
|
||||
#include "drawing/drawing.h"
|
||||
|
||||
enum {
|
||||
TITLE_SCRIPT_WAIT,
|
||||
|
|
|
@ -20,13 +20,10 @@
|
|||
#include "../input.h"
|
||||
#include "../sprites.h"
|
||||
#include "../interface/widget.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../interface/viewport.h"
|
||||
#include "../world/footpath.h"
|
||||
#include "../world/map.h"
|
||||
#include "dropdown.h"
|
||||
#include "../interface/themes.h"
|
||||
#include "../cheats.h"
|
||||
|
||||
enum {
|
||||
PATH_CONSTRUCTION_MODE_LAND,
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#define _CLIMATE_H_
|
||||
|
||||
#include "../common.h"
|
||||
#include "../drawing/drawing.h"
|
||||
|
||||
enum {
|
||||
CLIMATE_COOL_AND_WET,
|
||||
|
|
|
@ -15,17 +15,11 @@
|
|||
#pragma endregion
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../config.h"
|
||||
#include "../game.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../management/finance.h"
|
||||
#include "../network/network.h"
|
||||
#include "../util/util.h"
|
||||
#include "../object_list.h"
|
||||
#include "footpath.h"
|
||||
#include "map.h"
|
||||
#include "map_animation.h"
|
||||
#include "scenery.h"
|
||||
#include "../ride/track.h"
|
||||
#include "../ride/track_data.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue