summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-dgn.h
Commit message (Collapse)AuthorAgeFilesLines
* merge of small-screen changes from old build envChris West2013-01-051-0/+1
|
* Use std namespace.Raphael Langella2012-08-261-7/+7
| | | | | | | | | | | | | 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.
* First prototype of webtiles.Florian Diebold2011-06-261-1/+1
| | | | | | Conflicts: crawl-ref/source/startup.cc
* Doxygenization and junk purging that was missed by my script.Adam Borowski2011-04-021-5/+0
|
* Support flash_view() in tiles mode.Enne Walker2010-06-151-0/+1
|
* Change player last_clicked globals to members.Enne Walker2010-06-091-0/+1
|
* Use tileidx_t for tile indices. Also, cleanup.Enne Walker2010-05-301-2/+2
| | | | | | | | This new type defines to unsigned int, but it cleans up a lot of the int/unsigned int/short confusion all over the codebase for tile indices. This commit also cleans up tiles code to use coord_def more and to change function signatures to pass const refs and non-const pointers.
* Refactor crawl view buffer.Enne Walker2010-05-301-2/+3
| | | | | | | Rather than using explicit offsets (e.g. buffy[0] and buffy[1]), store colour, glyph, and tiles for each cell in the view buffer in a struct with named members. This refactoring will also theoretically allow for the tiles version to display glyphs instead of tiles.
* Allow left-clicking on monster list to attack.Enne Walker2010-05-261-0/+3
| | | | | This uses the same code as the dungeon, so firing, casting, evoking on monsters can all be done via keyboard modifiers.
* Abstract dungeon rendering into a separate class.Enne Walker2010-05-251-11/+3
| | | | | | This cleans up all of the global state access during packing (other than player_doll). This new code can also get reused for drawing monsters with equipment and status effects, such as in a theoretical monster list.
* Split tilereg.h/cc into multiple files.Enne Walker2010-04-251-0/+82
No functional changes, just rearranging and exposing functions where needed.