mirror of https://github.com/OpenRCT2/OpenRCT2.git
Compile the virtual floor code as C++.
Add a proper header file for the virtual floor in the process.
This commit is contained in:
parent
84026529b4
commit
c835832e79
|
@ -34,6 +34,7 @@
|
|||
#include "../Supports.h"
|
||||
#include "Surface.h"
|
||||
#include "TileElement.h"
|
||||
#include "VirtualFloor.h"
|
||||
|
||||
#ifdef __TESTPAINT__
|
||||
uint16 testPaintVerticalTunnelHeight;
|
||||
|
|
|
@ -109,7 +109,6 @@ void scenery_paint(paint_session * session, uint8 direction, sint32 height, rct_
|
|||
void fence_paint(paint_session * session, uint8 direction, sint32 height, rct_tile_element* tileElement);
|
||||
void large_scenery_paint(paint_session * session, uint8 direction, uint16 height, rct_tile_element *tileElement);
|
||||
void track_paint(paint_session * session, uint8 direction, sint32 height, rct_tile_element *tileElement);
|
||||
void virtual_floor_paint(paint_session * session);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
|
||||
#pragma region Copyright (c) 2014-2018 OpenRCT2 Developers
|
||||
/*****************************************************************************
|
||||
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
|
||||
*
|
||||
|
@ -14,12 +14,13 @@
|
|||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "TileElement.h"
|
||||
#include "../Paint.h"
|
||||
#include "../../Input.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../Paint.h"
|
||||
#include "TileElement.h"
|
||||
#include "VirtualFloor.h"
|
||||
|
||||
static const rct_xy_element offsets[4] =
|
||||
{
|
|
@ -0,0 +1,21 @@
|
|||
#pragma region Copyright (c) 2014-2018 OpenRCT2 Developers
|
||||
/*****************************************************************************
|
||||
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
|
||||
*
|
||||
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
|
||||
* For more information, visit https://github.com/OpenRCT2/OpenRCT2
|
||||
*
|
||||
* OpenRCT2 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* A full copy of the GNU General Public License can be found in licence.txt
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#ifndef _VIRTUAL_FLOOR_H
|
||||
#define _VIRTUAL_FLOOR_H
|
||||
|
||||
void virtual_floor_paint(paint_session * session);
|
||||
#endif
|
Loading…
Reference in New Issue