DEADSOFTWARE

renamed `grid.atPoint` to `grid.atCellInPoint`
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Wed, 30 Aug 2017 10:43:57 +0000 (13:43 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Wed, 30 Aug 2017 11:14:40 +0000 (14:14 +0300)
src/game/g_grid.pas

index 442a776ea831b8fc1a103001c51331cecf7e4a3b..5b88258c09ffb54111ce0d3ac116196d1b8a5ed5 100644 (file)
@@ -178,7 +178,7 @@ type
     // no callback: return object on the first hit or nil
     function forEachAtPoint (x, y: Integer; cb: TGridQueryCB; tagmask: Integer=-1; exittag: PInteger=nil): ITP;
 
-    function atPoint (x, y: Integer): TAtPointEnumerator;
+    function atCellInPoint (x, y: Integer): TAtPointEnumerator;
 
     //WARNING: don't modify grid while any query is in progress (no checks are made!)
     //         you can set enabled/disabled flag, tho (but iterator can still return objects disabled inside it)
@@ -1162,7 +1162,7 @@ end;
 
 
 // ////////////////////////////////////////////////////////////////////////// //
-function TBodyGridBase.atPoint (x, y: Integer): TAtPointEnumerator;
+function TBodyGridBase.atCellInPoint (x, y: Integer): TAtPointEnumerator;
 var
   cidx: Integer = -1;
 begin