House Layout Finder

Provides and compares images for House Viewer.


TRSHouseLayoutFinder

Main record used to interact with the House Viewer.


HouseLayoutFinder.Setup

procedure TRSHouseLayoutFinder.Setup();

Sets up the TRSHouseLayoutFinder, including cache management and similarity settings.

Example:

HouseLayoutFinder.Setup();

HouseLayoutFinder.GetImages

function TRSHouseLayoutFinder.GetImages(room: EHouseRoom): TImageArray;

Retrieves the images for a specific room, loading it from cache or extracting from ZIP if needed. This returns a TImageArray with 4 images, one for each possible rotation.

Example:

img := HouseLayoutFinder.GetImage(EHouseRoom.ACHIEVEMENT_GALLERY)[0];
img.Show();

HouseLayoutFinder variable

Global TRSHouseLayoutFinder variable.