empserver/src/lib
Markus Armbruster 2ecc85b541 (attack_val, defense_val): These functions overestimate unit strength,
because they ignore three facts.  Firstly, mil casualties decrease
strength linearly, while unit casualties decrease it quadratically
(unit strength scales with mil * eff).  Secondly, casualties decrease
strength proportional to the combat multiplier, hence twice as much
mil are more powerful than double multiplier.  Thirdly, units break
and retreat.  Change the estimate from mil * mult to mil * sqrt(mult).
Improves things in simulations, hope it works out in practice as well.
Closes #682571.
2006-06-15 19:05:17 +00:00
..
as (as_search) [DEBUG]: Fix crash bug. We don't normally define DEBUG. 2006-06-15 17:53:55 +00:00
commands Doc fix. 2006-06-14 18:14:40 +00:00
common Doc fix. 2006-06-14 18:14:40 +00:00
empthread (empth_wait_for_signal) [_WIN32]: Add thread block for the main thread, 2006-06-10 03:57:50 +00:00
gen (tcp_listen): Don't print null host. 2006-06-15 18:34:46 +00:00
global Change maximum population to 100 for plains (was 49), mountains (was 2006-06-13 17:52:46 +00:00
lwp (LwpContextPtr, lwpInitSystem): Use void ** for pointer to generic 2006-06-08 05:38:06 +00:00
player (options_cmd): login_opts[] lacked sentinel. Potential crash-bug. 2006-06-14 18:07:37 +00:00
subs (attack_val, defense_val): These functions overestimate unit strength, 2006-06-15 19:05:17 +00:00
update Doc fix. 2006-06-14 18:14:40 +00:00