mirror of https://github.com/OpenRCT2/OpenRCT2.git
Ensure includes are used when needed
This commit is contained in:
parent
a9eb93ce88
commit
7eb008b546
|
@ -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,6 +18,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <jansson.h>
|
||||
#include <string>
|
||||
#include "NetworkPacket.h"
|
||||
#include "../common.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,
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#define _CLIMATE_H_
|
||||
|
||||
#include "../common.h"
|
||||
#include "../drawing/drawing.h"
|
||||
|
||||
enum {
|
||||
CLIMATE_COOL_AND_WET,
|
||||
|
|
Loading…
Reference in New Issue