00001
00002
00003
00004
00005
00006
00007 #ifndef TILEDRAW_H
00008 #define TILEDRAW_H
00009
00010 #ifdef USE_TILE
00011
00012 #include "tiledef_defines.h"
00013
00014 struct cloud_struct;
00015 struct coord_def;
00016 struct dolls_data;
00017 struct item_def;
00018 class monster;
00019 struct tile_flavour;
00020 struct packed_cell;
00021
00022
00023 void tile_new_level(bool first_time, bool init_unseen);
00024
00025 inline void tile_new_level(bool first_time)
00026 {
00027 return tile_new_level(first_time, first_time);
00028 }
00029
00030
00031
00032
00033 void tile_init_default_flavour();
00034
00035 void tile_default_flv(level_area_type lev, branch_type br, tile_flavour &flv);
00036
00037 void tile_clear_flavour();
00038
00039 void tile_init_flavour();
00040
00041 void tile_init_flavour(const coord_def &gc);
00042
00043
00044 void tile_floor_halo(dungeon_feature_type target, tileidx_t tile);
00045
00046
00047
00048 void tile_draw_floor();
00049 void tile_place_item(const coord_def &gc, const item_def &item);
00050 void tile_place_item_marker(const coord_def &gc, const item_def &item);
00051 void tile_place_monster(const coord_def &gc, const monster* mons);
00052 void tile_place_cloud(const coord_def &gc, const cloud_struct &cl);
00053 void tile_place_ray(const coord_def &gc, bool in_range);
00054 void tile_draw_rays(bool reset_count);
00055 void tile_wizmap_terrain(const coord_def &gc);
00056
00057 void tile_apply_animations(tileidx_t bg, tile_flavour *flv);
00058 void tile_apply_properties(const coord_def &gc, packed_cell &cell);
00059
00060 void tile_clear_map(const coord_def &gc);
00061 void tile_forget_map(const coord_def &gc);
00062
00063 #endif
00064 #endif