#include "config.h"#include "externs.h"#include "db.h"#include "attrs.h"#include "powers.h"#include "mech.stat.h"#include "muxevent.h"#include "p.event.h"#include "btconfig.h"#include "mymath.h"#include "btmacros.h"#include "p.glue.hcode.h"#include "map.h"#include "map.coding.h"#include "glue.h"#include "p.glue.h"#include "mech.notify.h"Include dependency graph for mech.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | weapon_struct |
| struct | missile_hit_table_struct |
| struct | critical_slot |
| struct | section_struct |
| struct | mech_ud |
| struct | mech_rd |
| struct | mech_pd |
| struct | mech_sd |
| struct | MECH |
| struct | spot_data |
| struct | repair_data |
| struct | lostrace_info |
Defines | |
| #define | NUM_ITEMS 1024 |
| #define | NUM_ITEMS_M 512 |
| #define | NUM_BAYS 4 |
| #define | NUM_TURRETS 3 |
| #define | C3I_NETWORK_SIZE 5 |
| #define | C3_NETWORK_SIZE 11 |
| #define | BRANDCOUNT 5 |
| #define | LEFTSIDE 1 |
| #define | RIGHTSIDE 2 |
| #define | FRONT 3 |
| #define | BACK 4 |
| #define | STAND 1 |
| #define | FALL 0 |
| #define | TURN 30 |
| #define | KPH_PER_MP 10.75 |
| #define | MP_PER_KPH 0.0930233 |
| #define | MP_PER_UPDATE_PER_KPH 0.003100777 |
| #define | SCALEMAP 322.5 |
| #define | HEXLEVEL 5 |
| #define | ZSCALE 64.5 |
| #define | XSCALE 0.1547 |
| #define | YSCALE2 9.61482e-6 |
| #define | MP1 10.75 |
| #define | MP2 21.50 |
| #define | MP3 32.25 |
| #define | MP4 43.00 |
| #define | MP5 53.75 |
| #define | MP6 64.50 |
| #define | MP9 96.75 |
| #define | DELTAFACING 1440.0 |
| #define | DEFAULT_FREQS 5 |
| #define | FREQS 16 |
| #define | FREQ_DIGITAL 1 |
| #define | FREQ_MUTE 2 |
| #define | FREQ_RELAY 4 |
| #define | FREQ_INFO 8 |
| #define | FREQ_SCAN 16 |
| #define | FREQ_REST 32 |
| #define | RADIO_RELAY 1 |
| #define | RADIO_INFO 2 |
| #define | RADIO_SCAN 4 |
| #define | RADIO_NODIGITAL 8 |
| #define | CHTITLELEN 15 |
| #define | NOT_FOUND -1 |
| #define | NUM_CRITICALS 12 |
| #define | ARMOR 1 |
| #define | INTERNAL 2 |
| #define | REAR 3 |
| #define | NOARC 0 |
| #define | FORWARDARC 1 |
| #define | LSIDEARC 2 |
| #define | RSIDEARC 4 |
| #define | REARARC 8 |
| #define | TURRETARC 16 |
| #define | NUM_WEAPONS 192 |
| #define | NUM_BOMBS 9 |
| #define | EMPTY 0 |
| #define | WEAPON_BASE_INDEX 1 |
| #define | AMMO_BASE_INDEX (WEAPON_BASE_INDEX + NUM_WEAPONS) |
| #define | BOMB_BASE_INDEX (AMMO_BASE_INDEX + NUM_WEAPONS) |
| #define | SPECIAL_BASE_INDEX (BOMB_BASE_INDEX + NUM_BOMBS) |
| #define | OSPECIAL_BASE_INDEX 220 |
| #define | CARGO_BASE_INDEX 512 |
| #define | IsAmmo(a) ((a) >= AMMO_BASE_INDEX && (a) < BOMB_BASE_INDEX) |
| #define | IsBomb(a) ((a) >= BOMB_BASE_INDEX && (a) < SPECIAL_BASE_INDEX) |
| #define | IsSpecial(a) ((a) >= SPECIAL_BASE_INDEX && (a) < CARGO_BASE_INDEX) |
| #define | IsCargo(a) ((a) >= CARGO_BASE_INDEX) |
| #define | IsActuator(a) (IsSpecial(a) && a <= I2Special(HAND_OR_FOOT_ACTUATOR)) |
| #define | IsWeapon(a) ((a) >= WEAPON_BASE_INDEX && (a) < AMMO_BASE_INDEX) |
| #define | IsArtillery(a) (MechWeapons[a].type==TARTILLERY) |
| #define | IsMissile(a) (MechWeapons[a].type==TMISSILE) |
| #define | IsBallistic(a) (MechWeapons[a].type==TAMMO) |
| #define | IsEnergy(a) (MechWeapons[a].type==TBEAM) |
| #define | IsFlamer(a) (strstr(MechWeapons[a].name, "Flamer")) |
| #define | IsCoolant(a) (strstr(MechWeapons[a].name, "Coolant")) |
| #define | IsAcid(a) (strstr(MechWeapons[a].name, "Acid")) |
| #define | GunRangeWithCheck(mech, sec, a) (SectionUnderwater(mech,sec) > 0 ? GunWaterRange(a) : IsArtillery(a)?(ARTILLERY_MAPSHEET_SIZE * MechWeapons[a].longrange):(MechWeapons[a].longrange)) |
| #define | EGunRangeWithCheck(mech, sec, a) ((SectionUnderwater(mech,sec) > 0) ? EGunWaterRange(a) : (mudconf.btech_erange && (MechWeapons[a].medrange * 2) > GunRange(a)) ? (MechWeapons[a].medrange * 2) : GunRange(a)) |
| #define | GunRange(a) (IsArtillery(a)?(ARTILLERY_MAPSHEET_SIZE * MechWeapons[a].longrange):(MechWeapons[a].longrange)) |
| #define | EGunRange(a) ((mudconf.btech_erange && (MechWeapons[a].medrange * 2) > GunRange(a)) ? (MechWeapons[a].medrange * 2) : GunRange(a)) |
| #define | GunWaterRange(a) (MechWeapons[a].longrange_water > 0 ? MechWeapons[a].longrange_water : MechWeapons[a].medrange_water > 0 ? MechWeapons[a].medrange_water : MechWeapons[a].shortrange_water > 0 ? MechWeapons[a].shortrange_water : 0) |
| #define | EGunWaterRange(a) ((mudconf.btech_erange && ((MechWeapons[a].medrange_water * 2) > GunWaterRange(a)) && (MechWeapons[a].longrange_water > 0)) ? (MechWeapons[a].medrange_water * 2) : GunWaterRange(a)) |
| #define | SectionUnderwater(mech, sec) (MechZ(mech) >= 0 ? 0 : (MechZ(mech) < -1) || (Fallen(mech)) ? 1 : ((sec == LLEG) || (sec == RLEG)) || (MechIsQuad(mech) && ((sec == LARM) || (sec == RARM))) ? 1 : 0) |
| #define | Ammo2WeaponI(a) ((a) - AMMO_BASE_INDEX) |
| #define | Ammo2Weapon(a) Ammo2WeaponI(a) |
| #define | Ammo2I(a) Ammo2Weapon(a) |
| #define | Bomb2I(a) ((a) - BOMB_BASE_INDEX) |
| #define | Special2I(a) ((a) - SPECIAL_BASE_INDEX) |
| #define | Cargo2I(a) ((a) - CARGO_BASE_INDEX) |
| #define | Weapon2I(a) ((a) - WEAPON_BASE_INDEX) |
| #define | I2Bomb(a) ((a) + BOMB_BASE_INDEX) |
| #define | I2Weapon(a) ((a) + WEAPON_BASE_INDEX) |
| #define | I2Ammo(a) ((a) + AMMO_BASE_INDEX) |
| #define | I2Special(a) ((a) + SPECIAL_BASE_INDEX) |
| #define | I2Cargo(a) ((a) + CARGO_BASE_INDEX) |
| #define | Special I2Special |
| #define | Cargo I2Cargo |
| #define | SHOULDER_OR_HIP 0 |
| #define | UPPER_ACTUATOR 1 |
| #define | LOWER_ACTUATOR 2 |
| #define | HAND_OR_FOOT_ACTUATOR 3 |
| #define | LIFE_SUPPORT 4 |
| #define | SENSORS 5 |
| #define | COCKPIT 6 |
| #define | ENGINE 7 |
| #define | GYRO 8 |
| #define | HEAT_SINK 9 |
| #define | JUMP_JET 10 |
| #define | CASE 11 |
| #define | FERRO_FIBROUS 12 |
| #define | ENDO_STEEL 13 |
| #define | TRIPLE_STRENGTH_MYOMER 14 |
| #define | TARGETING_COMPUTER 15 |
| #define | MASC 16 |
| #define | C3_MASTER 17 |
| #define | C3_SLAVE 18 |
| #define | BEAGLE_PROBE 19 |
| #define | ARTEMIS_IV 20 |
| #define | ECM 21 |
| #define | AXE 22 |
| #define | SWORD 23 |
| #define | MACE 24 |
| #define | CLAW 25 |
| #define | DS_AERODOOR 26 |
| #define | DS_MECHDOOR 27 |
| #define | FUELTANK 28 |
| #define | TAG 29 |
| #define | DS_TANKDOOR 30 |
| #define | DS_CARGODOOR 31 |
| #define | LAMEQUIP 32 |
| #define | CASE_II 33 |
| #define | STEALTH_ARMOR 34 |
| #define | NULL_SIGNATURE_SYSTEM 35 |
| #define | C3I 36 |
| #define | ANGELECM 37 |
| #define | HVY_FERRO_FIBROUS 38 |
| #define | LT_FERRO_FIBROUS 39 |
| #define | BLOODHOUND_PROBE 40 |
| #define | PURIFIER_ARMOR 41 |
| #define | KAGE_STEALTH_UNIT 42 |
| #define | ACHILEUS_STEALTH_UNIT 43 |
| #define | INFILTRATOR_STEALTH_UNIT 44 |
| #define | INFILTRATORII_STEALTH_UNIT 45 |
| #define | SUPERCHARGER 46 |
| #define | DUAL_SAW 47 |
| #define | LBX2_AMMO 0 |
| #define | LBX5_AMMO 1 |
| #define | LBX10_AMMO 2 |
| #define | LBX20_AMMO 3 |
| #define | LRM_AMMO 4 |
| #define | SRM_AMMO 5 |
| #define | SSRM_AMMO 6 |
| #define | NARC_LRM_AMMO 7 |
| #define | NARC_SRM_AMMO 8 |
| #define | NARC_SSRM_AMMO 9 |
| #define | ARTEMIS_LRM_AMMO 10 |
| #define | ARTEMIS_SRM_AMMO 11 |
| #define | ARTEMIS_SSRM_AMMO 12 |
| #define | PETROLEUM 13 |
| #define | PHOSPHORUS 14 |
| #define | HYDROGEN 15 |
| #define | GOLD 16 |
| #define | NATURAL_EXTRACTS 17 |
| #define | MARIJUANA 18 |
| #define | SULFUR 19 |
| #define | SODIUM 20 |
| #define | PLUTONIUM 21 |
| #define | ORE 22 |
| #define | METAL 23 |
| #define | PLASTICS 24 |
| #define | MEDICAL_SUPPLIES 25 |
| #define | COMPUTERS 26 |
| #define | EXPLOSIVES 27 |
| #define | ES_INTERNAL 28 |
| #define | FF_ARMOR 29 |
| #define | XL_ENGINE 30 |
| #define | DOUBLE_HEAT_SINK 31 |
| #define | IC_ENGINE 32 |
| #define | S_ELECTRONIC 33 |
| #define | S_INTERNAL 34 |
| #define | S_ARMOR 35 |
| #define | S_ACTUATOR 36 |
| #define | S_AERO_FUEL 37 |
| #define | S_DS_FUEL 38 |
| #define | S_VTOL_FUEL 39 |
| #define | SWARM_LRM_AMMO 40 |
| #define | SWARM1_LRM_AMMO 41 |
| #define | INFERNO_SRM_AMMO 42 |
| #define | XXL_ENGINE 43 |
| #define | COMP_ENGINE 44 |
| #define | HD_ARMOR 45 |
| #define | RE_INTERNAL 46 |
| #define | CO_INTERNAL 47 |
| #define | MRM_AMMO 48 |
| #define | LIGHT_ENGINE 49 |
| #define | CASEII 50 |
| #define | STH_ARMOR 51 |
| #define | NULLSIGSYS 52 |
| #define | SILICON 53 |
| #define | HVY_FF_ARMOR 54 |
| #define | LT_FF_ARMOR 55 |
| #define | INARC_EXPLO_AMMO 56 |
| #define | INARC_HAYWIRE_AMMO 57 |
| #define | INARC_ECM_AMMO 58 |
| #define | INARC_NEMESIS_AMMO 59 |
| #define | AC2_AP_AMMO 60 |
| #define | AC5_AP_AMMO 61 |
| #define | AC10_AP_AMMO 62 |
| #define | AC20_AP_AMMO 63 |
| #define | LAC2_AP_AMMO 64 |
| #define | LAC5_AP_AMMO 65 |
| #define | AC2_FLECHETTE_AMMO 66 |
| #define | AC5_FLECHETTE_AMMO 67 |
| #define | AC10_FLECHETTE_AMMO 68 |
| #define | AC20_FLECHETTE_AMMO 69 |
| #define | LAC2_FLECHETTE_AMMO 70 |
| #define | LAC5_FLECHETTE_AMMO 71 |
| #define | AC2_INCENDIARY_AMMO 72 |
| #define | AC5_INCENDIARY_AMMO 73 |
| #define | AC10_INCENDIARY_AMMO 74 |
| #define | AC20_INCENDIARY_AMMO 75 |
| #define | LAC2_INCENDIARY_AMMO 76 |
| #define | LAC5_INCENDIARY_AMMO 77 |
| #define | AC2_PRECISION_AMMO 78 |
| #define | AC5_PRECISION_AMMO 79 |
| #define | AC10_PRECISION_AMMO 80 |
| #define | AC20_PRECISION_AMMO 81 |
| #define | LAC2_PRECISION_AMMO 82 |
| #define | LAC5_PRECISION_AMMO 83 |
| #define | LR_DFM_AMMO 84 |
| #define | SR_DFM_AMMO 85 |
| #define | SLRM_AMMO 86 |
| #define | ELRM_AMMO 87 |
| #define | BSUIT_SENSOR 88 |
| #define | BSUIT_LIFESUPPORT 89 |
| #define | BSUIT_ELECTRONIC 90 |
| #define | CARGO_OIL 91 |
| #define | CARGO_WATER 92 |
| #define | CARGO_EARTH 93 |
| #define | CARGO_OXYGEN 94 |
| #define | CARGO_NITROGEN 95 |
| #define | CARGO_NICKEL 96 |
| #define | CARGO_STEEL 97 |
| #define | CARGO_IRON 98 |
| #define | CARGO_BRASS 99 |
| #define | CARGO_PLATINUM 100 |
| #define | CARGO_COPPER 101 |
| #define | CARGO_ALUMINUM 102 |
| #define | CARGO_CONSUMER_GOOD 103 |
| #define | CARGO_MACHINERY 104 |
| #define | CARGO_SLAVES 105 |
| #define | CARGO_TIMBIQUI_DARK 106 |
| #define | CARGO_COCAINE 107 |
| #define | CARGO_HEROINE 108 |
| #define | CARGO_MARBLE 109 |
| #define | CARGO_GLASS 110 |
| #define | CARGO_DIAMOND 111 |
| #define | CARGO_COAL 112 |
| #define | CARGO_FOOD 113 |
| #define | CARGO_ZINC 114 |
| #define | CARGO_FABRIC 115 |
| #define | CARGO_CLOTHING 116 |
| #define | CARGO_WOOD 117 |
| #define | CARGO_PULP 118 |
| #define | CARGO_LUMBER 119 |
| #define | CARGO_RUBBER 120 |
| #define | CARGO_SEEDS 121 |
| #define | CARGO_FERTILIZER 122 |
| #define | CARGO_SALT 123 |
| #define | CARGO_LITHIUM 124 |
| #define | CARGO_HELIUM 125 |
| #define | CARGO_LARIUM 126 |
| #define | CARGO_URANIUM 127 |
| #define | CARGO_IRIDIUM 128 |
| #define | CARGO_TITANIUM 129 |
| #define | CARGO_CONCRETE 130 |
| #define | CARGO_FERROCRETE 131 |
| #define | CARGO_BUILDING_SUPPLIES 132 |
| #define | CARGO_KEVLAR 133 |
| #define | CARGO_WASTE 134 |
| #define | CARGO_LIVESTOCK 135 |
| #define | CARGO_PAPER 136 |
| #define | XL_GYRO 137 |
| #define | HD_GYRO 138 |
| #define | COMP_GYRO 139 |
| #define | COMPACT_HEAT_SINK 140 |
| #define | AMMO_LRM_STINGER 141 |
| #define | AC2_CASELESS_AMMO 142 |
| #define | AC5_CASELESS_AMMO 143 |
| #define | AC10_CASELESS_AMMO 144 |
| #define | AC20_CASELESS_AMMO 145 |
| #define | LAC2_CASELESS_AMMO 146 |
| #define | LAC5_CASELESS_AMMO 147 |
| #define | AMMO_LRM_SGUIDED 148 |
| #define | TBEAM 0 |
| #define | TMISSILE 1 |
| #define | TARTILLERY 2 |
| #define | TAMMO 3 |
| #define | THAND 4 |
| #define | TIC_NUM_DESTROYED -2 |
| #define | TIC_NUM_RELOADING -3 |
| #define | TIC_NUM_RECYCLING -4 |
| #define | TIC_NUM_PHYSICAL -5 |
| #define | MAX_WEAPS_SECTION 12 |
| #define | NONE 0x00000000 |
| #define | PULSE 0x00000001 |
| #define | LBX 0x00000002 |
| #define | ULTRA 0x00000004 |
| #define | STREAK 0x00000008 |
| #define | GAUSS 0x00000010 |
| #define | NARC 0x00000020 |
| #define | IDF 0x00000040 |
| #define | DAR 0x00000080 |
| #define | HYPER 0x00000100 |
| #define | A_POD 0x00000200 |
| #define | CLAT 0x00000400 |
| #define | NOSPA 0x00000800 |
| #define | PC_HEAT 0x00001000 |
| #define | PC_IMPA 0x00002000 |
| #define | PC_SHAR 0x00004000 |
| #define | AMS 0x00008000 |
| #define | NOBOOM 0x00010000 |
| #define | CASELESS 0x00020000 |
| #define | DFM 0x00040000 |
| #define | ELRM 0x00080000 |
| #define | MRM 0x00100000 |
| #define | CHEAT 0x00200000 |
| #define | HVYW 0x00400000 |
| #define | RFAC 0x00800000 |
| #define | GMG 0x01000000 |
| #define | INARC 0x02000000 |
| #define | RAC 0x04000000 |
| #define | HVYGAUSS 0x08000000 |
| #define | ROCKET 0x10000000 |
| #define | PCOMBAT (PC_HEAT|PC_IMPA|PC_SHAR) |
| #define | MAX_ROLL 11 |
| #define | LARM 0 |
| #define | RARM 1 |
| #define | LTORSO 2 |
| #define | RTORSO 3 |
| #define | CTORSO 4 |
| #define | LLEG 5 |
| #define | RLEG 6 |
| #define | HEAD 7 |
| #define | NUM_SECTIONS 8 |
| #define | LSIDE 0 |
| #define | RSIDE 1 |
| #define | FSIDE 2 |
| #define | BSIDE 3 |
| #define | TURRET 4 |
| #define | ROTOR 5 |
| #define | NUM_VEH_SECTIONS 6 |
| #define | AERO_NOSE 0 |
| #define | AERO_LWING 1 |
| #define | AERO_RWING 2 |
| #define | AERO_AFT 3 |
| #define | NUM_AERO_SECTIONS 4 |
| #define | NUM_BSUIT_MEMBERS 8 |
| #define | DS_RWING 0 |
| #define | DS_LWING 1 |
| #define | DS_LRWING 2 |
| #define | DS_RRWING 3 |
| #define | DS_AFT 4 |
| #define | DS_NOSE 5 |
| #define | NUM_DS_SECTIONS 6 |
| #define | SpheroidDS(a) (MechType(a)==CLASS_SPHEROID_DS) |
| #define | SpheroidToRear(mech, a) |
| #define | NUM_TICS 4 |
| #define | MAX_WEAPONS_PER_MECH 96 |
| #define | SINGLE_TICLONG_SIZE 32 |
| #define | TICLONGS (MAX_WEAPONS_PER_MECH / SINGLE_TICLONG_SIZE) |
| #define | DESTROYED_MODE 0x00000001 |
| #define | DISABLED_MODE 0x00000002 |
| #define | BROKEN_MODE 0x00000004 |
| #define | DAMAGED_MODE 0x00000008 |
| #define | ON_TC 0x00000010 |
| #define | REAR_MOUNT 0x00000020 |
| #define | HOTLOAD_MODE 0x00000040 |
| #define | HALFTON_MODE 0x00000080 |
| #define | OS_MODE 0x00000100 |
| #define | OS_USED 0x00000200 |
| #define | ULTRA_MODE 0x00000400 |
| #define | RFAC_MODE 0x00000800 |
| #define | GATTLING_MODE 0x00001000 |
| #define | RAC_TWOSHOT_MODE 0x00002000 |
| #define | RAC_FOURSHOT_MODE 0x00004000 |
| #define | RAC_SIXSHOT_MODE 0x00008000 |
| #define | HEAT_MODE 0x00010000 |
| #define | WILL_JETTISON_MODE 0x00020000 |
| #define | IS_JETTISONED_MODE 0x00040000 |
| #define | OMNI_BASE_MODE 0x00080000 |
| #define | ROCKET_FIRED 0x00100000 |
| #define | RAC_MODES (RAC_TWOSHOT_MODE|RAC_FOURSHOT_MODE|RAC_SIXSHOT_MODE) |
| #define | FIRE_MODES (HOTLOAD_MODE|ULTRA_MODE|RFAC_MODE|GATTLING_MODE|RAC_MODES|HEAT_MODE) |
| #define | LBX_MODE 0x00000001 |
| #define | ARTEMIS_MODE 0x00000002 |
| #define | NARC_MODE 0x00000004 |
| #define | CLUSTER_MODE 0x00000008 |
| #define | MINE_MODE 0x00000010 |
| #define | SMOKE_MODE 0x00000020 |
| #define | INFERNO_MODE 0x00000040 |
| #define | SWARM_MODE 0x00000080 |
| #define | SWARM1_MODE 0x00000100 |
| #define | INARC_EXPLO_MODE 0x00000200 |
| #define | INARC_HAYWIRE_MODE 0x00000400 |
| #define | INARC_ECM_MODE 0x00000800 |
| #define | INARC_NEMESIS_MODE 0x00001000 |
| #define | AC_AP_MODE 0x00002000 |
| #define | AC_FLECHETTE_MODE 0x00004000 |
| #define | AC_INCENDIARY_MODE 0x00008000 |
| #define | AC_PRECISION_MODE 0x00010000 |
| #define | STINGER_MODE 0x00020000 |
| #define | AC_CASELESS_MODE 0x00040000 |
| #define | SGUIDED_MODE 0x00080000 |
| #define | ARTILLERY_MODES (CLUSTER_MODE|MINE_MODE|SMOKE_MODE) |
| #define | INARC_MODES (INARC_EXPLO_MODE|INARC_HAYWIRE_MODE|INARC_ECM_MODE|INARC_NEMESIS_MODE) |
| #define | MISSILE_MODES (ARTEMIS_MODE|NARC_MODE|INFERNO_MODE|SWARM_MODE|SWARM1_MODE|STINGER_MODE|SGUIDED_MODE) |
| #define | AC_MODES (AC_AP_MODE|AC_FLECHETTE_MODE|AC_INCENDIARY_MODE|AC_PRECISION_MODE|AC_CASELESS_MODE) |
| #define | AMMO_MODES (LBX_MODE|AC_MODES|MISSILE_MODES|INARC_MODES|ARTILLERY_MODES) |
| #define | WEAP_DAM_MODERATE 0x00000001 |
| #define | WEAP_DAM_EN_FOCUS 0x00000002 |
| #define | WEAP_DAM_EN_CRYSTAL 0x00000004 |
| #define | WEAP_DAM_BALL_BARREL 0x00000008 |
| #define | WEAP_DAM_BALL_AMMO 0x00000010 |
| #define | WEAP_DAM_MSL_RANGING 0x00000020 |
| #define | WEAP_DAM_MSL_AMMO 0x00000040 |
| #define | CASE_TECH 0x01 |
| #define | SECTION_DESTROYED 0x02 |
| #define | SECTION_BREACHED 0x04 |
| #define | SECTION_FLOODED 0x08 |
| #define | AXED 0x10 |
| #define | STABILIZERS_DESTROYED 0x20 |
| #define | CASEII_TECH 0x40 |
| #define | NARC_ATTACHED 0x00000001 |
| #define | INARC_HOMING_ATTACHED 0x00000002 |
| #define | INARC_HAYWIRE_ATTACHED 0x00000004 |
| #define | INARC_ECM_ATTACHED 0x00000008 |
| #define | INARC_NEMESIS_ATTACHED 0x00000010 |
| #define | CARRYING_CLUB 0x00000020 |
| #define | CLASS_MECH 0 |
| #define | CLASS_VEH_GROUND 1 |
| #define | CLASS_VEH_NAVAL 3 |
| #define | CLASS_VTOL 2 |
| #define | CLASS_SPHEROID_DS 4 |
| #define | CLASS_AERO 5 |
| #define | CLASS_MW 6 |
| #define | CLASS_DS 7 |
| #define | CLASS_BSUIT 8 |
| #define | CLASS_LAST 8 |
| #define | DropShip(a) ((a)==CLASS_DS || (a)==CLASS_SPHEROID_DS) |
| #define | IsDS(m) (DropShip(MechType(m))) |
| #define | MOVE_BIPED 0 |
| #define | MOVE_QUAD 8 |
| #define | MOVE_TRACK 1 |
| #define | MOVE_WHEEL 2 |
| #define | MOVE_HOVER 3 |
| #define | MOVE_HULL 5 |
| #define | MOVE_FOIL 6 |
| #define | MOVE_SUB 9 |
| #define | MOVE_VTOL 4 |
| #define | MOVE_FLY 7 |
| #define | MOVE_NONE 10 |
| #define | MOVENEMENT_LAST 10 |
| #define | MECHPREF_PKILL 0x01 |
| #define | MECHPREF_SLWARN 0x02 |
| #define | MECHPREF_AUTOFALL 0x04 |
| #define | MECHPREF_NOARMORWARN 0x08 |
| #define | MECHPREF_NOAMMOWARN 0x10 |
| #define | MECHPREF_STANDANYWAY 0x20 |
| #define | MECHPREF_AUTOCON_SD 0x40 |
| #define | MECHPREF_NOFRIENDLYFIRE 0x80 |
| #define | MECHPREF_TURNMODE 0x100 |
| #define | LANDED 0x00000001 |
| #define | TORSO_RIGHT 0x00000002 |
| #define | TORSO_LEFT 0x00000004 |
| #define | STARTED 0x00000008 |
| #define | PARTIAL_COVER 0x00000010 |
| #define | DESTROYED 0x00000020 |
| #define | JUMPING 0x00000040 |
| #define | FALLEN 0x00000080 |
| #define | DFA_ATTACK 0x00000100 |
| #define | PERFORMING_ACTION 0x00000200 |
| #define | FLIPPED_ARMS 0x00000400 |
| #define | AMS_ENABLED 0x00000800 |
| #define | EXPLODE_SAFE 0x00001000 |
| #define | UNCONSCIOUS 0x00002000 |
| #define | TOWED 0x00004000 |
| #define | LOCK_TARGET 0x00008000 |
| #define | LOCK_BUILDING 0x00010000 |
| #define | LOCK_HEX 0x00020000 |
| #define | LOCK_HEX_IGN 0x00040000 |
| #define | LOCK_HEX_CLR 0x00080000 |
| #define | MASC_ENABLED 0x00100000 |
| #define | BLINDED 0x00200000 |
| #define | COMBAT_SAFE 0x00400000 |
| #define | AUTOCON_WHEN_SHUTDOWN 0x00800000 |
| #define | FIRED 0x01000000 |
| #define | SCHARGE_ENABLED 0x02000000 |
| #define | HULLDOWN 0x04000000 |
| #define | UNDERSPECIAL 0x08000000 |
| #define | UNDERGRAVITY 0x10000000 |
| #define | UNDERTEMPERATURE 0x20000000 |
| #define | UNDERVACUUM 0x40000000 |
| #define | CONDITIONS (UNDERSPECIAL | UNDERGRAVITY | UNDERTEMPERATURE | UNDERVACUUM) |
| #define | LOCK_MODES (LOCK_TARGET|LOCK_BUILDING|LOCK_HEX|LOCK_HEX_IGN|LOCK_HEX_CLR) |
| #define | ECM_ENABLED 0x00000001 |
| #define | ECCM_ENABLED 0x00000002 |
| #define | ECM_DISTURBANCE 0x00000004 |
| #define | ECM_PROTECTED 0x00000008 |
| #define | ECM_COUNTERED 0x00000010 |
| #define | SLITE_ON 0x00000020 |
| #define | STH_ARMOR_ON 0x00000040 |
| #define | NULLSIGSYS_ON 0x00000080 |
| #define | ANGEL_ECM_ENABLED 0x00000100 |
| #define | ANGEL_ECCM_ENABLED 0x00000200 |
| #define | ANGEL_ECM_PROTECTED 0x00000400 |
| #define | ANGEL_ECM_DISTURBED 0x00000800 |
| #define | PER_ECM_ENABLED 0x00001000 |
| #define | PER_ECCM_ENABLED 0x00002000 |
| #define | AUTOTURN_TURRET 0x00004000 |
| #define | SPRINTING 0x00010000 |
| #define | EVADING 0x00020000 |
| #define | DODGING 0x00040000 |
| #define | ATTACKEMIT_MECH 0x00080000 |
| #define | UNIT_MOUNTED 0x00100000 |
| #define | UNIT_MOUNTING 0x00200000 |
| #define | MOVE_MODES (SPRINTING|EVADING|DODGING) |
| #define | MOVE_MODES_LOCK (SPRINTING|EVADING) |
| #define | MODE_EVADE 0x1 |
| #define | MODE_SPRINT 0x2 |
| #define | MODE_ON 0x4 |
| #define | MODE_OFF 0x8 |
| #define | MODE_DODGE 0x10 |
| #define | MODE_DG_USED 0x20 |
| #define | CHECK_WEAPS 0x1 |
| #define | CHECK_PHYS 0x2 |
| #define | CHECK_BOTH (CHECK_WEAPS|CHECK_PHYS) |
| #define | MechLockFire(mech) |
| #define | Blinded(a) (MechStatus(a) & BLINDED) |
| #define | Started(a) (MechStatus(a) & STARTED) |
| #define | Uncon(a) (MechStatus(a) & UNCONSCIOUS) |
| #define | GYRO_DESTROYED 0x00000001 |
| #define | SENSORS_DAMAGED 0x00000002 |
| #define | TAG_DESTROYED 0x00000004 |
| #define | HIDDEN 0x00000008 |
| #define | GYRO_DAMAGED 0x00000010 |
| #define | HIP_DAMAGED 0x00000020 |
| #define | LIFE_SUPPORT_DESTROYED 0x00000040 |
| #define | ANGEL_ECM_DESTROYED 0x00000080 |
| #define | C3I_DESTROYED 0x00000100 |
| #define | NSS_DESTROYED 0x00000200 |
| #define | SLITE_DEST 0x00000400 |
| #define | SLITE_LIT 0x00000800 |
| #define | LOAD_OK 0x00001000 |
| #define | OWEIGHT_OK 0x00002000 |
| #define | SPEED_OK 0x00004000 |
| #define | HEATCUTOFF 0x00008000 |
| #define | TOWABLE 0x00010000 |
| #define | HIP_DESTROYED 0x00020000 |
| #define | TC_DESTROYED 0x00040000 |
| #define | C3_DESTROYED 0x00080000 |
| #define | ECM_DESTROYED 0x00100000 |
| #define | BEAGLE_DESTROYED 0x00200000 |
| #define | JELLIED 0x00400000 |
| #define | PC_INITIALIZED 0x00800000 |
| #define | SPINNING 0x01000000 |
| #define | CLAIRVOYANT 0x02000000 |
| #define | INVISIBLE 0x04000000 |
| #define | CHEAD 0x08000000 |
| #define | OBSERVATORIC 0x10000000 |
| #define | BLOODHOUND_DESTROYED 0x20000000 |
| #define | MECH_STUNNED 0x40000000 |
| #define | TURRET_LOCKED 0x01 |
| #define | TURRET_JAMMED 0x02 |
| #define | DUG_IN 0x04 |
| #define | DIGGING_IN 0x08 |
| #define | CREW_STUNNED 0x10 |
| #define | TAIL_ROTOR_DESTROYED 0x20 |
| #define | TRIPLE_MYOMER_TECH 0x01 |
| #define | CL_ANTI_MISSILE_TECH 0x02 |
| #define | IS_ANTI_MISSILE_TECH 0x04 |
| #define | DOUBLE_HEAT_TECH 0x08 |
| #define | MASC_TECH 0x10 |
| #define | CLAN_TECH 0x20 |
| #define | FLIPABLE_ARMS 0x40 |
| #define | C3_MASTER_TECH 0x80 |
| #define | C3_SLAVE_TECH 0x100 |
| #define | ARTEMIS_IV_TECH 0x200 |
| #define | ECM_TECH 0x400 |
| #define | BEAGLE_PROBE_TECH 0x800 |
| #define | SALVAGE_TECH 0x1000 |
| #define | CARGO_TECH 0x2000 |
| #define | SLITE_TECH 0x4000 |
| #define | LOADER_TECH 0x8000 |
| #define | AA_TECH 0x10000 |
| #define | NS_TECH 0x20000 |
| #define | SS_ABILITY 0x40000 |
| #define | FF_TECH 0x80000 |
| #define | ES_TECH 0x100000 |
| #define | XL_TECH 0x200000 |
| #define | ICE_TECH 0x400000 |
| #define | LIFTER_TECH 0x800000 |
| #define | LE_TECH 0x1000000 |
| #define | XXL_TECH 0x2000000 |
| #define | CE_TECH 0x4000000 |
| #define | REINFI_TECH 0x8000000 |
| #define | COMPI_TECH 0x10000000 |
| #define | HARDA_TECH 0x20000000 |
| #define | CRITPROOF_TECH 0x40000000 |
| #define | HDGYRO_DAMAGED 0x01 |
| #define | STEALTH_ARMOR_TECH 0x01 |
| #define | HVY_FF_ARMOR_TECH 0x02 |
| #define | LASER_REF_ARMOR_TECH 0x04 |
| #define | REACTIVE_ARMOR_TECH 0x08 |
| #define | NULLSIGSYS_TECH 0x10 |
| #define | C3I_TECH 0x20 |
| #define | SUPERCHARGER_TECH 0x40 |
| #define | IMPROVED_JJ_TECH 0x80 |
| #define | MECHANICAL_JJ_TECH 0x100 |
| #define | COMPACT_HS_TECH 0x200 |
| #define | LASER_HS_TECH 0x400 |
| #define | BLOODHOUND_PROBE_TECH 0x800 |
| #define | ANGEL_ECM_TECH 0x1000 |
| #define | WATCHDOG_TECH 0x2000 |
| #define | LT_FF_ARMOR_TECH 0x4000 |
| #define | TAG_TECH 0x8000 |
| #define | OMNIMECH_TECH 0x10000 |
| #define | ARTEMISV_TECH 0x20000 |
| #define | CAMO_TECH 0x40000 |
| #define | CARRIER_TECH 0x80000 |
| #define | WATERPROOF_TECH 0x100000 |
| #define | XLGYRO_TECH 0x200000 |
| #define | HDGYRO_TECH 0x400000 |
| #define | CGYRO_TECH 0x800000 |
| #define | TCOMP_TECH 0x1000000 |
| #define | INF_SWARM_TECH 0x01 |
| #define | INF_MOUNT_TECH 0x02 |
| #define | INF_ANTILEG_TECH 0x04 |
| #define | CS_PURIFIER_STEALTH_TECH 0x08 |
| #define | DC_KAGE_STEALTH_TECH 0x10 |
| #define | FWL_ACHILEUS_STEALTH_TECH 0x20 |
| #define | FC_INFILTRATOR_STEALTH_TECH 0x40 |
| #define | FC_INFILTRATORII_STEALTH_TECH 0x80 |
| #define | MUST_JETTISON_TECH 0x100 |
| #define | CAN_JETTISON_TECH 0x200 |
| #define | STEALTH_TECH (CS_PURIFIER_STEALTH_TECH|DC_KAGE_STEALTH_TECH|FWL_ACHILEUS_STEALTH_TECH|FC_INFILTRATOR_STEALTH_TECH|FC_INFILTRATORII_STEALTH_TECH) |
| #define | TARGCOMP_NORMAL 0 |
| #define | TARGCOMP_SHORT 1 |
| #define | TARGCOMP_LONG 2 |
| #define | TARGCOMP_MULTI 3 |
| #define | TARGCOMP_AA 4 |
| #define | MECH_STARTED 0x1 |
| #define | MECH_PILOT 0x2 |
| #define | MECH_PILOT_CON 0x4 |
| #define | MECH_MAP 0x8 |
| #define | MECH_CONSISTENT 0x10 |
| #define | MECH_PILOTONLY 0x20 |
| #define | MECH_USUAL (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOT|MECH_STARTED) |
| #define | MECH_USUALS (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOT) |
| #define | MECH_USUALSP (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON) |
| #define | MECH_USUALSM (MECH_CONSISTENT|MECH_PILOT_CON|MECH_PILOT) |
| #define | MECH_USUALM (MECH_CONSISTENT|MECH_PILOT_CON|MECH_PILOT|MECH_STARTED) |
| #define | MECH_USUALO (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOT|MECH_STARTED|MECH_PILOTONLY) |
| #define | MECH_USUALSO (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOT|MECH_PILOTONLY) |
| #define | MECH_USUALSPO (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOTONLY) |
| #define | MECH_USUALSMO (MECH_CONSISTENT|MECH_PILOT_CON|MECH_PILOT|MECH_PILOTONLY) |
| #define | MECH_USUALMO (MECH_CONSISTENT|MECH_PILOT_CON|MECH_PILOT|MECH_STARTED|MECH_PILOTONLY) |
| #define | TELE_ALL 1 |
| #define | TELE_SLAVE 2 |
| #define | TELE_LOUD 4 |
| #define | TELE_XP 8 |
| #define | MINE_STEP 1 |
| #define | MINE_LAND 2 |
| #define | MINE_FALL 3 |
| #define | MINE_DROP 4 |
| #define | ECMD(a) extern void a (dbref player, void *data, char *buffer) |
| #define | destroy_object(obj) destroy_thing(obj) |
| #define | create_object(name) create_obj(GOD, TYPE_THING, name, 1) |
| #define | A_MECHREF A_MECHTYPE |
| #define | MECH_PATH mudconf.mech_db |
| #define | MAP_PATH mudconf.map_db |
| #define | WSDUMP_MASK_ER "%-24s %2d %2d %2d %2d %2d %3d %3d %2d" |
| #define | WSDUMP_MASK_NOER "%-24s %2d %2d %2d %2d %2d %3d %2d" |
| #define | WSDUMP_MASKS_ER "%%cgWeapon Name Heat Damage Range: Min Short Med Long Ext VRT" |
| #define | WSDUMP_MASKS_NOER "%%cgWeapon Name Heat Damage Range: Min Short Med Long VRT" |
| #define | WDUMP_MASK "%-24s %2d %2d %2d %2d %2d %3d %2d %2d %d" |
| #define | WDUMP_MASKS "%%cgWeapon Name Heat Damage Range: Min Short Med Long VRT C ApT" |
Functions | |
| void * | FindObjectsData (dbref key) |
Variables | |
| weapon_struct | MechWeapons [] |
| missile_hit_table_struct | MissileHitTable [] |
| #define A_MECHREF A_MECHTYPE |
Definition at line 1294 of file mech.h.
Referenced by load_template(), mechrep_Rrestore(), and PrintGenericStatus().
| #define AA_TECH 0x10000 |
Definition at line 1098 of file mech.h.
Referenced by CalculateLOSFlag(), FindNormalBTH(), mech_plos_event(), and PrintWeaponStatus().
| #define AC10_AP_AMMO 62 |
| #define AC10_CASELESS_AMMO 144 |
| #define AC10_FLECHETTE_AMMO 68 |
| #define AC10_INCENDIARY_AMMO 74 |
| #define AC10_PRECISION_AMMO 80 |
| #define AC20_AP_AMMO 63 |
| #define AC20_CASELESS_AMMO 145 |
| #define AC20_FLECHETTE_AMMO 69 |
| #define AC20_INCENDIARY_AMMO 75 |
| #define AC20_PRECISION_AMMO 81 |
| #define AC2_AP_AMMO 60 |
| #define AC2_CASELESS_AMMO 142 |
| #define AC2_FLECHETTE_AMMO 66 |
| #define AC2_INCENDIARY_AMMO 72 |
| #define AC2_PRECISION_AMMO 78 |
| #define AC5_AP_AMMO 61 |
| #define AC5_CASELESS_AMMO 143 |
| #define AC5_FLECHETTE_AMMO 67 |
| #define AC5_INCENDIARY_AMMO 73 |
| #define AC5_PRECISION_AMMO 79 |
| #define AC_AP_MODE 0x00002000 |
Definition at line 633 of file mech.h.
Referenced by cause_armordamage(), FindAmmoType(), FindNormalBTH(), FullAmmo(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_armorpiercing(), mechrep_Rfiremode(), and mechrep_Rreload().
| #define AC_CASELESS_MODE 0x00040000 |
Definition at line 638 of file mech.h.
Referenced by FindAmmoType(), FullAmmo(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_caseless(), mechrep_Rfiremode(), and mechrep_Rreload().
| #define AC_FLECHETTE_MODE 0x00004000 |
Definition at line 634 of file mech.h.
Referenced by determineDamageFromHit(), FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_flechette(), mechrep_Rfiremode(), mechrep_Rreload(), and possibly_ignite().
| #define AC_INCENDIARY_MODE 0x00008000 |
Definition at line 635 of file mech.h.
Referenced by determineDamageFromHit(), FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), handleWeaponCrit(), mech_incendiary(), mechrep_Rfiremode(), mechrep_Rreload(), and Sensor_ToHitBonus().
| #define AC_MODES (AC_AP_MODE|AC_FLECHETTE_MODE|AC_INCENDIARY_MODE|AC_PRECISION_MODE|AC_CASELESS_MODE) |
| #define AC_PRECISION_MODE 0x00010000 |
Definition at line 636 of file mech.h.
Referenced by FindAmmoType(), FindNormalBTH(), FullAmmo(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_precision(), mechrep_Rfiremode(), and mechrep_Rreload().
| #define ACHILEUS_STEALTH_UNIT 43 |
| #define AERO_AFT 3 |
Definition at line 557 of file mech.h.
Referenced by cause_armordamage(), FillDefaultCriticals(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindTCHitLoc(), and IsInWeaponArc().
| #define AERO_LWING 1 |
Definition at line 555 of file mech.h.
Referenced by FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindTCHitLoc(), and IsInWeaponArc().
| #define AERO_NOSE 0 |
Definition at line 554 of file mech.h.
Referenced by FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindTCHitLoc(), and IsInWeaponArc().
| #define AERO_RWING 2 |
Definition at line 556 of file mech.h.
Referenced by FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindTCHitLoc(), and IsInWeaponArc().
| #define Ammo2I | ( | a | ) | Ammo2Weapon(a) |
Definition at line 150 of file mech.h.
Referenced by ammo_weight(), FindAmmoType(), FullAmmo(), load_template(), and valid_ammo_mode().
| #define Ammo2Weapon | ( | a | ) | Ammo2WeaponI(a) |
Definition at line 149 of file mech.h.
Referenced by FindAmmunition(), mech_FillPartAmmo(), and unable_to_find_proper_type().
| #define Ammo2WeaponI | ( | a | ) | ((a) - AMMO_BASE_INDEX) |
Definition at line 148 of file mech.h.
Referenced by BlowDumpingAmmo(), CriticalStatus(), DoAmmunitionCrit(), Dump_Decrease(), FindDestructiveAmmo(), FindInfernoAmmo(), HandleMechCrit(), mech_dump_event(), part_figure_out_name_sub(), and part_figure_out_shname().
| #define AMMO_LRM_SGUIDED 148 |
| #define AMMO_LRM_STINGER 141 |
| #define AMMO_MODES (LBX_MODE|AC_MODES|MISSILE_MODES|INARC_MODES|ARTILLERY_MODES) |
Definition at line 645 of file mech.h.
Referenced by decrement_ammunition(), FindAmmoForWeapon(), FindAmmoType(), FindAmmunition(), FindAndCheckAmmo(), GetWeaponAmmoModeLetter_Model_Mode(), mech_inarc_ammo_toggle(), mech_toggle_mode_sub_func(), and TECHCOMMANDH().
| #define AMS_ENABLED 0x00000800 |
Definition at line 951 of file mech.h.
Referenced by handleWeaponCrit(), LocateAMSDefenses(), mech_ams(), and PrintWeaponStatus().
| #define ANGEL_ECCM_ENABLED 0x00000200 |
Definition at line 990 of file mech.h.
Referenced by load_update1(), mech_angeleccm(), and mech_angelecm().
| #define ANGEL_ECM_DESTROYED 0x00000080 |
Definition at line 1048 of file mech.h.
Referenced by HandleMechCrit(), mech_angeleccm(), and mech_angelecm().
| #define ANGEL_ECM_DISTURBED 0x00000800 |
| #define ANGEL_ECM_ENABLED 0x00000100 |
Definition at line 989 of file mech.h.
Referenced by load_update1(), mech_angeleccm(), and mech_angelecm().
| #define ANGEL_ECM_PROTECTED 0x00000400 |
| #define ANGEL_ECM_TECH 0x1000 |
Definition at line 1131 of file mech.h.
Referenced by mech_angeleccm(), mech_angelecm(), mechrep_Raddspecial(), mechrep_Rshowtech(), PrintWeaponStatus(), save_template(), and update_specials().
| #define ANGELECM 37 |
Definition at line 201 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define ARTEMIS_IV 20 |
Definition at line 184 of file mech.h.
Referenced by crit_weight(), FindArtemisForWeapon(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define ARTEMIS_IV_TECH 0x200 |
Definition at line 1091 of file mech.h.
Referenced by mechrep_Raddspecial(), mechrep_Rshowtech(), save_template(), and update_specials().
| #define ARTEMIS_LRM_AMMO 10 |
| #define ARTEMIS_MODE 0x00000002 |
Definition at line 621 of file mech.h.
Referenced by FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), HandleMechCrit(), mech_artemis(), mechrep_Rfiremode(), mechrep_Rreload(), and MissileHitIndex().
| #define ARTILLERY_MODES (CLUSTER_MODE|MINE_MODE|SMOKE_MODE) |
Definition at line 641 of file mech.h.
Referenced by artillery_hit(), FindAndCheckAmmo(), and mech_toggle_mode_sub_func().
| #define ATTACKEMIT_MECH 0x00080000 |
| #define AUTOTURN_TURRET 0x00004000 |
Definition at line 995 of file mech.h.
Referenced by mech_auto_turret(), Mech_ShowFlags(), and mech_update().
| #define AXE 22 |
Definition at line 186 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), hasPhysical(), have_axe(), and techlist_func().
| #define AXED 0x10 |
| #define BACK 4 |
Definition at line 38 of file mech.h.
Referenced by blast_arcf(), blast_hit_hexf(), cause_damage(), ChargeMech(), DeathFromAbove(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindAreaHitGroup(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindKickLocation(), FindPunchLocation(), FindTargetHitLoc(), FindTCHitLoc(), MechFalls(), and PhysicalDamage().
| #define BEAGLE_DESTROYED 0x00200000 |
Definition at line 1062 of file mech.h.
Referenced by auto_sensor_event(), HandleMechCrit(), and sendECMNotification().
| #define BEAGLE_PROBE 19 |
Definition at line 183 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define BEAGLE_PROBE_TECH 0x800 |
Definition at line 1093 of file mech.h.
Referenced by auto_sensor_event(), HandleMechCrit(), mechrep_Raddspecial(), mechrep_Rshowtech(), PrintWeaponStatus(), save_template(), sendECMNotification(), and update_specials().
| #define Blinded | ( | a | ) | (MechStatus(a) & BLINDED) |
Definition at line 1036 of file mech.h.
Referenced by ChargeMech(), common_checks(), FireSpot(), MadePilotSkillRoll_Advanced(), MadePilotSkillRoll_NoXP(), mech_notify(), mech_ood_event(), mech_printf(), ScrambleInfraAndLiteAmp(), and updateAutoturnTurret().
| #define BLINDED 0x00200000 |
Definition at line 961 of file mech.h.
Referenced by load_update1(), mech_unblind_event(), and ScrambleInfraAndLiteAmp().
| #define BLOODHOUND_DESTROYED 0x20000000 |
Definition at line 1070 of file mech.h.
Referenced by auto_sensor_event(), HandleMechCrit(), and sendECMNotification().
| #define BLOODHOUND_PROBE 40 |
Definition at line 204 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define BLOODHOUND_PROBE_TECH 0x800 |
Definition at line 1130 of file mech.h.
Referenced by auto_sensor_event(), HandleMechCrit(), mechrep_Raddspecial(), mechrep_Rshowtech(), PrintWeaponStatus(), save_template(), sendECMNotification(), and update_specials().
| #define Bomb2I | ( | a | ) | ((a) - BOMB_BASE_INDEX) |
Definition at line 151 of file mech.h.
Referenced by bomb_drop(), bomb_list(), GetPartWeight(), part_figure_out_name_sub(), and part_figure_out_shname().
| #define BRANDCOUNT 5 |
Definition at line 33 of file mech.h.
Referenced by fun_btstores(), initialize_partname_tables(), list_matching(), mech_Rfixstuff(), and partname_func().
| #define BROKEN_MODE 0x00000004 |
| #define BSIDE 3 |
Definition at line 548 of file mech.h.
Referenced by ai_path_score(), DamageMech(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), findNARCHitLoc(), FindTCHitLoc(), HandleAdvFasaVehicleCrit(), HandleFasaVehicleCrit(), HandleVTOLCrit(), IsInWeaponArc(), mechrep_Raddspecial(), and update_specials().
| #define BSUIT_ELECTRONIC 90 |
| #define BSUIT_LIFESUPPORT 89 |
| #define BSUIT_SENSOR 88 |
| #define C3_DESTROYED 0x00080000 |
Definition at line 1060 of file mech.h.
Referenced by HandleMechCrit(), isTAGDestroyed(), and update_specials().
| #define C3_MASTER 17 |
Definition at line 181 of file mech.h.
Referenced by countTotalC3MastersOnMech(), countWorkingC3MastersOnMech(), crit_weight(), HandleMechCrit(), isPartOfWorkingC3Master(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define C3_MASTER_TECH 0x80 |
Definition at line 1089 of file mech.h.
Referenced by mechrep_Raddspecial(), mechrep_Rshowtech(), save_template(), and update_specials().
| #define C3_NETWORK_SIZE 11 |
Definition at line 32 of file mech.h.
Referenced by addMechToC3Network(), buildTempNetwork(), clearC3Network(), clearMechFromC3Network(), findC3Range(), getFreeC3NetworkPos(), mechSeenByNetwork(), replicateC3Network(), sendNetworkMessage(), showNetworkData(), showNetworkTargets(), trimC3Network(), and validateC3Network().
| #define C3_SLAVE 18 |
Definition at line 182 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define C3_SLAVE_TECH 0x100 |
Definition at line 1090 of file mech.h.
Referenced by mechrep_Raddspecial(), mechrep_Rshowtech(), save_template(), and update_specials().
| #define C3I 36 |
Definition at line 200 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define C3I_DESTROYED 0x00000100 |
| #define C3I_NETWORK_SIZE 5 |
Definition at line 31 of file mech.h.
Referenced by addMechToC3iNetwork(), clearC3iNetwork(), clearMechFromC3iNetwork(), getFreeC3iNetworkPos(), mech_c3i_join_leave(), replicateC3iNetwork(), and validateC3iNetwork().
| #define C3I_TECH 0x20 |
Definition at line 1124 of file mech.h.
Referenced by mechrep_Raddspecial(), mechrep_Rshowtech(), save_template(), and update_specials().
| #define CAN_JETTISON_TECH 0x200 |
Definition at line 1156 of file mech.h.
Referenced by JettisonPacks(), mechrep_Rshowtech(), and PrintWeaponStatus().
| #define Cargo I2Cargo |
Definition at line 161 of file mech.h.
Referenced by econ_change_items(), FindAmmoType(), muxevent_tickmech_removesection(), TFUNC_LOC(), TFUNC_LOC_RESEAL(), and TFUNC_LOCPOS().
| #define Cargo2I | ( | a | ) | ((a) - CARGO_BASE_INDEX) |
Definition at line 153 of file mech.h.
Referenced by fun_btparttype(), GetPartWeight(), part_figure_out_name_sub(), and part_figure_out_shname().
| #define CARGO_TECH 0x2000 |
Definition at line 1095 of file mech.h.
Referenced by mech_loadcargo(), mech_unloadcargo(), mech_weight_sub_mech(), mech_weight_sub_veh(), and MechCargoMaxSpeed().
| #define CARRIER_TECH 0x80000 |
Definition at line 1138 of file mech.h.
Referenced by mech_embark(), mech_enterbay(), mech_pickup(), mech_weight_sub_mech(), mech_weight_sub_veh(), MechCargoMaxSpeed(), mechs_in_hex(), PrintWeaponStatus(), and sketch_tac_mechs().
| #define CARRYING_CLUB 0x00000020 |
Definition at line 686 of file mech.h.
Referenced by FireWeaponNumber(), HandleMechCrit(), mech_club(), mech_grabclub(), Mech_ShowFlags(), PhysicalAttack(), and punch_checkArm().
| #define CASE 11 |
Definition at line 175 of file mech.h.
Referenced by crit_weight(), mechrep_Raddspecial(), mechrep_Rdeltech(), and update_specials().
| #define CASE_TECH 0x01 |
Definition at line 672 of file mech.h.
Referenced by DamageMech(), dump_locations(), HandleFasaVehicleCrit(), HandleVTOLCrit(), load_template(), mechrep_Raddspecial(), mechrep_Rdeltech(), mechrep_Rshowtech(), techlist_func(), and update_specials().
| #define CE_TECH 0x4000000 |
Definition at line 1108 of file mech.h.
Referenced by engine_weight(), mech_weight_sub_mech(), mech_weight_sub_veh(), save_template(), and update_specials().
| #define CGYRO_TECH 0x800000 |
| #define CHEAD 0x08000000 |
| #define CHEAT 0x00200000 |
| #define CHECK_BOTH (CHECK_WEAPS|CHECK_PHYS) |
| #define CHECK_PHYS 0x2 |
| #define CHECK_WEAPS 0x1 |
| #define CHTITLELEN 15 |
| #define CL_ANTI_MISSILE_TECH 0x02 |
Definition at line 1083 of file mech.h.
Referenced by do_magic(), handleWeaponCrit(), load_mechdata(), load_template(), LocateAMSDefenses(), mech_ams(), mechrep_Raddweap(), mechrep_Rshowtech(), save_template(), and update_specials().
| #define CLAIRVOYANT 0x02000000 |
Definition at line 1066 of file mech.h.
Referenced by CalculateLOSMap(), InLineOfSight(), and mech_hide_event().
| #define CLAN_TECH 0x20 |
Definition at line 1087 of file mech.h.
Referenced by crit_weight(), DamageMech(), DisableSomeHS(), EnableSomeHS(), GetBSuitName(), GetLCaseBSuitName(), mech_weight_sub_mech(), mech_weight_sub_veh(), mechrep_Rshowtech(), save_template(), and update_specials().
| #define CLASS_AERO 5 |
Definition at line 696 of file mech.h.
Referenced by aero_land(), aero_takeoff(), aero_UpdateSpeed(), ArmorStringFromIndex(), cause_armordamage(), common_checks(), DeathFromAbove(), DefaultFuelByType(), FillDefaultCriticals(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), FindNormalBTH(), FindPilotingSkillName(), FindTCHitLoc(), FindTechSkillName(), invalid_section(), IsInWeaponArc(), mech_ood_event(), mech_startup_event(), mechrep_Rsettype(), PrintArmorStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintReport(), PrintShortInfo(), ProperSectionStringFromType(), and TransferTarget().
| #define CLASS_BSUIT 8 |
Definition at line 699 of file mech.h.
Referenced by ai_crash(), ammo_explosion(), ArmorStringFromIndex(), AttackMovementMods(), auto_com_event(), auto_radio_command_hide(), bsuit_hide(), CanChangeTo(), check_for_damage(), DamageMech(), DeathFromAbove(), DestroyMech(), DestroyParts(), DestroySection(), determineDamageFromHit(), explode_unit(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), FindNormalBTH(), FindPilotingSkillName(), FindTargetHitLoc(), FindTechSkillName(), FireWeaponNumber(), GetArcID(), heat_effect(), invalid_section(), InWeaponArc(), IsInWeaponArc(), load_template(), mech_charge(), mech_drop(), mech_embark(), mech_explode_event(), mech_jump(), mech_land(), mech_ood_event(), mech_rotatetorso(), mech_shutdown(), mech_stand(), mech_startup_event(), mech_thrash(), mech_turret(), mech_udisembark(), MechFalls(), MechFloods(), mechrep_Raddinftech(), mechrep_Rsettype(), NewHexEntered(), PhysicalAttack(), PhysicalDamage(), possibly_drop_thru_ice(), PrintArmorStatus(), PrintEnemyWeaponStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintReport(), PrintWeaponStatus(), ProperSectionStringFromType(), recycle_weaponry(), Sensor_ArcBaseChance(), ShowTurretFacing(), TECHCOMMANDH(), terrain_speed(), TransferTarget(), update_specials(), and UpdateHeading().
| #define CLASS_DS 7 |
Definition at line 698 of file mech.h.
Referenced by ActualElevation(), ArmorStringFromIndex(), DeathFromAbove(), DefaultFuelByType(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), FindPilotingSkillName(), FindTCHitLoc(), FindTechSkillName(), invalid_section(), IsInWeaponArc(), mech_ood_event(), mech_startup_event(), MechHeight(), mechrep_Rsettype(), PrintArmorStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintShortInfo(), and ProperSectionStringFromType().
| #define CLASS_LAST 8 |
| #define CLASS_MECH 0 |
Definition at line 689 of file mech.h.
Referenced by ActualElevation(), ai_check_path(), ai_crash(), ai_path_score(), apply_mechDamage(), ArmorStringFromIndex(), auto_astar_follow_event(), auto_astar_generate_path(), auto_astar_goto_event(), auto_astar_roam_event(), auto_dumbfollow_event(), auto_dumbgoto_event(), auto_enter_event(), auto_leave_event(), blast_hit_hexf(), CalculateLOSFlag(), CalculateLOSMap(), canWeapExplodeFromDamage(), canWeapJamFromDamage(), cause_armordamage(), cause_damage(), cause_internaldamage(), char_eject(), ChargeMech(), check_stagger_event(), CheckDamage(), CountDestroyedLegs(), crit_weight(), CritsInLoc(), crittable(), DamageMech(), DeathFromAbove(), DestroyParts(), DestroySection(), do_magic(), domino_space(), domino_space_in_hex(), dump_item(), engine_weight(), FillDefaultCriticals(), FindAimHitLoc(), FindBSuitTarget(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), findNARCHitLoc(), FindNormalBTH(), FindPilotingSkillName(), FindTargetHitLoc(), FindTCHitLoc(), FindTechSkillName(), FindWeaponNumberOnMech_Advanced(), FireWeaponNumber(), GetArcID(), getC3MasterSize(), getCritAddedBTH(), getCritSubDamage(), getFriends(), GetWeaponCrits(), HandleCritical(), heat_effect(), HeatFactor(), Invalid_Repair_Path(), Invalid_Scrap_Path(), invalid_section(), InWeaponArc(), IsInWeaponArc(), IsMechLegLess(), isWeapAmmoFeedLocked(), LandMech(), load_template(), make_damage_table(), make_scrap_table(), mech_attachcables(), mech_charge(), mech_crewstun_event(), mech_disembark(), mech_drop(), mech_dump(), mech_dump_event(), mech_eject(), mech_embark(), mech_enter_event(), mech_enterbase(), mech_enterbay(), mech_enterbay_event(), mech_explode(), mech_explode_event(), mech_int_check(), mech_jump(), mech_land(), mech_lateral(), mech_ood_event(), mech_pickup(), mech_ReAttach(), mech_RepairPart(), mech_rotatetorso(), mech_scharge_event(), mech_shutdown(), mech_speed(), mech_stand(), mech_turret(), mech_udisembark(), mech_weaponstatus(), mech_weight_sub(), MechCargoMaxSpeed(), MechFalls(), MechFloods(), MechFloodsLoc(), MechHeight(), mechrep_Rsettype(), mechs_in_hex(), ModifyHeadHit(), move_mech(), muxevent_tickmech_removepart(), muxevent_tickmech_repairarmor(), muxevent_tickmech_repairinternal(), PhysicalAttack(), PhysicalDamage(), pickup_mw(), PrintArmorStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintReport(), PrintShortInfo(), PrintWeaponStatus(), ProperSectionStringFromType(), recycle_weaponry(), save_template(), Sensor_ArcBaseChance(), shouldDestroyWeapon(), show_mechs_damage(), ShowTurretFacing(), TargetMovementMods(), tech_fix(), techlist_func(), TFUNC_LOC(), TransferTarget(), unit_is_fixable(), update_specials(), UpdateHeat(), UpdatePilotSkillRolls(), and water_extinguish_inferno().
| #define CLASS_MW 6 |
Definition at line 697 of file mech.h.
Referenced by AccumulateGunXP(), AccumulateGunXPold(), ai_crash(), ammo_explosion(), armor_effect(), ArmorStringFromIndex(), auto_radio_command_hide(), bsuit_hide(), CanChangeTo(), cause_armordamage(), cause_internaldamage(), CritsInLoc(), dam_to_pc_conversion(), DamageMech(), DestroyMech(), DestroyParts(), determineDamageFromHit(), fiery_death(), FindAimHitLoc(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), FindNormalBTH(), FindPilotingSkillName(), FindTargetHitLoc(), FindTCHitLoc(), FireWeaponNumber(), GetArcID(), HandleCritical(), heat_effect(), HitTarget(), initialize_pc(), invalid_section(), InWeaponArc(), IsInWeaponArc(), load_template(), mech_attachcables(), mech_charge(), mech_critstatus(), mech_damage(), mech_drop(), mech_embark(), mech_enter_event(), mech_enterbay_event(), mech_jump(), mech_land(), mech_lrsmap(), mech_navigate(), mech_ood_event(), mech_pickup(), mech_rotatetorso(), mech_safety(), mech_scan(), mech_sensor(), mech_shutdown(), mech_speed(), mech_spot(), mech_stand(), mech_startup(), mech_tacmap(), mech_turret(), mech_udisembark(), MechFalls(), MechHeight(), NewHexEntered(), pc_to_dam_conversion(), PhysicalAttack(), PrintArmorStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintReport(), ProperSectionStringFromType(), recycle_weaponry(), Sensor_ArcBaseChance(), ShowTurretFacing(), TargetMovementMods(), TransferTarget(), UpdateHeading(), and UpdateSpeed().
| #define CLASS_SPHEROID_DS 4 |
Definition at line 695 of file mech.h.
Referenced by ArmorStringFromIndex(), DefaultFuelByType(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), FindPilotingSkillName(), FindTechSkillName(), invalid_section(), IsInWeaponArc(), MechHeight(), mechrep_Rsettype(), PrintArmorStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintShortInfo(), and ProperSectionStringFromType().
| #define CLASS_VEH_GROUND 1 |
Definition at line 690 of file mech.h.
Referenced by ai_crash(), ai_path_score(), ArmorStringFromIndex(), auto_astar_generate_path(), auto_roam_generate_target_hex(), ChargeMech(), DamageMech(), DestroyParts(), drop_thru_ice(), engine_weight(), FindAdvFasaVehicleHitLocation(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), FindPilotingSkillName(), FindTCHitLoc(), FindTechSkillName(), FindWeaponNumberOnMech_Advanced(), HandleAdvFasaVehicleCrit(), HandleCritical(), heat_effect(), invalid_section(), IsInWeaponArc(), LandMech(), mech_attachcables(), mech_charge(), mech_disembark(), mech_eject(), mech_embark(), mech_int_check(), mech_jump(), mech_land(), mech_ood_event(), mech_scharge_event(), mech_startup_event(), mech_udisembark(), mech_weight_sub(), mech_weight_sub_veh(), mechrep_Raddspecial(), mechrep_Rsettype(), NewHexEntered(), PhysicalAttack(), pickup_mw(), PrintArmorStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintShortInfo(), PrintWeaponStatus(), ProperSectionStringFromType(), recycle_weaponry(), swim_except(), unit_is_fixable(), and update_specials().
| #define CLASS_VEH_NAVAL 3 |
Definition at line 691 of file mech.h.
Referenced by ArmorStringFromIndex(), CanChangeTo(), DestroyParts(), engine_weight(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), FindPilotingSkillName(), FindTCHitLoc(), FindTechSkillName(), HandleCritical(), invalid_section(), IsInWeaponArc(), mech_int_check(), mech_move_event(), mech_shutdown(), mech_weight_sub(), mech_weight_sub_veh(), MechHeight(), mechrep_Rsettype(), move_mech(), PrintArmorStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintShortInfo(), and ProperSectionStringFromType().
| #define CLASS_VTOL 2 |
Definition at line 694 of file mech.h.
Referenced by aero_land(), aero_takeoff(), aero_takeoff_event(), ArmorStringFromIndex(), checkVehicleInFire(), collision_check(), DamageMech(), DeathFromAbove(), DefaultFuelByType(), DestroyMech(), DoVehicleEngineHit(), engine_weight(), FindAdvFasaVehicleHitLocation(), FindFasaHitLocation(), FindGunnerySkillName(), FindHitLocation(), FindHitLocation_CritProof(), FindNormalBTH(), FindPilotingSkillName(), FindTCHitLoc(), FindTechSkillName(), FindWeaponNumberOnMech_Advanced(), FuelCheck(), HandleAdvFasaVehicleCrit(), heat_effect(), invalid_section(), IsInWeaponArc(), mech_disembark(), mech_eject(), mech_embark(), mech_enter_event(), mech_enterbase(), mech_enterbay(), mech_enterbay_event(), mech_fall_event(), mech_int_check(), mech_lateral(), mech_move_event(), mech_ood_event(), mech_scharge_event(), mech_speed(), mech_startup_event(), mech_udisembark(), mech_vertical(), mech_weight_sub(), mech_weight_sub_veh(), mechrep_Rsettype(), pickup_mw(), PrintArmorStatus(), PrintGenericStatus(), PrintInfoStatus(), PrintShortInfo(), PrintWeaponStatus(), ProperSectionStringFromType(), recycle_weaponry(), remove_inarc_pods_tank(), techlist_func(), and unit_is_fixable().
| #define CLAT 0x00000400 |
Definition at line 500 of file mech.h.
Referenced by AMSMissiles(), do_magic(), load_mechdata(), load_template(), mechrep_Raddweap(), and update_specials().
| #define CLAW 25 |
| #define CLUSTER_MODE 0x00000008 |
Definition at line 623 of file mech.h.
Referenced by artillery_hit(), artillery_hit_hex(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_cluster(), mechrep_Rfiremode(), and mechrep_Rreload().
| #define COCKPIT 6 |
Definition at line 170 of file mech.h.
Referenced by FillDefaultCriticals(), HandleMechCrit(), and mech_RepairPart().
| #define COMBAT_SAFE 0x00400000 |
Definition at line 962 of file mech.h.
Referenced by auto_calc_target_score(), DamageMech(), FindAdvFasaVehicleHitLocation(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), getEnemies(), HandleCritical(), mech_ood_event(), Mech_ShowFlags(), MechFloodsLoc(), and SwarmHitTarget().
| #define COMPI_TECH 0x10000000 |
Definition at line 1110 of file mech.h.
Referenced by cause_internaldamage(), mech_weight_sub_mech(), and mech_weight_sub_veh().
| #define CONDITIONS (UNDERSPECIAL | UNDERGRAVITY | UNDERTEMPERATURE | UNDERVACUUM) |
Definition at line 1292 of file mech.h.
Referenced by autoeject(), char_disembark(), and char_eject().
| #define CREW_STUNNED 0x10 |
Definition at line 1078 of file mech.h.
Referenced by do_magic(), DoVehicleCrewStunnedCrit(), Mech_ShowFlags(), and unstun_crew_event().
| #define CRITPROOF_TECH 0x40000000 |
Definition at line 1112 of file mech.h.
Referenced by crittable(), FindHitLocation(), and HandleCritical().
| #define CS_PURIFIER_STEALTH_TECH 0x08 |
Definition at line 1150 of file mech.h.
Referenced by mechrep_Rshowtech(), PrintWeaponStatus(), Sensor_Sees(), TargetMovementMods(), and update_specials().
| #define CTORSO 4 |
Definition at line 538 of file mech.h.
Referenced by cause_armordamage(), cause_internaldamage(), DamageMech(), FillDefaultCriticals(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindPunchLocation(), FindSwarmHitLocation(), FindTCHitLoc(), FireWeaponNumber(), initialize_pc(), Invalid_Repair_Path(), Invalid_Scrap_Path(), loc_mod(), make_damage_table(), make_scrap_table(), mech_scharge_event(), mech_weight_sub_mech(), mechrep_Rrepair(), mechrep_Rsetarmor(), pcombat_hitloc(), reactor_explosion(), TransferTarget(), unit_is_fixable(), and update_specials().
| #define DAR 0x00000080 |
| #define DC_KAGE_STEALTH_TECH 0x10 |
Definition at line 1151 of file mech.h.
Referenced by FindNormalBTH(), mechrep_Rshowtech(), PrintWeaponStatus(), and update_specials().
| #define DEFAULT_FREQS 5 |
| #define destroy_object | ( | obj | ) | destroy_thing(obj) |
Definition at line 1291 of file mech.h.
Referenced by autoeject(), char_disembark(), and char_eject().
| #define DESTROYED 0x00000020 |
Definition at line 945 of file mech.h.
Referenced by do_magic(), HandleMechCrit(), mech_contacts(), mech_ReAttach(), muxevent_tickmech_reattach(), muxevent_tickmech_reload(), muxevent_tickmech_removegun(), muxevent_tickmech_removepart(), muxevent_tickmech_removesection(), muxevent_tickmech_repairarmor(), muxevent_tickmech_repairgun(), muxevent_tickmech_repairinternal(), muxevent_tickmech_repairpart(), muxevent_tickmech_replacegun(), and showNetworkTargets().
| #define DESTROYED_MODE 0x00000001 |
| #define DFA_ATTACK 0x00000100 |
Definition at line 948 of file mech.h.
Referenced by DeathFromAbove(), LandMech(), mech_jump(), MechFalls(), and PrintGenericStatus().
| #define DFM 0x00040000 |
| #define DIGGING_IN 0x08 |
| #define DISABLED_MODE 0x00000002 |
| #define DODGING 0x00040000 |
| #define DOUBLE_HEAT_TECH 0x08 |
Definition at line 1085 of file mech.h.
Referenced by DestroyParts(), DisableSomeHS(), EnableSomeHS(), and mechrep_Rshowtech().
| #define DropShip | ( | a | ) | ((a)==CLASS_DS || (a)==CLASS_SPHEROID_DS) |
| #define DS_AERODOOR 26 |
Definition at line 190 of file mech.h.
Referenced by DS_Bay_Is_Open(), Find_DS_Bay_Number(), and HandleMechCrit().
| #define DS_AFT 4 |
Definition at line 566 of file mech.h.
Referenced by FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), and IsInWeaponArc().
| #define DS_LRWING 2 |
| #define DS_LWING 1 |
Definition at line 563 of file mech.h.
Referenced by FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), and IsInWeaponArc().
| #define DS_MECHDOOR 27 |
Definition at line 191 of file mech.h.
Referenced by DS_Bay_Is_Open(), Find_DS_Bay_Number(), and HandleMechCrit().
| #define DS_NOSE 5 |
Definition at line 567 of file mech.h.
Referenced by FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), and IsInWeaponArc().
| #define DS_RRWING 3 |
| #define DS_RWING 0 |
Definition at line 562 of file mech.h.
Referenced by FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), and IsInWeaponArc().
| #define DUAL_SAW 47 |
Definition at line 211 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), hasPhysical(), have_saw(), and techlist_func().
| #define DUG_IN 0x04 |
Definition at line 1076 of file mech.h.
Referenced by mech_attachcables(), mech_dig_event(), mech_pickup(), and mech_speed().
| #define ECCM_ENABLED 0x00000002 |
| #define ECM 21 |
Definition at line 185 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define ECM_DESTROYED 0x00100000 |
Definition at line 1061 of file mech.h.
Referenced by HandleMechCrit(), mech_eccm(), mech_ecm(), and PrintWeaponStatus().
| #define ECM_DISTURBANCE 0x00000004 |
| #define ECM_ENABLED 0x00000001 |
| #define ECM_PROTECTED 0x00000008 |
| #define ECM_TECH 0x400 |
Definition at line 1092 of file mech.h.
Referenced by mech_eccm(), mech_ecm(), mechrep_Raddspecial(), mechrep_Rshowtech(), PrintWeaponStatus(), save_template(), and update_specials().
| #define ECMD | ( | a | ) | extern void a (dbref player, void *data, char *buffer) |
| #define EGunRange | ( | a | ) | ((mudconf.btech_erange && (MechWeapons[a].medrange * 2) > GunRange(a)) ? (MechWeapons[a].medrange * 2) : GunRange(a)) |
Definition at line 143 of file mech.h.
Referenced by FindArtilleryBTH(), FindBTHByRange(), FindNormalBTH(), SwarmHitTarget(), and wspec_fun().
| #define EGunRangeWithCheck | ( | mech, | |||
| sec, | |||||
| a | ) | ((SectionUnderwater(mech,sec) > 0) ? EGunWaterRange(a) : (mudconf.btech_erange && (MechWeapons[a].medrange * 2) > GunRange(a)) ? (MechWeapons[a].medrange * 2) : GunRange(a)) |
Definition at line 141 of file mech.h.
Referenced by FailureWeaponRange(), and weapon_failure_stuff().
| #define EGunWaterRange | ( | a | ) | ((mudconf.btech_erange && ((MechWeapons[a].medrange_water * 2) > GunWaterRange(a)) && (MechWeapons[a].longrange_water > 0)) ? (MechWeapons[a].medrange_water * 2) : GunWaterRange(a)) |
| #define ELRM 0x00080000 |
| #define ELRM_AMMO 87 |
| #define EMPTY 0 |
Definition at line 105 of file mech.h.
Referenced by CriticalStatus(), critslot_func(), critstatus_func(), FillDefaultCriticals(), mechrep_Rdeltech(), part_name(), part_name_long(), and TECHCOMMANDH().
| #define ENDO_STEEL 13 |
| #define ENGINE 7 |
Definition at line 171 of file mech.h.
Referenced by DestroyParts(), FillDefaultCriticals(), HandleMechCrit(), InvalidVehicleItem(), mech_RepairPart(), mech_scharge_event(), and update_specials().
| #define ES_TECH 0x100000 |
Definition at line 1102 of file mech.h.
Referenced by mech_weight_sub_mech(), mech_weight_sub_veh(), save_template(), and update_specials().
| #define EVADING 0x00020000 |
Definition at line 998 of file mech.h.
Referenced by FindNormalBTH(), initiate_ood(), Mech_ShowFlags(), and UpdateHeading().
| #define EXPLODE_SAFE 0x00001000 |
| #define FALLEN 0x00000080 |
Definition at line 947 of file mech.h.
Referenced by do_magic(), mech_attachcables(), mech_pickup(), and MechFalls().
| #define FC_INFILTRATOR_STEALTH_TECH 0x40 |
Definition at line 1153 of file mech.h.
Referenced by FindNormalBTH(), mechrep_Rshowtech(), PrintWeaponStatus(), and update_specials().
| #define FC_INFILTRATORII_STEALTH_TECH 0x80 |
Definition at line 1154 of file mech.h.
Referenced by FindNormalBTH(), mech_pereccm(), mech_perecm(), mechrep_Rshowtech(), PrintWeaponStatus(), and update_specials().
| #define FERRO_FIBROUS 12 |
| #define FF_TECH 0x80000 |
Definition at line 1101 of file mech.h.
Referenced by mech_weight_sub_mech(), mech_weight_sub_veh(), save_template(), and update_specials().
| #define FIRE_MODES (HOTLOAD_MODE|ULTRA_MODE|RFAC_MODE|GATTLING_MODE|RAC_MODES|HEAT_MODE) |
Definition at line 617 of file mech.h.
Referenced by GetWeaponFireModeLetter_Model_Mode(), mech_rac(), and mech_toggle_mode_sub_func().
| #define FIRED 0x01000000 |
| #define FLIPABLE_ARMS 0x40 |
Definition at line 1088 of file mech.h.
Referenced by load_template(), mech_fliparms(), and mechrep_Rshowtech().
| #define FLIPPED_ARMS 0x00000400 |
Definition at line 950 of file mech.h.
Referenced by IsInWeaponArc(), mech_fliparms(), and PrintWeaponStatus().
| #define FORWARDARC 1 |
Definition at line 86 of file mech.h.
Referenced by ChargeMech(), FindNormalBTH(), GetArcID(), getWeaponArc(), InWeaponArc(), IsInWeaponArc(), mech_lites_target(), MechSeesRange(), MechSLitesRange(), PhysicalAttack(), SearchLightInRange(), Sensor_CanSee(), and Sensor_SeesNow().
| #define FREQ_DIGITAL 1 |
Definition at line 64 of file mech.h.
Referenced by mech_list_freqs(), mech_set_channelmode(), and sendchannelstuff().
| #define FREQ_INFO 8 |
Definition at line 67 of file mech.h.
Referenced by mech_list_freqs(), mech_set_channelmode(), and sendchannelstuff().
| #define FREQ_MUTE 2 |
Definition at line 65 of file mech.h.
Referenced by mech_list_freqs(), mech_set_channelmode(), and sendchannelstuff().
| #define FREQ_RELAY 4 |
Definition at line 66 of file mech.h.
Referenced by findCommLink(), mech_list_freqs(), and mech_set_channelmode().
| #define FREQ_REST 32 |
Definition at line 69 of file mech.h.
Referenced by ccode(), fun_btmechfreqs(), mech_list_freqs(), and mech_set_channelmode().
| #define FREQ_SCAN 16 |
Definition at line 68 of file mech.h.
Referenced by mech_list_freqs(), mech_set_channelfreq(), mech_set_channelmode(), and sendchannelstuff().
| #define FREQS 16 |
Definition at line 62 of file mech.h.
Referenced by autoeject(), char_disembark(), char_eject(), clear_mech(), DestroySection(), generic_radio_type(), and load_update1().
| #define FRONT 3 |
Definition at line 37 of file mech.h.
Referenced by blast_arcf(), cause_damage(), DeathFromAbove(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindAreaHitGroup(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindKickLocation(), FindNormalBTH(), FindPunchLocation(), FindTCHitLoc(), and MechFalls().
| #define FSIDE 2 |
Definition at line 547 of file mech.h.
Referenced by ai_path_score(), ChargeMech(), DamageMech(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), findNARCHitLoc(), FindTCHitLoc(), HandleAdvFasaVehicleCrit(), IsInWeaponArc(), and PrintWeaponStatus().
| #define FUELTANK 28 |
| #define FWL_ACHILEUS_STEALTH_TECH 0x20 |
Definition at line 1152 of file mech.h.
Referenced by FindNormalBTH(), mechrep_Rshowtech(), PrintWeaponStatus(), and update_specials().
| #define GATTLING_MODE 0x00001000 |
Definition at line 606 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), FireWeapon(), GetWeaponFireModeLetter_Model_Mode(), and mech_gattling().
| #define GAUSS 0x00000010 |
Definition at line 494 of file mech.h.
Referenced by DoAmmunitionCrit(), FindDestructiveAmmo(), FindInfernoAmmo(), HandleMechCrit(), handleWeaponCrit(), and mech_disableweap_func().
| #define GMG 0x01000000 |
| #define GunRange | ( | a | ) | (IsArtillery(a)?(ARTILLERY_MAPSHEET_SIZE * MechWeapons[a].longrange):(MechWeapons[a].longrange)) |
Definition at line 142 of file mech.h.
Referenced by dumpweapon_fun(), FindBTHByC3Range(), FindBTHByRange(), and wspec_fun().
| #define GunRangeWithCheck | ( | mech, | |||
| sec, | |||||
| a | ) | (SectionUnderwater(mech,sec) > 0 ? GunWaterRange(a) : IsArtillery(a)?(ARTILLERY_MAPSHEET_SIZE * MechWeapons[a].longrange):(MechWeapons[a].longrange)) |
| #define GunWaterRange | ( | a | ) | (MechWeapons[a].longrange_water > 0 ? MechWeapons[a].longrange_water : MechWeapons[a].medrange_water > 0 ? MechWeapons[a].medrange_water : MechWeapons[a].shortrange_water > 0 ? MechWeapons[a].shortrange_water : 0) |
| #define GYRO 8 |
Definition at line 172 of file mech.h.
Referenced by FillDefaultCriticals(), HandleMechCrit(), InvalidVehicleItem(), and mech_RepairPart().
| #define GYRO_DAMAGED 0x00000010 |
Definition at line 1045 of file mech.h.
Referenced by HandleMechCrit(), LandMech(), NormalizeAllActuatorCrits(), and UpdatePilotSkillRolls().
| #define GYRO_DESTROYED 0x00000001 |
Definition at line 1041 of file mech.h.
Referenced by ai_crash(), HandleMechCrit(), LandMech(), and mech_stand().
| #define HALFTON_MODE 0x00000080 |
Definition at line 601 of file mech.h.
Referenced by critslot_func(), FullAmmo(), load_template(), mechrep_Rfiremode(), and mechrep_Rreload().
| #define HAND_OR_FOOT_ACTUATOR 3 |
Definition at line 167 of file mech.h.
Referenced by axe_checkArm(), canUsePhysical(), checkGrabClubLocation(), DestroyParts(), FillDefaultCriticals(), findArmBTHMod(), HandleMechCrit(), InvalidVehicleItem(), load_template(), mace_checkArm(), mech_club(), mech_pickup(), mech_RepairPart(), NormalizeLegActuatorCrits(), NormalizeLocActuatorCrits(), PhysicalAttack(), pos_part_name(), sword_checkArm(), and techlist_func().
| #define HARDA_TECH 0x20000000 |
Definition at line 1111 of file mech.h.
Referenced by cause_armordamage(), mech_weight_sub_mech(), and mech_weight_sub_veh().
| #define HDGYRO_DAMAGED 0x01 |
Definition at line 1116 of file mech.h.
Referenced by HandleMechCrit(), and NormalizeAllActuatorCrits().
| #define HDGYRO_TECH 0x400000 |
Definition at line 1142 of file mech.h.
Referenced by HandleMechCrit(), mech_weight_sub_mech(), and NormalizeAllActuatorCrits().
| #define HEAD 7 |
Definition at line 541 of file mech.h.
Referenced by cause_internaldamage(), char_eject(), CritsInLoc(), DamageMech(), DestroyParts(), FillDefaultCriticals(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindNormalBTH(), FindPunchLocation(), FindSwarmHitLocation(), FindTCHitLoc(), initialize_pc(), Invalid_Repair_Path(), Invalid_Scrap_Path(), loc_mod(), make_damage_table(), make_scrap_table(), mech_eject(), mech_embark(), mech_weight_sub_mech(), ModifyHeadHit(), reactor_explosion(), real_int(), and update_specials().
| #define HEAT_MODE 0x00010000 |
Definition at line 610 of file mech.h.
Referenced by FireWeapon(), FireWeaponNumber(), GetWeaponFireModeLetter_Model_Mode(), HitTarget(), and mech_flamerheat().
| #define HEAT_SINK 9 |
Definition at line 173 of file mech.h.
Referenced by crit_weight(), DestroyHeatSink(), DestroyParts(), do_sub_magic(), FillDefaultCriticals(), FindLegHeatSinks(), HandleMechCrit(), mech_RepairPart(), mech_weight_sub_mech(), and mech_weight_sub_veh().
| #define HEATCUTOFF 0x00008000 |
| #define HEXLEVEL 5 |
| #define HIDDEN 0x00000008 |
Definition at line 1044 of file mech.h.
Referenced by aero_takeoff(), aero_takeoff_event(), bsuit_attackleg(), bsuit_swarm(), DamageMech(), FireWeaponNumber(), mech_embark(), mech_hide_event(), mech_pickup(), Mech_ShowFlags(), mech_speed(), mech_udisembark(), move_mech(), and Sensor_Sees().
| #define HIP_DAMAGED 0x00000020 |
Definition at line 1046 of file mech.h.
Referenced by DestroyParts(), HandleMechCrit(), mech_kickortrip(), and UpdatePilotSkillRolls().
| #define HIP_DESTROYED 0x00020000 |
Definition at line 1058 of file mech.h.
Referenced by DestroyParts(), HandleMechCrit(), mech_masc_event(), and NormalizeAllActuatorCrits().
| #define HOTLOAD_MODE 0x00000040 |
Definition at line 600 of file mech.h.
Referenced by GetWeaponFireModeLetter_Model_Mode(), and mech_hotload().
| #define HULLDOWN 0x04000000 |
Definition at line 966 of file mech.h.
Referenced by mech_attachcables(), mech_hulldown_event(), and mech_pickup().
| #define HVY_FERRO_FIBROUS 38 |
| #define HVY_FF_ARMOR_TECH 0x02 |
Definition at line 1120 of file mech.h.
Referenced by mech_weight_sub_mech(), mech_weight_sub_veh(), save_template(), and update_specials().
| #define HVYW 0x00400000 |
| #define I2Ammo | ( | a | ) | ((a) + AMMO_BASE_INDEX) |
Definition at line 157 of file mech.h.
Referenced by ammo_expedinture_check(), CountAmmoForWeapon(), FindAmmoForWeapon_sub(), FindAmmoType(), FindRoundsForWeapon(), initialize_pc(), mechrep_Rreload(), part_figure_out_name_sub(), and part_figure_out_shname().
| #define I2Cargo | ( | a | ) | ((a) + CARGO_BASE_INDEX) |
Definition at line 159 of file mech.h.
Referenced by part_figure_out_name_sub(), and part_figure_out_shname().
| #define I2Special | ( | a | ) | ((a) + SPECIAL_BASE_INDEX) |
Definition at line 158 of file mech.h.
Referenced by DestroyHeatSink(), DS_Bay_Is_Open(), FillDefaultCriticals(), Find_DS_Bay_Number(), findArmBTHMod(), FindArtemisForWeapon(), FindLegHeatSinks(), fun_btgetpartcost(), fun_btparttype(), fun_btsetpartcost(), GetPartWeight(), hasPhysical(), have_axe(), have_mace(), have_saw(), have_sword(), mechrep_Raddspecial(), mechrep_Rdeltech(), part_figure_out_name_sub(), part_figure_out_shname(), PhysicalAttack(), SetCargoWeight(), and techlist_func().
| #define I2Weapon | ( | a | ) | ((a) + WEAPON_BASE_INDEX) |
Definition at line 156 of file mech.h.
Referenced by ammo_expedinture_check(), BlowDumpingAmmo(), DestroyMainWeapon(), GetBrandIndex(), LoseWeapon(), mech_dump(), mech_dump_event(), mech_unjam_ammo_event(), mechrep_Raddweap(), part_figure_out_name_sub(), part_figure_out_shname(), and weaponstatus_func().
| #define ICE_TECH 0x400000 |
Definition at line 1104 of file mech.h.
Referenced by DestroyMech(), do_sub_magic(), DoVehicleFuelTankCrit(), engine_weight(), load_template(), mech_explode(), mech_weight_sub_mech(), mech_weight_sub_veh(), mechrep_Rshowtech(), and save_template().
| #define IDF 0x00000040 |
Definition at line 496 of file mech.h.
Referenced by FireSpot(), FireWeaponNumber(), mech_hotload(), and mech_toggle_mode_sub_func().
| #define INARC 0x02000000 |
Definition at line 515 of file mech.h.
Referenced by mech_inarc_ammo_toggle(), and MissileHitTarget().
| #define INARC_ECM_AMMO 58 |
| #define INARC_ECM_ATTACHED 0x00000008 |
Definition at line 684 of file mech.h.
Referenced by checkECM(), do_magic(), Mech_ShowFlags(), MissileHitTarget(), remove_inarc_pods_mech(), remove_inarc_pods_tank(), removeiNarcPodsTank(), and show_narc_pods().
| #define INARC_ECM_MODE 0x00000800 |
Definition at line 631 of file mech.h.
Referenced by FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_inarc_ammo_toggle(), mechrep_Rfiremode(), mechrep_Rreload(), and MissileHitTarget().
| #define INARC_EXPLO_AMMO 56 |
| #define INARC_EXPLO_MODE 0x00000200 |
Definition at line 629 of file mech.h.
Referenced by FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_inarc_ammo_toggle(), mechrep_Rfiremode(), mechrep_Rreload(), and MissileHitTarget().
| #define INARC_HAYWIRE_AMMO 57 |
| #define INARC_HAYWIRE_ATTACHED 0x00000004 |
Definition at line 683 of file mech.h.
Referenced by do_magic(), FindNormalBTH(), Mech_ShowFlags(), MissileHitTarget(), remove_inarc_pods_mech(), remove_inarc_pods_tank(), removeiNarcPodsTank(), and show_narc_pods().
| #define INARC_HAYWIRE_MODE 0x00000400 |
Definition at line 630 of file mech.h.
Referenced by FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_inarc_ammo_toggle(), mechrep_Rfiremode(), mechrep_Rreload(), and MissileHitTarget().
| #define INARC_HOMING_ATTACHED 0x00000002 |
Definition at line 682 of file mech.h.
Referenced by do_magic(), FindNormalBTH(), getStatusChar(), getStatusString(), Mech_ShowFlags(), MissileHitIndex(), MissileHitTarget(), remove_inarc_pods_mech(), remove_inarc_pods_tank(), removeiNarcPodsTank(), and show_narc_pods().
| #define INARC_MODES (INARC_EXPLO_MODE|INARC_HAYWIRE_MODE|INARC_ECM_MODE|INARC_NEMESIS_MODE) |
| #define INARC_NEMESIS_AMMO 59 |
| #define INARC_NEMESIS_ATTACHED 0x00000010 |
Definition at line 685 of file mech.h.
Referenced by do_magic(), remove_inarc_pods_tank(), removeiNarcPodsTank(), and show_narc_pods().
| #define INARC_NEMESIS_MODE 0x00001000 |
Definition at line 632 of file mech.h.
Referenced by FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), and mech_inarc_ammo_toggle().
| #define INF_ANTILEG_TECH 0x04 |
Definition at line 1149 of file mech.h.
Referenced by bsuit_attackleg(), mechrep_Rshowtech(), and PrintWeaponStatus().
| #define INF_MOUNT_TECH 0x02 |
| #define INF_SWARM_TECH 0x01 |
Definition at line 1147 of file mech.h.
Referenced by bsuit_swarm(), mechrep_Rshowtech(), and PrintWeaponStatus().
| #define INFERNO_MODE 0x00000040 |
Definition at line 626 of file mech.h.
Referenced by ammo_explosion(), FindAmmoType(), FindInfernoAmmo(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_inferno(), mechrep_Rfiremode(), mechrep_Rreload(), MissileHitTarget(), and possibly_ignite().
| #define INFERNO_SRM_AMMO 42 |
| #define INFILTRATOR_STEALTH_UNIT 44 |
| #define INFILTRATORII_STEALTH_UNIT 45 |
| #define INVISIBLE 0x04000000 |
| #define IS_ANTI_MISSILE_TECH 0x04 |
Definition at line 1084 of file mech.h.
Referenced by do_magic(), handleWeaponCrit(), load_mechdata(), load_template(), LocateAMSDefenses(), mech_ams(), mechrep_Raddweap(), mechrep_Rshowtech(), save_template(), and update_specials().
| #define IS_JETTISONED_MODE 0x00040000 |
Definition at line 612 of file mech.h.
Referenced by do_magic(), doJettisonChecks(), JettisonPacks(), mech_RepairPart(), and PrintWeaponStatus().
| #define IsAcid | ( | a | ) | (strstr(MechWeapons[a].name, "Acid")) |
| #define IsActuator | ( | a | ) | (IsSpecial(a) && a <= I2Special(HAND_OR_FOOT_ACTUATOR)) |
| #define IsAmmo | ( | a | ) | ((a) >= AMMO_BASE_INDEX && (a) < BOMB_BASE_INDEX) |
Definition at line 121 of file mech.h.
Referenced by ammo_weight(), apply_mechDamage(), BlowDumpingAmmo(), check_for_damage(), check_for_scrappage(), crit_weight(), CriticalStatus(), critslot_func(), critstatus_func(), DestroyParts(), do_magic(), DoAmmunitionCrit(), Dump_Decrease(), dump_item(), FindAmmoType(), FindAmmunition(), FindDestructiveAmmo(), FindInfernoAmmo(), fun_btparttype(), GetPartWeight(), HandleMechCrit(), load_template(), mech_dump(), mech_dump_event(), mech_FillPartAmmo(), mech_RepairPart(), mech_weight_sub_mech(), mech_weight_sub_veh(), mechDamagefunc(), part_figure_out_name_sub(), part_figure_out_shname(), payloadlist_func(), TECHCOMMANDH(), TFUNC_LOCPOS(), unable_to_find_proper_type(), and valid_ammo_mode().
| #define IsArtillery | ( | a | ) | (MechWeapons[a].type==TARTILLERY) |
Definition at line 127 of file mech.h.
Referenced by FindAndCheckAmmo(), FindDestructiveAmmo(), FindGunnerySkillName(), FindInfernoAmmo(), FindMaxAmmoDamage(), FireSpot(), FireWeapon(), FireWeaponNumber(), HandleMechCrit(), handleWeaponCrit(), HitTarget(), IsArtyMech(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define IsBallistic | ( | a | ) | (MechWeapons[a].type==TAMMO) |
Definition at line 129 of file mech.h.
Referenced by FindGunnerySkillName(), possibly_ignite(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define IsBomb | ( | a | ) | ((a) >= BOMB_BASE_INDEX && (a) < SPECIAL_BASE_INDEX) |
Definition at line 122 of file mech.h.
Referenced by bomb_drop(), bomb_list(), dump_item(), fun_btparttype(), GetPartWeight(), load_template(), part_figure_out_name_sub(), part_figure_out_shname(), and SetCargoWeight().
| #define IsCargo | ( | a | ) | ((a) >= CARGO_BASE_INDEX) |
Definition at line 124 of file mech.h.
Referenced by critstatus_func(), fun_btparttype(), GetPartWeight(), part_figure_out_name_sub(), and part_figure_out_shname().
| #define IsCoolant | ( | a | ) | (strstr(MechWeapons[a].name, "Coolant")) |
Definition at line 134 of file mech.h.
Referenced by FireWeapon(), FireWeaponNumber(), and HitTarget().
| #define IsDS | ( | m | ) | (DropShip(MechType(m))) |
Definition at line 703 of file mech.h.
Referenced by ActualElevation(), aero_land(), aero_move_event(), aero_takeoff(), aero_takeoff_event(), ai_crash(), AttackMovementMods(), ChannelEmitKill(), CheckDamage(), DestroySection(), domino_space_in_hex(), Find_Single_DS_In_MechHex(), FindNormalBTH(), FuelCheck(), GetLRSMechChar(), heat_effect(), mech_attachcables(), mech_eject(), mech_embark(), mech_enterbase(), mech_enterbay(), mech_pickup(), mech_ReAttach(), mech_shutdown(), mechs_in_hex(), move_mech(), PhysicalAttack(), Sensor_Sees(), sketch_tac_mechs(), tech_repairs(), and UpdateHeading().
| #define IsEnergy | ( | a | ) | (MechWeapons[a].type==TBEAM) |
| #define IsFlamer | ( | a | ) | (strstr(MechWeapons[a].name, "Flamer")) |
Definition at line 133 of file mech.h.
Referenced by FindGunnerySkillName(), GetBrandIndex(), and HitTarget().
| #define IsMissile | ( | a | ) | (MechWeapons[a].type==TMISSILE) |
Definition at line 128 of file mech.h.
Referenced by auto_calc_weapon_score(), FindDestructiveAmmo(), FindGunnerySkillName(), FindInfernoAmmo(), FindMaxAmmoDamage(), FindNormalBTH(), FireWeapon(), GetBrandIndex(), HandleMechCrit(), handleWeaponCrit(), hit_building(), HitTarget(), Missile_Hit(), MissileHitIndex(), MissileHitTarget(), possibly_ignite(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define IsSpecial | ( | a | ) | ((a) >= SPECIAL_BASE_INDEX && (a) < CARGO_BASE_INDEX) |
Definition at line 123 of file mech.h.
Referenced by crit_weight(), DestroyParts(), FindSpecialItemCodeFromString(), fun_btparttype(), GetPartWeight(), HandleMechCrit(), load_mechdata(), mech_RepairPart(), NormalizeLocActuatorCrits(), part_figure_out_name_sub(), part_figure_out_shname(), SetCargoWeight(), and unable_to_find_proper_type().
| #define IsWeapon | ( | a | ) | ((a) >= WEAPON_BASE_INDEX && (a) < AMMO_BASE_INDEX) |
Definition at line 126 of file mech.h.
Referenced by check_for_damage(), check_for_scrappage(), crit_weight(), CriticalStatus(), critslot_func(), critstatus_func(), do_magic(), dump_item(), FindWeapons_Advanced(), fun_btparttype(), fun_btweapstat(), GetBrandIndex(), GetPartWeight(), HandleMechCrit(), initialize_pc(), load_mechdata(), load_template(), LocateAMSDefenses(), mech_RepairPart(), mech_weight_sub_mech(), mech_weight_sub_veh(), part_figure_out_name_sub(), part_figure_out_shname(), pickRandomWeapon(), TECHCOMMANDH(), TFUNC_LOCPOS(), unable_to_find_proper_type(), update_specials(), and WeaponIndexFromString().
| #define JELLIED 0x00400000 |
Definition at line 1063 of file mech.h.
Referenced by inferno_burn(), inferno_end_event(), load_update1(), and water_extinguish_inferno().
| #define JUMP_JET 10 |
Definition at line 174 of file mech.h.
Referenced by crit_weight(), DestroyParts(), do_sub_magic(), HandleMechCrit(), InvalidVehicleItem(), and mech_RepairPart().
| #define JUMPING 0x00000040 |
Definition at line 946 of file mech.h.
Referenced by DeathFromAbove(), LandMech(), load_update1(), mech_fall_event(), mech_jump(), and MechFalls().
| #define KAGE_STEALTH_UNIT 42 |
| #define KPH_PER_MP 10.75 |
| #define LAC2_AP_AMMO 64 |
| #define LAC2_CASELESS_AMMO 146 |
| #define LAC2_FLECHETTE_AMMO 70 |
| #define LAC2_INCENDIARY_AMMO 76 |
| #define LAC2_PRECISION_AMMO 82 |
| #define LAC5_AP_AMMO 65 |
| #define LAC5_CASELESS_AMMO 147 |
| #define LAC5_FLECHETTE_AMMO 71 |
| #define LAC5_INCENDIARY_AMMO 77 |
| #define LAC5_PRECISION_AMMO 83 |
| #define LAMEQUIP 32 |
| #define LANDED 0x00000001 |
Definition at line 940 of file mech.h.
Referenced by aero_land(), cause_armordamage(), CheckVTOLHeight(), DoVehicleEngineHit(), HandleVTOLCrit(), initiate_ood(), mech_Rsetxy(), mech_startup_event(), mech_udisembark(), MechFalls(), and NewHexEntered().
| #define LARM 0 |
Definition at line 534 of file mech.h.
Referenced by ai_crash(), all_limbs_recycled(), bsuit_attackleg(), canUsePhysical(), cause_internaldamage(), ChargeMech(), CountDestroyedLegs(), CritsInLoc(), DeathFromAbove(), DestroyParts(), DestroySection(), FillDefaultCriticals(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindKickLocation(), FindLegHeatSinks(), FindPunchLocation(), FindSwarmHitLocation(), FindTCHitLoc(), FireWeaponNumber(), get_arm_args(), HandleMechCrit(), initialize_pc(), Invalid_Repair_Path(), Invalid_Scrap_Path(), IsInWeaponArc(), load_template(), loc_mod(), make_damage_table(), make_scrap_table(), mech_axe(), mech_bootlegger(), mech_club(), mech_grabclub(), mech_kickortrip(), mech_mace(), mech_masc_event(), mech_pickup(), mech_punch(), mech_saw(), Mech_ShowFlags(), mech_startup(), mech_sword(), mech_thrash(), MechFloodsLoc(), NormalizeAllActuatorCrits(), NormalizeLocActuatorCrits(), pcombat_hitloc(), PhysicalAttack(), PrintWeaponStatus(), punch_checkArm(), remove_inarc_pods_mech(), techlist_func(), TransferTarget(), and UpdatePilotSkillRolls().
| #define LBX 0x00000002 |
| #define LBX10_AMMO 2 |
| #define LBX20_AMMO 3 |
| #define LBX2_AMMO 0 |
| #define LBX5_AMMO 1 |
| #define LBX_MODE 0x00000001 |
Definition at line 620 of file mech.h.
Referenced by FindAmmoType(), FindNormalBTH(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), HitTarget(), mech_lbx(), mechrep_Rfiremode(), mechrep_Rreload(), and Missile_Hit().
| #define LE_TECH 0x1000000 |
Definition at line 1106 of file mech.h.
Referenced by engine_weight(), mech_weight_sub_mech(), mech_weight_sub_veh(), save_template(), and update_specials().
| #define LEFTSIDE 1 |
Definition at line 35 of file mech.h.
Referenced by blast_arcf(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindAreaHitGroup(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindKickLocation(), FindPunchLocation(), FindTCHitLoc(), and MechFalls().
| #define LIFE_SUPPORT 4 |
Definition at line 168 of file mech.h.
Referenced by FillDefaultCriticals(), HandleMechCrit(), and mech_RepairPart().
| #define LIFE_SUPPORT_DESTROYED 0x00000040 |
| #define LLEG 5 |
Definition at line 539 of file mech.h.
Referenced by ai_crash(), all_limbs_recycled(), bsuit_attackleg(), cause_internaldamage(), ChargeMech(), CountDestroyedLegs(), CritsInLoc(), DeathFromAbove(), DestroyParts(), DestroySection(), FillDefaultCriticals(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindKickLocation(), FindLegHeatSinks(), FindPunchLocation(), FindTCHitLoc(), FireWeaponNumber(), HandleMechCrit(), Invalid_Repair_Path(), IsInWeaponArc(), LandMech(), loc_mod(), make_damage_table(), make_scrap_table(), mech_bootlegger(), mech_kickortrip(), mech_masc_event(), mech_startup(), mech_thrash(), MechFloodsLoc(), NormalizeAllActuatorCrits(), pcombat_hitloc(), pos_part_name(), PrintWeaponStatus(), reactor_explosion(), TransferTarget(), and UpdatePilotSkillRolls().
| #define LOAD_OK 0x00001000 |
| #define LOCK_BUILDING 0x00010000 |
Definition at line 956 of file mech.h.
Referenced by DisplayTarget(), FindNormalBTH(), hex_hit(), hex_target_id(), mech_scan(), mech_settarget(), and short_hextarget().
| #define LOCK_HEX 0x00020000 |
Definition at line 957 of file mech.h.
Referenced by DisplayTarget(), FindNormalBTH(), hex_hit(), hex_target_id(), mech_scan(), mech_settarget(), and short_hextarget().
| #define LOCK_HEX_CLR 0x00080000 |
Definition at line 959 of file mech.h.
Referenced by FindNormalBTH(), hex_hit(), hex_target_id(), mech_settarget(), possibly_ignite_or_clear(), and short_hextarget().
| #define LOCK_HEX_IGN 0x00040000 |
Definition at line 958 of file mech.h.
Referenced by FindNormalBTH(), hex_hit(), hex_target_id(), mech_settarget(), possibly_ignite_or_clear(), and short_hextarget().
| #define LOCK_MODES (LOCK_TARGET|LOCK_BUILDING|LOCK_HEX|LOCK_HEX_IGN|LOCK_HEX_CLR) |
| #define LOCK_TARGET 0x00008000 |
Definition at line 955 of file mech.h.
Referenced by clear_mech_from_LOS(), mech_settarget(), and Sensor_DoWeSeeNow().
| #define LOWER_ACTUATOR 2 |
Definition at line 166 of file mech.h.
Referenced by DestroyParts(), FillDefaultCriticals(), findArmBTHMod(), HandleMechCrit(), InvalidVehicleItem(), load_template(), mech_RepairPart(), NormalizeArmActuatorCrits(), NormalizeLegActuatorCrits(), NormalizeLocActuatorCrits(), PhysicalAttack(), PhysicalDamage(), and remove_inarc_pods_mech().
| #define LR_DFM_AMMO 84 |
| #define LRM_AMMO 4 |
| #define LSIDE 0 |
Definition at line 545 of file mech.h.
Referenced by ai_path_score(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindTCHitLoc(), HandleAdvFasaVehicleCrit(), and IsInWeaponArc().
| #define LSIDEARC 2 |
Definition at line 87 of file mech.h.
Referenced by GetArcID(), getWeaponArc(), InWeaponArc(), IsInWeaponArc(), PhysicalAttack(), and Sensor_ArcBaseChance().
| #define LT_FERRO_FIBROUS 39 |
| #define LT_FF_ARMOR_TECH 0x4000 |
Definition at line 1133 of file mech.h.
Referenced by mech_weight_sub_mech(), mech_weight_sub_veh(), save_template(), and update_specials().
| #define LTORSO 2 |
Definition at line 536 of file mech.h.
Referenced by cause_armordamage(), DamageMech(), FillDefaultCriticals(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindPunchLocation(), FindSwarmHitLocation(), FindTCHitLoc(), FireWeaponNumber(), Invalid_Repair_Path(), Invalid_Scrap_Path(), loc_mod(), make_damage_table(), make_scrap_table(), mech_startup(), mechrep_Rrepair(), mechrep_Rsetarmor(), pcombat_hitloc(), reactor_explosion(), and TransferTarget().
| #define MACE 24 |
Definition at line 188 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), hasPhysical(), have_mace(), and techlist_func().
| #define MAP_PATH mudconf.map_db |
| #define MASC 16 |
Definition at line 180 of file mech.h.
Referenced by crit_weight(), mechrep_Raddspecial(), mechrep_Rdeltech(), and update_specials().
| #define MASC_ENABLED 0x00100000 |
Definition at line 960 of file mech.h.
Referenced by mech_masc(), mech_masc_event(), mech_scharge_event(), MechCargoMaxSpeed(), PrintWeaponStatus(), and UpdateSpeed().
| #define MASC_TECH 0x10 |
Definition at line 1086 of file mech.h.
Referenced by mech_masc(), mech_masc_event(), mechrep_Raddspecial(), mechrep_Rdeltech(), mechrep_Rshowtech(), PrintWeaponStatus(), save_template(), and update_specials().
| #define MAX_WEAPONS_PER_MECH 96 |
Definition at line 577 of file mech.h.
Referenced by BlowDumpingAmmo(), fun_btticweaps(), listtic_fun(), listtic_sub(), mech_weaponspecs(), and multi_weap_sel().
| #define MAX_WEAPS_SECTION 12 |
Definition at line 464 of file mech.h.
Referenced by auto_update_profile_event(), DestroyMainWeapon(), FindAmmunition(), FindMainWeapon(), FindWeaponFromIndex(), FindWeaponIndex(), FindWeaponNumberOnMech_Advanced(), FindWeapons_Advanced(), JamMainWeapon(), mech_weaponspecs(), mech_weaponstatus(), payloadlist_func(), pickRandomWeapon(), PrintEnemyWeaponStatus(), PrintWeaponStatus(), recycle_weaponry(), SectHasBusyWeap(), ValidGunPos(), and weaponstatus_func().
| #define MECH_CONSISTENT 0x10 |
| #define MECH_MAP 0x8 |
Definition at line 1259 of file mech.h.
Referenced by common_checks(), mech_Rsetxy(), mech_set_channelfreq(), mech_set_channelmode(), mech_set_channeltitle(), and mech_startup().
| #define MECH_PATH mudconf.mech_db |
Definition at line 1295 of file mech.h.
Referenced by mechref_path(), mechrep_Rsavetemp(), and mechrep_Rsavetemp2().
| #define MECH_PILOT 0x2 |
| #define MECH_PILOT_CON 0x4 |
| #define MECH_PILOTONLY 0x20 |
| #define MECH_STARTED 0x1 |
| #define MECH_STUNNED 0x40000000 |
Definition at line 1071 of file mech.h.
Referenced by FireWeaponNumber(), mech_crewstun_event(), Mech_ShowFlags(), mech_speed(), ModifyHeadHit(), and PhysicalAttack().
| #define MECH_USUAL (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOT|MECH_STARTED) |
Definition at line 1262 of file mech.h.
Referenced by aero_checklz(), aero_takeoff(), mech_attachcables(), mech_bearing(), mech_contacts(), mech_detachcables(), mech_drop(), mech_dropoff(), mech_dump(), mech_embark(), mech_enterbase(), mech_enterbay(), mech_eta(), mech_findcenter(), mech_heading(), mech_land(), mech_lrsmap(), mech_navigate(), mech_pickup(), mech_radio(), mech_range(), mech_report(), mech_scan(), mech_sight(), mech_speed(), mech_stand(), mech_stores(), mech_tacmap(), mech_vector(), mech_vertical(), and mech_view().
| #define MECH_USUALM (MECH_CONSISTENT|MECH_PILOT_CON|MECH_PILOT|MECH_STARTED) |
| #define MECH_USUALMO (MECH_CONSISTENT|MECH_PILOT_CON|MECH_PILOT|MECH_STARTED|MECH_PILOTONLY) |
Definition at line 1271 of file mech.h.
Referenced by mech_ams(), mech_armorpiercing(), mech_artemis(), mech_caseless(), mech_cluster(), mech_explosive(), mech_flamerheat(), mech_flechette(), mech_fliparms(), mech_gattling(), mech_hotload(), mech_incendiary(), mech_inferno(), mech_lbx(), mech_masc(), mech_mine(), mech_narc(), mech_precision(), mech_rapidfire(), mech_scharge(), mech_sguided(), mech_smoke(), mech_stinger(), mech_swarm(), mech_swarm1(), mech_ultra(), and mech_unjamammo().
| #define MECH_USUALO (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOT|MECH_STARTED|MECH_PILOTONLY) |
Definition at line 1267 of file mech.h.
Referenced by bsuit_attackleg(), bsuit_hide(), bsuit_swarm(), JettisonPacks(), mech_angeleccm(), mech_angelecm(), mech_axe(), mech_bootlegger(), mech_c3_join_leave(), mech_c3_message(), mech_c3_network(), mech_c3_targets(), mech_c3i_join_leave(), mech_c3i_message(), mech_c3i_network(), mech_c3i_targets(), mech_charge(), mech_club(), mech_dig(), mech_disableweap(), mech_eccm(), mech_ecm(), mech_explode(), mech_firetic(), mech_fireweapon(), mech_fixturret(), mech_grabclub(), mech_hulldown(), mech_inarc_ammo_toggle(), mech_jump(), mech_kickortrip(), mech_lateral(), mech_loadcargo(), mech_mace(), mech_nullsig(), mech_pereccm(), mech_perecm(), mech_punch(), mech_rac(), mech_rotatetorso(), mech_saw(), mech_settarget(), mech_slite(), mech_spot(), mech_stealtharmor(), mech_sword(), mech_tag(), mech_target(), mech_thrash(), mech_turret(), remove_inarc_pods_mech(), and show_narc_pods().
| #define MECH_USUALS (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOT) |
Definition at line 1263 of file mech.h.
Referenced by mech_disembark(), mech_eject(), mech_sendchannel(), and vehicle_extinquish_fire().
| #define MECH_USUALSM (MECH_CONSISTENT|MECH_PILOT_CON|MECH_PILOT) |
Definition at line 1265 of file mech.h.
Referenced by mech_addtic(), mech_brief(), mech_cleartic(), mech_critstatus(), mech_deltic(), mech_listtic(), and mech_status().
| #define MECH_USUALSMO (MECH_CONSISTENT|MECH_PILOT_CON|MECH_PILOT|MECH_PILOTONLY) |
| #define MECH_USUALSO (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOT|MECH_PILOTONLY) |
Definition at line 1268 of file mech.h.
Referenced by mech_auto_turret(), mech_bomb(), mech_unloadcargo(), mech_usebin(), and remove_inarc_pods_tank().
| #define MECH_USUALSP (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON) |
| #define MECH_USUALSPO (MECH_CONSISTENT|MECH_MAP|MECH_PILOT_CON|MECH_PILOTONLY) |
| #define MechLockFire | ( | mech | ) |
Value:
((MechStatus(mech) & LOCK_TARGET) && \ !(MechStatus(mech) & (LOCK_BUILDING|LOCK_HEX|LOCK_HEX_IGN|LOCK_HEX_CLR)))
Definition at line 1031 of file mech.h.
Referenced by FireWeaponNumber().
| #define MINE_DROP 4 |
| #define MINE_FALL 3 |
| #define MINE_LAND 2 |
Definition at line 1282 of file mech.h.
Referenced by aero_land(), LandMech(), and make_mine_explode().
| #define MINE_MODE 0x00000010 |
Definition at line 624 of file mech.h.
Referenced by artillery_hit(), artillery_hit_hex(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_mine(), mechrep_Rfiremode(), mechrep_Rreload(), and MissileHitTarget().
| #define MINE_STEP 1 |
Definition at line 1281 of file mech.h.
Referenced by make_mine_explode(), mech_drop(), and NewHexEntered().
| #define MISSILE_MODES (ARTEMIS_MODE|NARC_MODE|INFERNO_MODE|SWARM_MODE|SWARM1_MODE|STINGER_MODE|SGUIDED_MODE) |
| #define MODE_DODGE 0x10 |
| #define MODE_EVADE 0x1 |
Definition at line 1019 of file mech.h.
Referenced by DamageMech(), FindNormalBTH(), and MechFalls().
| #define MODE_OFF 0x8 |
Definition at line 1022 of file mech.h.
Referenced by DamageMech(), MechFalls(), and NewHexEntered().
| #define MODE_SPRINT 0x2 |
Definition at line 1020 of file mech.h.
Referenced by DamageMech(), FindNormalBTH(), MechFalls(), and NewHexEntered().
| #define MOVE_BIPED 0 |
Definition at line 706 of file mech.h.
Referenced by FindPilotingSkillName(), GetLRSMechChar(), GetMoveTypeID(), Mech_ShowFlags(), mech_startup_event(), mechrep_Rsetmove(), mechrep_Rsettype(), move_mech(), NewHexEntered(), and PrintReport().
| #define MOVE_FLY 7 |
Definition at line 717 of file mech.h.
Referenced by ai_crash(), GetLRSMechChar(), GetMoveTypeID(), Mech_ShowFlags(), MechFalls(), mechrep_Rsetmove(), mechrep_Rsettype(), move_mech(), NewHexEntered(), PhysicalAttack(), PrintGenericStatus(), PrintReport(), and UpdateSpeed().
| #define MOVE_FOIL 6 |
Definition at line 712 of file mech.h.
Referenced by DoMotiveSystemHit(), drop_thru_ice(), FindFasaHitLocation(), GetLRSMechChar(), GetMoveTypeID(), HandleVehicleCrit(), Mech_ShowFlags(), mech_startup_event(), mechrep_Rsetmove(), move_mech(), NewHexEntered(), PrintArmorStatus(), PrintGenericStatus(), PrintReport(), PrintShortInfo(), and susp_factor().
| #define MOVE_HOVER 3 |
Definition at line 710 of file mech.h.
Referenced by ai_crash(), auto_astar_generate_path(), auto_roam_generate_target_hex(), CalculateLOSFlag(), CalculateLOSMap(), calcWeatherPilotEffects(), CanChangeTo(), checkVehicleInFire(), collision_check(), DoMotiveSystemHit(), FindFasaHitLocation(), FindPilotingSkillName(), GetLRSMechChar(), GetMoveTypeID(), HandleVehicleCrit(), mech_lateral(), mech_pickup(), Mech_ShowFlags(), mech_shutdown(), mech_startup_event(), mech_weight_sub_veh(), mechrep_Rsetmove(), move_mech(), NewHexEntered(), possibly_drop_thru_ice(), PrintGenericStatus(), PrintReport(), susp_factor(), and swim_except().
| #define MOVE_HULL 5 |
Definition at line 711 of file mech.h.
Referenced by DoMotiveSystemHit(), FindFasaHitLocation(), GetLRSMechChar(), GetMoveTypeID(), HandleVehicleCrit(), Mech_ShowFlags(), mech_startup_event(), mech_weight_sub_veh(), mechrep_Rsetmove(), move_mech(), NewHexEntered(), PrintArmorStatus(), PrintGenericStatus(), PrintReport(), and susp_factor().
| #define MOVE_NONE 10 |
Definition at line 719 of file mech.h.
Referenced by ActualElevation(), crittable(), findCommLink(), HandleAdvFasaVehicleCrit(), HandleFasaVehicleCrit(), HandleVehicleCrit(), heat_effect(), mech_attachcables(), mech_dig(), mech_heading(), mech_pickup(), mech_shutdown(), mech_speed(), mechrep_Rsetmove(), PrintGenericStatus(), PrintInfoStatus(), PrintReport(), ShowTurretFacing(), and UpdatePilotSkillRolls().
| #define MOVE_QUAD 8 |
Definition at line 707 of file mech.h.
Referenced by FindPilotingSkillName(), FindSPilotPiloting(), GetLRSMechChar(), GetMoveTypeID(), invalid_section(), mech_lateral_event(), mech_masc_event(), Mech_ShowFlags(), mechrep_Rsetmove(), mechrep_Rsettype(), move_mech(), NewHexEntered(), PrintReport(), ProperSectionStringFromType(), and techlist_func().
| #define MOVE_SUB 9 |
Definition at line 713 of file mech.h.
Referenced by CheckNavalHeight(), DoMotiveSystemHit(), FindFasaHitLocation(), GetLRSMechChar(), GetMoveTypeID(), HandleVehicleCrit(), mech_move_event(), Mech_ShowFlags(), mech_startup_event(), mech_vertical(), mech_weight_sub_veh(), mechrep_Rsetmove(), move_mech(), NewHexEntered(), possibly_drop_thru_ice(), PrintGenericStatus(), PrintInfoStatus(), PrintReport(), and susp_factor().
| #define MOVE_TRACK 1 |
Definition at line 708 of file mech.h.
Referenced by ai_crash(), auto_astar_generate_path(), auto_roam_generate_target_hex(), collision_check(), DoMotiveSystemHit(), FindFasaHitLocation(), FindPilotingSkillName(), GetLRSMechChar(), GetMoveTypeID(), HandleVehicleCrit(), Mech_ShowFlags(), mech_shutdown(), mech_startup_event(), mechrep_Rsetmove(), move_mech(), NewHexEntered(), PrintGenericStatus(), PrintReport(), susp_factor(), and terrain_speed().
| #define MOVE_VTOL 4 |
Definition at line 716 of file mech.h.
Referenced by ai_crash(), bsuit_hide(), checkVehicleInFire(), fiery_death(), GetLRSMechChar(), GetMoveTypeID(), limitSpeedToCruise(), Mech_ShowFlags(), mech_shutdown(), mech_speed(), mech_startup_event(), MechFalls(), mechrep_Rsetmove(), mechrep_Rsettype(), move_mech(), NewHexEntered(), PhysicalAttack(), PrintGenericStatus(), PrintReport(), susp_factor(), and UpdateSpeed().
| #define MOVE_WHEEL 2 |
Definition at line 709 of file mech.h.
Referenced by ai_crash(), checkVehicleInFire(), DoMotiveSystemHit(), FindFasaHitLocation(), FindPilotingSkillName(), GetLRSMechChar(), GetMoveTypeID(), HandleVehicleCrit(), Mech_ShowFlags(), mech_shutdown(), mech_startup_event(), mechrep_Rsetmove(), move_mech(), NewHexEntered(), PrintGenericStatus(), PrintReport(), susp_factor(), and terrain_speed().
| #define MOVENEMENT_LAST 10 |
| #define MP1 10.75 |
Definition at line 52 of file mech.h.
Referenced by aero_takeoff(), aero_takeoff_event(), aero_thrust(), aero_UpdateSpeed(), ai_adjust_move(), ai_crash(), ai_path_score(), AttackMovementMods(), auto_dumbfollow_event(), bsuit_hide(), char_disembark(), ChargeMech(), CheckVTOLHeight(), DestroyParts(), do_sub_magic(), DoMotiveSystemHit(), DoVTOLRotorDamagedCrit(), FindFasaHitLocation(), FuelCheck(), HandleMechCrit(), HandleOverheat(), HandleVehicleCrit(), initialize_pc(), mech_bootlegger(), mech_embark(), mech_enter_event(), mech_enterbase(), mech_enterbay(), mech_enterbay_event(), mech_jump(), mech_masc(), mech_masc_event(), mech_ood_damage(), mech_scharge(), mech_shutdown(), mech_speed(), mech_status(), MechCargoMaxSpeed(), NewHexEntered(), NormalizeAllActuatorCrits(), NormalizeLegActuatorCrits(), TargetMovementMods(), terrain_speed(), UpdateHeading(), UpdateHeat(), UpdatePilotSkillRolls(), and UpdateSpeed().
| #define MP2 21.50 |
Definition at line 53 of file mech.h.
Referenced by ai_path_score(), FindFasaHitLocation(), FuelCheck(), NewHexEntered(), t_mod(), TargetMovementMods(), terrain_speed(), and UpdateSpeed().
| #define MP3 32.25 |
Definition at line 54 of file mech.h.
Referenced by NewHexEntered(), terrain_speed(), and UpdateSpeed().
| #define MP4 43.00 |
Definition at line 55 of file mech.h.
Referenced by ai_path_score(), t_mod(), TargetMovementMods(), and UpdateSpeed().
| #define MP5 53.75 |
| #define MP6 64.50 |
Definition at line 57 of file mech.h.
Referenced by ai_path_score(), t_mod(), and TargetMovementMods().
| #define MP9 96.75 |
Definition at line 58 of file mech.h.
Referenced by ai_path_score(), t_mod(), and TargetMovementMods().
| #define MP_PER_KPH 0.0930233 |
Definition at line 45 of file mech.h.
Referenced by ai_crash(), ChargeMech(), DestroyParts(), do_sub_magic(), NewHexEntered(), UpdateHeading(), and UpdateHeat().
| #define MRM 0x00100000 |
| #define MRM_AMMO 48 |
| #define MUST_JETTISON_TECH 0x100 |
Definition at line 1155 of file mech.h.
Referenced by doJettisonChecks(), mechrep_Rshowtech(), and PrintWeaponStatus().
| #define NARC 0x00000020 |
Definition at line 495 of file mech.h.
Referenced by FindNormalBTH(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_explosive(), mech_toggle_mode_sub_func(), and MissileHitTarget().
| #define NARC_ATTACHED 0x00000001 |
Definition at line 681 of file mech.h.
Referenced by getStatusChar(), getStatusString(), Mech_ShowFlags(), MissileHitIndex(), MissileHitTarget(), and show_narc_pods().
| #define NARC_LRM_AMMO 7 |
| #define NARC_MODE 0x00000004 |
Definition at line 622 of file mech.h.
Referenced by FindAmmoType(), FindNormalBTH(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_explosive(), mech_narc(), mechrep_Rfiremode(), mechrep_Rreload(), MissileHitIndex(), and MissileHitTarget().
| #define NOARC 0 |
| #define NOBOOM 0x00010000 |
| #define NOSPA 0x00000800 |
| #define NULL_SIGNATURE_SYSTEM 35 |
Definition at line 199 of file mech.h.
Referenced by HandleMechCrit(), mech_RepairPart(), and update_specials().
| #define NULLSIGSYS_TECH 0x10 |
Definition at line 1123 of file mech.h.
Referenced by mech_nullsig(), PrintWeaponStatus(), save_template(), and update_specials().
| #define NUM_AERO_SECTIONS 4 |
| #define NUM_BAYS 4 |
Definition at line 29 of file mech.h.
Referenced by DS_Bay_Is_EnterOK(), DS_Bay_Is_Open(), DS_Place(), and mech_createbays().
| #define NUM_BSUIT_MEMBERS 8 |
Definition at line 560 of file mech.h.
Referenced by ArmorStringFromIndex(), CountBSuitMembers(), doBSuitCommonChecks(), doJettisonChecks(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FireWeaponNumber(), get_bsuit_hitloc(), JettisonPacks(), mech_explode_event(), mech_thrash(), PrintWeaponStatus(), StartBSuitRecycle(), and StopSwarming().
| #define NUM_CRITICALS 12 |
Definition at line 79 of file mech.h.
Referenced by apply_mechDamage(), bomb_drop(), bomb_list(), check_for_damage(), check_for_scrappage(), CountAmmoForWeapon(), CriticalStatus(), CritsInLoc(), DestroyWeapon(), doJettisonChecks(), DS_Bay_Is_Open(), FillDefaultCriticals(), Find_DS_Bay_Number(), findAmmoInSection(), FindArtemisForWeapon(), FindDestructiveAmmo(), FindFirstWeaponCrit(), FindInfernoAmmo(), FindLegHeatSinks(), FindObj(), FindObjWithDest(), FindRoundsForWeapon(), HandleCritical(), HandleMechCrit(), JettisonPacks(), load_mechdata(), LocateAMSDefenses(), mech_weight_sub_mech(), mechrep_Raddweap(), mechrep_Rdeltech(), mechrep_Rrepair(), mechrep_Rsavetemp(), NormalizeLocActuatorCrits(), pos_part_name(), SetCargoWeight(), and techlist_func().
| #define NUM_DS_SECTIONS 6 |
| #define NUM_ITEMS 1024 |
Definition at line 27 of file mech.h.
Referenced by fun_btstores(), initialize_partname_tables(), list_matching(), mech_Rfixstuff(), and SetCargoWeight().
| #define NUM_ITEMS_M 512 |
Definition at line 28 of file mech.h.
Referenced by mech_weight_sub_mech(), and mech_weight_sub_veh().
| #define NUM_SECTIONS 8 |
Definition at line 542 of file mech.h.
Referenced by AccumulateGunXP(), ai_crash(), ammo_expedinture_check(), ammo_weight(), apply_mechDamage(), ArmorStringFromIndex(), bomb_drop(), bomb_list(), calc_ints(), checkAllSections(), checkVehicleInFire(), clear_mech(), completely_intact_int(), CountAmmoForWeapon(), countTotalC3MastersOnMech(), countWorkingC3MastersOnMech(), DestroyMainWeapon(), DestroySection(), DisplayTarget(), do_magic(), do_sub_magic(), explode_unit(), FindAmmoForWeapon_sub(), FindAmmunition(), FindDestructiveAmmo(), FindInfernoAmmo(), FindMainWeapon(), FindNormalBTH(), FindRoundsForWeapon(), FindWeaponFromIndex(), FindWeaponIndex(), FindWeaponNumberOnMech_Advanced(), FireWeapon(), getRemainingArmorPercent(), getRemainingInternalPercent(), HitTarget(), initialize_pc(), JamMainWeapon(), load_mechdata(), load_template(), LocateAMSDefenses(), make_damage_table(), make_scrap_table(), mech_bootlegger(), mech_explode(), mech_int_check(), mech_ood_event(), mech_status(), mech_target(), mech_udisembark(), mech_unjamammo_func(), mech_weaponspecs(), mech_weaponstatus(), mech_weight_sub_mech(), mech_weight_sub_veh(), mechDamagefunc(), MechFloods(), mechrep_Rdeltech(), mechrep_Rresetcrits(), mechrep_Rsavetemp(), mechrep_Rshowtech(), newfreemech(), no_locations_destroyed(), payloadlist_func(), pos_part_name(), PrintEnemyWeaponStatus(), PrintWeaponStatus(), recycle_weaponry(), removeiNarcPodsTank(), SetCargoWeight(), show_narc_pods(), tank_in_pieces(), techlist_func(), unit_is_fixable(), update_specials(), vehicle_int_check(), vehicle_start_burn(), and weaponstatus_func().
| #define NUM_TICS 4 |
Definition at line 576 of file mech.h.
Referenced by addtic_sub(), clear_mech(), deltic_sub(), firetic_sub(), listtic_sub(), and multi_weap_sel().
| #define NUM_TURRETS 3 |
| #define NUM_VEH_SECTIONS 6 |
| #define OBSERVATORIC 0x10000000 |
Definition at line 1069 of file mech.h.
Referenced by mech_hide_event(), PrintEnemyStatus(), and sendchannelstuff().
| #define ON_TC 0x00000010 |
Definition at line 598 of file mech.h.
Referenced by dump_item(), FindNormalBTH(), HitTarget(), mechrep_Raddweap(), PrintWeaponStatus(), and update_specials().
| #define OS_MODE 0x00000100 |
Definition at line 602 of file mech.h.
Referenced by CriticalStatus(), decrement_ammunition(), FindAndCheckAmmo(), mech_toggle_mode_sub_func(), mechrep_Raddweap(), mechrep_Rfiremode(), and PrintWeaponStatus().
| #define OS_USED 0x00000200 |
Definition at line 603 of file mech.h.
Referenced by CriticalStatus(), decrement_ammunition(), do_magic(), FindAndCheckAmmo(), mech_RepairPart(), and PrintWeaponStatus().
| #define OSPECIAL_BASE_INDEX 220 |
| #define OWEIGHT_OK 0x00002000 |
Definition at line 1054 of file mech.h.
Referenced by get_weight(), load_update1(), MechCargoMaxSpeed(), and update_oweight().
| #define PARTIAL_COVER 0x00000010 |
Definition at line 944 of file mech.h.
Referenced by AddTerrainMod(), FindAimHitLoc(), FindTargetHitLoc(), FindTCHitLoc(), and FireWeapon().
| #define PC_INITIALIZED 0x00800000 |
| #define PCOMBAT (PC_HEAT|PC_IMPA|PC_SHAR) |
Definition at line 520 of file mech.h.
Referenced by armor_effect(), CheckWeaponFailed(), dam_to_pc_conversion(), FindBTHByC3Range(), FindBTHByRange(), FindNormalBTH(), GetBrandIndex(), part_figure_out_name_sub(), pc_to_dam_conversion(), possibly_clear(), and possibly_ignite().
| #define PER_ECCM_ENABLED 0x00002000 |
| #define PER_ECM_ENABLED 0x00001000 |
| #define PULSE 0x00000001 |
| #define PURIFIER_ARMOR 41 |
| #define RAC 0x04000000 |
Definition at line 516 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), mech_rac(), and mech_unjam_ammo_event().
| #define RAC_FOURSHOT_MODE 0x00004000 |
Definition at line 608 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), GetWeaponFireModeLetter_Model_Mode(), and mech_rac().
| #define RAC_MODES (RAC_TWOSHOT_MODE|RAC_FOURSHOT_MODE|RAC_SIXSHOT_MODE) |
| #define RAC_SIXSHOT_MODE 0x00008000 |
Definition at line 609 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), GetWeaponFireModeLetter_Model_Mode(), and mech_rac().
| #define RAC_TWOSHOT_MODE 0x00002000 |
Definition at line 607 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), GetWeaponFireModeLetter_Model_Mode(), and mech_rac().
| #define RADIO_INFO 2 |
| #define RADIO_NODIGITAL 8 |
| #define RADIO_RELAY 1 |
Definition at line 71 of file mech.h.
Referenced by findCommLink(), generic_radio_type(), and mech_set_channelmode().
| #define RADIO_SCAN 4 |
| #define RARM 1 |
Definition at line 535 of file mech.h.
Referenced by ai_crash(), all_limbs_recycled(), axe_checkArm(), bsuit_attackleg(), canUsePhysical(), cause_internaldamage(), ChargeMech(), CountDestroyedLegs(), CritsInLoc(), DeathFromAbove(), DestroyParts(), DestroySection(), FillDefaultCriticals(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindKickLocation(), FindLegHeatSinks(), FindPunchLocation(), FindSwarmHitLocation(), FindTCHitLoc(), FireWeaponNumber(), get_arm_args(), HandleMechCrit(), initialize_pc(), Invalid_Repair_Path(), Invalid_Scrap_Path(), IsInWeaponArc(), load_template(), loc_mod(), mace_checkArm(), make_damage_table(), make_scrap_table(), mech_axe(), mech_bootlegger(), mech_club(), mech_grabclub(), mech_kickortrip(), mech_mace(), mech_masc_event(), mech_pickup(), mech_punch(), mech_saw(), Mech_ShowFlags(), mech_startup(), mech_sword(), mech_thrash(), MechFloodsLoc(), NormalizeAllActuatorCrits(), NormalizeLocActuatorCrits(), pcombat_hitloc(), PhysicalAttack(), PrintWeaponStatus(), remove_inarc_pods_mech(), saw_checkArm(), sword_checkArm(), techlist_func(), TransferTarget(), and UpdatePilotSkillRolls().
| #define REAR_MOUNT 0x00000020 |
Definition at line 599 of file mech.h.
Referenced by IsInWeaponArc(), mechrep_Raddweap(), and PrintWeaponStatus().
| #define REARARC 8 |
Definition at line 89 of file mech.h.
Referenced by GetArcID(), getWeaponArc(), InWeaponArc(), IsInWeaponArc(), and Sensor_ArcBaseChance().
| #define REINFI_TECH 0x8000000 |
Definition at line 1109 of file mech.h.
Referenced by cause_internaldamage(), mech_weight_sub_mech(), and mech_weight_sub_veh().
| #define RFAC 0x00800000 |
Definition at line 513 of file mech.h.
Referenced by mech_armorpiercing(), mech_caseless(), mech_flechette(), mech_incendiary(), mech_precision(), and mech_rapidfire().
| #define RFAC_MODE 0x00000800 |
Definition at line 605 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), GetWeaponFireModeLetter_Model_Mode(), mech_rapidfire(), and Missile_Hit().
| #define RIGHTSIDE 2 |
Definition at line 36 of file mech.h.
Referenced by blast_arcf(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindAreaHitGroup(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindKickLocation(), FindPunchLocation(), FindTCHitLoc(), and MechFalls().
| #define RLEG 6 |
Definition at line 540 of file mech.h.
Referenced by ai_crash(), all_limbs_recycled(), bsuit_attackleg(), cause_internaldamage(), ChargeMech(), CountDestroyedLegs(), CritsInLoc(), DeathFromAbove(), DestroyParts(), DestroySection(), FillDefaultCriticals(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindKickLocation(), FindLegHeatSinks(), FindPunchLocation(), FindTCHitLoc(), FireWeaponNumber(), HandleMechCrit(), initialize_pc(), Invalid_Repair_Path(), IsInWeaponArc(), LandMech(), loc_mod(), make_damage_table(), make_scrap_table(), mech_bootlegger(), mech_kickortrip(), mech_masc_event(), mech_startup(), mech_thrash(), MechFloodsLoc(), NormalizeAllActuatorCrits(), pcombat_hitloc(), pos_part_name(), PrintWeaponStatus(), reactor_explosion(), TransferTarget(), and UpdatePilotSkillRolls().
| #define ROCKET 0x10000000 |
Definition at line 518 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), FindNormalBTH(), mech_toggle_mode_sub_func(), and mechrep_Raddweap().
| #define ROCKET_FIRED 0x00100000 |
Definition at line 614 of file mech.h.
Referenced by CriticalStatus(), decrement_ammunition(), do_magic(), FindAndCheckAmmo(), mech_RepairPart(), PrintWeaponStatus(), and recycle_weaponry().
| #define ROTOR 5 |
Definition at line 550 of file mech.h.
Referenced by aero_takeoff(), DamageMech(), DoVTOLRotorDestroyedCrit(), FindAdvFasaVehicleHitLocation(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), HandleAdvFasaVehicleCrit(), mech_fall_event(), mech_udisembark(), and unit_is_fixable().
| #define RSIDE 1 |
Definition at line 546 of file mech.h.
Referenced by ai_path_score(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindTCHitLoc(), HandleAdvFasaVehicleCrit(), and IsInWeaponArc().
| #define RSIDEARC 4 |
Definition at line 88 of file mech.h.
Referenced by GetArcID(), getWeaponArc(), InWeaponArc(), IsInWeaponArc(), PhysicalAttack(), and Sensor_ArcBaseChance().
| #define RTORSO 3 |
Definition at line 537 of file mech.h.
Referenced by cause_armordamage(), DamageMech(), FillDefaultCriticals(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindPunchLocation(), FindSwarmHitLocation(), FindTCHitLoc(), FireWeaponNumber(), Invalid_Repair_Path(), Invalid_Scrap_Path(), loc_mod(), make_damage_table(), make_scrap_table(), mech_startup(), mechrep_Rrepair(), mechrep_Rsetarmor(), pcombat_hitloc(), reactor_explosion(), and TransferTarget().
| #define S_ACTUATOR 36 |
| #define S_ELECTRONIC 33 |
Definition at line 249 of file mech.h.
Referenced by muxevent_tickmech_removesection(), TFUNC_LOC(), TFUNC_LOC_RESEAL(), and TFUNC_LOCPOS().
| #define SALVAGE_TECH 0x1000 |
Definition at line 1094 of file mech.h.
Referenced by DamageMech(), mech_attachcables(), mech_charge(), mech_pickup(), mech_speed(), MechCargoMaxSpeed(), pickup_mw(), and techlist_func().
| #define SCALEMAP 322.5 |
Definition at line 47 of file mech.h.
Referenced by FindRange(), FindXY(), FindXYRange(), FindZBearing(), move_mech(), and RealCoordToMapCoord().
| #define SCHARGE_ENABLED 0x02000000 |
Definition at line 965 of file mech.h.
Referenced by mech_masc_event(), mech_scharge(), mech_scharge_event(), MechCargoMaxSpeed(), PrintWeaponStatus(), and UpdateSpeed().
| #define SECTION_DESTROYED 0x02 |
| #define SectionUnderwater | ( | mech, | |||
| sec | ) | (MechZ(mech) >= 0 ? 0 : (MechZ(mech) < -1) || (Fallen(mech)) ? 1 : ((sec == LLEG) || (sec == RLEG)) || (MechIsQuad(mech) && ((sec == LARM) || (sec == RARM))) ? 1 : 0) |
Definition at line 146 of file mech.h.
Referenced by determineDamageFromHit(), FindArtilleryBTH(), FindBTHByC3Range(), FindBTHByRange(), FindNormalBTH(), and FireWeapon().
| #define SENSORS 5 |
Definition at line 169 of file mech.h.
Referenced by FillDefaultCriticals(), HandleMechCrit(), and mech_RepairPart().
| #define SENSORS_DAMAGED 0x00000002 |
| #define SGUIDED_MODE 0x00080000 |
Definition at line 639 of file mech.h.
Referenced by FindAmmoType(), FindNormalBTH(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_sguided(), mechrep_Rfiremode(), and mechrep_Rreload().
| #define SHOULDER_OR_HIP 0 |
Definition at line 164 of file mech.h.
Referenced by axe_checkArm(), canUsePhysical(), checkGrabClubLocation(), DestroyParts(), FillDefaultCriticals(), HandleMechCrit(), InvalidVehicleItem(), mace_checkArm(), mech_club(), mech_pickup(), mech_RepairPart(), NormalizeArmActuatorCrits(), NormalizeLegActuatorCrits(), NormalizeLocActuatorCrits(), pos_part_name(), punch_checkArm(), saw_checkArm(), sword_checkArm(), and techlist_func().
| #define SINGLE_TICLONG_SIZE 32 |
Definition at line 578 of file mech.h.
Referenced by addtic_sub_func(), deltic_sub_func(), firetic_sub_func(), fun_btticweaps(), listtic_fun(), and listtic_sub().
| #define SLITE_DEST 0x00000400 |
Definition at line 1051 of file mech.h.
Referenced by DamageMech(), Mech_ShowFlags(), mech_slite(), MechSliteChangeEvent(), PrintWeaponStatus(), and SearchLightInRange().
| #define SLITE_LIT 0x00000800 |
Definition at line 1052 of file mech.h.
Referenced by cause_lite(), end_lite_check(), HandleOverheat(), mech_shutdown(), MechSliteChangeEvent(), and PrefVisSens().
| #define SLITE_ON 0x00000020 |
Definition at line 986 of file mech.h.
Referenced by DamageMech(), HandleOverheat(), mech_shutdown(), mech_slite(), MechSliteChangeEvent(), PrefVisSens(), PrintWeaponStatus(), SearchLightInRange(), and update_LOSinfo().
| #define SLITE_TECH 0x4000 |
Definition at line 1096 of file mech.h.
Referenced by DamageMech(), mech_slite(), PrintWeaponStatus(), and SearchLightInRange().
| #define SLRM_AMMO 86 |
| #define SMOKE_MODE 0x00000020 |
Definition at line 625 of file mech.h.
Referenced by artillery_hit(), artillery_hit_hex(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_smoke(), mechrep_Rfiremode(), and mechrep_Rreload().
| #define Special I2Special |
Definition at line 160 of file mech.h.
Referenced by load_template(), mech_scharge_event(), mech_weight_sub_mech(), mech_weight_sub_veh(), pos_part_name(), and TECHCOMMANDH().
| #define Special2I | ( | a | ) | ((a) - SPECIAL_BASE_INDEX) |
Definition at line 152 of file mech.h.
Referenced by countTotalC3MastersOnMech(), countWorkingC3MastersOnMech(), crit_weight(), DestroyParts(), do_sub_magic(), FindSpecialItemCodeFromString(), GetPartWeight(), HandleMechCrit(), isPartOfWorkingC3Master(), mech_RepairPart(), NormalizeArmActuatorCrits(), NormalizeLegActuatorCrits(), NormalizeLocActuatorCrits(), part_figure_out_name_sub(), part_figure_out_shname(), SetCargoWeight(), unable_to_find_proper_type(), and update_specials().
| #define SPECIAL_BASE_INDEX (BOMB_BASE_INDEX + NUM_BOMBS) |
| #define SPEED_OK 0x00004000 |
| #define SpheroidDS | ( | a | ) | (MechType(a)==CLASS_SPHEROID_DS) |
Definition at line 570 of file mech.h.
Referenced by aero_UpdateHeading(), aero_UpdateSpeed(), and aero_vheading().
| #define SpheroidToRear | ( | mech, | |||
| a | ) |
Value:
if (MechType(mech) == CLASS_SPHEROID_DS) \ (a) = ((a) == DS_LWING ? DS_LRWING : DS_RRWING)
Definition at line 571 of file mech.h.
Referenced by FindFasaHitLocation(), FindHitLocation(), and FindHitLocation_CritProof().
| #define SPRINTING 0x00010000 |
Definition at line 997 of file mech.h.
Referenced by DamageMech(), FindNormalBTH(), initiate_ood(), mech_masc_event(), mech_scharge_event(), Mech_ShowFlags(), MechCargoMaxSpeed(), MechFalls(), NewHexEntered(), terrain_speed(), and UpdateHeading().
| #define SR_DFM_AMMO 85 |
| #define SRM_AMMO 5 |
| #define SS_ABILITY 0x40000 |
Definition at line 1100 of file mech.h.
Referenced by mech_startup_event(), mech_udisembark(), save_template(), and sixth_sense_check().
| #define SSRM_AMMO 6 |
| #define STABILIZERS_DESTROYED 0x20 |
Definition at line 677 of file mech.h.
Referenced by do_magic(), DoVehicleStablizerCrit(), and FindNormalBTH().
| #define STARTED 0x00000008 |
Definition at line 943 of file mech.h.
Referenced by common_checks(), Dump_Mech(), HandleOverheat(), and mech_contacts().
| #define STEALTH_ARMOR 34 |
| #define STEALTH_ARMOR_TECH 0x01 |
Definition at line 1119 of file mech.h.
Referenced by mech_stealtharmor(), mech_weight_sub_mech(), mech_weight_sub_veh(), PrintWeaponStatus(), save_template(), and update_specials().
| #define STEALTH_TECH (CS_PURIFIER_STEALTH_TECH|DC_KAGE_STEALTH_TECH|FWL_ACHILEUS_STEALTH_TECH|FC_INFILTRATOR_STEALTH_TECH|FC_INFILTRATORII_STEALTH_TECH) |
| #define STH_ARMOR_ON 0x00000040 |
| #define STINGER_MODE 0x00020000 |
Definition at line 637 of file mech.h.
Referenced by FindAmmoType(), FindBTHByRange(), FindNormalBTH(), FireWeapon(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), mech_stinger(), mechrep_Rfiremode(), and mechrep_Rreload().
| #define STREAK 0x00000008 |
Definition at line 493 of file mech.h.
Referenced by hit_building(), MissileHitIndex(), and MissileHitTarget().
| #define SUPERCHARGER 46 |
| #define SUPERCHARGER_TECH 0x40 |
Definition at line 1125 of file mech.h.
Referenced by mech_scharge(), mech_scharge_event(), and PrintWeaponStatus().
| #define SWARM1_LRM_AMMO 41 |
| #define SWARM1_MODE 0x00000100 |
Definition at line 628 of file mech.h.
Referenced by FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), HitTarget(), mech_swarm1(), mechrep_Rfiremode(), mechrep_Rreload(), and MissileHitTarget().
| #define SWARM_LRM_AMMO 40 |
| #define SWARM_MODE 0x00000080 |
Definition at line 627 of file mech.h.
Referenced by FindAmmoType(), GetAmmoDesc_Model_Mode(), GetWeaponAmmoModeLetter_Model_Mode(), HitTarget(), mech_swarm(), mechrep_Rfiremode(), mechrep_Rreload(), and MissileHitTarget().
| #define SWORD 23 |
Definition at line 187 of file mech.h.
Referenced by crit_weight(), fun_btgetpartcost(), fun_btparttype(), fun_btsetpartcost(), HandleMechCrit(), hasPhysical(), have_sword(), and techlist_func().
| #define TAG 29 |
Definition at line 193 of file mech.h.
Referenced by crit_weight(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define TAG_DESTROYED 0x00000004 |
| #define TAG_TECH 0x8000 |
Definition at line 1134 of file mech.h.
Referenced by isTAGDestroyed(), mechrep_Raddspecial(), mechrep_Rshowtech(), save_template(), and update_specials().
| #define TAIL_ROTOR_DESTROYED 0x20 |
Definition at line 1079 of file mech.h.
Referenced by do_magic(), DoVTOLTailRotorDamagedCrit(), and mech_speed().
| #define TAMMO 3 |
Definition at line 452 of file mech.h.
Referenced by calcWeatherGunEffects(), DoWeaponJamCrit(), and mech_toggle_mode_sub_func().
| #define TARGCOMP_AA 4 |
| #define TARGCOMP_LONG 2 |
| #define TARGCOMP_MULTI 3 |
| #define TARGCOMP_SHORT 1 |
| #define TARGETING_COMPUTER 15 |
Definition at line 179 of file mech.h.
Referenced by crit_weight(), DestroyParts(), HandleMechCrit(), mech_RepairPart(), mechrep_Raddspecial(), and update_specials().
| #define TARTILLERY 2 |
Definition at line 451 of file mech.h.
Referenced by DoWeaponJamCrit(), mech_cluster(), mech_mine(), mech_smoke(), and mech_toggle_mode_sub_func().
| #define TBEAM 0 |
Definition at line 449 of file mech.h.
Referenced by calcWeatherGunEffects(), decrement_ammunition(), DoWeaponJamCrit(), FindAndCheckAmmo(), FindWeaponNumberOnMech_Advanced(), mech_dump(), and part_figure_out_name_sub().
| #define TC_DESTROYED 0x00040000 |
Definition at line 1059 of file mech.h.
Referenced by DestroyParts(), FindNormalBTH(), HandleMechCrit(), HitTarget(), and PrintWeaponStatus().
| #define TCOMP_TECH 0x1000000 |
Definition at line 1144 of file mech.h.
Referenced by mechrep_Raddspecial(), save_template(), and update_specials().
| #define TELE_ALL 1 |
Definition at line 1276 of file mech.h.
Referenced by enter_mw_bay(), mech_embark(), pickup_mw(), and tele_contents().
| #define TELE_LOUD 4 |
| #define TELE_SLAVE 2 |
| #define TELE_XP 8 |
| #define THAND 4 |
Definition at line 453 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), mech_dump(), and part_figure_out_name_sub().
| #define TIC_NUM_DESTROYED -2 |
Definition at line 457 of file mech.h.
Referenced by FindWeaponNumberOnMech_Advanced(), and mech_unjam_ammo_event().
| #define TIC_NUM_PHYSICAL -5 |
| #define TIC_NUM_RECYCLING -4 |
| #define TIC_NUM_RELOADING -3 |
| #define TICLONGS (MAX_WEAPONS_PER_MECH / SINGLE_TICLONG_SIZE) |
Definition at line 579 of file mech.h.
Referenced by clear_mech(), cleartic_sub_func(), and firetic_sub_func().
| #define TMISSILE 1 |
Definition at line 450 of file mech.h.
Referenced by DoWeaponJamCrit(), mech_artemis(), mech_narc(), and mech_toggle_mode_sub_func().
| #define TORSO_LEFT 0x00000004 |
Definition at line 942 of file mech.h.
Referenced by ChargeMech(), InWeaponArc(), IsInWeaponArc(), mech_rotatetorso(), mech_shutdown(), PhysicalAttack(), and PrintEnemyStatus().
| #define TORSO_RIGHT 0x00000002 |
Definition at line 941 of file mech.h.
Referenced by ChargeMech(), InWeaponArc(), IsInWeaponArc(), mech_rotatetorso(), mech_shutdown(), PhysicalAttack(), and PrintEnemyStatus().
| #define TOWED 0x00004000 |
Definition at line 954 of file mech.h.
Referenced by load_update1(), mech_attachcables(), mech_detachcables(), mech_dropoff(), mech_embark(), and mech_pickup().
| #define TRIPLE_MYOMER_TECH 0x01 |
Definition at line 1082 of file mech.h.
Referenced by AttackMovementMods(), mech_speed(), MechCargoMaxSpeed(), mechrep_Raddspecial(), mechrep_Rdeltech(), mechrep_Rshowtech(), PhysicalDamage(), PrintWeaponStatus(), save_template(), update_specials(), UpdateHeading(), UpdateHeat(), UpdatePilotSkillRolls(), and UpdateSpeed().
| #define TRIPLE_STRENGTH_MYOMER 14 |
Definition at line 178 of file mech.h.
Referenced by mechrep_Raddspecial(), mechrep_Rdeltech(), and update_specials().
| #define TURN 30 |
Definition at line 43 of file mech.h.
Referenced by CheckDamage(), DamageMech(), HandleOverheat(), MechFalls(), NewHexEntered(), UpdateHeat(), and UpdatePilotSkillRolls().
| #define TURRET 4 |
Definition at line 549 of file mech.h.
Referenced by ChargeMech(), DoTurretBlownOffCrit(), FindAdvFasaVehicleHitLocation(), FindAimHitLoc(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindTCHitLoc(), FireWeaponNumber(), HandleAdvFasaVehicleCrit(), HandleVehicleCrit(), IsInWeaponArc(), mech_auto_turret(), mech_turret(), mech_unjam_turret_event(), mech_weight_sub_veh(), PrintArmorStatus(), PrintGenericStatus(), PrintShortInfo(), ShowTurretFacing(), unit_is_fixable(), and updateAutoturnTurret().
| #define TURRET_JAMMED 0x02 |
Definition at line 1075 of file mech.h.
Referenced by do_magic(), DoTurretJamCrit(), DoTurretLockCrit(), mech_fixturret(), mech_turret(), mech_unjam_turret_event(), PrintGenericStatus(), and updateAutoturnTurret().
| #define TURRET_LOCKED 0x01 |
Definition at line 1074 of file mech.h.
Referenced by do_magic(), DoTurretJamCrit(), DoTurretLockCrit(), FindFasaHitLocation(), HandleVehicleCrit(), mech_fixturret(), mech_turret(), mech_unjam_turret_event(), PrintGenericStatus(), and updateAutoturnTurret().
| #define TURRETARC 16 |
Definition at line 90 of file mech.h.
Referenced by DisplayTarget(), FindNormalBTH(), getWeaponArc(), InWeaponArc(), IsInWeaponArc(), MechSeesRange(), MechSLitesRange(), PrintReport(), Sensor_ArcBaseChance(), Sensor_CanSee(), and Sensor_SeesNow().
| #define ULTRA 0x00000004 |
| #define ULTRA_MODE 0x00000400 |
Definition at line 604 of file mech.h.
Referenced by decrement_ammunition(), FindAndCheckAmmo(), GetWeaponFireModeLetter_Model_Mode(), mech_ultra(), and Missile_Hit().
| #define Uncon | ( | a | ) | (MechStatus(a) & UNCONSCIOUS) |
Definition at line 1038 of file mech.h.
Referenced by aero_update(), auto_calc_target_score(), ChargeMech(), common_checks(), FireSpot(), getOtherMechInNetwork(), handlemwconc(), LandMech(), MadePilotSkillRoll_Advanced(), MadePilotSkillRoll_NoXP(), mech_enter_event(), mech_enterbay_event(), mech_notify(), mech_ood_event(), mech_printf(), mech_recovery_event(), mech_ss_event(), mech_unblind_event(), mech_unjam_ammo_event(), mech_unjam_turret_event(), mech_update(), ScrambleInfraAndLiteAmp(), and updateAutoturnTurret().
| #define UNCONSCIOUS 0x00002000 |
Definition at line 953 of file mech.h.
Referenced by load_update1(), mech_recovery_event(), and ProlongUncon().
| #define UNDERGRAVITY 0x10000000 |
| #define UNDERSPECIAL 0x08000000 |
| #define UNDERTEMPERATURE 0x20000000 |
| #define UNDERVACUUM 0x40000000 |
| #define UNIT_MOUNTED 0x00100000 |
| #define UNIT_MOUNTING 0x00200000 |
| #define UPPER_ACTUATOR 1 |
Definition at line 165 of file mech.h.
Referenced by DestroyParts(), FillDefaultCriticals(), findArmBTHMod(), HandleMechCrit(), InvalidVehicleItem(), mech_RepairPart(), NormalizeArmActuatorCrits(), NormalizeLegActuatorCrits(), NormalizeLocActuatorCrits(), PhysicalAttack(), PhysicalDamage(), and remove_inarc_pods_mech().
| #define WATERPROOF_TECH 0x100000 |
Definition at line 1139 of file mech.h.
Referenced by auto_astar_generate_path(), drop_thru_ice(), mech_ood_event(), mech_startup_event(), MechFloods(), and NewHexEntered().
| #define WDUMP_MASK "%-24s %2d %2d %2d %2d %2d %3d %2d %2d %d" |
| #define WDUMP_MASKS "%%cgWeapon Name Heat Damage Range: Min Short Med Long VRT C ApT" |
| #define WEAP_DAM_BALL_AMMO 0x00000010 |
Definition at line 652 of file mech.h.
Referenced by canWeapExplodeFromDamage(), check_for_damage(), isWeapAmmoFeedLocked(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define WEAP_DAM_BALL_BARREL 0x00000008 |
Definition at line 651 of file mech.h.
Referenced by canWeapJamFromDamage(), check_for_damage(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define WEAP_DAM_EN_CRYSTAL 0x00000004 |
Definition at line 650 of file mech.h.
Referenced by canWeapExplodeFromDamage(), check_for_damage(), getCritAddedHeat(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define WEAP_DAM_EN_FOCUS 0x00000002 |
Definition at line 649 of file mech.h.
Referenced by check_for_damage(), getCritAddedBTH(), getCritSubDamage(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define WEAP_DAM_MODERATE 0x00000001 |
Definition at line 648 of file mech.h.
Referenced by getCritAddedBTH(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define WEAP_DAM_MSL_AMMO 0x00000040 |
Definition at line 654 of file mech.h.
Referenced by canWeapExplodeFromDamage(), check_for_damage(), isWeapAmmoFeedLocked(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define WEAP_DAM_MSL_RANGING 0x00000020 |
Definition at line 653 of file mech.h.
Referenced by check_for_damage(), getCritAddedBTH(), scoreEnhancedWeaponCriticalHit(), and showWeaponDamageAndInfo().
| #define Weapon2I | ( | a | ) | ((a) - WEAPON_BASE_INDEX) |
Definition at line 154 of file mech.h.
Referenced by check_for_damage(), check_for_scrappage(), CheckWeaponFailed(), crit_weight(), critslot_func(), do_magic(), DoWeaponDestroyedCrit(), DoWeaponJamCrit(), dump_item(), FindAmmoForWeapon_sub(), FindWeapons_Advanced(), fun_btticweaps(), fun_btweapstat(), GetBrandIndex(), GetPartWeight(), getWeapData(), GetWeaponAmmoModeLetter(), GetWeaponFireModeLetter(), HandleMechCrit(), handleWeaponCrit(), initialize_pc(), listtic_fun(), load_mechdata(), load_template(), LoadSpecialObjects(), LocateAMSDefenses(), mech_disableweap_func(), mech_toggle_mode_sub_func(), mech_weight_sub_mech(), mech_weight_sub_veh(), muxevent_tickmech_removegun(), muxevent_tickmech_repairenhcrit(), muxevent_tickmech_repairgun(), muxevent_tickmech_replacegun(), part_figure_out_name_sub(), part_figure_out_shname(), TECHCOMMANDH(), TFUNC_LOCPOS(), update_specials(), WeaponIndexFromString(), WeaponIsNonfunctional(), and weaponstatus_func().
| #define WILL_JETTISON_MODE 0x00020000 |
Definition at line 611 of file mech.h.
Referenced by CriticalStatus(), doJettisonChecks(), JettisonPacks(), mechrep_Rfiremode(), and PrintWeaponStatus().
| #define WSDUMP_MASK_ER "%-24s %2d %2d %2d %2d %2d %3d %3d %2d" |
| #define WSDUMP_MASK_NOER "%-24s %2d %2d %2d %2d %2d %3d %2d" |
| #define WSDUMP_MASKS_ER "%%cgWeapon Name Heat Damage Range: Min Short Med Long Ext VRT" |
| #define WSDUMP_MASKS_NOER "%%cgWeapon Name Heat Damage Range: Min Short Med Long VRT" |
| #define XL_TECH 0x200000 |
Definition at line 1103 of file mech.h.
Referenced by engine_weight(), mech_weight_sub_mech(), mech_weight_sub_veh(), save_template(), and update_specials().
| #define XLGYRO_TECH 0x200000 |
| #define XXL_TECH 0x2000000 |
Definition at line 1107 of file mech.h.
Referenced by engine_weight(), mech_weight_sub_mech(), mech_weight_sub_veh(), save_template(), and update_specials().
| #define YSCALE2 9.61482e-6 |
| #define ZSCALE 64.5 |
Definition at line 49 of file mech.h.
Referenced by aero_land(), calc_dest(), CheckNavalHeight(), CheckVTOLHeight(), DeathFromAbove(), DoVehicleEngineHit(), DoVehicleFuelTankCrit(), DropSetElevation(), findC3RangeWithNetwork(), FindTargetXY(), FireSpot(), FireWeaponNumber(), fun_btgetrange(), fun_btmapemit(), fun_btmapunits(), HandleVTOLCrit(), initiate_ood(), LandMech(), mech_fall_event(), mech_jump(), mech_ood_event(), mech_range(), mech_report(), mech_Rsetxy(), mech_scan(), mech_udisembark(), mech_vector(), MechFalls(), MechSeesHexF(), MechSeesRange(), MechSLitesRange(), move_mech(), move_unit_back(), NewHexEntered(), and simulate_flight().
| void * FindObjectsData | ( | dbref | key | ) |
Definition at line 1058 of file glue.c.
References FindObjectsNode(), and NodeData.
Referenced by add_links(), alter_conditions(), auto_cal_mapindex(), auto_com_event(), auto_reply(), blast_hit_hexf(), break_thru_ice(), bsuit_hide(), BSuitMirrorSwarmedTarget(), calcWeatherPilotEffects(), checkECM(), clear_mech_from_LOS(), CountSwarmers(), domino_space(), domino_space_in_hex(), drop_thru_ice(), end_lite_check(), find_mech_in_hex(), Find_Single_DS_In_MechHex(), findCommLink(), findSwarmers(), firetic_sub_func(), fun_btarmorstatus(), fun_btcritslot(), fun_btcritstatus(), fun_btdamagemech(), fun_btdamages(), fun_btgetbv(), fun_btgetrealmaxspeed(), fun_btgetxcodevalue(), fun_btmakepilotroll(), fun_btmapelev(), fun_btmapterr(), fun_btnumrepjobs(), fun_btremovestores(), fun_btsetarmorstatus(), fun_btsetmaxspeed(), fun_btsetxcodevalue(), fun_bttechlist(), fun_bttechstatus(), fun_btticweaps(), fun_btunderrepair(), fun_btweaponstatus(), getEnemies(), getFriends(), HandleMechCrit(), IsMechMounted(), IsMechSwarmed(), LandMech(), Leave_DS_Bay(), Leave_Hangar(), litemark_map(), load_template(), loadrepairs(), mech_contacts(), mech_createbays(), mech_drop(), mech_enter_event(), mech_enterbase(), mech_enterbay_event(), mech_lock_event(), mech_plos_event(), mech_Rsetmapindex(), mech_set_channelfreq(), mech_target(), mech_thrash(), mech_underlying_terrain(), MechBroadcast(), MechCargoMaxSpeed(), MechFalls(), MechFireBroadcast(), mechs_in_hex(), navigate_sketch_mechs(), newfreemech(), possibly_blow_bridge(), possibly_blow_ice(), possibly_ignite_or_clear(), possibly_remove_mines(), PrintGenericStatus(), SearchLightInRange(), sendchannelstuff(), set_xcodestuff(), showNetworkTargets(), StopBSuitSwarmers(), SwarmHitTarget(), TargetMovementMods(), UpdateHeading(), UpdateHeat(), and UpdateMechsTerrain().
01059 { 01060 Node *tmp; 01061 01062 if((tmp = FindObjectsNode(key))) 01063 return NodeData(tmp); 01064 return NULL; 01065 }
| struct weapon_struct MechWeapons[] |
| struct missile_hit_table_struct MissileHitTable[] |
Definition at line 411 of file weapons.h.
Referenced by auto_calc_weapon_score(), FindDestructiveAmmo(), FindInfernoAmmo(), FindMaxAmmoDamage(), HandleMechCrit(), handleWeaponCrit(), hit_building(), HitTarget(), LoadSpecialObjects(), MissileHitTarget(), and SwarmHitTarget().
1.4.7