mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
* Put all of TitleSequenceManager into the same namespace * Move RideConstructionState into the OpenRCT2 namespace * Adopt existing namespaces into OpenRCT2 namespace This adds `using namespace OpenRCT2` to compilation units where appropriate, as a means to get the codebase to compile until these units have been placed in a namespace of their own.
48 lines
1.4 KiB
C++
48 lines
1.4 KiB
C++
/*****************************************************************************
|
|
* Copyright (c) 2014-2024 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 "object/Object.h"
|
|
|
|
struct ResultWithMessage;
|
|
|
|
namespace OpenRCT2::Editor
|
|
{
|
|
void Load();
|
|
void ConvertSaveToScenario();
|
|
void LoadTrackDesigner();
|
|
void LoadTrackManager();
|
|
bool LoadLandscape(const utf8* path);
|
|
|
|
ResultWithMessage CheckPark();
|
|
std::pair<ObjectType, StringId> CheckObjectSelection();
|
|
|
|
void OpenWindowsForCurrentStep();
|
|
|
|
uint8_t GetSelectedObjectFlags(ObjectType objectType, size_t index);
|
|
void ClearSelectedObject(ObjectType objectType, size_t index, uint32_t flags);
|
|
void SetSelectedObject(ObjectType objectType, size_t index, uint32_t flags);
|
|
} // namespace OpenRCT2::Editor
|
|
|
|
enum class EditorStep : uint8_t
|
|
{
|
|
ObjectSelection, // 0
|
|
LandscapeEditor, // 1
|
|
InventionsListSetUp, // 2
|
|
OptionsSelection, // 3
|
|
ObjectiveSelection, // 4
|
|
SaveScenario, // 5
|
|
RollercoasterDesigner, // 6
|
|
DesignsManager, // 7
|
|
Invalid = 255, // 255
|
|
};
|
|
|
|
void EditorOpenWindowsForCurrentStep();
|