(ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak().

Move common flak damage code from ac_fireflak() and
pinflak_planedamage() to ac_calc_flak().
This commit is contained in:
Ron Koenderink 2004-12-16 19:40:06 +00:00
parent 3645ee77c8
commit 2c4b89e2d1
4 changed files with 35 additions and 40 deletions

View file

@ -161,7 +161,7 @@ double bankint = 0.25; /* bank interest rate (dt * bars) */
double tradetax = 0.99; /* Tax charged on trade */
double buytax = 1.0; /* Tax charged on market purchases */
int startmob = 127; /* Sanctuary starting mobility */
double flakscale = 1.75; /* Scale factor for flak damage */
float flakscale = 1.75f; /* Scale factor for flak damage */
/* money gained from taxes, paid to military, and reservists */
double money_civ = 0.0083333;