mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 13:03:11 +01:00
Remove unused function get_loaded_object_chunk
This commit is contained in:
@@ -151,14 +151,6 @@ const rct_object_entry* get_loaded_object_entry(size_t index)
|
||||
return obj->GetObjectEntry();
|
||||
}
|
||||
|
||||
void* get_loaded_object_chunk(size_t index)
|
||||
{
|
||||
ObjectType objectType;
|
||||
ObjectEntryIndex entryIndex;
|
||||
get_type_entry_index(index, &objectType, &entryIndex);
|
||||
return object_entry_get_chunk(objectType, entryIndex);
|
||||
}
|
||||
|
||||
void object_entry_get_name_fixed(utf8* buffer, size_t bufferSize, const rct_object_entry* entry)
|
||||
{
|
||||
bufferSize = std::min(static_cast<size_t>(DAT_NAME_LENGTH) + 1, bufferSize);
|
||||
|
||||
@@ -19,4 +19,3 @@
|
||||
|
||||
void get_type_entry_index(size_t index, ObjectType* outObjectType, ObjectEntryIndex* outEntryIndex);
|
||||
const rct_object_entry* get_loaded_object_entry(size_t index);
|
||||
void* get_loaded_object_chunk(size_t index);
|
||||
|
||||
Reference in New Issue
Block a user