00001
00002
00003
00004
00005
00006 #ifndef TILEPICK_H
00007 #define TILEPICK_H
00008
00009 #ifdef USE_TILE
00010
00011 #include "tiledef_defines.h"
00012
00013 struct bolt;
00014 struct cloud_struct;
00015 struct coord_def;
00016 struct item_def;
00017 class monster;
00018 struct show_type;
00019
00020
00021 tileidx_t tileidx_feature(const coord_def &gc);
00022 tileidx_t tileidx_out_of_bounds(int branch);
00023 void tileidx_from_map_cell(tileidx_t *fg, tileidx_t *bg, const map_cell &cell);
00024 void tileidx_out_of_los(tileidx_t *fg, tileidx_t *bg, const coord_def& gc);
00025
00026 tileidx_t tileidx_monster(const monster* mon);
00027 tileidx_t tileidx_draco_base(const monster* mon);
00028 tileidx_t tileidx_draco_job(const monster* mon);
00029
00030 tileidx_t tileidx_item(const item_def &item);
00031 tileidx_t tileidx_item_throw(const item_def &item, int dx, int dy);
00032 tileidx_t tileidx_known_base_item(tileidx_t label);
00033
00034 tileidx_t tileidx_cloud(const cloud_struct &cl, bool disturbance = false);
00035 tileidx_t tileidx_bolt(const bolt &bolt);
00036 tileidx_t tileidx_zap(int colour);
00037 tileidx_t tileidx_spell(const spell_type spell);
00038 tileidx_t tileidx_skill(const skill_type skill, bool active);
00039 tileidx_t tileidx_command(const command_type cmd);
00040 tileidx_t tileidx_gametype(const game_type gtype);
00041
00042 tileidx_t tileidx_known_brand(const item_def &item);
00043 tileidx_t tileidx_corpse_brand(const item_def &item);
00044
00045 tileidx_t get_clean_map_idx(tileidx_t tile_idx);
00046 tileidx_t tileidx_unseen_flag(const coord_def &gc);
00047
00048
00049
00050 int enchant_to_int(const item_def &item);
00051
00052 tileidx_t tileidx_enchant_equ(const item_def &item, tileidx_t tile);
00053
00054
00055
00056 std::string tile_debug_string(tileidx_t fg, tileidx_t bg, char prefix);
00057
00058 void tile_init_props(monster* mon);
00059
00060 #endif
00061 #endif