Ensure includes are used when needed

This commit is contained in:
Michał Janiszewski 2016-12-01 09:09:15 +01:00
parent a9eb93ce88
commit 7eb008b546
8 changed files with 14 additions and 2 deletions

View File

@ -61,7 +61,7 @@ namespace DrawingEngineFactory
IDrawingEngine * CreateSoftware();
IDrawingEngine * CreateSoftwareWithHardwareDisplay();
IDrawingEngine * CreateOpenGL();
};
}
interface IRainDrawer
{

View File

@ -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();

View File

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

View File

@ -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. */

View File

@ -18,6 +18,7 @@
#include <array>
#include <jansson.h>
#include <string>
#include "NetworkPacket.h"
#include "../common.h"

View File

@ -18,6 +18,7 @@
#define _VEHICLE_H_
#include "../common.h"
#include "../world/map.h"
#pragma pack(push, 1)
/* size: 0x2 */

View File

@ -18,6 +18,7 @@
#define _TITLE_H_
#include <SDL.h>
#include "drawing/drawing.h"
enum {
TITLE_SCRIPT_WAIT,

View File

@ -18,6 +18,7 @@
#define _CLIMATE_H_
#include "../common.h"
#include "../drawing/drawing.h"
enum {
CLIMATE_COOL_AND_WET,