Move prototype of which_bomb to weapon.h
This commit is contained in:
parent
68260da95b
commit
d732d505f6
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue