1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Finish Removing snake_case from Drawing Methods

This commit is contained in:
Duncan
2023-01-16 22:31:34 +00:00
committed by GitHub
parent 0e3a0a5ce0
commit 8504c8d05e
72 changed files with 412 additions and 410 deletions

View File

@@ -25,7 +25,7 @@ void StationObject::Load()
auto numImages = GetImageTable().GetCount();
if (numImages != 0)
{
BaseImageId = gfx_object_allocate_images(GetImageTable().GetImages(), GetImageTable().GetCount());
BaseImageId = GfxObjectAllocateImages(GetImageTable().GetImages(), GetImageTable().GetCount());
uint32_t shelterOffset = (Flags & STATION_OBJECT_FLAGS::IS_TRANSPARENT) ? 32 : 16;
if (numImages > shelterOffset)
@@ -38,7 +38,7 @@ void StationObject::Load()
void StationObject::Unload()
{
language_free_object_string(NameStringId);
gfx_object_free_images(BaseImageId, GetImageTable().GetCount());
GfxObjectFreeImages(BaseImageId, GetImageTable().GetCount());
NameStringId = 0;
BaseImageId = ImageIndexUndefined;