3e400c018c
Update copyright notice.
2006-01-05 13:36:57 +00:00
3aebb68ee7
Include config.h.
2005-12-27 18:04:19 +00:00
345ad3dfe0
Update copyright notice.
2005-03-16 22:03:16 +00:00
Ron Koenderink
6fb90fb62c
(newe): Remove wforce, not used anymore.
2005-03-10 22:25:58 +00:00
5ba8cab9b5
(total_work): Remove redundant conversion to int.
...
(total_work): New parameter maxpop. Callers changed.
(newe, prod): Use total_work(). Old code failed to limit military
workers, thus didn't match the update.
(do_feed): Simplify.
2005-02-20 19:36:41 +00:00
41da51e548
(newe): Fix for max_pop() > 999.
2005-02-13 18:25:14 +00:00
Marc Olzheim
c6ef918f3a
Cleanup #includes of (mostly a long time) unused header files.
...
No functional changes.
2004-12-13 16:47:13 +00:00
Marc Olzheim
e9a040adb9
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
fac342ed49
Update copyright notice.
2004-09-07 15:07:16 +00:00
7f4e59fb8d
(new_work, do_feed, prod, newe): Factor out calculation of work into
...
new_work().
(ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, Options,
rollover_avail_max, configkeys, vers, new_work): Replace option
ROLLOVER_AVAIL by configuration parameter rollover_avail_max.
2004-05-10 20:30:38 +00:00
7d7945c3e9
Replace getvec() by direct, read-only item access in some cases where
...
that's obviously correct.
2004-03-05 12:05:33 +00:00
8cd0160176
Declare all configuration variables in optlist.h. Include that
...
instead of declaring them all over the place. This uncovered type
errors:
(s_p_etu, adj_update): Defined long, sometimes declared int. Kills
big endian machines where sizeof(long) != sizeof(int). Change to
int.
(set_option, delete_option, optstrset, intset, floatset, doubleset,
longset, optionset, optiondel, worldxset): Change linkage to static.
2004-02-17 22:58:04 +00:00
d7a054c20a
(ROLLOVER_AVAIL, opt_ROLLOVER_AVAIL, Options, do_feed, prod, newe):
...
New option ROLLOVER_AVAIL; from Drake Diedrich.
2004-01-20 16:51:43 +00:00
9b7adfbecc
Indented with src/scripts/indent-emp.
2003-09-02 20:48:48 +00:00
d8b7fdfae1
Import of Empire 4.2.12
2003-08-23 12:23:04 +00:00