diff options
author | Enne Walker <enne.walker@gmail.com> | 2010-05-26 21:33:53 -0400 |
---|---|---|
committer | Enne Walker <enne.walker@gmail.com> | 2010-05-26 23:15:26 -0400 |
commit | beafec8f2f22f33b134197073a56b66f775be862 (patch) | |
tree | de3128511956d291b24a48d2e3c39dd1639690ee /crawl-ref/source/tiles.h | |
parent | bc13d7a69337835fa7b6241fd7ea50eb26f271d1 (diff) | |
download | crawl-ref-beafec8f2f22f33b134197073a56b66f775be862.tar.gz crawl-ref-beafec8f2f22f33b134197073a56b66f775be862.zip |
Refactor tile animations and variations.
Rather than have one large function that applies to the entire dungeon,
have simpler functions that just apply to a single cell so that it can be
used elsewhere.
Diffstat (limited to 'crawl-ref/source/tiles.h')
-rw-r--r-- | crawl-ref/source/tiles.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/tiles.h b/crawl-ref/source/tiles.h index 635d53b7a7..84cf1934d4 100644 --- a/crawl-ref/source/tiles.h +++ b/crawl-ref/source/tiles.h @@ -82,7 +82,9 @@ void tile_place_ray(const coord_def& gc, bool in_range); void tile_draw_rays(bool resetCount); void tile_clear_buf(); -void tile_finish_dngn(unsigned int *tileb, int cx, int cy); +void tile_apply_animations(screen_buffer_t bg, tile_flavour *flv); +void tile_apply_properties(const coord_def &gc, screen_buffer_t *fg, + screen_buffer_t *bg); // Tile Inventory display void tile_draw_inv(int flag = -1); |