From 2c2a0304ec8308f912860f05dc1099b86f71773c Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 3 Jul 2009 16:18:02 +0000 Subject: * Fix centaur/naga tiles not being displayed correctly in the character selection menu. * Add dolls_data to player_save_info struct, to make it easier to read in per-character doll information once we get around to that. Including the tiledef files in externs.h is probably overkill, though, so we might want to move player_save_info into another header file. * Fix Xom's repel stair effect moving shops. * Fix decks granting permanent summons at low power (and only at low power). * Make default settings of the brand options consistent between init.txt and initfile.cc. * Update FAQ. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10086 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tilebuf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/tilebuf.h') diff --git a/crawl-ref/source/tilebuf.h b/crawl-ref/source/tilebuf.h index f3599b93d1..9460220aad 100644 --- a/crawl-ref/source/tilebuf.h +++ b/crawl-ref/source/tilebuf.h @@ -8,6 +8,8 @@ #ifndef TILEBUF_H #define TILEBUF_H +#include "tiles.h" + class FTFont; class formatted_string; class GenericTexture; @@ -90,7 +92,7 @@ class TileBuffer : public VertBuffer public: TileBuffer(const TilesTexture *tex = NULL); - void add_unscaled(int idx, float x, float y); + void add_unscaled(int idx, float x, float y, int ymax = TILE_Y); void add(int idx, int x, int y, int ox = 0, int oy = 0, bool centre = true, int ymax = -1); -- cgit v1.2.3-54-g00ecf