src/hcode/btech/mech.sensor.h File Reference

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

Go to the source code of this file.

Data Structures

struct  SensorStruct

Defines

#define ESEEFUNC(a)   extern int a (MECH *, MAP *, int, float, int, int);
#define SEEFUNC(a, b)   int a (MECH *t, MAP *map, int num, float r, int c, int l) { return (int) (b); }
#define ECSEEFUNC(a)   extern int a (MECH *, MECH *, MAP *, float, int);
#define CSEEFUNC(a, b)   int a (MECH *m, MECH *t, MAP *map, float r, int f) { return (int) (b); }
#define ETOHITFUNC(a)   extern int a (MECH *, MECH *, MAP *, int, int);
#define TOHITFUNC(a, b)   int a (MECH *m, MECH *t, MAP *map, int f, int l) { return (int) (b); }
#define SENSOR_VIS   0
#define SENSOR_LA   1
#define SENSOR_IR   2
#define SENSOR_EM   3
#define SENSOR_SE   4
#define SENSOR_RA   5
#define SENSOR_BAP   6
#define SENSOR_BHAP   7
#define SENSOR_ATTR_NONE   0
#define SENSOR_ATTR_SEISMIC   1

Functions

 ESEEFUNC (vislight_see)
 ESEEFUNC (liteamp_see)
 ESEEFUNC (infrared_see)
 ESEEFUNC (electrom_see)
 ESEEFUNC (seismic_see)
 ESEEFUNC (radar_see)
 ESEEFUNC (bap_see)
 ESEEFUNC (blood_see)
 ECSEEFUNC (vislight_csee)
 ECSEEFUNC (liteamp_csee)
 ECSEEFUNC (infrared_csee)
 ECSEEFUNC (electrom_csee)
 ECSEEFUNC (seismic_csee)
 ECSEEFUNC (radar_csee)
 ECSEEFUNC (bap_csee)
 ECSEEFUNC (blood_csee)
 ETOHITFUNC (vislight_tohit)
 ETOHITFUNC (liteamp_tohit)
 ETOHITFUNC (infrared_tohit)
 ETOHITFUNC (electrom_tohit)
 ETOHITFUNC (seismic_tohit)
 ETOHITFUNC (radar_tohit)
 ETOHITFUNC (bap_tohit)
 ETOHITFUNC (blood_tohit)

Variables

SensorStruct sensors []


Define Documentation

#define CSEEFUNC ( a,
 )     int a (MECH *m, MECH *t, MAP *map, float r, int f) { return (int) (b); }

Definition at line 79 of file mech.sensor.h.

#define ECSEEFUNC (  )     extern int a (MECH *, MECH *, MAP *, float, int);

Definition at line 78 of file mech.sensor.h.

#define ESEEFUNC (  )     extern int a (MECH *, MAP *, int, float, int, int);

Definition at line 66 of file mech.sensor.h.

#define ETOHITFUNC (  )     extern int a (MECH *, MECH *, MAP *, int, int);

Definition at line 90 of file mech.sensor.h.

#define SEEFUNC ( a,
 )     int a (MECH *t, MAP *map, int num, float r, int c, int l) { return (int) (b); }

Definition at line 67 of file mech.sensor.h.

#define SENSOR_ATTR_NONE   0

Definition at line 112 of file mech.sensor.h.

#define SENSOR_ATTR_SEISMIC   1

Definition at line 113 of file mech.sensor.h.

Referenced by CanChangeTo().

#define SENSOR_BAP   6

Definition at line 109 of file mech.sensor.h.

Referenced by auto_sensor_event().

#define SENSOR_BHAP   7

Definition at line 110 of file mech.sensor.h.

Referenced by auto_sensor_event().

#define SENSOR_EM   3

Definition at line 106 of file mech.sensor.h.

Referenced by auto_sensor_event().

#define SENSOR_IR   2

Definition at line 105 of file mech.sensor.h.

Referenced by auto_sensor_event().

#define SENSOR_LA   1

Definition at line 104 of file mech.sensor.h.

Referenced by PrefVisSens().

#define SENSOR_RA   5

Definition at line 108 of file mech.sensor.h.

Referenced by auto_sensor_event().

#define SENSOR_SE   4

Definition at line 107 of file mech.sensor.h.

#define SENSOR_VIS   0

Definition at line 103 of file mech.sensor.h.

Referenced by auto_sensor_event(), and PrefVisSens().

#define TOHITFUNC ( a,
 )     int a (MECH *m, MECH *t, MAP *map, int f, int l) { return (int) (b); }

Definition at line 91 of file mech.sensor.h.


Function Documentation

ECSEEFUNC ( blood_csee   ) 

ECSEEFUNC ( bap_csee   ) 

ECSEEFUNC ( radar_csee   ) 

ECSEEFUNC ( seismic_csee   ) 

ECSEEFUNC ( electrom_csee   ) 

ECSEEFUNC ( infrared_csee   ) 

ECSEEFUNC ( liteamp_csee   ) 

ECSEEFUNC ( vislight_csee   ) 

ESEEFUNC ( blood_see   ) 

ESEEFUNC ( bap_see   ) 

ESEEFUNC ( radar_see   ) 

ESEEFUNC ( seismic_see   ) 

ESEEFUNC ( electrom_see   ) 

ESEEFUNC ( infrared_see   ) 

ESEEFUNC ( liteamp_see   ) 

ESEEFUNC ( vislight_see   ) 

ETOHITFUNC ( blood_tohit   ) 

ETOHITFUNC ( bap_tohit   ) 

ETOHITFUNC ( radar_tohit   ) 

ETOHITFUNC ( seismic_tohit   ) 

ETOHITFUNC ( electrom_tohit   ) 

ETOHITFUNC ( infrared_tohit   ) 

ETOHITFUNC ( liteamp_tohit   ) 

ETOHITFUNC ( vislight_tohit   ) 


Variable Documentation

SensorStruct sensors[]

Referenced by add_sensor_info(), CanChangeTo(), HandleMechCrit(), MechSeesOverMountain(), MechSeesRange(), MechSeesThroughWater(), MechSeesThroughWoods(), ScrambleInfraAndLiteAmp(), Sensor_CanSee(), sensor_light_availability_check(), sensor_mode_name(), Sensor_Sees(), Sensor_SeesNow(), Sensor_ToHitBonus(), and set_sensor().


Generated on Mon May 28 04:25:37 2007 for BattletechMUX by  doxygen 1.4.7