summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/losparam.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-08 20:08:31 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-08 20:13:13 +0200
commit9cc7466db06f418c165ed79fd6bfdfe334a6a568 (patch)
tree67dfdfb1c6612a84db7423ab00d8518753edc88a /crawl-ref/source/losparam.h
parent2fb004a5ae4d47af8151a821f296c25426fbe1e4 (diff)
downloadcrawl-ref-9cc7466db06f418c165ed79fd6bfdfe334a6a568.tar.gz
crawl-ref-9cc7466db06f418c165ed79fd6bfdfe334a6a568.zip
Remove legacy losight() function.
Also remove an obsoleted variant of grid_appearance.
Diffstat (limited to 'crawl-ref/source/losparam.h')
-rw-r--r--crawl-ref/source/losparam.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/crawl-ref/source/losparam.h b/crawl-ref/source/losparam.h
index db88db38d3..fba1506b42 100644
--- a/crawl-ref/source/losparam.h
+++ b/crawl-ref/source/losparam.h
@@ -75,20 +75,4 @@ struct los_param_solid : los_param_base
opacity_type opacity(const coord_def& p) const;
};
-// Provides a compatible set of parameters for use with the
-// legacy losight() function.
-struct los_param_compat : los_param_base
-{
- feature_grid grid;
- bool solid_blocks;
- bool ignore_clouds;
-
- los_param_compat(const feature_grid& gr, const coord_def& c,
- bool sb, bool ic);
-
- dungeon_feature_type feature(const coord_def& p) const;
- unsigned appearance(const coord_def& p) const;
- opacity_type opacity(const coord_def& p) const;
-};
-
#endif