00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef _P_MECH_SENSOR_H
00013 #define _P_MECH_SENSOR_H
00014
00015
00016 int Sensor_ToHitBonus(MECH * mech, MECH * target, int flag, int maplight,
00017 float range, int wAmmoMode);
00018 int Sensor_CanSee(MECH * mech, MECH * target, int *flag, int arc,
00019 float range, int mapvis, int maplight, int cloudbase);
00020 int Sensor_ArcBaseChance(int type, int arc);
00021 int Sensor_DriverBaseChance(MECH * mech);
00022 int Sensor_Sees(MECH * mech, MECH * target, int f, int arc, float range,
00023 int snum, int chance_divisor, int mapvis, int maplight);
00024 int Sensor_SeesNow(MECH * mech, MECH * target, int f, int arc, float range,
00025 int mapvis, int maplight);
00026 char *my_dump_flag(int i);
00027 void Sensor_DoWeSeeNow(MECH * mech, unsigned short *fl, float range, int x,
00028 int y, MECH * target, int mapvis, int maplight, int cloudbase,
00029 int seeanew, int wlf);
00030 void update_LOSinfo(dbref obj, MAP * map);
00031 void add_sensor_info(char *buf, MECH * mech, int sn, int verbose);
00032 char *mechSensorInfo(int mode, MECH * mech, char *arg);
00033 int CanChangeTo(MECH * mech, int s);
00034 void sensor_light_availability_check(MECH * mech);
00035 void mech_sensor(dbref player, void *data, char *buffer);
00036 void possibly_see_mech(MECH * mech);
00037 void ScrambleInfraAndLiteAmp(MECH * mech, int time, int chance,
00038 char *inframsg, char *liteampmsg);
00039
00040 #endif