diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-07 10:44:55 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-07 10:44:55 +0000 |
commit | e73443245850c17be63996e97549416d6cba1759 (patch) | |
tree | ca57253e1c3b350117bd63e320d714c7a3204a60 /crawl-ref/source/tiles.h | |
parent | 1219201e4079858b2963b4c943488e1c0b93d26c (diff) | |
download | crawl-ref-e73443245850c17be63996e97549416d6cba1759.tar.gz crawl-ref-e73443245850c17be63996e97549416d6cba1759.zip |
Tiles: Save per-character equipment setting and use it in the character
selection menu.
TODO: Use this instead of dolls.txt for initialising dolls, falling back on
dolls.txt if name.tdl cannot be found and for new characters.
I've tried displaying floor type but found it resulted in an information
overload, and also distracts from the main information (species,
equipment), esp. since it's mostly floor and most of the tile is covered
anyway. I left it in (though commented out), so it's in the repository,
but will remove it afterwards.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10122 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tiles.h')
-rw-r--r-- | crawl-ref/source/tiles.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/tiles.h b/crawl-ref/source/tiles.h index c7ad19a787..49833897b9 100644 --- a/crawl-ref/source/tiles.h +++ b/crawl-ref/source/tiles.h @@ -61,7 +61,7 @@ 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); +void tilep_print_parts(char *fbuf, int *parts, bool check_halo = false); int tilep_equ_weapon(const item_def &item); int tilep_equ_shield(const item_def &item); @@ -123,6 +123,7 @@ 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); |