Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

tile Struct Reference

#include <world.h>


Detailed Description

A tile on the map.

The size of this struct is very important, since there could potentially be as many as 2^14 instances at a time (128x128 map).

The 'special' field is either an index into the mapdesc's extensions, or a tile-type-specific option. It may be removed at some point in the future, as the information it is used for is moved into a different place and format.

Definition at line 17 of file world.h.

Data Fields

uchar type
uchar flags
ushort special


Field Documentation

uchar tile::flags
 

Definition at line 20 of file world.h.

Referenced by addrandommonst(), base_coat(), bigmap_place_corridor(), bigmap_place_room(), bigmap_place_vault(), bigmap_postpass(), calc_light_tile(), cave_pass(), compress_tiles(), connection_fill(), count_items(), draw_tile(), follow_connection(), force_follow_connection(), illuminate(), light_room(), make_noise(), monst_detect_player(), monst_remove(), monstbytile(), monstcanmove(), monstmoveto(), pickup(), place_doors(), place_hole(), place_item(), place_items(), place_monster(), place_player_on_map(), place_player_randomly(), place_room(), player_can_see(), plr_moveto(), plr_search(), plr_walk(), tile_is_occupied(), top_item(), trace_path(), and UI_TF_DrawEffect().

ushort tile::special
 

Definition at line 21 of file world.h.

Referenced by base_coat(), connection_fill(), follow_connection(), make_connections(), place_corridors(), place_fountain(), place_player_on_map(), place_shop(), plr_moveto(), and replace().

uchar tile::type
 

Definition at line 19 of file world.h.

Referenced by base_coat(), bigmap_place_corridor(), bigmap_place_vault(), bigmap_postpass(), cave_pass(), cb_cave(), cb_cave_partial(), count_adjacent_tiles(), dll_fill_room(), do_drop_item(), draw_tile(), make_connections(), make_noise(), manip_door(), monstcanmove(), monstmoveto(), place_corridors(), place_doors(), place_fountain(), place_hole(), place_items(), place_player_randomly(), place_room(), place_shop(), plr_moveto(), plr_search(), plr_walk(), throw_item(), trace_path(), tracevision(), webspinner_build(), and webspinner_cower().


The documentation for this struct was generated from the following file:
Generated on Thu May 20 13:12:14 2004 for CalcRogue by doxygen 1.3.6