Skip to content

Commit

Permalink
fix: made the sample from TRSMap into it's own record
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Dec 20, 2024
1 parent 3e0efd0 commit 2ab6ef9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions osr/map/map.simba
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Record holding a player's full position:
Plane: Int32;
end;

TRSMapSample = record
Amount, Radius: Int32;
end;

function TRSPosition.ToPoint(): TPoint; constref;
begin
Result := Point(Self.X, Self.Y);
Expand Down Expand Up @@ -65,9 +69,7 @@ Record responsible for positioning.
Cache: TMatchTemplateRGBCache;
Loader: TRSMapLoader;

Sample: record
Amount, Radius: Int32;
end;
Sample: TRSMapSample;

Filters: array of record
Box: TBox;
Expand Down

0 comments on commit 2ab6ef9

Please sign in to comment.