From efbe1be543f6781d73b056d0acab3143dfde704f Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 8 Oct 2009 16:47:06 +0200 Subject: 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. --- crawl-ref/source/makefile.obj | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/makefile.obj') 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 \ -- cgit v1.2.3-54-g00ecf