mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 02:35:46 +01:00
Rename snake_case functions from localisation folder
This commit is contained in:
committed by
GitHub
parent
8504c8d05e
commit
b4480b344e
@@ -21,7 +21,7 @@
|
||||
void TerrainEdgeObject::Load()
|
||||
{
|
||||
GetStringTable().Sort();
|
||||
NameStringId = language_allocate_object_string(GetName());
|
||||
NameStringId = LanguageAllocateObjectString(GetName());
|
||||
IconImageId = GfxObjectAllocateImages(GetImageTable().GetImages(), GetImageTable().GetCount());
|
||||
|
||||
// First image is icon followed by edge images
|
||||
@@ -30,7 +30,7 @@ void TerrainEdgeObject::Load()
|
||||
|
||||
void TerrainEdgeObject::Unload()
|
||||
{
|
||||
language_free_object_string(NameStringId);
|
||||
LanguageFreeObjectString(NameStringId);
|
||||
GfxObjectFreeImages(IconImageId, GetImageTable().GetCount());
|
||||
|
||||
NameStringId = 0;
|
||||
|
||||
Reference in New Issue
Block a user