diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-05 01:33:53 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-05 01:33:53 +0000 |
commit | 62f7040f14b39e67042be98f951575fbc819e84e (patch) | |
tree | d4fa0598a1bee1d34fff81e2c150de08c2256753 /crawl-ref/source/externs.h | |
parent | 19155f1f85058ef9d65d11e60c63cc69c36d4e8a (diff) | |
download | crawl-ref-62f7040f14b39e67042be98f951575fbc819e84e.tar.gz crawl-ref-62f7040f14b39e67042be98f951575fbc819e84e.zip |
Tiles!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 26 |
1 files changed, 26 insertions, 0 deletions
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<unsigned short, ENV_SHOW_DIAMETER, ENV_SHOW_DIAMETER> show_col; // view window colour +#ifdef USE_TILE + // indexed by grid coords + FixedArray<unsigned short,GXM, GYM> tile_bk_fg; // tile fg + FixedArray<unsigned short,GXM, GYM> tile_bk_bg; // tile bg + FixedArray<TileFlavor, GXM, GYM> tile_flavor; + // indexed by (show-1) coords + FixedArray<unsigned short,ENV_SHOW_DIAMETER-2,ENV_SHOW_DIAMETER-2> tile_fg; + FixedArray<unsigned short,ENV_SHOW_DIAMETER-2,ENV_SHOW_DIAMETER-2> tile_bg; +#endif + FixedVector< cloud_struct, MAX_CLOUDS > cloud; // cloud list unsigned char cloud_no; @@ -1736,6 +1755,13 @@ public: std::vector<std::string> fsim_kit; #endif // WIZARD +#ifdef USE_TILE + char show_items[20]; +#endif +#ifdef WIN32TILES + bool use_dos_char; +#endif + typedef std::map<std::string, std::string> opt_map; opt_map named_options; // All options not caught above are // recorded here. |