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
Ron Koenderink
6d90861aae
(obj_nameof): New.
...
(nameofitem): Remove, switch callers to to obj_nameof().
(mission, show_mission): Convert functions to use obj_nameof()
instead of nameofitem().
2006-07-10 23:14:26 +00:00
e42053d928
Break inclusion cycle: prototypes.h and commands.h included each
...
other. Ensure headers in include/ can be included in any order
(except for econfig-spec.h, which is special). New header types.h to
help avoid inclusion cycles. Sort include directives. Remove some
superflous includes.
2006-07-10 06:37:23 +00:00
16a0869bb0
Fix missing include.
2006-07-10 05:46:38 +00:00
7aaf8f26b3
(coord): Unused & inappropriate, remove.
2006-07-10 04:57:03 +00:00
4b45509af0
Fix the previous revision.
2006-07-09 20:27:36 +00:00
Ron Koenderink
632f5883a1
Add missing commands.
...
Correct sweep command example.
2006-07-09 19:16:44 +00:00
Ron Koenderink
f874995c19
(switch_leader, switch_flagship): New.
...
(navi, marc): Add the ability to select a flagship or leader.
2006-07-09 18:30:13 +00:00
Ron Koenderink
df8dc6ab5a
(tran_map, tran_nmap, tran_pmap): Split tran_map() into tran_nmap()
...
and tran_pmap() so that unit number arguments are interpreted
sensibly. Users changed.
(display_region_map): New.
(cmd_move_map, tran_nmap, tran_pmap): Use it.
2006-07-09 18:24:31 +00:00
Ron Koenderink
f65b255d18
(move_ground): Passed junk to map callback when 'm' sub-command
...
wasn't followed by an argument.
2006-07-09 16:55:40 +00:00
Ron Koenderink
00f2f36b2c
Remove invalid example for sweeping mines.
...
Fix the grammer.
2006-07-09 16:25:41 +00:00
Ron Koenderink
5ea9060132
(mission, build_mission_list_type, show_mission, oprange): Remove the
...
type parameter as it can be determined from the empobj parameter.
(oprange): Remove getting the unit information again as it is contained
in the empobj parameter passed in.
2006-07-09 10:57:24 +00:00
a33f1378e8
(starv_sects): Reported food need was one short when the sector had no
...
food.
2006-07-08 12:47:39 +00:00
99fc82b94d
(LND_AMM): Became weird in 4.2.3: ammo use depends on l_dam if l_ammo
...
is non-zero; actual value of non-zero l_ammo was unimportant. Side
effect: it substantially increased ammunition consumption at high
tech, because the change made the value increase with tech. Back out
4.2.3's change, just use l_ammo. This lets deities customize
ammunition consumption independent of damage. Remove second
parameter. Callers changed.
2006-07-08 07:21:47 +00:00
35758fe053
(empobj, empobj_storage): Incomplete declarations. Temporary band-aid
...
to work around circular inclusion.
2006-07-08 06:18:46 +00:00
Ron Koenderink
1b0ff6cbac
Correct file name in the comments to match the actual file name.
2006-07-08 00:27:20 +00:00
Ron Koenderink
79ee88f7c6
(nxtitemp, trade_getitem, trade_desc, trade_check_item_ok, nxtitem,
...
oprange, show_mission, nameofitem, build_mission_list_type,
unit_map, xdvisible, trdswitchown, ontradingblock, trad, check_trade,
unit_type_name, start_stop_unit, scut, scra, mission, multifire,
perform_mission, fuel, NSC_GENITEM): Replace struct genitem with
struct empobj. Remove genitem.h and create a new file empobj.h.
Replace multiple instances of unions of ef_type structures with
one standard union empobj_storage which is a superset of the individual
instances.
2006-07-07 15:15:43 +00:00
Ron Koenderink
9e75e5e009
Documentation.
2006-07-07 15:15:42 +00:00
Ron Koenderink
21e34de8dd
(tran_nuke): Correct text to nukes. Copy and Paste error.
2006-07-02 18:22:50 +00:00
Ron Koenderink
4d3b9dc77a
(march): Modify map and bmap command options for march() to support
...
an user specified land unit number.
Without an user specified land unit number it will still default to the leader.
This will map and bmap commands consistent with commands like radar
and look. This is the same feature that was added to navi().
2006-06-29 13:46:03 +00:00
Ron Koenderink
274c8e423c
(march): Add the ability mine using 'd' while in the march command.
...
This is the same feature that was added to navi().
2006-06-29 13:38:42 +00:00
Ron Koenderink
fa90c1921f
(march): Reorganize, use parse() to split arguments.
...
These changes are based on improvements made in
navi().
2006-06-29 13:24:55 +00:00
Ron Koenderink
6a07beb3cb
(navi): Modify map and bmap command options for navi() to support
...
an user specified ship number.
Without an user specified ship number it will still default to the flagship.
This will make map and bmap commands consistent with commands
like radar, sonar and look.
2006-06-29 03:36:14 +00:00
Ron Koenderink
ed176d8856
(navi): Add missing local map for ship list.
...
Broken in rev 1.27. Remove unnecessary brackets.
2006-06-29 01:24:34 +00:00
Ron Koenderink
2438fe7c9c
(navi): Add the ability mine using 'd' while in the navigate command.
2006-06-28 19:02:21 +00:00
Ron Koenderink
0c12d837cb
(navi): Reorganize, use parse() to split arguments.
2006-06-28 13:51:44 +00:00
6fd656a685
(retreat_ship1): Don't charge mobility for sweeping. Should have been
...
changed along with shpsub.c rev. 1.49.
2006-06-27 17:36:16 +00:00