empserver/include
Markus Armbruster ff67d93711 (max_population): New, factored out of max_pop().
(max_pop): Use it.  Don't support null argument anymore.
(nati, gen_power): Use max_population() instead of max_pop() with null
argument.
(show_sect_stats): Use max_population() to simplify the code.
(prod, upd_buildeff): Use max_population() to get correct new maximum
population for limiting work when tearing down a big city.
Previously, this was broken in upd_buildeff().  In prod(), it was
broken when the new designation had odd maximum population, which
should not occur.
2005-02-17 21:04:08 +00:00
..
.cvsignore List generated files and directories that CVS doesn't ignore by 2003-10-04 14:54:09 +00:00
budg.h (I_NONE, I_CIVIL, I_MILIT, I_SHELL, I_GUN, I_PETROL, I_IRON, I_DUST, 2004-09-16 21:18:01 +00:00
com.h Use plain char * instead of s_char *. 2004-09-10 18:18:31 +00:00
combat.h Update copyright notice. 2004-09-07 15:07:16 +00:00
commands.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
commodity.h (I_NONE, I_CIVIL, I_MILIT, I_SHELL, I_GUN, I_PETROL, I_IRON, I_DUST, 2004-09-16 21:18:01 +00:00
common.h Update copyright notice. 2004-09-07 15:07:16 +00:00
damage.h Update copyright notice. 2004-09-07 15:07:16 +00:00
distribute.h Update copyright notice. 2004-09-07 15:07:16 +00:00
econfig-spec.h (ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak(). 2004-12-16 19:28:17 +00:00
empio.h Update copyright notice. 2004-09-07 15:07:16 +00:00
empthread.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
event.h Update copyright notice. 2004-09-07 15:07:16 +00:00
file.h (EFF_COM,ef_items): No longer in use after removal of 'variables'. Removed. 2004-12-16 12:22:58 +00:00
gen.h Update copyright notice. 2004-09-07 15:07:16 +00:00
genitem.h Update copyright notice. 2004-09-07 15:07:16 +00:00
global.h Update copyright notice. 2004-09-07 15:07:16 +00:00
ioqueue.h Update copyright notice. 2004-09-07 15:07:16 +00:00
item.h (i_type, I_NONE): shift the enum down 1, so that I_NONE does not need to 2004-10-12 19:48:53 +00:00
land.h (sct_pstage, sct_ptime, shp_pstage, shp_ptime, lnd_pstage, lnd_ptime): 2004-12-12 19:39:35 +00:00
loan.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
lost.h Update copyright notice. 2004-09-07 15:07:16 +00:00
lwp.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
map.h Update copyright notice. 2004-09-07 15:07:16 +00:00
match.h Update copyright notice. 2004-09-07 15:07:16 +00:00
misc.h Break an inclusion cycle missed by yesterday's change. 2005-02-13 10:37:46 +00:00
mission.h Update copyright notice. 2004-09-07 15:07:16 +00:00
nat.h Update copyright notice. 2004-09-07 15:07:16 +00:00
news.h Use plain char * instead of s_char *. 2004-09-10 18:18:31 +00:00
nsc.h (tend_nxtitem,nxtitem,sarg_type,snxtitem,snxtitem_all,snxtsct,nxtitemp): 2004-12-31 20:14:10 +00:00
nuke.h Use plain char * instead of s_char *. 2004-09-10 18:18:31 +00:00
options.h (NUKEFAILDETONATE, opt_NUKEFAILDETONATE, Options, msl_hit): Remove 2004-12-17 19:45:33 +00:00
optlist.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
path.h (mcost): Unused, remove. 2004-10-05 18:41:18 +00:00
plague.h (var.h, plague.h): Since all that was left in var.h were some plague 2004-10-12 20:25:33 +00:00
plane.h (ac_calc_flak,ac_fireflak,pinflak_planedamage): New ac_calc_flak(). 2004-12-16 19:40:06 +00:00
player.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
power.h Update copyright notice. 2004-09-07 15:07:16 +00:00
product.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
proto.h Update copyright notice. 2004-09-07 15:07:16 +00:00
prototypes.h (max_population): New, factored out of max_pop(). 2005-02-17 21:04:08 +00:00
queue.h Update copyright notice. 2004-09-07 15:07:16 +00:00
retreat.h Update copyright notice. 2004-09-07 15:07:16 +00:00
sect.h From Ray Hyatt: 2005-02-12 16:17:57 +00:00
server.h Update copyright notice. 2004-09-07 15:07:16 +00:00
service.h (main,install_service,remove_service,service_main) [_WIN32]: 2004-12-30 02:19:44 +00:00
ship.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
subs.h Update copyright notice. 2004-09-07 15:07:16 +00:00
tel.h Update copyright notice. 2004-09-07 15:07:16 +00:00
trade.h Break inclusion cycles. To simplify the change, move a few 2005-02-12 19:26:59 +00:00
treaty.h Use plain char * instead of s_char *. 2004-09-10 18:18:31 +00:00
update.h Update copyright notice. 2004-09-07 15:07:16 +00:00
version.h Update for 4.2.19. 2004-12-23 20:42:39 +00:00
wantupd.h Update copyright notice. 2004-09-07 15:07:16 +00:00
xy.h Do not include var.h where no longer needed. Clean up register keywords in these file at the same time. No functional changes. 2004-10-12 20:08:51 +00:00