mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 08:12:53 +01:00
Compile files in paint folder as C++
This commit is contained in:
@@ -61,8 +61,8 @@ file(GLOB_RECURSE ORCT2_RIDE_DEP_SOURCES "${OPENRCT2_SRCPATH}/ride/ride_data.c"
|
||||
"${OPENRCT2_SRCPATH}/rct2/addresses.c"
|
||||
"${OPENRCT2_SRCPATH}/Diagnostic.cpp"
|
||||
"${OPENRCT2_SRCPATH}/rct2/hook.c"
|
||||
"${OPENRCT2_SRCPATH}/paint/tile_element/tile_element.c"
|
||||
"${OPENRCT2_SRCPATH}/paint/paint_helpers.c")
|
||||
"${OPENRCT2_SRCPATH}/paint/tile_element/TileElement.cpp"
|
||||
"${OPENRCT2_SRCPATH}/paint/PaintHelpers.cpp")
|
||||
file(GLOB_RECURSE ORCT2_TESTPAINT_SOURCES "${CMAKE_CURRENT_LIST_DIR}/*.c"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/*.cpp"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/*.h")
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <openrct2/common.h>
|
||||
#include <openrct2/interface/viewport.h>
|
||||
#include <openrct2/paint/supports.h>
|
||||
#include <openrct2/paint/Supports.h>
|
||||
#include <openrct2/sprites.h>
|
||||
|
||||
paint_session gPaintSession;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "SegmentSupportHeightCall.hpp"
|
||||
|
||||
#include <openrct2/paint/tile_element/tile_element.h>
|
||||
#include <openrct2/paint/tile_element/TileElement.h>
|
||||
|
||||
static bool SortSegmentSupportCalls(SegmentSupportCall lhs, SegmentSupportCall rhs)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <openrct2/common.h>
|
||||
|
||||
extern "C" {
|
||||
#include <openrct2/paint/paint.h>
|
||||
#include <openrct2/paint/Paint.h>
|
||||
}
|
||||
|
||||
struct SegmentSupportCall
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <openrct2/common.h>
|
||||
|
||||
extern "C" {
|
||||
#include <openrct2/paint/paint.h>
|
||||
#include <openrct2/paint/Paint.h>
|
||||
}
|
||||
|
||||
enum {
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#include "TestPaint.hpp"
|
||||
#include "Utils.hpp"
|
||||
|
||||
#include <openrct2/paint/paint.h>
|
||||
#include <openrct2/paint/supports.h>
|
||||
#include <openrct2/paint/Paint.h>
|
||||
#include <openrct2/paint/Supports.h>
|
||||
#include <openrct2/ride/TrackData.h>
|
||||
#include <openrct2/interface/viewport.h>
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@ extern "C"
|
||||
{
|
||||
#include <openrct2/drawing/drawing.h>
|
||||
#include <openrct2/interface/colour.h>
|
||||
#include <openrct2/paint/paint.h>
|
||||
#include <openrct2/paint/tile_element/tile_element.h>
|
||||
#include <openrct2/paint/Paint.h>
|
||||
#include <openrct2/paint/tile_element/TileElement.h>
|
||||
}
|
||||
|
||||
#include "addresses.h"
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
#include "Utils.hpp"
|
||||
#include "VerticalTunnelCall.hpp"
|
||||
|
||||
#include <openrct2/paint/tile_element/tile_element.h>
|
||||
#include <openrct2/paint/supports.h>
|
||||
#include <openrct2/paint/tile_element/TileElement.h>
|
||||
#include <openrct2/paint/Supports.h>
|
||||
#include <openrct2/ride/ride.h>
|
||||
#include <openrct2/ride/Track.h>
|
||||
#include <openrct2/ride/TrackData.h>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <openrct2/ride/ride.h>
|
||||
#include <openrct2/ride/Track.h>
|
||||
#include <openrct2/world/sprite.h>
|
||||
#include <openrct2/paint/tile_element/tile_element.h>
|
||||
#include <openrct2/paint/tile_element/TileElement.h>
|
||||
#include <openrct2/ride/ride.h>
|
||||
#include "addresses.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user