diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-08 14:24:43 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-08 15:49:27 +0200 |
commit | 5fc4ef91a5a82981c3becf54509a2ae64b2b4ec1 (patch) | |
tree | ea1c44511b8a14e1c07d7d8b78f0365f42381544 /crawl-ref/source/spl-cast.cc | |
parent | 22982415537d288bc2429b225dceafc64a79db95 (diff) | |
download | crawl-ref-5fc4ef91a5a82981c3becf54509a2ae64b2b4ec1.tar.gz crawl-ref-5fc4ef91a5a82981c3becf54509a2ae64b2b4ec1.zip |
Split LOS code from view.cc.
los.cc: basic raycasting algorithm; losight(), see_grid() etc.
ray.cc: ray_def implementation.
mon-los.cc: monster_los
This includes adding a bunch of #includes; there's probably some
obsolete includes of view.h now.
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 5add5f332e..56ea04f0d0 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -26,6 +26,7 @@ REVISION("$Rev$"); #include "item_use.h" #include "itemname.h" #include "itemprop.h" +#include "los.h" #include "macro.h" #include "menu.h" #include "misc.h" |