diff options
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 068ceb0291..2f0aa523a3 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -28,6 +28,18 @@ #include "store.h" #ifdef USE_TILE +// This used to be in tiles.h. (jpeg) +#include "tiledef-main.h" +#include "tiledef-dngn.h" +#include "tiledef-player.h" + +struct dolls_data +{ + dolls_data() { memset(parts, 0, sizeof(parts)); } + + int parts[TILEP_PART_MAX]; +}; + struct tile_flavour { // The floor tile to use. @@ -1178,6 +1190,9 @@ struct player_save_info species_type species; std::string class_name; god_type religion; +#ifdef USE_TILE + dolls_data doll; +#endif player_save_info operator=(const player& rhs); bool operator<(const player_save_info& rhs) const; |