summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewchar.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-04 22:45:50 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-04 22:45:50 +0100
commit64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963 (patch)
tree9aaba99b80cd44b032cdd30e40f8b6625508ee89 /crawl-ref/source/viewchar.h
parentce5c888daccae3cf40be8e28176f415e54b26650 (diff)
downloadcrawl-ref-64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963.tar.gz
crawl-ref-64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963.zip
Split up view.cc.
Diffstat (limited to 'crawl-ref/source/viewchar.h')
-rw-r--r--crawl-ref/source/viewchar.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/viewchar.h b/crawl-ref/source/viewchar.h
new file mode 100644
index 0000000000..96412480ec
--- /dev/null
+++ b/crawl-ref/source/viewchar.h
@@ -0,0 +1,13 @@
+#ifndef VIEWCHAR_H
+#define VIEWCHAR_H
+
+void init_char_table(char_set_type set);
+
+dungeon_char_type get_feature_dchar( dungeon_feature_type feat );
+unsigned dchar_glyph(dungeon_char_type dchar);
+
+std::string stringize_glyph(unsigned glyph);
+int multibyte_strlen(const std::string &s);
+
+#endif
+