7a2aad83cb
Clean up the previous revision.
2006-09-23 13:25:46 +00:00
Ron Koenderink
a9a9957a27
(radar): New, moved functionality from rada() except ef_type determination.
...
(rada): Call radar() with EF_SHIP.
(lrad): New, call radar() with EF_LAND.
(empmod[]): Call lrad() for lradar command.
(march, navi): Call radar() with appropriate type.
2006-08-16 01:16:30 +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
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
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
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
bd51dea51a
(navi, march): Simplify convoluted logic. Old code tried path finding
...
whenever the next direction in the path string is bad. It then passed
the whole path string to shp_path(), which makes no sense unless we're
at the beginning of it, but luckily failed in that case. Change to
try path finding right after prompting for new input.
2006-06-18 08:53:06 +00:00
0c8c169f88
(s_char): Remove. Use signed char for small integers, plain char for
...
characters.
2006-04-29 16:25:17 +00:00
a988b907fc
s_char purge directed by compiler warnings.
2006-04-29 06:41:45 +00:00
9055031b7f
Fix the previous revision.
2006-03-25 09:08:58 +00:00
bddb20c7f0
(marc, navi): Permit any whitespace between route and optional
...
argument for radar, lookout, sonar, not just spaces.
2006-03-23 19:50:25 +00:00
4515b84c59
COPYING duplicates information from README. Remove. Move GPL from
...
LICENSE to COPYING, because that's where it usually is. Update all
the references to these files.
2006-01-21 19:48:41 +00:00
3e400c018c
Update copyright notice.
2006-01-05 13:36:57 +00:00
3aebb68ee7
Include config.h.
2005-12-27 18:04:19 +00:00
ba84b71f8d
(draw_map): Parameter bmap abused EF_MAP and EF_BMAP, and required the
...
silly EF_NMAP. Use characters instead: 'b' for bmap (was EF_BMAP),
't' for true bmap (was EF_MAP), 'r' for revert (was EF_MAP+EF_BMAP,
more sillness), and 'n' for nmap (was EF_NMAP). Callers changed.
(EF_NMAP): Remove.
2005-10-23 08:58:23 +00:00
f5a1430bcf
(map, draw_map): Remove undocumented feature that lets deities run map
...
as another country. It appeared around Chainsaw 3.0 and never fully
worked. See also #1335316 .
2005-10-23 08:32:49 +00:00
1fe759dc1e
(marc, navi, retreat_ship1, retreat_land1): Treat any negative value
...
of chkdir() as failure, not just -1.
2005-09-25 10:00:43 +00:00
345ad3dfe0
Update copyright notice.
2005-03-16 22:03:16 +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
46da1aec7a
deity.h is redundant, remove it.
2004-02-20 20:34: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