summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-doll.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove stuffNicholas Feinberg2014-07-291-1/+1
| | | | | | | .cc, moving its contents into the new stepdown.cc and strings.cc. (The latter also got many donations from libutil.h.) Down with stuff! Up the new flesh!
* Avoid a doll editor crash (#7953)Neil Moore2014-01-031-1/+1
| | | | | | Trying to scroll left though the parts failed when there was just a single choice for the part. In particular, this happened for formicids, which have just one base tile.
* Drop double newlines where they seem to serve no purpose.Adam Borowski2013-12-211-1/+0
| | | | | Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
* Use std namespace.Raphael Langella2012-08-261-6/+5
| | | | | | | | | | | | | 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.
* Remove a good deal of header inclusion.Adam Borowski2012-05-231-1/+0
| | | | | | | | | These accumulate but never get removed; no wonder compilation times keep rising. The includes.sh script has lots of false negatives (and positives...), and can't check .h files which cause the biggest slowdown, it'd be nice to run multidelta on those somehow.
* Wrap some egregiously long lines in the source.Adam Borowski2012-03-281-6/+18
| | | | | While adhering religiously to the 80 column limit tends to be often pointless, 173 column long lines are way, way over the edge from the other side.
* 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-6/+0
|
* Binary gender is no longer required.Enne Walker2010-06-161-3/+2
| | | | | | | New species tile art is no longer required to conform to binary genders. All references to player gender have been removed. All the art is still there, but the default gender presentations have been swapped around arbitrarily.
* Split player tile logic out from tilepick.cc.Enne Walker2010-05-301-1/+1
| | | | All player tile look-ups are now in tilepick-p.cc.
* Split up tiles.h.Enne Walker2010-05-301-0/+2
| | | | | | Most of it has gone into tilepick.h, but also into enum.h and initfile.cc. Unlike tiles.h which was included everywhere, tilepick.h is now only a dependency of about half the files.
* Use tileidx_t for tile indices. Also, cleanup.Enne Walker2010-05-301-3/+6
| | | | | | | | 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.
* Fixed regression in some tilereg files.Ixtli2010-05-161-2/+0
|
* Clean up GL code function parameters.Enne Walker2010-05-141-4/+4
| | | | | | | Remove any non-const-reference parameters. Change const pointer parameters to const reference parameters. Change all draw(NULL, NULL) calls to just draw(). Also, refactor to remove pretranslate and prescale parameters from draw calls.
* Remove "better water transparency" option.Enne Walker2010-05-141-4/+2
| | | | | | The amount of code complexity to draw ~6 extra transparent pixels isn't really worth it. Also, the fact that it can't be turned on by default due to bad OpenGL drivers means that few people are likely using it.
* Split tilereg.h/cc into multiple files.Enne Walker2010-04-251-0/+476
No functional changes, just rearranging and exposing functions where needed.