mirror of https://github.com/OpenRCT2/OpenRCT2.git
Compare commits
10 Commits
e44640ecd5
...
4e75670cbd
Author | SHA1 | Date |
---|---|---|
spacek531 | 4e75670cbd | |
Aaron van Geffen | 81e068c7b2 | |
Aaron van Geffen | a61a561d01 | |
Aaron van Geffen | a627cf7a1e | |
Aaron van Geffen | ca6f142a97 | |
Michael Steenbeek | ca1118c2f1 | |
Aaron van Geffen | 779e65d8b2 | |
Aaron van Geffen | 73c592b137 | |
Spacek531 | d571e53347 | |
Spacek531 | 31734517c4 |
|
@ -17,7 +17,6 @@
|
|||
#include <openrct2/OpenRCT2.h>
|
||||
#include <openrct2/actions/CheatSetAction.h>
|
||||
#include <openrct2/actions/ParkSetDateAction.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/localisation/Date.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include <openrct2/core/String.hpp>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/localisation/Currency.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <openrct2/GameState.h>
|
||||
#include <openrct2/actions/ParkSetLoanAction.h>
|
||||
#include <openrct2/actions/ParkSetResearchFundingAction.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/localisation/Date.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <openrct2/management/Finance.h>
|
||||
#include <openrct2/management/NewsItem.h>
|
||||
#include <openrct2/peep/PeepAnimationData.h>
|
||||
#include <openrct2/peep/PeepSpriteIds.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
|
@ -296,15 +297,18 @@ static Widget window_game_bottom_toolbar_widgets[] =
|
|||
auto* guest = peep->As<Guest>();
|
||||
if (guest != nullptr)
|
||||
{
|
||||
if (image_id_base >= 0x2A1D && image_id_base < 0x2A3D)
|
||||
if (image_id_base >= kPeepSpriteBalloonStateWatchRideId
|
||||
&& image_id_base < kPeepSpriteBalloonStateSittingIdleId + 4)
|
||||
{
|
||||
GfxDrawSprite(cliped_dpi, ImageId(image_id_base + 32, guest->BalloonColour), clipCoords);
|
||||
}
|
||||
else if (image_id_base >= 0x2BBD && image_id_base < 0x2BDD)
|
||||
if (image_id_base >= kPeepSpriteUmbrellaStateNoneId
|
||||
&& image_id_base < kPeepSpriteUmbrellaStateSittingIdleId + 4)
|
||||
{
|
||||
GfxDrawSprite(cliped_dpi, ImageId(image_id_base + 32, guest->UmbrellaColour), clipCoords);
|
||||
}
|
||||
else if (image_id_base >= 0x29DD && image_id_base < 0x29FD)
|
||||
if (image_id_base >= kPeepSpriteHatStateWatchRideId
|
||||
&& image_id_base < kPeepSpriteHatStateSittingIdleId + 4)
|
||||
{
|
||||
GfxDrawSprite(cliped_dpi, ImageId(image_id_base + 32, guest->HatColour), clipCoords);
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <openrct2/management/Marketing.h>
|
||||
#include <openrct2/network/network.h>
|
||||
#include <openrct2/peep/PeepAnimationData.h>
|
||||
#include <openrct2/peep/PeepSpriteIds.h>
|
||||
#include <openrct2/ride/RideData.h>
|
||||
#include <openrct2/ride/ShopItem.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
|
@ -561,19 +562,21 @@ static_assert(_guestWindowPageWidgets.size() == WINDOW_GUEST_PAGE_COUNT);
|
|||
if (guest != nullptr)
|
||||
{
|
||||
// If holding a balloon
|
||||
if (animationFrame >= 0x2A1D && animationFrame < 0x2A3D)
|
||||
if (animationFrame >= kPeepSpriteBalloonStateWatchRideId
|
||||
&& animationFrame < kPeepSpriteBalloonStateSittingIdleId + 4)
|
||||
{
|
||||
GfxDrawSprite(clipDpi, ImageId(animationFrame + 32, guest->BalloonColour), screenCoords);
|
||||
}
|
||||
|
||||
// If holding umbrella
|
||||
if (animationFrame >= 0x2BBD && animationFrame < 0x2BDD)
|
||||
if (animationFrame >= kPeepSpriteUmbrellaStateNoneId
|
||||
&& animationFrame < kPeepSpriteUmbrellaStateSittingIdleId + 4)
|
||||
{
|
||||
GfxDrawSprite(clipDpi, ImageId(animationFrame + 32, guest->UmbrellaColour), screenCoords);
|
||||
}
|
||||
|
||||
// If wearing hat
|
||||
if (animationFrame >= 0x29DD && animationFrame < 0x29FD)
|
||||
if (animationFrame >= kPeepSpriteHatStateWatchRideId && animationFrame < kPeepSpriteHatStateSittingIdleId + 4)
|
||||
{
|
||||
GfxDrawSprite(clipDpi, ImageId(animationFrame + 32, guest->HatColour), screenCoords);
|
||||
}
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/GameState.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/entity/EntityRegistry.h>
|
||||
#include <openrct2/entity/Guest.h>
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include <openrct2/GameState.h>
|
||||
#include <openrct2/actions/RideDemolishAction.h>
|
||||
#include <openrct2/actions/RideSetStatusAction.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/core/String.hpp>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/Input.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include <openrct2/ParkImporter.h>
|
||||
#include <openrct2/PlatformEnvironment.h>
|
||||
#include <openrct2/actions/LoadOrQuitAction.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/ui/UiContext.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
|
||||
namespace OpenRCT2::Ui::Windows
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "GameState.h"
|
||||
#include "actions/CheatSetAction.h"
|
||||
#include "actions/ParkSetLoanAction.h"
|
||||
#include "config/Config.h"
|
||||
#include "core/DataSerialiser.h"
|
||||
#include "localisation/Localisation.h"
|
||||
#include "network/network.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "core/Path.hpp"
|
||||
#include "core/String.hpp"
|
||||
#include "platform/Platform.h"
|
||||
#include "util/Util.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "../Context.h"
|
||||
#include "../GameState.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/MemoryStream.h"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "../OpenRCT2.h"
|
||||
#include "../core/Console.hpp"
|
||||
#include "../core/String.hpp"
|
||||
#include "../drawing/Font.h"
|
||||
#include "../platform/Platform.h"
|
||||
|
||||
#include <cstring>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "../Game.h"
|
||||
#include "../GameState.h"
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../config/ConfigTypes.h"
|
||||
#include "../core/Console.hpp"
|
||||
#include "../entity/EntityRegistry.h"
|
||||
#include "../network/network.h"
|
||||
|
|
|
@ -10,19 +10,13 @@
|
|||
#pragma once
|
||||
|
||||
#include "../core/String.hpp"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../localisation/Currency.h"
|
||||
#include "../localisation/CurrencyTypes.h"
|
||||
#include "ConfigTypes.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
|
||||
enum class MeasurementFormat : int32_t;
|
||||
enum class TemperatureUnit : int32_t;
|
||||
enum class ScaleQuality : int32_t;
|
||||
enum class Sort : int32_t;
|
||||
enum class VirtualFloorStyles : int32_t;
|
||||
enum class DrawingEngine : int32_t;
|
||||
enum class TitleMusicKind : int32_t;
|
||||
struct Gx;
|
||||
|
||||
struct GeneralConfiguration
|
||||
{
|
||||
|
@ -221,43 +215,6 @@ struct PluginConfiguration
|
|||
u8string AllowedHosts;
|
||||
};
|
||||
|
||||
enum class Sort : int32_t
|
||||
{
|
||||
NameAscending,
|
||||
NameDescending,
|
||||
DateAscending,
|
||||
DateDescending,
|
||||
};
|
||||
|
||||
enum class TemperatureUnit : int32_t
|
||||
{
|
||||
Celsius,
|
||||
Fahrenheit
|
||||
};
|
||||
|
||||
enum class ScaleQuality : int32_t
|
||||
{
|
||||
NearestNeighbour,
|
||||
Linear,
|
||||
SmoothNearestNeighbour
|
||||
};
|
||||
|
||||
enum class MeasurementFormat : int32_t
|
||||
{
|
||||
Imperial,
|
||||
Metric,
|
||||
SI
|
||||
};
|
||||
|
||||
enum class TitleMusicKind : int32_t
|
||||
{
|
||||
None,
|
||||
Random,
|
||||
OpenRCT2,
|
||||
RCT1,
|
||||
RCT2,
|
||||
};
|
||||
|
||||
extern GeneralConfiguration gConfigGeneral;
|
||||
extern InterfaceConfiguration gConfigInterface;
|
||||
extern SoundConfiguration gConfigSound;
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
/*****************************************************************************
|
||||
* 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 <cstdint>
|
||||
|
||||
enum class MeasurementFormat : int32_t;
|
||||
enum class TemperatureUnit : int32_t;
|
||||
enum class CurrencyType : uint8_t;
|
||||
enum class ScaleQuality : int32_t;
|
||||
enum class Sort : int32_t;
|
||||
enum class VirtualFloorStyles : int32_t;
|
||||
enum class DrawingEngine : int32_t;
|
||||
enum class TitleMusicKind : int32_t;
|
||||
|
||||
enum class Sort : int32_t
|
||||
{
|
||||
NameAscending,
|
||||
NameDescending,
|
||||
DateAscending,
|
||||
DateDescending,
|
||||
};
|
||||
|
||||
enum class TemperatureUnit : int32_t
|
||||
{
|
||||
Celsius,
|
||||
Fahrenheit
|
||||
};
|
||||
|
||||
enum class ScaleQuality : int32_t
|
||||
{
|
||||
NearestNeighbour,
|
||||
Linear,
|
||||
SmoothNearestNeighbour
|
||||
};
|
||||
|
||||
enum class MeasurementFormat : int32_t
|
||||
{
|
||||
Imperial,
|
||||
Metric,
|
||||
SI
|
||||
};
|
||||
|
||||
enum class TitleMusicKind : int32_t
|
||||
{
|
||||
None,
|
||||
Random,
|
||||
OpenRCT2,
|
||||
RCT1,
|
||||
RCT2,
|
||||
};
|
|
@ -10,7 +10,6 @@
|
|||
#include "NewDrawing.h"
|
||||
|
||||
#include "../Context.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../interface/Screenshot.h"
|
||||
#include "../localisation/StringIds.h"
|
||||
|
|
|
@ -19,8 +19,10 @@
|
|||
# include "../OpenRCT2.h"
|
||||
# include "../core/Numerics.hpp"
|
||||
# include "../core/String.hpp"
|
||||
# include "../drawing/Font.h"
|
||||
# include "../localisation/LocalisationService.h"
|
||||
# include "../platform/Platform.h"
|
||||
# include "../util/Util.h"
|
||||
# include "DrawingLock.hpp"
|
||||
# include "TTF.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "../Input.h"
|
||||
#include "../actions/StaffSetOrdersAction.h"
|
||||
#include "../audio/audio.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/DataSerialiser.h"
|
||||
#include "../entity/EntityRegistry.h"
|
||||
#include "../interface/Viewport.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "../PlatformEnvironment.h"
|
||||
#include "../actions/CheatSetAction.h"
|
||||
#include "../audio/audio.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/Console.hpp"
|
||||
#include "../core/File.h"
|
||||
#include "../core/Imaging.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "../Context.h"
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../config/ConfigTypes.h"
|
||||
#include "../platform/Platform.h"
|
||||
#include "../scripting/ScriptEngine.h"
|
||||
|
||||
|
|
|
@ -176,6 +176,7 @@
|
|||
<ClInclude Include="common.h" />
|
||||
<ClInclude Include="config\Config.h" />
|
||||
<ClInclude Include="config\ConfigEnum.hpp" />
|
||||
<ClInclude Include="config\ConfigTypes.h" />
|
||||
<ClInclude Include="config\IniReader.hpp" />
|
||||
<ClInclude Include="config\IniWriter.hpp" />
|
||||
<ClInclude Include="Context.h" />
|
||||
|
@ -278,6 +279,7 @@
|
|||
<ClInclude Include="Limits.h" />
|
||||
<ClInclude Include="localisation\ConversionTables.h" />
|
||||
<ClInclude Include="localisation\Currency.h" />
|
||||
<ClInclude Include="localisation\CurrencyTypes.h" />
|
||||
<ClInclude Include="localisation\Date.h" />
|
||||
<ClInclude Include="localisation\FormatCodes.h" />
|
||||
<ClInclude Include="localisation\Formatter.h" />
|
||||
|
|
|
@ -12,38 +12,7 @@
|
|||
#include "../common.h"
|
||||
#include "../core/String.hpp"
|
||||
#include "../util/Util.h"
|
||||
|
||||
// List of currencies
|
||||
enum class CurrencyType : uint8_t
|
||||
{
|
||||
Pounds, // British Pound
|
||||
Dollars, // US Dollar
|
||||
Franc, // French Franc
|
||||
DeutscheMark, // Deutsche Mark
|
||||
Yen, // Japanese Yen
|
||||
Peseta, // Spanish Peseta
|
||||
Lira, // Italian Lira
|
||||
Guilders, // Dutch Gilder
|
||||
Krona, // Swedish Krona
|
||||
Euros, // Euro
|
||||
Won, // South Korean Won
|
||||
Rouble, // Russian Rouble
|
||||
CzechKoruna, // Czech koruna
|
||||
HKD, // Hong Kong Dollar
|
||||
TWD, // New Taiwan Dollar
|
||||
Yuan, // Chinese Yuan
|
||||
Forint, // Hungarian Forint
|
||||
|
||||
Custom, // Custom currency
|
||||
|
||||
Count // Last item
|
||||
};
|
||||
|
||||
enum class CurrencyAffix
|
||||
{
|
||||
Prefix,
|
||||
Suffix
|
||||
};
|
||||
#include "CurrencyTypes.h"
|
||||
|
||||
#define CURRENCY_SYMBOL_MAX_SIZE 8
|
||||
#define CURRENCY_RATE_MAX_NUM_DIGITS 9
|
||||
|
@ -62,6 +31,7 @@ struct CurrencyDescriptor
|
|||
};
|
||||
|
||||
// List of currency formats
|
||||
// TODO: refactor into getter
|
||||
extern CurrencyDescriptor CurrencyDescriptors[EnumValue(CurrencyType::Count)];
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
/*****************************************************************************
|
||||
* 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 <cstdint>
|
||||
|
||||
// List of currencies
|
||||
enum class CurrencyType : uint8_t
|
||||
{
|
||||
Pounds, // British Pound
|
||||
Dollars, // US Dollar
|
||||
Franc, // French Franc
|
||||
DeutscheMark, // Deutsche Mark
|
||||
Yen, // Japanese Yen
|
||||
Peseta, // Spanish Peseta
|
||||
Lira, // Italian Lira
|
||||
Guilders, // Dutch Gilder
|
||||
Krona, // Swedish Krona
|
||||
Euros, // Euro
|
||||
Won, // South Korean Won
|
||||
Rouble, // Russian Rouble
|
||||
CzechKoruna, // Czech koruna
|
||||
HKD, // Hong Kong Dollar
|
||||
TWD, // New Taiwan Dollar
|
||||
Yuan, // Chinese Yuan
|
||||
Forint, // Hungarian Forint
|
||||
|
||||
Custom, // Custom currency
|
||||
|
||||
Count // Last item
|
||||
};
|
||||
|
||||
enum class CurrencyAffix
|
||||
{
|
||||
Prefix,
|
||||
Suffix
|
||||
};
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "../config/Config.h"
|
||||
#include "../util/Util.h"
|
||||
#include "Currency.h"
|
||||
#include "Formatter.h"
|
||||
#include "Localisation.h"
|
||||
#include "StringIds.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "../management/Marketing.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../util/Util.h"
|
||||
#include "Currency.h"
|
||||
#include "Date.h"
|
||||
#include "Formatting.h"
|
||||
#include "Localisation.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "../management/Marketing.h"
|
||||
#include "Currency.h"
|
||||
#include "Date.h"
|
||||
#include "FormatCodes.h"
|
||||
#include "Language.h"
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "../OpenRCT2.h"
|
||||
#include "../PlatformEnvironment.h"
|
||||
#include "../common.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/Console.hpp"
|
||||
#include "../core/DataSerialiser.h"
|
||||
#include "../core/FileIndex.hpp"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../core/Guard.hpp"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../interface/Viewport.h"
|
||||
#include "../localisation/Currency.h"
|
||||
#include "../localisation/Formatting.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../localisation/LocalisationService.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "../../Game.h"
|
||||
#include "../../GameState.h"
|
||||
#include "../../config/Config.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../localisation/Date.h"
|
||||
#include "../../object/SmallSceneryEntry.h"
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
|
||||
#include "../Context.h"
|
||||
#include "../Game.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/File.h"
|
||||
#include "../core/Path.hpp"
|
||||
#include "../localisation/Currency.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "Platform.h"
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
# include "../Date.h"
|
||||
# include "../core/Memory.hpp"
|
||||
# include "../core/Path.hpp"
|
||||
# include "../core/String.hpp"
|
||||
# include "../util/Util.h"
|
||||
|
||||
# include <cerrno>
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
#pragma once
|
||||
|
||||
#include "../common.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../config/ConfigTypes.h"
|
||||
#include "../core/String.hpp"
|
||||
|
||||
#include <ctime>
|
||||
#include <string>
|
||||
|
@ -42,6 +43,7 @@ enum class SPECIAL_FOLDER
|
|||
|
||||
struct RealWorldDate;
|
||||
struct RealWorldTime;
|
||||
struct TTFFontDescriptor;
|
||||
|
||||
namespace Platform
|
||||
{
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "../GameState.h"
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../ParkImporter.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/Console.hpp"
|
||||
#include "../core/FileStream.h"
|
||||
#include "../core/IStream.hpp"
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
*****************************************************************************/
|
||||
|
||||
#include "../TrackImporter.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/FileStream.h"
|
||||
#include "../core/MemoryStream.h"
|
||||
#include "../core/Path.hpp"
|
||||
|
|
|
@ -5444,19 +5444,8 @@ bool RideHasRatings(const Ride& ride)
|
|||
|
||||
int32_t GetBoosterSpeed(ride_type_t rideType, int32_t rawSpeed)
|
||||
{
|
||||
int8_t shiftFactor = GetRideTypeDescriptor(rideType).OperatingSettings.BoosterSpeedFactor;
|
||||
if (shiftFactor == 0)
|
||||
{
|
||||
return rawSpeed;
|
||||
}
|
||||
if (shiftFactor > 0)
|
||||
{
|
||||
return (rawSpeed << shiftFactor);
|
||||
}
|
||||
|
||||
// Workaround for an issue with older compilers (GCC 6, Clang 4) which would fail the build
|
||||
int8_t shiftFactorAbs = std::abs(shiftFactor);
|
||||
return (rawSpeed >> shiftFactorAbs);
|
||||
// BoosterSpeedFactor has valid values of 1, 2, 4 representing a 1/2, 1, and 2 multiplier.
|
||||
return rawSpeed * GetRideTypeDescriptor(rideType).LegacyBoosterSettings.BoosterSpeedFactor / 2;
|
||||
}
|
||||
|
||||
void FixInvalidVehicleSpriteSizes()
|
||||
|
|
|
@ -199,12 +199,30 @@ struct RideOperatingSettings
|
|||
{
|
||||
uint8_t MinValue;
|
||||
uint8_t MaxValue;
|
||||
uint8_t MaxBrakesSpeed;
|
||||
uint8_t OperatingSettingMultiplier = 1; // Used for the Ride window, cosmetic only.
|
||||
};
|
||||
|
||||
struct RideTrackSpeedSettings
|
||||
{
|
||||
int8_t BrakesMaxSpeed = 30;
|
||||
int8_t BoosterMaxSpeed = 30;
|
||||
};
|
||||
|
||||
struct RideBoosterSettings
|
||||
{
|
||||
uint8_t PoweredLiftAcceleration;
|
||||
uint8_t BoosterAcceleration;
|
||||
int8_t BoosterSpeedFactor; // The factor to shift the raw booster speed with
|
||||
uint16_t AccelerationFactor = 12;
|
||||
uint8_t OperatingSettingMultiplier = 1; // Used for the Ride window, cosmetic only.
|
||||
uint8_t AccelerationFactor = 12; // the amount to right-shift the launch speed for powered launch from a station
|
||||
};
|
||||
|
||||
struct RideLegacyBoosterSettings
|
||||
// These values that must be kept for backwards compatibility. New ride types should set the acceleration values equal to
|
||||
// BoosterSettings' and leave BoosterSpeedFactor at default.
|
||||
{
|
||||
uint8_t PoweredLiftAcceleration = 0; // PoweredLiftAcceleration value before unified-speed update
|
||||
uint8_t BoosterAcceleration = 0; // BoosterAcceleration value before unified-speed update
|
||||
int8_t BoosterSpeedFactor = 2; // Multiplier representing how much to multiply booster speed by, scaled to 2x the final
|
||||
// multiplier.
|
||||
};
|
||||
|
||||
struct RatingsModifier
|
||||
|
@ -317,6 +335,9 @@ struct RideTypeDescriptor
|
|||
RideMode DefaultMode{};
|
||||
/** rct2: 0x0097CF40 */
|
||||
RideOperatingSettings OperatingSettings{};
|
||||
RideTrackSpeedSettings TrackSpeedSettings{};
|
||||
RideBoosterSettings BoosterSettings{};
|
||||
RideLegacyBoosterSettings LegacyBoosterSettings{};
|
||||
RideNaming Naming{};
|
||||
RideNameConvention NameConvention{};
|
||||
const char* EnumName{};
|
||||
|
@ -538,7 +559,10 @@ constexpr RideTypeDescriptor DummyRTD =
|
|||
.Flags = 0,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 0, 0, 1 },
|
||||
.TrackSpeedSettings = { 30, 30 },
|
||||
.BoosterSettings = {0, 0, 12},
|
||||
.LegacyBoosterSettings = {0, 0, 2},
|
||||
.Naming = { STR_UNKNOWN_RIDE, STR_RIDE_DESCRIPTION_UNKNOWN },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = "(INVALID)",
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "../Context.h"
|
||||
#include "../PlatformEnvironment.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/Collections.hpp"
|
||||
#include "../core/Console.hpp"
|
||||
#include "../core/File.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "../Context.h"
|
||||
#include "../Game.h"
|
||||
#include "../audio/audio.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../interface/Viewport.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../localisation/StringIds.h"
|
||||
|
|
|
@ -2535,7 +2535,7 @@ void Vehicle::UpdateDeparting()
|
|||
case RideMode::UpwardLaunch:
|
||||
if ((curRide->launch_speed << 16) > velocity)
|
||||
{
|
||||
acceleration = curRide->launch_speed << rtd.OperatingSettings.AccelerationFactor;
|
||||
acceleration = curRide->launch_speed << rtd.BoosterSettings.AccelerationFactor;
|
||||
}
|
||||
break;
|
||||
case RideMode::DownwardLaunch:
|
||||
|
@ -7108,7 +7108,7 @@ Loc6DAEB9:
|
|||
auto boosterSpeed = GetBoosterSpeed(curRide.type, (brake_speed << 16));
|
||||
if (boosterSpeed > _vehicleVelocityF64E08)
|
||||
{
|
||||
acceleration = GetRideTypeDescriptor(curRide.type).OperatingSettings.BoosterAcceleration
|
||||
acceleration = GetRideTypeDescriptor(curRide.type).LegacyBoosterSettings.BoosterAcceleration
|
||||
<< 16; //_vehicleVelocityF64E08 * 1.2;
|
||||
}
|
||||
}
|
||||
|
@ -7120,7 +7120,7 @@ Loc6DAEB9:
|
|||
if ((trackType == TrackElemType::Flat && curRide.type == RIDE_TYPE_REVERSE_FREEFALL_COASTER)
|
||||
|| (trackType == TrackElemType::PoweredLift))
|
||||
{
|
||||
acceleration = GetRideTypeDescriptor(curRide.type).OperatingSettings.PoweredLiftAcceleration << 16;
|
||||
acceleration = GetRideTypeDescriptor(curRide.type).LegacyBoosterSettings.PoweredLiftAcceleration << 16;
|
||||
}
|
||||
if (trackType == TrackElemType::BrakeForDrop)
|
||||
{
|
||||
|
@ -7490,7 +7490,7 @@ bool Vehicle::UpdateTrackMotionBackwards(const CarEntry* carEntry, const Ride& c
|
|||
auto boosterSpeed = GetBoosterSpeed(curRide.type, (brake_speed << 16));
|
||||
if (boosterSpeed < _vehicleVelocityF64E08)
|
||||
{
|
||||
acceleration = GetRideTypeDescriptor(curRide.type).OperatingSettings.BoosterAcceleration << 16;
|
||||
acceleration = GetRideTypeDescriptor(curRide.type).LegacyBoosterSettings.BoosterAcceleration << 16;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,10 @@ constexpr RideTypeDescriptor AirPoweredVerticalCoasterRTD =
|
|||
.Flags = RIDE_TYPE_FLAGS_TRACK_HAS_3_COLOURS | RIDE_TYPE_FLAGS_COMMON_COASTER | RIDE_TYPE_FLAGS_COMMON_COASTER_NON_ALT | RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
|
||||
.DefaultMode = RideMode::PoweredLaunchPasstrough,
|
||||
.OperatingSettings = { 30, 50, 30, 40, 40, 0, 13 },
|
||||
.OperatingSettings = { 30, 50 },
|
||||
.TrackSpeedSettings = { 60, 60 },
|
||||
.BoosterSettings = { 40, 40, 13 },
|
||||
.LegacyBoosterSettings = { 40, 40 },
|
||||
.Naming = { STR_RIDE_NAME_AIR_POWERED_VERTICAL_COASTER, STR_RIDE_DESCRIPTION_AIR_POWERED_VERTICAL_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_AIR_POWERED_VERTICAL_COASTER),
|
||||
|
|
|
@ -31,7 +31,7 @@ constexpr RideTypeDescriptor AlpineCoasterRTD =
|
|||
RIDE_TYPE_FLAG_NO_TEST_MODE | RIDE_TYPE_FLAG_ALLOW_MORE_VEHICLES_THAN_STATION_FITS | RIDE_TYPE_FLAG_UP_INCLINE_REQUIRES_LIFT,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.TrackSpeedSettings = { 10, 10 },
|
||||
.Naming = { STR_RIDE_NAME_ALPINE_COASTER, STR_RIDE_DESCRIPTION_ALPINE_COASTER },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_ALPINE_ROLLER_COASTER),
|
||||
|
|
|
@ -30,7 +30,6 @@ constexpr RideTypeDescriptor BobsleighCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_BOBSLEIGH_COASTER, STR_RIDE_DESCRIPTION_BOBSLEIGH_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_BOBSLEIGH_COASTER),
|
||||
|
|
|
@ -30,7 +30,8 @@ constexpr RideTypeDescriptor ClassicMiniRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 17, 16, -1 },
|
||||
.BoosterSettings = { 17, 16 },
|
||||
.LegacyBoosterSettings = { 17, 16, 1 },
|
||||
.Naming = { STR_RIDE_NAME_CLASSIC_MINI_ROLLER_COASTER, STR_RIDE_DESCRIPTION_CLASSIC_MINI_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_CLASSIC_MINI_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,7 @@ constexpr RideTypeDescriptor ClassicStandUpRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 7, 27, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 7, 27 },
|
||||
.Naming = { STR_RIDE_NAME_CLASSIC_STAND_UP_ROLLER_COASTER, STR_RIDE_DESCRIPTION_CLASSIC_STAND_UP_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_CLASSIC_STAND_UP_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,8 @@ constexpr RideTypeDescriptor ClassicWoodenRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 68, 0 },
|
||||
.BoosterSettings = { 0, 68 },
|
||||
.LegacyBoosterSettings = { 0, 68 },
|
||||
.Naming = { STR_RIDE_NAME_CLASSIC_WOODEN_ROLLER_COASTER, STR_RIDE_DESCRIPTION_CLASSIC_WOODEN_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_CLASSIC_WOODEN_ROLLER_COASTER),
|
||||
|
|
|
@ -30,7 +30,7 @@ constexpr RideTypeDescriptor CompactInvertedCoasterRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG_IS_SUSPENDED,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 7, 27, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 7, 27 },
|
||||
.Naming = { STR_RIDE_NAME_COMPACT_INVERTED_COASTER, STR_RIDE_DESCRIPTION_COMPACT_INVERTED_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_COMPACT_INVERTED_COASTER),
|
||||
|
|
|
@ -31,7 +31,9 @@ constexpr RideTypeDescriptor CorkscrewRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch, RideMode::ReverseInclineLaunchedShuttle),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_CORKSCREW_ROLLER_COASTER, STR_RIDE_DESCRIPTION_CORKSCREW_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_CORKSCREW_ROLLER_COASTER),
|
||||
|
|
|
@ -36,7 +36,9 @@ constexpr RideTypeDescriptor FlyingRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG_START_CONSTRUCTION_INVERTED,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_FLYING_ROLLER_COASTER, STR_RIDE_DESCRIPTION_FLYING_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_FLYING_ROLLER_COASTER),
|
||||
|
@ -110,7 +112,9 @@ constexpr RideTypeDescriptor FlyingRollerCoasterAltRTD =
|
|||
RIDE_TYPE_FLAGS_COMMON_COASTER | RIDE_TYPE_FLAG_START_CONSTRUCTION_INVERTED,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_3A, STR_RIDE_DESCRIPTION_UNKNOWN },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_FLYING_ROLLER_COASTER_ALT),
|
||||
|
|
|
@ -31,7 +31,10 @@ constexpr RideTypeDescriptor GigaCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 17, 68, 1 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.TrackSpeedSettings = { 60, 60 },
|
||||
.BoosterSettings = { 17, 68 },
|
||||
.LegacyBoosterSettings = { 17, 68, 4 },
|
||||
.Naming = { STR_RIDE_NAME_GIGA_COASTER, STR_RIDE_DESCRIPTION_GIGA_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_GIGA_COASTER),
|
||||
|
|
|
@ -30,7 +30,9 @@ constexpr RideTypeDescriptor HeartlineTwisterCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_HEARTLINE_TWISTER_COASTER, STR_RIDE_DESCRIPTION_HEARTLINE_TWISTER_COASTER },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_HEARTLINE_TWISTER_COASTER),
|
||||
|
|
|
@ -28,7 +28,8 @@ constexpr RideTypeDescriptor HybridCoasterRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 30, 15, 52, 0 },
|
||||
.BoosterSettings = { 15, 52 },
|
||||
.LegacyBoosterSettings = { 15, 52 },
|
||||
.Naming = { STR_RIDE_NAME_HYBRID_COASTER, STR_RIDE_DESCRIPTION_HYBRID_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_HYBRID_COASTER),
|
||||
|
|
|
@ -32,7 +32,10 @@ constexpr RideTypeDescriptor HyperTwisterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 17, 68, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.TrackSpeedSettings = { 60, 60 },
|
||||
.BoosterSettings = { 17, 68 },
|
||||
.LegacyBoosterSettings = { 17, 68 },
|
||||
.Naming = { STR_RIDE_NAME_HYPER_TWISTER, STR_RIDE_DESCRIPTION_HYPER_TWISTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station},
|
||||
.EnumName = nameof(RIDE_TYPE_HYPER_TWISTER),
|
||||
|
|
|
@ -30,7 +30,10 @@ constexpr RideTypeDescriptor HypercoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch, RideMode::ReverseInclineLaunchedShuttle),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.TrackSpeedSettings = { 60, 60 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_HYPERCOASTER, STR_RIDE_DESCRIPTION_HYPERCOASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_HYPERCOASTER),
|
||||
|
|
|
@ -30,7 +30,6 @@ constexpr RideTypeDescriptor InvertedHairpinCoasterRTD =
|
|||
RIDE_TYPE_FLAG_IS_SUSPENDED,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_INVERTED_HAIRPIN_COASTER, STR_RIDE_DESCRIPTION_INVERTED_HAIRPIN_COASTER },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_INVERTED_HAIRPIN_COASTER),
|
||||
|
|
|
@ -31,7 +31,9 @@ constexpr RideTypeDescriptor InvertedImpulseCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
|
||||
.DefaultMode = RideMode::PoweredLaunchPasstrough,
|
||||
.OperatingSettings = { 10, 33, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 33 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_INVERTED_IMPULSE_COASTER, STR_RIDE_DESCRIPTION_INVERTED_IMPULSE_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_INVERTED_IMPULSE_COASTER),
|
||||
|
|
|
@ -31,7 +31,9 @@ constexpr RideTypeDescriptor InvertedRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 7, 27, 0, 0, 38, 0 },
|
||||
.OperatingSettings = { 7, 27 },
|
||||
.BoosterSettings = { 0, 38 },
|
||||
.LegacyBoosterSettings = { 0, 38 },
|
||||
.Naming = { STR_RIDE_NAME_INVERTED_ROLLER_COASTER, STR_RIDE_DESCRIPTION_INVERTED_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_INVERTED_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,9 @@ constexpr RideTypeDescriptor JuniorRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 17, 16, -1 },
|
||||
.TrackSpeedSettings = { 30, 15 },
|
||||
.BoosterSettings = { 17, 16 },
|
||||
.LegacyBoosterSettings = { 17, 16, 1 },
|
||||
.Naming = { STR_RIDE_NAME_JUNIOR_ROLLER_COASTER, STR_RIDE_DESCRIPTION_JUNIOR_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_JUNIOR_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,9 @@ constexpr RideTypeDescriptor LIMLaunchedRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch, RideMode::PoweredLaunchBlockSectioned),
|
||||
.DefaultMode = RideMode::PoweredLaunchPasstrough,
|
||||
.OperatingSettings = { 10, 31, 26, 18, 52, 0 },
|
||||
.OperatingSettings = { 10, 31 },
|
||||
.BoosterSettings = { 18, 52 },
|
||||
.LegacyBoosterSettings = { 18, 52 },
|
||||
.Naming = { STR_RIDE_NAME_LIM_LAUNCHED_ROLLER_COASTER, STR_RIDE_DESCRIPTION_LIM_LAUNCHED_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_LIM_LAUNCHED_ROLLER_COASTER),
|
||||
|
|
|
@ -38,7 +38,9 @@ constexpr RideTypeDescriptor LayDownRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_HAS_ALTERNATIVE_TRACK_TYPE | RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_LAY_DOWN_ROLLER_COASTER, STR_RIDE_DESCRIPTION_LAY_DOWN_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_LAY_DOWN_ROLLER_COASTER),
|
||||
|
@ -108,7 +110,9 @@ constexpr RideTypeDescriptor LayDownRollerCoasterAltRTD =
|
|||
RIDE_TYPE_FLAGS_COMMON_COASTER,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_40, STR_RIDE_DESCRIPTION_UNKNOWN },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_LAY_DOWN_ROLLER_COASTER_ALT),
|
||||
|
|
|
@ -31,7 +31,9 @@ constexpr RideTypeDescriptor LoopingRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 26, 18, 18, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 18, 18 },
|
||||
.LegacyBoosterSettings = { 18, 18 },
|
||||
.Naming = { STR_RIDE_NAME_LOOPING_ROLLER_COASTER, STR_RIDE_DESCRIPTION_LOOPING_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_LOOPING_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,6 @@ constexpr RideTypeDescriptor MineRideRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_MINE_RIDE, STR_RIDE_DESCRIPTION_MINE_RIDE },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MINE_RIDE),
|
||||
|
|
|
@ -32,7 +32,6 @@ constexpr RideTypeDescriptor MineTrainCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_MINE_TRAIN_COASTER, STR_RIDE_DESCRIPTION_MINE_TRAIN_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MINE_TRAIN_COASTER),
|
||||
|
|
|
@ -31,7 +31,8 @@ constexpr RideTypeDescriptor MiniRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 68, 1 },
|
||||
.BoosterSettings = { 0, 68 },
|
||||
.LegacyBoosterSettings = { 0, 68, 4 },
|
||||
.Naming = { STR_RIDE_NAME_MINI_ROLLER_COASTER, STR_RIDE_DESCRIPTION_MINI_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MINI_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,6 @@ constexpr RideTypeDescriptor MiniSuspendedCoasterRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_IS_SUSPENDED,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_MINI_SUSPENDED_COASTER, STR_RIDE_DESCRIPTION_MINI_SUSPENDED_COASTER },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MINI_SUSPENDED_COASTER),
|
||||
|
|
|
@ -36,7 +36,9 @@ constexpr RideTypeDescriptor MultiDimensionRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_MULTI_DIMENSION_ROLLER_COASTER, STR_RIDE_DESCRIPTION_MULTI_DIMENSION_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MULTI_DIMENSION_ROLLER_COASTER),
|
||||
|
@ -109,7 +111,9 @@ constexpr RideTypeDescriptor MultiDimensionRollerCoasterAltRTD =
|
|||
RIDE_TYPE_FLAGS_COMMON_COASTER | RIDE_TYPE_FLAG_HAS_SEAT_ROTATION,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 25, 25 },
|
||||
.LegacyBoosterSettings = { 25, 25 },
|
||||
.Naming = { STR_RIDE_NAME_38, STR_RIDE_DESCRIPTION_UNKNOWN },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MULTI_DIMENSION_ROLLER_COASTER_ALT),
|
||||
|
|
|
@ -28,7 +28,10 @@ constexpr RideTypeDescriptor ReverseFreefallCoasterRTD =
|
|||
.Flags = RIDE_TYPE_FLAGS_TRACK_HAS_3_COLOURS | RIDE_TYPE_FLAGS_COMMON_COASTER | RIDE_TYPE_FLAGS_COMMON_COASTER_NON_ALT | RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::LimPoweredLaunch),
|
||||
.DefaultMode = RideMode::LimPoweredLaunch,
|
||||
.OperatingSettings = { 7, 30, 30, 40, 40, 0 },
|
||||
.OperatingSettings = { 7, 30 },
|
||||
.TrackSpeedSettings = { 60, 60 },
|
||||
.BoosterSettings = { 40, 40 },
|
||||
.LegacyBoosterSettings = { 40, 40 },
|
||||
.Naming = { STR_RIDE_NAME_REVERSE_FREEFALL_COASTER, STR_RIDE_DESCRIPTION_REVERSE_FREEFALL_COASTER },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_REVERSE_FREEFALL_COASTER),
|
||||
|
|
|
@ -29,7 +29,6 @@ constexpr RideTypeDescriptor ReverserRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAGS_COMMON_COASTER | RIDE_TYPE_FLAGS_COMMON_COASTER_NON_ALT | RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_REVERSER_ROLLER_COASTER, STR_RIDE_DESCRIPTION_REVERSER_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_REVERSER_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,6 @@ constexpr RideTypeDescriptor SideFrictionRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_SIDE_FRICTION_ROLLER_COASTER, STR_RIDE_DESCRIPTION_SIDE_FRICTION_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_SIDE_FRICTION_ROLLER_COASTER),
|
||||
|
|
|
@ -29,7 +29,8 @@ constexpr RideTypeDescriptor SingleRailRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 30, 15, 52, 0 },
|
||||
.BoosterSettings = { 15, 52 },
|
||||
.LegacyBoosterSettings = { 15, 52 },
|
||||
.Naming = { STR_RIDE_NAME_SINGLE_RAIL_ROLLER_COASTER, STR_RIDE_DESCRIPTION_SINGLE_RAIL_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_SINGLE_RAIL_ROLLER_COASTER),
|
||||
|
|
|
@ -28,7 +28,6 @@ constexpr RideTypeDescriptor SpinningWildMouseRTD =
|
|||
RIDE_TYPE_FLAGS_COMMON_COASTER | RIDE_TYPE_FLAGS_COMMON_COASTER_NON_ALT | RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_SPINNING_WILD_MOUSE_GROUP, STR_SPINNING_WILD_MOUSE_GROUP_DESC },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_SPINNING_WILD_MOUSE),
|
||||
|
|
|
@ -30,7 +30,9 @@ constexpr RideTypeDescriptor SpiralRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 17, 17, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 17, 17 },
|
||||
.LegacyBoosterSettings = { 17, 17 },
|
||||
.Naming = { STR_RIDE_NAME_SPIRAL_ROLLER_COASTER, STR_RIDE_DESCRIPTION_SPIRAL_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_SPIRAL_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,7 @@ constexpr RideTypeDescriptor StandUpRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 7, 27, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 7, 27 },
|
||||
.Naming = { STR_RIDE_NAME_STAND_UP_ROLLER_COASTER, STR_RIDE_DESCRIPTION_STAND_UP_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_STAND_UP_ROLLER_COASTER),
|
||||
|
|
|
@ -30,7 +30,6 @@ constexpr RideTypeDescriptor SteelWildMouseRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_WILD_MOUSE, STR_RIDE_DESCRIPTION_WILD_MOUSE },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_STEEL_WILD_MOUSE),
|
||||
|
|
|
@ -30,7 +30,6 @@ constexpr RideTypeDescriptor SteeplechaseRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_STEEPLECHASE, STR_RIDE_DESCRIPTION_STEEPLECHASE },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_STEEPLECHASE),
|
||||
|
|
|
@ -30,7 +30,6 @@ constexpr RideTypeDescriptor SuspendedSwingingCoasterRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_IS_SUSPENDED,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_SUSPENDED_SWINGING_COASTER, STR_RIDE_DESCRIPTION_SUSPENDED_SWINGING_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_SUSPENDED_SWINGING_COASTER),
|
||||
|
|
|
@ -33,7 +33,9 @@ constexpr RideTypeDescriptor TwisterRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 30, 17, 68, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 17, 68 },
|
||||
.LegacyBoosterSettings = { 17, 68 },
|
||||
.Naming = { STR_RIDE_NAME_TWISTER_ROLLER_COASTER, STR_RIDE_DESCRIPTION_TWISTER_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_TWISTER_ROLLER_COASTER),
|
||||
|
|
|
@ -32,7 +32,9 @@ constexpr RideTypeDescriptor VerticalDropCoasterRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 10, 27, 26, 17, 68, 0 },
|
||||
.OperatingSettings = { 10, 27 },
|
||||
.BoosterSettings = { 17, 68 },
|
||||
.LegacyBoosterSettings = { 17, 68 },
|
||||
.Naming = { STR_RIDE_NAME_VERTICAL_DROP_ROLLER_COASTER, STR_RIDE_DESCRIPTION_VERTICAL_DROP_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_VERTICAL_DROP_ROLLER_COASTER),
|
||||
|
|
|
@ -29,7 +29,6 @@ constexpr RideTypeDescriptor VirginiaReelRTD =
|
|||
RIDE_TYPE_FLAGS_COMMON_COASTER | RIDE_TYPE_FLAGS_COMMON_COASTER_NON_ALT | RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_VIRGINIA_REEL, STR_RIDE_DESCRIPTION_VIRGINIA_REEL },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_VIRGINIA_REEL),
|
||||
|
|
|
@ -38,7 +38,9 @@ constexpr RideTypeDescriptor WaterCoasterRTD =
|
|||
RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES | RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 17, 16, -1 },
|
||||
.TrackSpeedSettings = { 30, 15 },
|
||||
.BoosterSettings = { 17, 16 },
|
||||
.LegacyBoosterSettings = { 17, 16, 1 },
|
||||
.Naming = { STR_RIDE_NAME_WATER_COASTER, STR_RIDE_DESCRIPTION_WATER_COASTER },
|
||||
.NameConvention = { RideComponentType::Boat, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_WATER_COASTER),
|
||||
|
|
|
@ -31,7 +31,8 @@ constexpr RideTypeDescriptor WoodenRollerCoasterRTD =
|
|||
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 68, 0 },
|
||||
.BoosterSettings = { 0, 68 },
|
||||
.LegacyBoosterSettings = { 0, 68 },
|
||||
.Naming = { STR_RIDE_NAME_WOODEN_ROLLER_COASTER, STR_RIDE_DESCRIPTION_WOODEN_ROLLER_COASTER },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_WOODEN_ROLLER_COASTER),
|
||||
|
|
|
@ -31,7 +31,6 @@ constexpr RideTypeDescriptor WoodenWildMouseRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_WOODEN_WILD_MOUSE, STR_RIDE_DESCRIPTION_WOODEN_WILD_MOUSE },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_WOODEN_WILD_MOUSE),
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../../config/Config.h"
|
||||
#include "../../entity/EntityRegistry.h"
|
||||
#include "../../entity/Guest.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
|
|
|
@ -34,7 +34,6 @@ constexpr RideTypeDescriptor CarRideRTD =
|
|||
RIDE_TYPE_FLAG_SLIGHTLY_INTERESTING_TO_LOOK_AT,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_CAR_RIDE, STR_RIDE_DESCRIPTION_CAR_RIDE },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_CAR_RIDE),
|
||||
|
|
|
@ -32,7 +32,6 @@ constexpr RideTypeDescriptor CircusRTD =
|
|||
RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY,
|
||||
.RideModes = EnumsToFlags(RideMode::Circus),
|
||||
.DefaultMode = RideMode::Circus,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_CIRCUS, STR_RIDE_DESCRIPTION_CIRCUS },
|
||||
.NameConvention = { RideComponentType::Building, RideComponentType::Structure, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_CIRCUS),
|
||||
|
|
|
@ -32,7 +32,6 @@ constexpr RideTypeDescriptor CrookedHouseRTD =
|
|||
RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY,
|
||||
.RideModes = EnumsToFlags(RideMode::CrookedHouse),
|
||||
.DefaultMode = RideMode::CrookedHouse,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_CROOKED_HOUSE, STR_RIDE_DESCRIPTION_CROOKED_HOUSE },
|
||||
.NameConvention = { RideComponentType::Building, RideComponentType::Structure, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_CROOKED_HOUSE),
|
||||
|
|
|
@ -33,7 +33,7 @@ constexpr RideTypeDescriptor DodgemsRTD =
|
|||
RIDE_TYPE_FLAG_SLIGHTLY_INTERESTING_TO_LOOK_AT,
|
||||
.RideModes = EnumsToFlags(RideMode::Dodgems),
|
||||
.DefaultMode = RideMode::Dodgems,
|
||||
.OperatingSettings = { 20, 180, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 20, 180 },
|
||||
.Naming = { STR_RIDE_NAME_DODGEMS, STR_RIDE_DESCRIPTION_DODGEMS },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Building, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_DODGEMS),
|
||||
|
|
|
@ -32,7 +32,7 @@ constexpr RideTypeDescriptor FerrisWheelRTD =
|
|||
RIDE_TYPE_FLAG_SLIGHTLY_INTERESTING_TO_LOOK_AT | RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY,
|
||||
.RideModes = EnumsToFlags(RideMode::ForwardRotation, RideMode::BackwardRotation),
|
||||
.DefaultMode = RideMode::ForwardRotation,
|
||||
.OperatingSettings = { 1, 3, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 1, 3 },
|
||||
.Naming = { STR_RIDE_NAME_FERRIS_WHEEL, STR_RIDE_DESCRIPTION_FERRIS_WHEEL },
|
||||
.NameConvention = { RideComponentType::Wheel, RideComponentType::Structure, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_FERRIS_WHEEL),
|
||||
|
|
|
@ -32,7 +32,7 @@ constexpr RideTypeDescriptor FlyingSaucersRTD =
|
|||
RIDE_TYPE_FLAG_SINGLE_SESSION | RIDE_TYPE_FLAG_INTERESTING_TO_LOOK_AT,
|
||||
.RideModes = EnumsToFlags(RideMode::Dodgems),
|
||||
.DefaultMode = RideMode::Dodgems,
|
||||
.OperatingSettings = { 20, 180, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 20, 180 },
|
||||
.Naming = { STR_RIDE_NAME_FLYING_SAUCERS, STR_RIDE_DESCRIPTION_FLYING_SAUCERS },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Building, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_FLYING_SAUCERS),
|
||||
|
|
|
@ -35,7 +35,6 @@ constexpr RideTypeDescriptor GhostTrainRTD =
|
|||
RIDE_TYPE_FLAG_HAS_LANDSCAPE_DOORS,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_GHOST_TRAIN, STR_RIDE_DESCRIPTION_GHOST_TRAIN },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_GHOST_TRAIN),
|
||||
|
|
|
@ -32,7 +32,6 @@ constexpr RideTypeDescriptor HauntedHouseRTD =
|
|||
RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY,
|
||||
.RideModes = EnumsToFlags(RideMode::HauntedHouse),
|
||||
.DefaultMode = RideMode::HauntedHouse,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_HAUNTED_HOUSE, STR_RIDE_DESCRIPTION_HAUNTED_HOUSE },
|
||||
.NameConvention = { RideComponentType::Building, RideComponentType::Structure, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_HAUNTED_HOUSE),
|
||||
|
|
|
@ -31,7 +31,7 @@ constexpr RideTypeDescriptor MazeRTD =
|
|||
RIDE_TYPE_FLAG_PEEP_CAN_USE_UMBRELLA | RIDE_TYPE_FLAG_IS_MAZE,
|
||||
.RideModes = EnumsToFlags(RideMode::Maze),
|
||||
.DefaultMode = RideMode::Maze,
|
||||
.OperatingSettings = { 1, 64, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 1, 64 },
|
||||
.Naming = { STR_RIDE_NAME_MAZE, STR_RIDE_DESCRIPTION_MAZE },
|
||||
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MAZE),
|
||||
|
|
|
@ -32,7 +32,7 @@ constexpr RideTypeDescriptor MerryGoRoundRTD =
|
|||
RIDE_TYPE_FLAG_INTERESTING_TO_LOOK_AT | RIDE_TYPE_FLAG_LIST_VEHICLES_SEPARATELY,
|
||||
.RideModes = EnumsToFlags(RideMode::Rotation),
|
||||
.DefaultMode = RideMode::Rotation,
|
||||
.OperatingSettings = { 4, 25, 0, 0, 0, 0 },
|
||||
.OperatingSettings = { 4, 25 },
|
||||
.Naming = { STR_RIDE_NAME_MERRY_GO_ROUND, STR_RIDE_DESCRIPTION_MERRY_GO_ROUND },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Structure, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MERRY_GO_ROUND),
|
||||
|
|
|
@ -30,7 +30,6 @@ constexpr RideTypeDescriptor MiniGolfRTD =
|
|||
RIDE_TYPE_FLAG_SLIGHTLY_INTERESTING_TO_LOOK_AT,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_MINI_GOLF, STR_RIDE_DESCRIPTION_MINI_GOLF },
|
||||
.NameConvention = { RideComponentType::Player, RideComponentType::Course, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MINI_GOLF),
|
||||
|
|
|
@ -34,7 +34,6 @@ constexpr RideTypeDescriptor MiniHelicoptersRTD =
|
|||
RIDE_TYPE_FLAG_SLIGHTLY_INTERESTING_TO_LOOK_AT,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_MINI_HELICOPTERS, STR_RIDE_DESCRIPTION_MINI_HELICOPTERS },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MINI_HELICOPTERS),
|
||||
|
|
|
@ -33,7 +33,6 @@ constexpr RideTypeDescriptor MonorailCyclesRTD =
|
|||
RIDE_TYPE_FLAG_SLIGHTLY_INTERESTING_TO_LOOK_AT,
|
||||
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_MONORAIL_CYCLES, STR_RIDE_DESCRIPTION_MONORAIL_CYCLES },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MONORAIL_CYCLES),
|
||||
|
|
|
@ -33,7 +33,6 @@ constexpr RideTypeDescriptor MonsterTrucksRTD =
|
|||
RIDE_TYPE_FLAG_SLIGHTLY_INTERESTING_TO_LOOK_AT,
|
||||
.RideModes = (1uLL << static_cast<uint8_t>(RideMode::ContinuousCircuit)),
|
||||
.DefaultMode = RideMode::ContinuousCircuit,
|
||||
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
|
||||
.Naming = { STR_RIDE_NAME_MONSTER_TRUCKS, STR_RIDE_DESCRIPTION_MONSTER_TRUCKS_GROUP },
|
||||
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
|
||||
.EnumName = nameof(RIDE_TYPE_MONSTER_TRUCKS),
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue