Move prototype of which_bomb to weapon.h

This commit is contained in:
Kp 2013-03-10 03:11:16 +00:00
parent 6ef38884e1
commit 4e3f3f3103
3 changed files with 3 additions and 5 deletions

View file

@ -1070,9 +1070,6 @@ char *d2_very_short_secondary_weapon_names[] =
((weapon_num <= MEGA_INDEX)?(*(&TXT_CONCUSSION + (weapon_num))): \
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)
{
int bomb,count,w=0,h=0,aw=0;

View file

@ -1989,8 +1989,6 @@ void release_guided_missile(int player_num)
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
void do_missile_firing(int drop_bomb)

View file

@ -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);
//return which bomb will be dropped next time the bomb key is pressed
int which_bomb(void);
#endif