00001
00002
00003
00004 #ifndef _P_MECH_BTH_H
00005 #define _P_MECH_BTH_H
00006
00007 int FindNormalBTH(MECH * mech, MAP * mech_map, int section, int critical,
00008 int weapindx, float range, MECH * target, int indirectFire,
00009 dbref * c3Ref);
00010 int FindArtilleryBTH(MECH * mech, int section, int weapindx, int indirect,
00011 float range);
00012 int FindBTHByRange(MECH * mech, MECH * target, int section,
00013 int weapindx, float frange, int firemode, int ammomode,int *wBTH);
00014 int FindBTHByC3Range(MECH * mech, MECH * target, int section,
00015 int weapindx, float realRange, float c3Range, int mode, int *wBTH);
00016 int AttackMovementMods(MECH * mech);
00017 int TargetMovementMods(MECH * mech, MECH * target, float range);
00018
00019 #define RANGE_SHORT 0
00020 #define RANGE_MED 1
00021 #define RANGE_LONG 2
00022 #define RANGE_EXTREME 3
00023 #define RANGE_TOFAR 4
00024 #define RANGE_NOWATER 5
00025
00026 #endif