summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile.obj
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-08 16:47:06 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-08 18:31:55 +0200
commitefbe1be543f6781d73b056d0acab3143dfde704f (patch)
tree5b9d5186a99f920fa6be0f8c15c43744ea85f3fc /crawl-ref/source/makefile.obj
parented5f5311c213fb847bc37293e4330aa268a406ed (diff)
downloadcrawl-ref-efbe1be543f6781d73b056d0acab3143dfde704f.tar.gz
crawl-ref-efbe1be543f6781d73b056d0acab3143dfde704f.zip
A rewrite of losight() to allow future generalization.
Parameters relevant to the LOS calculation are now passed as an object los_param that takes care of coordinate translation, bounds checking, opacity of cells and what is written to the output array. A check for in_bounds was changed to map_bounds for simlicity; this should not have any effect. Special casing for arena was removed from losight; instead calc_show_los now calls the new losight_permissive.
Diffstat (limited to 'crawl-ref/source/makefile.obj')
-rw-r--r--crawl-ref/source/makefile.obj1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile.obj b/crawl-ref/source/makefile.obj
index 0cd08afa04..aaa4f4d168 100644
--- a/crawl-ref/source/makefile.obj
+++ b/crawl-ref/source/makefile.obj
@@ -37,6 +37,7 @@ items.o \
lev-pand.o \
libutil.o \
los.o \
+losparam.o \
luadgn.o \
macro.o \
makeitem.o \