Ron Koenderink
b70653815c
(get_empobj_mob_max): New. Return maximum mobility based on ef_type.
...
(miss): Use new get_empobj_mob_max().
2006-07-24 13:40:12 +00:00
6db2e6ec63
(swaps): Failed to update coastal flags. Was missed in the changeset
...
containing coastal.c rev. 1.1.
(set_coastal): New parameter olddes, to simplify fixing swaps().
Callers changed.
2006-07-21 18:10:09 +00:00
ad0a37eca4
(update_coastal_flag, coast_sea_to_land, coastal_land_to_sea): Return
...
new coastal flag instead of updating the sector. This is a bit
simpler. Change arguments from sectors to coordinates to make it
obvious that the sector is not touched.
(set_coastal): Update the coastal flag, but leave putsect() to
callers. All existing callers do that anyway.
2006-07-21 18:01:28 +00:00
f760628d77
Clarify doc.
2006-07-21 06:05:50 +00:00
cc0748894b
Bump version to 4.3.8.
2006-07-21 05:28:47 +00:00
Ron Koenderink
a62989d4a3
(put_empobj): New. Put generic empobj into the appropriate data file.
...
(get_empobj_chr): New. Get characteristics for empobj.
(mission, build_mission_list_type): Switch to use new
functions put_empobj() and get_empobj_chr().
2006-07-20 14:12:35 +00:00
Ron Koenderink
8e7199c338
(march, navi): Provide equivalent functionality to map in move(), expl()
...
and tran(). Allow map and bmap to access the regular map command
parameters.
2006-07-20 13:33:11 +00:00
Ron Koenderink
379cb0a840
(prod_nat): Change the wording from "total pop is" to
...
"total pop was" to be less confusing. The total population
display is the total at the start of the update, not after the
update is complete.
2006-07-20 01:29:25 +00:00
Ron Koenderink
60fc522758
[_WIN32]: Add io.h to pickup open/close externs for MSVC environments.
2006-07-19 01:22:57 +00:00
7072dd0930
Update for 4.3.7.
2006-07-14 23:08:49 +00:00
76cf8811fc
(draw_map): Simplify.
2006-07-14 23:07:59 +00:00
a511b8b82b
Change level to Expert to match stop's.
2006-07-14 23:07:22 +00:00
Ron Koenderink
911a553a65
(powe): Remove unused local variable.
...
Remove CR's.
2006-07-13 21:17:00 +00:00
Ron Koenderink
d413884a37
[_WIN32, __GNUC__]: Reorganize the include files for WIN32 to
...
separate the MinGW environment from the MSVC environment and
WIN32 environment. Reorganize the order of the includes so
the system files are always loaded first to prevent with misc.h defines.
Remove system file includes from misc.h.
2006-07-13 21:14:16 +00:00
b1399ebbad
Fix power's c_form.
2006-07-13 20:58:13 +00:00
51baf40e90
(powe): Fix `pow n' not to ignore second argument when BTUs don't
...
suffice for `n'.
2006-07-13 20:07:41 +00:00
b27c7ea77d
(powe): Simplify evaluation of arg 1. No functional change.
2006-07-13 19:57:56 +00:00
7282d4d639
(prpower): New, factored out of powe(). No functional change.
2006-07-13 19:41:05 +00:00
7b54d5feaa
Update known contributors comment.
2006-07-13 19:12:26 +00:00
a3eb9c0d30
(init_sanct): Spread food evenly among sanctuaries, for simplicity.
...
Give max_pop() civilians (changes civs from 999 to 1000).
2006-07-13 18:42:34 +00:00
5fdd7546dd
(init_sanct): New, factored out of new(). No functional change.
2006-07-13 18:35:17 +00:00
ad3d28761e
Spelling.
2006-07-13 18:23:24 +00:00
bb0b9db423
Belatedly ignore subject Nukes.
2006-07-13 18:22:45 +00:00
Ron Koenderink
1ebb172e66
(display_region_map): Remove unused local variable.
2006-07-13 18:02:28 +00:00
Ron Koenderink
a8eb4bb0fc
Improve the description for the additional commands.
...
Add description for the new drop command.
Correct the quotes.
2006-07-12 23:45:51 +00:00
Ron Koenderink
1b780db99e
Update description for map command.
...
Explain the additional parameters for the map command.
2006-07-12 23:41:42 +00:00
Ron Koenderink
51275c753f
(do_map): New. map() was split into two parts map() and do_map().
...
(map): Call new function do_map().
(display_region_map): Modify to use do_map() instead of map().
(tran_nmap, tran_pmap, cmd_move_map): Modify to accomodate
the modified display_region_map() function.
2006-07-12 18:14:31 +00:00
Ron Koenderink
fa38aef700
[_WIN32, __GNU__]: Use <string.h> for strncasecmp for MinGW.
...
MinGW environment has an issue with conversion of strncasecmp()
to support _WIN32 and a definition in <string.h> for strncasecmp().
2006-07-11 22:30:19 +00:00
Ron Koenderink
4c9293f9ea
Remove optlist.h, not required.
...
Add empthread.h, needed for empth_request_shutdown() and
empth_wait_for_signal().
2006-07-11 22:08:10 +00:00
Ron Koenderink
897c212bfa
Add missing prototypes.h to get logerror().
2006-07-11 22:06:03 +00:00
db3996e37e
Fix the previous revision.
2006-07-11 19:59:28 +00:00
1edc5a7b54
Fix error message.
2006-07-11 19:23:49 +00:00
c54cb0e8e8
Change system header inclusion order to make crufty old systems happy.
2006-07-11 19:11:55 +00:00
91b4045558
Fix rev. 1.37 some more.
2006-07-11 19:07:42 +00:00
992879941b
Poorly worded, many little errors, not enough focus. Rewrite,
...
basically. Same outline, but almost every sentence is changed.
Replace some details by references. Document show sect properly.
2006-07-11 19:02:43 +00:00
6fbb5c88fc
Don't refer to Innards, it's obsolete. Clarify work. Talk about
...
petrol, not petroleum. Advise that resource depletion is
configurable. Clean up prose somewhat.
2006-07-11 18:59:44 +00:00
ceb8dbfaed
Page managed to talk about BTUs in considerable detail, yet missed to
...
tell what they're good for. Amazing.
2006-07-11 18:55:31 +00:00
e25119e461
Don't claim which resources are renewable and which aren't, because
...
that's configurable.
2006-07-11 18:52:26 +00:00
26c87bb579
Document the transformation of sanctuaries into capitals or highways.
2006-07-11 18:51:08 +00:00
90b341b02d
Don't refer to Innards, it's obsolete.
2006-07-11 18:49:33 +00:00
533f2806c6
Clarifications.
2006-07-11 18:48:36 +00:00
4c266e73ed
Belatedly remove BIG_CITY and DEFENSE_INFRA.
2006-07-11 18:47:42 +00:00
2119e557dc
(setstr): Supply missing cast.
2006-07-11 18:45:29 +00:00
c72edef30f
(vers): Format string fix.
2006-07-11 18:44:33 +00:00
4dc350043e
Fix the previous revision.
2006-07-11 18:42:56 +00:00
acad2240e0
Fix the previous revision (system header inclusion cleanup), it
...
doesn't compile on crufty old systems.
2006-07-11 18:42:08 +00:00
f4e018b6ee
Back out the previous revision (system header inclusion cleanup), it
...
doesn't compile on crufty old systems.
2006-07-11 18:11:03 +00:00
7bddbe98a4
(bestownedpath): Failed to consider direction y due to off-by one
...
mistake in rev. 1.28. Reported by Stefan Hauser.
2006-07-11 06:25:26 +00:00
Ron Koenderink
e55198f2c3
[_WIN32]: Add missing include sys/types.h to get off_t.
2006-07-11 03:16:02 +00:00
Ron Koenderink
7748e65fe6
Add missing includes config.h, prototypes.h and file.h.
2006-07-11 03:14:56 +00:00