2017-06-01 21:55:10 +02:00
|
|
|
#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
|
2016-08-31 14:33:18 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* 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
|
|
|
|
|
2016-10-17 16:06:05 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <vector>
|
2016-09-05 18:22:23 +02:00
|
|
|
|
2016-12-28 14:16:15 +01:00
|
|
|
#include <openrct2/common.h>
|
2016-09-05 18:22:23 +02:00
|
|
|
|
2016-10-08 00:52:01 +02:00
|
|
|
extern "C"
|
|
|
|
{
|
2017-07-20 20:56:29 +02:00
|
|
|
#include <openrct2/drawing/drawing.h>
|
2016-12-28 14:16:15 +01:00
|
|
|
#include <openrct2/interface/colour.h>
|
|
|
|
#include <openrct2/paint/paint.h>
|
2017-10-31 12:57:40 +01:00
|
|
|
#include <openrct2/paint/tile_element/tile_element.h>
|
2016-10-08 00:52:01 +02:00
|
|
|
}
|
|
|
|
|
2016-10-17 16:06:05 +02:00
|
|
|
#define gRideEntries RCT2_ADDRESS(RCT2_ADDRESS_RIDE_ENTRIES, rct_ride_entry*)
|
2016-09-06 21:58:58 +02:00
|
|
|
#define gCurrentRotation RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_ROTATION, uint8)
|
|
|
|
|
2016-10-16 16:30:02 +02:00
|
|
|
enum {
|
|
|
|
TEST_SUCCESS,
|
|
|
|
TEST_FAILED,
|
|
|
|
TEST_SKIPPED,
|
|
|
|
};
|
|
|
|
|
2016-10-17 16:06:05 +02:00
|
|
|
namespace TestPaint
|
2016-10-08 00:52:01 +02:00
|
|
|
{
|
2017-07-20 20:56:29 +02:00
|
|
|
static const uint32 DEFAULT_SCHEME_TRACK = SPRITE_ID_PALETTE_COLOUR_2(COLOUR_GREY, COLOUR_WHITE);
|
|
|
|
static const uint32 DEFAULT_SCHEME_SUPPORTS = SPRITE_ID_PALETTE_COLOUR_2(COLOUR_LIGHT_BLUE, COLOUR_ICY_BLUE);
|
|
|
|
static const uint32 DEFAULT_SCHEME_MISC = SPRITE_ID_PALETTE_COLOUR_2(COLOUR_DARK_PURPLE, COLOUR_LIGHT_PURPLE);
|
|
|
|
static const uint32 DEFAULT_SCHEME_3 = SPRITE_ID_PALETTE_COLOUR_2(COLOUR_BRIGHT_PURPLE, COLOUR_DARK_BLUE);
|
2016-10-08 00:52:01 +02:00
|
|
|
|
2016-10-17 10:21:53 +02:00
|
|
|
void ResetEnvironment();
|
|
|
|
void ResetTunnels();
|
|
|
|
void ResetSupportHeights();
|
2016-10-08 00:52:01 +02:00
|
|
|
}
|
|
|
|
|
2016-10-19 01:55:18 +02:00
|
|
|
enum Verbosity {
|
|
|
|
QUIET,
|
|
|
|
NORMAL,
|
|
|
|
};
|
|
|
|
|
2016-10-17 16:06:05 +02:00
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
int generatePaintCode(uint8 rideType);
|
|
|
|
}
|