Map features to base types based on dchar for magic mapping.
commite86b91d7a74796189c420dbdd65c1717b20d092f
authorRobert Vollmert <rvollmert@gmx.net>
Sat, 6 Mar 2010 22:15:37 +0000 (6 23:15 +0100)
committerJesse Luehrs <doy@tozt.net>
Sun, 7 Mar 2010 00:21:41 +0000 (6 18:21 -0600)
tree51077903d26de36aec6cdc0bb2608ff36c9b71b2
parent5bce9e013a79248903574e2407a555f333f8bd43
Map features to base types based on dchar for magic mapping.

This fixes env.map_knowledge having more information than it
really should; fixes issue #1019.

Instead of creating new generic dungeon_feature_type members,
this just maps to one of the features quite arbitrarily. This
doesn't matter because console crawl will display them all the
same, and tiles chooses its tiles based on the displayed console
character.
(cherry picked from commit 4c70bc29f047e3567f2f1ba4cc5acde950b808fe)
crawl-ref/source/feature.cc
crawl-ref/source/feature.h
crawl-ref/source/view.cc