summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiles.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-18 13:46:12 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-18 13:46:12 +0000
commit1f0b02a561dc32e9d8781e7503cc6258bad2cd02 (patch)
treea0ad43341b4dea0356f0a80d9204bafc3dbeda1b /crawl-ref/source/tiles.h
parentcec34e68c2361ea28ceca489acd73e41d6a473c7 (diff)
downloadcrawl-ref-1f0b02a561dc32e9d8781e7503cc6258bad2cd02.tar.gz
crawl-ref-1f0b02a561dc32e9d8781e7503cc6258bad2cd02.zip
Reimplementing playing with dolls ('-' command). Keys are mostly the same as the 0.4 version and are documented.
Dolls are no longer limited in what features they can force, so your character can always look like a flaming centaur with wings if that's how you want to present yourself. This shouldn't cause any major breakage with save games or dolls.txt files, although expect some weirdness. Sorry. Also, fixed a bug where barding wasn't appearing on nagas or centaurs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10568 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tiles.h')
-rw-r--r--crawl-ref/source/tiles.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/crawl-ref/source/tiles.h b/crawl-ref/source/tiles.h
index 4898ea16d2..e2a9eedd63 100644
--- a/crawl-ref/source/tiles.h
+++ b/crawl-ref/source/tiles.h
@@ -60,8 +60,8 @@ void tilep_calc_flags(const int parts[], int flag[]);
void tilep_part_to_str(int number, char *buf);
int tilep_str_to_part(char *str);
-void tilep_scan_parts(char *fbuf, int *parts);
-void tilep_print_parts(char *fbuf, int *parts, bool check_halo = false);
+void tilep_scan_parts(char *fbuf, dolls_data &doll);
+void tilep_print_parts(char *fbuf, const dolls_data &doll);
int tilep_equ_weapon(const item_def &item);
int tilep_equ_shield(const item_def &item);
@@ -121,15 +121,12 @@ int TileDrawCursor(int x, int y, int flag);
void TileNewLevel(bool first_time);
// edit player tile
-void TilePlayerEdit();
void init_player_doll();
void save_doll_file(FILE *dollf);
int item_unid_type(const item_def &item);
int tile_known_weapon_brand(const item_def item);
-void TileDrawTitle();
-
int get_clean_map_idx(int tile_idx);
// Flags for drawing routines
@@ -212,5 +209,11 @@ enum
TILE_Y = 32
};
+// Don't change this without also modifying the data save/load routines.
+enum
+{
+ NUM_MAX_DOLLS = 10
+};
+
#endif
#endif