mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
move more code from old object list to new repository
This commit is contained in:
@@ -609,7 +609,7 @@ extern "C"
|
||||
IObjectRepository * objRepo = GetObjectRepository();
|
||||
}
|
||||
|
||||
int object_load_chunk(int groupIndex, rct_object_entry * entry, int * chunkSize)
|
||||
int object_load_chunk(int groupIndex, const rct_object_entry * entry, int * chunkSize)
|
||||
{
|
||||
IObjectRepository * objRepo = GetObjectRepository();
|
||||
Object * object = objRepo->LoadObject(entry);
|
||||
@@ -664,6 +664,11 @@ extern "C"
|
||||
reset_type_to_ride_entry_index_map();
|
||||
}
|
||||
|
||||
void object_repository_unload(size_t itemIndex)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void object_unload_all()
|
||||
{
|
||||
for (int i = 0; i < 721; i++)
|
||||
|
||||
Reference in New Issue
Block a user