Galactic Bloodshed
Functions
shootblast.h File Reference
#include "gb/config.h"
#include "gb/races.h"
#include "gb/ships.h"
#include "gb/vars.h"
Include dependency graph for shootblast.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int shoot_ship_to_ship (Ship *, Ship *, int, int, int, char *, char *)
 
int shoot_planet_to_ship (Race *, Ship *, int, char *, char *)
 
int shoot_ship_to_planet (Ship *, Planet *, int, int, int, SectorMap &, int, int, char *, char *)
 
int hit_odds (double, int *, double, int, int, int, int, int, int, int, int)
 
double gun_range (Race *, Ship *, int)
 
double tele_range (int, double)
 
int current_caliber (Ship *)
 
void do_collateral (Ship *, int, int *, int *, int *, int *)
 
int planet_guns (int)
 

Function Documentation

◆ current_caliber()

int current_caliber ( Ship )

Definition at line 546 of file shootblast.cc.

Referenced by ship_report(), and shoot_ship_to_ship().

Here is the caller graph for this function:

◆ do_collateral()

void do_collateral ( Ship ,
int  ,
int *  ,
int *  ,
int *  ,
int *   
)

Definition at line 603 of file shootblast.cc.

Referenced by do_damage(), and people_attack_mech().

Here is the caller graph for this function:

◆ gun_range()

double gun_range ( Race ,
Ship ,
int   
)

Definition at line 530 of file shootblast.cc.

Referenced by profile(), and shoot_ship_to_ship().

Here is the caller graph for this function:

◆ hit_odds()

int hit_odds ( double  ,
int *  ,
double  ,
int  ,
int  ,
int  ,
int  ,
int  ,
int  ,
int  ,
int   
)

Definition at line 493 of file shootblast.cc.

Referenced by Num_hits(), and ship_report().

Here is the caller graph for this function:

◆ planet_guns()

int planet_guns ( int  )

Definition at line 629 of file shootblast.cc.

Referenced by doplanet(), and shoot_ship_to_planet().

Here is the caller graph for this function:

◆ shoot_planet_to_ship()

int shoot_planet_to_ship ( Race ,
Ship ,
int  ,
char *  ,
char *   
)

Referenced by bombard().

Here is the caller graph for this function:

◆ shoot_ship_to_planet()

int shoot_ship_to_planet ( Ship ,
Planet ,
int  ,
int  ,
int  ,
SectorMap ,
int  ,
int  ,
char *  ,
char *   
)

Definition at line 188 of file shootblast.cc.

References mutate_sector(), and planet_guns().

Referenced by bombard(), defend(), domissile(), and land().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shoot_ship_to_ship()

int shoot_ship_to_ship ( Ship ,
Ship ,
int  ,
int  ,
int  ,
char *  ,
char *   
)

Definition at line 43 of file shootblast.cc.

References CEW_hit(), current_caliber(), do_damage(), do_radiation(), gun_range(), Num_hits(), and ship_disposition().

Referenced by bombard(), doabm(), domissile(), and fire().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tele_range()

double tele_range ( int  ,
double   
)

Definition at line 539 of file shootblast.cc.

Referenced by initialize_new_ship(), mk_expl_aimed_at(), and profile().

Here is the caller graph for this function: