mirror of https://github.com/OpenRCT2/OpenRCT2.git
move session flags into new header (#18504)
* move session flags into new header
This commit is contained in:
parent
a443e349ce
commit
aa685e4cf6
|
@ -0,0 +1,18 @@
|
|||
/*****************************************************************************
|
||||
* Copyright (c) 2014-2022 OpenRCT2 developers
|
||||
*
|
||||
* For a complete list of all authors, please refer to contributors.md
|
||||
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
||||
*
|
||||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../common.h"
|
||||
|
||||
namespace PaintSessionFlags
|
||||
{
|
||||
constexpr uint8_t PassedSurface = 1u << 0;
|
||||
constexpr uint8_t IsTrackPiecePreview = 1u << 1;
|
||||
} // namespace PaintSessionFlags
|
|
@ -15,6 +15,7 @@
|
|||
#include "../util/Math.hpp"
|
||||
#include "../world/Surface.h"
|
||||
#include "Boundbox.h"
|
||||
#include "Paint.SessionFlags.h"
|
||||
#include "Paint.h"
|
||||
#include "tile_element/Paint.TileElement.h"
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "../../world/Surface.h"
|
||||
#include "../../world/TileInspector.h"
|
||||
#include "../Boundbox.h"
|
||||
#include "../Paint.SessionFlags.h"
|
||||
#include "../Supports.h"
|
||||
#include "Paint.Surface.h"
|
||||
#include "Paint.TileElement.h"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include "../../world/Surface.h"
|
||||
#include "../../world/TileInspector.h"
|
||||
#include "../Boundbox.h"
|
||||
#include "../Paint.SessionFlags.h"
|
||||
#include "Paint.TileElement.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "../../world/Map.h"
|
||||
#include "../../world/Scenery.h"
|
||||
#include "../../world/Surface.h"
|
||||
#include "../Paint.SessionFlags.h"
|
||||
#include "../Paint.h"
|
||||
#include "../Supports.h"
|
||||
#include "../VirtualFloor.h"
|
||||
|
|
|
@ -71,12 +71,6 @@ enum
|
|||
TUNNEL_TYPE_COUNT
|
||||
};
|
||||
|
||||
namespace PaintSessionFlags
|
||||
{
|
||||
constexpr uint8_t PassedSurface = 1u << 0;
|
||||
constexpr uint8_t IsTrackPiecePreview = 1u << 1;
|
||||
} // namespace PaintSessionFlags
|
||||
|
||||
extern const int32_t SEGMENTS_ALL;
|
||||
extern const uint16_t segment_offsets[9];
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "../interface/Window.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../object/StationObject.h"
|
||||
#include "../paint/Paint.SessionFlags.h"
|
||||
#include "../paint/Paint.h"
|
||||
#include "../paint/Supports.h"
|
||||
#include "../paint/tile_element/Paint.TileElement.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "../../entity/EntityRegistry.h"
|
||||
#include "../../entity/Guest.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../paint/Paint.SessionFlags.h"
|
||||
#include "../../paint/Paint.h"
|
||||
#include "../../paint/Supports.h"
|
||||
#include "../../world/Map.h"
|
||||
|
|
Loading…
Reference in New Issue