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 * CreateSoftware();
|
||||||
IDrawingEngine * CreateSoftwareWithHardwareDisplay();
|
IDrawingEngine * CreateSoftwareWithHardwareDisplay();
|
||||||
IDrawingEngine * CreateOpenGL();
|
IDrawingEngine * CreateOpenGL();
|
||||||
};
|
}
|
||||||
|
|
||||||
interface IRainDrawer
|
interface IRainDrawer
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,11 +16,16 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <SDL_video.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "../rct2.h"
|
||||||
|
#include "drawing.h"
|
||||||
|
|
||||||
extern rct_string_id DrawingEngineStringIds[3];
|
extern rct_string_id DrawingEngineStringIds[3];
|
||||||
|
|
||||||
sint32 drawing_engine_get_type();
|
sint32 drawing_engine_get_type();
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include "../../../common.h"
|
#include "../../../common.h"
|
||||||
#include "OpenGLAPI.h"
|
#include "OpenGLAPI.h"
|
||||||
#include "GLSLTypes.h"
|
#include "GLSLTypes.h"
|
||||||
|
#include "TextureCache.h"
|
||||||
|
|
||||||
struct DrawRectCommand {
|
struct DrawRectCommand {
|
||||||
uint32 flags;
|
uint32 flags;
|
||||||
|
@ -43,4 +44,4 @@ struct DrawImageCommand {
|
||||||
CachedTextureInfo texPalette;
|
CachedTextureInfo texPalette;
|
||||||
sint32 bounds[4];
|
sint32 bounds[4];
|
||||||
bool mask;
|
bool mask;
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
#ifndef _INTERFACE_KEYBOARD_SHORTCUT_H_
|
#ifndef _INTERFACE_KEYBOARD_SHORTCUT_H_
|
||||||
#define _INTERFACE_KEYBOARD_SHORTCUT_H_
|
#define _INTERFACE_KEYBOARD_SHORTCUT_H_
|
||||||
|
|
||||||
|
#include "../common.h"
|
||||||
|
|
||||||
#define SHORTCUT_UNDEFINED 0xFFFF
|
#define SHORTCUT_UNDEFINED 0xFFFF
|
||||||
|
|
||||||
/** The current shortcut being changed. */
|
/** The current shortcut being changed. */
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <jansson.h>
|
#include <jansson.h>
|
||||||
|
#include <string>
|
||||||
#include "NetworkPacket.h"
|
#include "NetworkPacket.h"
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#define _VEHICLE_H_
|
#define _VEHICLE_H_
|
||||||
|
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
#include "../world/map.h"
|
||||||
|
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
/* size: 0x2 */
|
/* size: 0x2 */
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#define _TITLE_H_
|
#define _TITLE_H_
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
#include "drawing/drawing.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
TITLE_SCRIPT_WAIT,
|
TITLE_SCRIPT_WAIT,
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#define _CLIMATE_H_
|
#define _CLIMATE_H_
|
||||||
|
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
#include "../drawing/drawing.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
CLIMATE_COOL_AND_WET,
|
CLIMATE_COOL_AND_WET,
|
||||||
|
|
Loading…
Reference in New Issue