# House Layout Finder Provides and compares images for {ref}`House Viewer`. - - - ## TRSHouseLayoutFinder Main record used to interact with the {ref}`House Viewer`. - - - ## HouseLayoutFinder.Setup ```pascal procedure TRSHouseLayoutFinder.Setup(); ``` Sets up the {ref}`TRSHouseLayoutFinder`, including cache management and similarity settings. Example: ```pascal HouseLayoutFinder.Setup(); ``` - - - ## HouseLayoutFinder.GetImages ```pascal 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: ```pascal img := HouseLayoutFinder.GetImage(EHouseRoom.ACHIEVEMENT_GALLERY)[0]; img.Show(); ``` - - - ## HouseLayoutFinder variable Global {ref}`TRSHouseLayoutFinder` variable.