Move prototype of which_bomb to weapon.h
This commit is contained in:
parent
6ef38884e1
commit
4e3f3f3103
|
@ -1070,9 +1070,6 @@ char *d2_very_short_secondary_weapon_names[] =
|
||||||
((weapon_num <= MEGA_INDEX)?(*(&TXT_CONCUSSION + (weapon_num))): \
|
((weapon_num <= MEGA_INDEX)?(*(&TXT_CONCUSSION + (weapon_num))): \
|
||||||
d2_very_short_secondary_weapon_names[weapon_num-SMISSILE1_INDEX])
|
d2_very_short_secondary_weapon_names[weapon_num-SMISSILE1_INDEX])
|
||||||
|
|
||||||
//return which bomb will be dropped next time the bomb key is pressed
|
|
||||||
extern int which_bomb();
|
|
||||||
|
|
||||||
void show_bomb_count(int x,int y,int bg_color,int always_show,int right_align)
|
void show_bomb_count(int x,int y,int bg_color,int always_show,int right_align)
|
||||||
{
|
{
|
||||||
int bomb,count,w=0,h=0,aw=0;
|
int bomb,count,w=0,h=0,aw=0;
|
||||||
|
|
|
@ -1989,8 +1989,6 @@ void release_guided_missile(int player_num)
|
||||||
|
|
||||||
int Proximity_dropped=0,Smartmines_dropped=0;
|
int Proximity_dropped=0,Smartmines_dropped=0;
|
||||||
|
|
||||||
extern int which_bomb();
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------------------
|
||||||
//changed on 31/3/10 by kreatordxx to distinguish between drop bomb and secondary fire
|
//changed on 31/3/10 by kreatordxx to distinguish between drop bomb and secondary fire
|
||||||
void do_missile_firing(int drop_bomb)
|
void do_missile_firing(int drop_bomb)
|
||||||
|
|
|
@ -230,4 +230,7 @@ extern void init_smega_detonates(void);
|
||||||
*/
|
*/
|
||||||
extern int weapon_info_read_n(weapon_info *wi, int n, PHYSFS_file *fp, int file_version);
|
extern int weapon_info_read_n(weapon_info *wi, int n, PHYSFS_file *fp, int file_version);
|
||||||
|
|
||||||
|
//return which bomb will be dropped next time the bomb key is pressed
|
||||||
|
int which_bomb(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue