1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +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

@@ -21,7 +21,7 @@ void FootpathRailingsObject::Load()
auto numImages = GetImageTable().GetCount();
if (numImages != 0)
{
PreviewImageId = gfx_object_allocate_images(GetImageTable().GetImages(), GetImageTable().GetCount());
PreviewImageId = GfxObjectAllocateImages(GetImageTable().GetImages(), GetImageTable().GetCount());
BridgeImageId = PreviewImageId + 37;
RailingsImageId = PreviewImageId + 1;
}
@@ -39,7 +39,7 @@ void FootpathRailingsObject::Load()
void FootpathRailingsObject::Unload()
{
language_free_object_string(NameStringId);
gfx_object_free_images(PreviewImageId, GetImageTable().GetCount());
GfxObjectFreeImages(PreviewImageId, GetImageTable().GetCount());
NameStringId = 0;
PreviewImageId = 0;