summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewchar.h
Commit message (Collapse)AuthorAgeFilesLines
* Use std namespace.Raphael Langella2012-08-261-2/+2
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Use ucs_t rather than "unsigned" in a few places.Adam Borowski2012-04-051-1/+1
|
* Merge branch 'master' into unicodeAdam Borowski2010-10-151-1/+1
|\
| * Massive spacing fixes: "( spaces after parentheses )".Adam Borowski2010-10-151-1/+1
| | | | | | | | | | | | I did review it manually to find places where they made sense (like some tables), but for a massive sed job like this there might be places that I missed.
* | Always use Unicode values for glyphs. Always use ncursesw on Unix console.Adam Borowski2010-09-261-2/+1
|/ | | | | | | | | | | | CSET_IBM and CSET_DEC are now merely presets and don't change the I/O encoding. Doing I/O using any encoding other than the one configured using LANG/LC_* is just wrong and no well-behaving program should do that. This does require changes on CAO/CDO, but they would fix problems with ttyrec and spectating as well. To fix: ncursesw replaces unrepresentable characters with spaces, we'll have to replace them by hand.
* Fix newlines at end of file.Adam Borowski2010-01-211-1/+0
|
* Move dchar_by_name declaration to proper header.Robert Vollmert2009-11-061-0/+2
|
* Split up view.cc.Robert Vollmert2009-11-041-0/+13