00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef _P_ARTILLERY_H
00013 #define _P_ARTILLERY_H
00014
00015
00016 int artillery_round_flight_time(float fx, float fy, float tx, float ty);
00017 void artillery_shoot(MECH * mech, int targx, int targy, int windex,
00018 int wmode, int ishit);
00019 void blast_hit_hexf(MAP * map, int dam, int singlehitsize, int heatdam,
00020 float fx, float fy, float tfx, float tfy, char *tomsg, char *otmsg,
00021 int table, int safeup, int safedown, int isunderwater);
00022 void blast_hit_hex(MAP * map, int dam, int singlehitsize, int heatdam,
00023 int fx, int fy, int tx, int ty, char *tomsg, char *otmsg, int table,
00024 int safeup, int safedown, int isunderwater);
00025 void blast_hit_hexesf(MAP * map, int dam, int singlehitsize, int heatdam,
00026 float fx, float fy, float ftx, float fty, char *tomsg, char *otmsg,
00027 char *tomsg1, char *otmsg1, int table, int safeup, int safedown,
00028 int isunderwater, int doneighbors);
00029 void blast_hit_hexes(MAP * map, int dam, int singlehitsize, int heatdam,
00030 int tx, int ty, char *tomsg, char *otmsg, char *tomsg1, char *otmsg1,
00031 int table, int safeup, int safedown, int isunderwater,
00032 int doneighbors);
00033 void artillery_FriendlyAdjustment(dbref mechnum, MAP * map, int x, int y);
00034
00035 #endif