summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1209192)
raw | patch | inline | side by side (parent: 1209192)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Wed, 30 Aug 2017 10:43:57 +0000 (13:43 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Wed, 30 Aug 2017 11:14:40 +0000 (14:14 +0300) |
src/game/g_grid.pas | patch | blob | history |
diff --git a/src/game/g_grid.pas b/src/game/g_grid.pas
index 442a776ea831b8fc1a103001c51331cecf7e4a3b..5b88258c09ffb54111ce0d3ac116196d1b8a5ed5 100644 (file)
--- a/src/game/g_grid.pas
+++ b/src/game/g_grid.pas
// 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)
// ////////////////////////////////////////////////////////////////////////// //
-function TBodyGridBase.atPoint (x, y: Integer): TAtPointEnumerator;
+function TBodyGridBase.atCellInPoint (x, y: Integer): TAtPointEnumerator;
var
cidx: Integer = -1;
begin