mirror of https://github.com/OpenRCT2/OpenRCT2.git
Formating.
This commit is contained in:
parent
8c6f6a18ab
commit
ccf12befd5
|
@ -65,8 +65,7 @@ namespace ParkImporter
|
||||||
{
|
{
|
||||||
std::unique_ptr<IParkImporter> Create(const std::string& hintPath);
|
std::unique_ptr<IParkImporter> Create(const std::string& hintPath);
|
||||||
std::unique_ptr<IParkImporter> CreateS4();
|
std::unique_ptr<IParkImporter> CreateS4();
|
||||||
std::unique_ptr<IParkImporter> CreateS6(
|
std::unique_ptr<IParkImporter> CreateS6(IObjectRepository& objectRepository);
|
||||||
IObjectRepository& objectRepository);
|
|
||||||
|
|
||||||
bool ExtensionIsRCT1(const std::string& extension);
|
bool ExtensionIsRCT1(const std::string& extension);
|
||||||
bool ExtensionIsScenario(const std::string& extension);
|
bool ExtensionIsScenario(const std::string& extension);
|
||||||
|
|
|
@ -843,8 +843,7 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
std::unique_ptr<IParkImporter> ParkImporter::CreateS6(
|
std::unique_ptr<IParkImporter> ParkImporter::CreateS6(IObjectRepository& objectRepository)
|
||||||
IObjectRepository& objectRepository)
|
|
||||||
{
|
{
|
||||||
return std::make_unique<S6Importer>(objectRepository);
|
return std::make_unique<S6Importer>(objectRepository);
|
||||||
}
|
}
|
||||||
|
|
|
@ -234,7 +234,7 @@ rct_ride_entry* get_ride_entry(int32_t index)
|
||||||
{
|
{
|
||||||
rct_ride_entry* result = nullptr;
|
rct_ride_entry* result = nullptr;
|
||||||
auto& objMgr = OpenRCT2::GetContext()->GetObjectManager();
|
auto& objMgr = OpenRCT2::GetContext()->GetObjectManager();
|
||||||
|
|
||||||
auto obj = objMgr.GetLoadedObject(OBJECT_TYPE_RIDE, index);
|
auto obj = objMgr.GetLoadedObject(OBJECT_TYPE_RIDE, index);
|
||||||
if (obj != nullptr)
|
if (obj != nullptr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue