1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Rework path surface and railings descriptor handling

This commit is contained in:
Gymnasiast
2021-09-05 18:44:43 +02:00
parent 2282f24404
commit 4cc717ccdb
27 changed files with 250 additions and 237 deletions

View File

@@ -24,6 +24,11 @@ void FootpathSurfaceObject::Load()
PreviewImageId = gfx_object_allocate_images(GetImageTable().GetImages(), GetImageTable().GetCount());
BaseImageId = PreviewImageId + 1;
}
_descriptor.Name = NameStringId;
_descriptor.Image = BaseImageId;
_descriptor.PreviewImage = PreviewImageId;
_descriptor.Flags = Flags;
}
void FootpathSurfaceObject::Unload()