From 62f7040f14b39e67042be98f951575fbc819e84e Mon Sep 17 00:00:00 2001 From: ennewalker Date: Sat, 5 Jan 2008 01:33:53 +0000 Subject: Tiles! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/externs.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'crawl-ref/source/externs.h') diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index d6c0ed410e..bdaa02b36f 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -34,6 +34,15 @@ #include "mpr.h" #include "store.h" +#ifdef USE_TILE +struct TileFlavor +{ + char floor; + char wall; + char special; +}; +#endif + #define INFO_SIZE 200 // size of message buffers #define ITEMNAME_SIZE 200 // size of item names/shop names/etc #define HIGHSCORE_SIZE 800 // <= 10 Lines for long format scores @@ -1332,6 +1341,16 @@ public: FixedArray show_col; // view window colour +#ifdef USE_TILE + // indexed by grid coords + FixedArray tile_bk_fg; // tile fg + FixedArray tile_bk_bg; // tile bg + FixedArray tile_flavor; + // indexed by (show-1) coords + FixedArray tile_fg; + FixedArray tile_bg; +#endif + FixedVector< cloud_struct, MAX_CLOUDS > cloud; // cloud list unsigned char cloud_no; @@ -1736,6 +1755,13 @@ public: std::vector fsim_kit; #endif // WIZARD +#ifdef USE_TILE + char show_items[20]; +#endif +#ifdef WIN32TILES + bool use_dos_char; +#endif + typedef std::map opt_map; opt_map named_options; // All options not caught above are // recorded here. -- cgit v1.2.3-54-g00ecf