5920515cd7
Drop prxy()'s parameter country
...
Argument is always player->cnum. Hardly surprising, because that's
to whom it prints.
2010-06-21 21:03:21 +02:00
73e25ff21e
Update copyright notice
2010-01-19 08:40:17 +01:00
35ef345ecb
Update copyright notice
2009-02-08 09:33:18 +01:00
d702068457
Fix trailing whitespace
2008-09-17 21:31:40 -04:00
3cc8de8aef
Fix extra prompt after abort due to misuse of snxtitem()
...
The old code used getstarg() to get an argument with a different
prompt than snxtitem() uses, then passed the value to snxtitem()
unchecked. If the player aborts, getstarg() returns a null pointer,
and snxtitem() prompts again. Affected:
* load/lload plane/land third argument; load_plane_ship(),
load_land_ship(), load_plane_land(), load_land_land()
* bomb, drop, fly, paradrop, recon and sweep second argument;
get_planes()
* tend and ltend second and fourth argument; ltend(), tend(),
tend_land()
* mission second argument; mission()
Fix by making snxtitem() taking a prompt argument, null pointer
requests the old prompt.
Use that to simplify multifire() and torp(). Change the other callers
to pass NULL.
2008-07-26 21:36:37 -04:00
db02dda32f
Update copyright notice
2008-01-19 10:15:37 +01:00
63bdc89835
Update copyright notice.
2007-01-09 19:09:31 +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
1b94ddedc3
Change encoding of `not in any group' from space to 0, because that's
...
friendlier in conditionals:
(army, build_ship, build_land, build_plane, doship, doplane, dounit)
(flee, check_trade, wing, snxtitem_group, takeover_ship)
(takeover_land): Assign 0 instead of space.
(carg, lcarg, pr_ship, pr_plane, pr_land, ldump, land, pdump, plan)
(retr, lretr, sdump, shi, lnd_list, shp_list, ask_olist, att_prompt)
(ask_move_in): Update printing of group.
(takeover_plane): Failed to clear wing.
2006-05-27 13:44:18 +00:00
Ron Koenderink
1283f79db5
(lcarg, lcargo.t): Fix the header to match the info page.
...
Update the info page for the change to add civ, mil and uw.
(carg, cargo.t): Add the civ, mil and uw to cargo display.
Make the same as lcargo. Update the info page.
2006-02-01 23:52:42 +00:00
Ron Koenderink
c500f4adc3
(lcarg, ldump): Display civ, mil, and uw cargo for land units.
...
Remove full name from lcarg() to make room. Closes #889646 .
2006-01-31 17:32:33 +00:00
66121a7670
(lcarg): Align column header `a' with column.
2006-01-21 20:10:06 +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
0fe877e1cd
Remove useless width from printf conversion %c.
2006-01-14 20:06:29 +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
190cbaadf2
(carg, lcarg, fort, land, ldump, lsta, orde, payo, retr, lretr)
...
(cmd_sail_ship, cmd_unsail_ship, show_sail, sdump, shi, sstat, work):
Remove inappropriate ship/land sanity checks; should be done
elsewhere.
2005-11-06 20:54:59 +00:00
786b34c693
(SHIPNAMES, opt_SHIPNAMES, Options, carg, name, sorde, qorde)
...
(show_sail, shi, att_get_combat, pr_com, satdisp, satmap, prship):
Remove nooption SHIPNAMES.
2005-07-31 17:22:32 +00:00
4f59fc9967
Remove a bunch of redundant casts.
2005-06-12 06:31:48 +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
b1461faea5
Replace getvec() by direct, read-only item access in some cases where
...
that's obviously correct.
2004-03-05 10:38:58 +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