forked from rosebudai/OpenRCT2-Web
Implement surfaces, edges and stations as objects
This commit is contained in:
1 parent
d9806305b0
commit
06f203a7e7
66 files changed
+1212
-811
No files matched your search
@@ -643,17 +643,6 @@ const rct_object_entry* object_list_find(rct_object_entry* entry)
|
||||
return result;
|
||||
}
|
||||
|
||||
void object_list_load()
|
||||
{
|
||||
auto context = GetContext();
|
||||
const auto& localisationService = context->GetLocalisationService();
|
||||
auto& objectRepository = context->GetObjectRepository();
|
||||
objectRepository.LoadOrConstruct(localisationService.GetCurrentLanguage());
|
||||
|
||||
auto& objectManager = context->GetObjectManager();
|
||||
objectManager.UnloadAll();
|
||||
}
|
||||
|
||||
void* object_repository_load_object(const rct_object_entry* objectEntry)
|
||||
{
|
||||
Object* object = nullptr;
|
||||
|
||||
Reference in new issue
Block a user