summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-title.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bunch of compiler warnings in tiles.Adam Borowski2013-01-201-1/+1
|
* merge of small-screen changes from old build envChris West2013-01-051-8/+35
|
* Remove unnecessary includes from header files.Jay3.14152012-10-231-0/+1
| | | | | | | | | | For most header files, this only saves on having to recompile a small number of source files, but there are also a few headers where small changes would now take significantly less time. This is most obvious for the Tiles build for which the dependencies have been greatly reduced, so that the only additional includes when compared to console are strictly library or tile related.
* Use std namespace.Raphael Langella2012-08-261-3/+3
| | | | | | | | | | | | | 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-6/+0
|
* Properly fix clicks counted twice.Raphael Langella2011-02-131-9/+2
| | | | | | | | | Precision menu acts on mouse press now instead of mouse release. This fixes #3426. This reverts commit af62abd18c2e011fb9bf912e33374e7d78a2c733. This reverts commit 7a657cdb01a6fb74ff8cf8fcaeeb81d375a7bb04.
* Fix click on the title screen making selection in the startup menu.Raphael Langella2011-02-101-2/+9
|
* Title images: search all title_* files instead of just tile_xx.png.Raphael Langella2011-01-131-7/+1
| | | | Now we can give them proper names.
* Revert "Tiles: don't wait fore a key at the splash screen after databases ↵Raphael Langella2010-12-111-0/+6
| | | | | | have loaded." This reverts commit ea74d73b47d41443078be4a15245aa5c36e090ef.
* Tiles: don't wait fore a key at the splash screen after databases have loaded.Raphael Langella2010-12-101-6/+0
|
* Fix crash with gdb and the new random title screen codeRaphael Langella2010-11-051-3/+3
| | | | | Somehow, it worked perfectly when run normally, but it crashed when started from gdb. Not sure why. Anyway, this fix the problem.
* Add Omndra new title screenRaphael Langella2010-11-051-1/+14
| | | | | The code now looks for all titlexx.png files and choose one randomly. So adding new title screen is just a matter of adding a file.
* Fixed regression in some tilereg files.Ixtli2010-05-161-2/+0
|
* Clean up GL code function parameters.Enne Walker2010-05-141-2/+2
| | | | | | | 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.
* Renaming struct GLWRect to be class GLWPrim.Enne Walker2010-05-141-1/+1
|
* Rename vert buffer 'push' to 'add' for clarity.Enne Walker2010-05-141-1/+1
|
* Code cleanup for triangles branch.Enne Walker2010-05-141-2/+0
| | | | Applying standards, simplifying code, removing redundant comments.
* Tilebuf now uses GLVertBuffer exclusively.Ixtli2010-05-141-29/+9
| | | | Signed-off-by: Enne Walker <enne.walker@gmail.com>
* Split tilereg.h/cc into multiple files.Enne Walker2010-04-251-0/+89
No functional changes, just rearranging and exposing functions where needed.