MAP Struct Reference

#include <map.h>

Collaboration diagram for MAP:

Collaboration graph
[legend]

Data Fields

dbref mynum
unsigned char ** map
char mapname [MAP_NAME_SIZE+1]
short map_width
short map_height
char temp
unsigned char grav
short cloudbase
char unused_char
char mapvis
short maxvis
char maplight
short winddir
short windspeed
int flags
mapobjmapobj [NUM_MAPOBJTYPES]
short cf
short cfmax
dbref onmap
char buildflag
unsigned char first_free
dbrefmechsOnMap
unsigned short ** LOSinfo
char * mechflags
short moves
short movemod
int sensorflags

Detailed Description

Definition at line 152 of file map.h.


Field Documentation

char MAP::buildflag

Definition at line 176 of file map.h.

short MAP::cf

Definition at line 174 of file map.h.

Referenced by get_building_cf(), Leave_Hangar(), mech_enterbase(), set_building_cf(), show_building_in_hex(), and steppable_base_check().

short MAP::cfmax

Definition at line 174 of file map.h.

Referenced by get_building_cf(), mech_enterbase(), and set_building_cf().

short MAP::cloudbase

Definition at line 162 of file map.h.

Referenced by InLineOfSight(), map_update(), and update_LOSinfo().

unsigned char MAP::first_free

Definition at line 178 of file map.h.

Referenced by add_mech_to_map(), alter_conditions(), BSuitMirrorSwarmedTarget(), checkECM(), clear_mech_from_LOS(), ClearFireAdjustments(), CountSwarmers(), debug_fixmap(), domino_space_in_hex(), DumpMaps(), eliminate_empties(), end_lite_check(), find_mech_in_hex(), Find_Single_DS_In_MechHex(), findCommLink(), FindMechOnMap(), findSwarmers(), FireWeapon(), fun_btmapunits(), getEnemies(), getFriends(), HexLOSBroadcast(), IsMechMounted(), IsMechSwarmed(), litemark_map(), load_mapdynamic(), load_update1(), map_listmechs(), map_update(), MapBroadcast(), MapLimitedBroadcast2d(), MapLimitedBroadcast3d(), mech_contacts(), mech_map_consistency_check(), mech_Rsetmapindex(), mech_set_channelfreq(), mech_size(), mech_startup_event(), mech_thrash(), MechBroadcast(), MechFireBroadcast(), MechLOSBroadcast(), MechLOSBroadcasti(), mechs_in_hex(), navigate_sketch_mechs(), possibly_see_mech(), remove_from_all_maps_except_func(), remove_from_all_maps_func(), remove_mech_from_map(), save_mapdynamic(), ScrambleInfraAndLiteAmp(), SearchLightInRange(), sendchannelstuff(), show_lrs_map(), showNetworkTargets(), ShutDownMap(), sketch_tac_mechs(), StopBSuitSwarmers(), SwarmHitTarget(), swim_except(), update_LOSinfo(), and UpdateMechsTerrain().

int MAP::flags

Definition at line 171 of file map.h.

Referenced by add_mapobj(), CheckEdgeOfMap(), del_mapobj(), del_mapobjs(), del_mapobjst(), load_update1(), map_load(), map_savemap(), map_setconditions(), and save_maps_func().

unsigned char MAP::grav

Definition at line 161 of file map.h.

Referenced by map_setconditions().

unsigned short** MAP::LOSinfo

Definition at line 180 of file map.h.

Referenced by add_mech_to_map(), clear_mech_from_LOS(), eliminate_empties(), InLineOfSight(), load_mapdynamic(), load_update1(), mech_startup_event(), remove_mech_from_map(), save_mapdynamic(), and update_LOSinfo().

unsigned char** MAP::map

Definition at line 154 of file map.h.

Referenced by debug_check_stuff(), initialize_map_empty(), load_update1(), map_load(), map_setmapsize(), and map_sizefun().

short MAP::map_height

Definition at line 158 of file map.h.

Referenced by add_links(), add_mine_on_map(), ai_crash(), auto_astar_generate_path(), auto_command_roam(), auto_radio_command_goto(), auto_roam_generate_target_hex(), bit_size(), bomb_drop(), CalculateLOSFlag(), CheckEdgeOfMap(), clear_hex_bits(), debug_check_stuff(), DS_BlastNearbyMechsAndTrees(), DumpMaps(), FindMyCoord(), FireWeaponNumber(), fun_btgetrange(), fun_bthexemit(), fun_bthexinblz(), fun_bthexlos(), fun_btmapelev(), fun_btmapemit(), fun_btmapterr(), fun_btmapunits(), fun_btsetxy(), grab_us_an_array(), growSnow(), ice_growth(), ice_melt(), initialize_map_empty(), InLineOfSight(), make_bridges(), MakeMapText(), map_load(), map_load_bits(), map_save_bits(), map_savemap(), map_setmapsize(), map_view(), mech_jump(), mech_lrsmap(), mech_navigate(), mech_Rsetmapindex(), mech_Rsetxy(), mech_tacmap(), move_mech(), parse_coord(), show_lrs_map(), simulate_flight(), sketch_tac_cliffs(), sketch_tac_dslz(), sketch_tac_map(), visit_neighbor_hexes(), and water_distance().

short MAP::map_width

Definition at line 157 of file map.h.

