mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
Finish Removing snake_case from Drawing Methods
This commit is contained in:
@@ -22,7 +22,7 @@ void TerrainEdgeObject::Load()
|
||||
{
|
||||
GetStringTable().Sort();
|
||||
NameStringId = language_allocate_object_string(GetName());
|
||||
IconImageId = gfx_object_allocate_images(GetImageTable().GetImages(), GetImageTable().GetCount());
|
||||
IconImageId = GfxObjectAllocateImages(GetImageTable().GetImages(), GetImageTable().GetCount());
|
||||
|
||||
// First image is icon followed by edge images
|
||||
BaseImageId = IconImageId + 1;
|
||||
@@ -31,7 +31,7 @@ void TerrainEdgeObject::Load()
|
||||
void TerrainEdgeObject::Unload()
|
||||
{
|
||||
language_free_object_string(NameStringId);
|
||||
gfx_object_free_images(IconImageId, GetImageTable().GetCount());
|
||||
GfxObjectFreeImages(IconImageId, GetImageTable().GetCount());
|
||||
|
||||
NameStringId = 0;
|
||||
IconImageId = 0;
|
||||
|
||||
Reference in New Issue
Block a user