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
f59fd6e8eb
(retr, lretr): Readability fixes.
2006-04-30 12:52:30 +00:00
e28851b8e9
Normalize unsigned int to just unsigned.
2006-04-30 12:26:07 +00:00
a988b907fc
s_char purge directed by compiler warnings.
2006-04-29 06:41:45 +00:00
5d6e8c0685
(retr, lretr, doship, dounit): Zero-terminate retreat paths. The last
...
character in the array must be zero already. Closes #1225708 .
2006-03-26 14:42:27 +00:00
21bf6b41d4
Use NULL instead of (FOO *)0, it's easier to read.
2006-03-23 20:48:49 +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
24a07cd249
player.h rev. 1.9 changed struct player member argp to char *. The
...
changeset failed to adapt some s_char * operands. Fix.
2005-12-28 22:21:42 +00:00
3aebb68ee7
Include config.h.
2005-12-27 18:04:19 +00:00
8e16ae9e43
Remove superflous #include "options.h".
2005-12-23 11:04:56 +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
380b063f9c
Remove some redundant parenthesis; no functional change.
2005-07-23 19:48:35 +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
929b3ba412
(retr): Use RET_GROUP instead of literal 1. No functional changes.
2005-02-23 15:27:19 +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
d0cf6a0a9b
Clean up switch cases: proper fall through comments, no break after
...
return.
2004-03-01 14:03:29 +00:00
46da1aec7a
deity.h is redundant, remove it.
2004-02-20 20:34:43 +00:00
4ae9c417b3
(bzero, bcopy): Obsolete BSDisms; remove. Remove some calls without
...
effect. Replace calls by struct assignment where possible. Replace
clear buffer, copy string to buffer by strncpy(). Use assignment to
clear when that's clearer. Replace overlapping copy through bounce
buffer by memmove(). Replace rest by standard memset() and memcpy().
Also use sizeof() instead of literal array sizes for robustness, and
instead of symbolic array sizes for clarity.
2004-01-08 17:54:28 +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