Referenced by add_links(), add_mine_on_map(), ai_crash(), auto_astar_generate_path(), auto_command_roam(), auto_radio_command_goto(), auto_roam_generate_target_hex(), bit_size(), bomb_drop(), CalculateLOSFlag(), CheckEdgeOfMap(), clear_hex_bits(), create_if_neccessary(), debug_check_stuff(), DS_BlastNearbyMechsAndTrees(), DumpMaps(), FindMyCoord(), FireWeaponNumber(), fun_btgetrange(), fun_bthexemit(), fun_bthexinblz(), fun_bthexlos(), fun_btmapelev(), fun_btmapemit(), fun_btmapterr(), fun_btmapunits(), fun_btsetxy(), growSnow(), ice_growth(), ice_melt(), initialize_map_empty(), InLineOfSight(), make_bridges(), MakeMapText(), map_load_bits(), map_save_bits(), map_savemap(), map_setmapsize(), map_view(), mech_jump(), mech_navigate(), mech_Rsetmapindex(), mech_Rsetxy(), mech_tacmap(), move_mech(), parse_coord(), show_lrs_map(), simulate_flight(), sketch_tac_cliffs(), sketch_tac_dslz(), sketch_tac_map(), visit_neighbor_hexes(), and water_distance().

char MAP::maplight

Definition at line 167 of file map.h.

Referenced by auto_sensor_event(), CanChangeTo(), InLineOfSight(), map_update(), MechSeesRange(), possibly_see_mech(), PrefVisSens(), and update_LOSinfo().

char MAP::mapname[MAP_NAME_SIZE+1]

Definition at line 155 of file map.h.

Referenced by DumpMaps(), and load_update1().

mapobj* MAP::mapobj[NUM_MAPOBJTYPES]

Definition at line 173 of file map.h.

Referenced by add_decoration(), add_links(), add_mine(), bit_size(), CheckEdgeOfMap(), clear_hex_bits(), del_mapobj(), del_mapobjst(), explode_mines(), first_mapobj(), grab_us_an_array(), is_hangar_hex(), is_mine_hex(), load_mapobjs(), load_update1(), map_add_block(), map_add_mine(), map_delobj(), map_setlinked(), map_setmapsize(), obj_size(), possible_mine_explosion(), recalculate_minefields(), recursively_updatelinks(), save_mapobjs(), and show_mines_in_hex().

char MAP::mapvis

Definition at line 164 of file map.h.

Referenced by auto_sensor_event(), InLineOfSight(), map_update(), MechSeesRange(), possibly_see_mech(), and update_LOSinfo().

short MAP::maxvis

Definition at line 166 of file map.h.

Referenced by CalculateLOSFlag(), map_update(), and update_LOSinfo().

char* MAP::mechflags

Definition at line 184 of file map.h.

Referenced by add_mech_to_map(), eliminate_empties(), load_mapdynamic(), load_update1(), MarkForLOSUpdate(), remove_mech_from_map(), save_mapdynamic(), and update_LOSinfo().

dbref* MAP::mechsOnMap

Definition at line 179 of file map.h.

Referenced by add_mech_to_map(), alter_conditions(), BSuitMirrorSwarmedTarget(), checkECM(), clear_mech_from_LOS(), ClearFireAdjustments(), CountSwarmers(), debug_fixmap(), domino_space_in_hex(), DumpMaps(), eliminate_empties(), end_lite_check(), find_mech_in_hex(), Find_Single_DS_In_MechHex(), findCommLink(), FindMechOnMap(), findSwarmers(), FireWeapon(), fun_btmapunits(), getEnemies(), getFriends(), HexLOSBroadcast(), IsMechMounted(), IsMechSwarmed(), litemark_map(), load_mapdynamic(), load_update1(), map_listmechs(), map_update(), MapBroadcast(), MapLimitedBroadcast2d(), MapLimitedBroadcast3d(), mech_contacts(), mech_map_consistency_check(), mech_Rsetmapindex(), mech_set_channelfreq(), mech_thrash(), MechBroadcast(), MechFireBroadcast(), MechLOSBroadcast(), MechLOSBroadcasti(), mechs_in_hex(), navigate_sketch_mechs(), possibly_see_mech(), remove_from_all_maps_except_func(), remove_from_all_maps_func(), remove_mech_from_map(), save_mapdynamic(), ScrambleInfraAndLiteAmp(), SearchLightInRange(), sendchannelstuff(), show_lrs_map(), showNetworkTargets(), ShutDownMap(), sketch_tac_mechs(), StopBSuitSwarmers(), SwarmHitTarget(), swim_except(), update_LOSinfo(), and UpdateMechsTerrain().

short MAP::movemod

Definition at line 186 of file map.h.

short MAP::moves

Definition at line 185 of file map.h.

Referenced by MarkForLOSUpdate().

dbref MAP::mynum

Definition at line 153 of file map.h.

Referenced by aero_land(), aero_takeoff(), debug_fixmap(), DumpMaps(), eliminate_empties(), Leave_DS(), Leave_DS_Bay(), load_mapdynamic(), map_clearmechs(), map_load(), mech_enterbase(), mech_map_consistency_check(), mech_Rsetmapindex(), mech_settarget(), and possibly_see_mech().

dbref MAP::onmap

Definition at line 175 of file map.h.

Referenced by CheckEdgeOfMap(), Leave_DS(), mech_createbays(), mech_enterbay_event(), and recursively_updatelinks().

int MAP::sensorflags

Definition at line 187 of file map.h.

char MAP::temp

Definition at line 160 of file map.h.

Referenced by calcWeatherEffects(), and map_setconditions().

char MAP::unused_char

Definition at line 163 of file map.h.

short MAP::winddir

Definition at line 168 of file map.h.

Referenced by fire_spreading_event(), and map_update().

short MAP::windspeed

Definition at line 168 of file map.h.

Referenced by calcWeatherEffects(), and map_update().


The documentation for this struct was generated from the following file:
Generated on Mon May 28 04:25:48 2007 for BattletechMUX by  doxygen 1.4.7