diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-11 09:24:25 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-11 09:24:25 +0200 |
commit | bdb4df70e835b9991b6ddfff03377db2dde7b6d3 (patch) | |
tree | 54d1ed35c2ceb0749d428779c058aaea65272349 /crawl-ref/source/ray.h | |
parent | 58f42dec260dc9d186ff8b6453a989930723eba4 (diff) | |
download | crawl-ref-bdb4df70e835b9991b6ddfff03377db2dde7b6d3.tar.gz crawl-ref-bdb4df70e835b9991b6ddfff03377db2dde7b6d3.zip |
Convert LOS algorithm to use coord_def instead of separate x,y.
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r-- | crawl-ref/source/ray.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h index 9c72098981..058fe7ffb4 100644 --- a/crawl-ref/source/ray.h +++ b/crawl-ref/source/ray.h @@ -32,7 +32,7 @@ public: void advance_and_bounce(); void regress(); - int footprint(int radius2, int xpos[], int ypos[]) const; + int footprint(int radius2, coord_def pos[]) const; // Gets/sets the slope in terms of degrees, with 0 = east, 90 = north, // 180 = west, 270 = south, 360 = east, -90 = south, etc |