Commit graph

1926 commits

Author SHA1 Message Date
6d4d5f7abf (lwpSelect): Use logerror() instead of lwpStatus() to report fatal
error.
2006-05-01 17:10:11 +00:00
7ed308526c Remove redundant casts of argument to (prototyped) double parameter. 2006-05-01 12:34:16 +00:00
7c3899bf89 (starve): Prompted twice for sectors when first argument was empty,
fix.  Simplify.
2006-05-01 06:52:48 +00:00
d26c84ee36 (increase_mob): Call time() just once, the second call can only
introduce inaccuracy.  Simplify the loop; it still doesn't make much
sense.
2006-04-30 18:38:52 +00:00
5f94d9a651 (find_escorts, perform_mission): Simplify. 2006-04-30 18:31:13 +00:00
e352801820 (fire_dchrg, fire_torp): Simplify. 2006-04-30 18:28:54 +00:00
e94c6e5a3e (gen_power): Simplify. 2006-04-30 18:25:50 +00:00
898c74a80f (get_couval, get_outstand): Remove. Unused since automatic loans were
removed (buy.c rev. 1.18, trad.c rev. 1.15), should have been removed
then.
2006-04-30 18:20:23 +00:00
abc14df544 Reorder function definitions. 2006-04-30 16:35:43 +00:00
0e11700d12 (lload): Simplify. 2006-04-30 16:28:48 +00:00
fdc790db61 (MAX): Remove redundant definition. 2006-04-30 16:26:51 +00:00
ce79ad5a19 Fix another insufficiently parenthesized macro expansion. 2006-04-30 16:25:58 +00:00
6f4a630e9a (buil): Clarify. 2006-04-30 16:20:14 +00:00
ba74075e9a Fix the previous revision. 2006-04-30 16:18:35 +00:00
384555b811 (pln_arm): Change parameter mission from int to char to clearly
document its use.
2006-04-30 16:15:33 +00:00
a292d6f98a Fix insufficiently parenthesized macro expansions. 2006-04-30 16:08:45 +00:00
cee8e126a2 Remove declaration that should have been removed in rev. 1.9. Doc
fix.  register purge.
2006-04-30 13:20:48 +00:00
470cd37056 (sate): Use ef_byname_from() for second argument. 2006-04-30 13:10:34 +00:00
8cb55944a3 (TERR_MAX): New.
(terr): Use it.

(terr): When the territory number is bad, do not loop prompting, just
fail.  That's what the vast majority of commands do.
2006-04-30 12:56:41 +00:00
f59fd6e8eb (retr, lretr): Readability fixes. 2006-04-30 12:52:30 +00:00
901499908c (bomb, drop, fly, para, reco): Simplify. 2006-04-30 12:48:21 +00:00
4074ab02f1 (islist): Simplify. 2006-04-30 12:36:28 +00:00
e28851b8e9 Normalize unsigned int to just unsigned. 2006-04-30 12:26:07 +00:00
e09e6e587b Normalize long int and short int to just long and short. 2006-04-30 12:05:23 +00:00
a358704096 (do_desi): Improve message when designation doesn't exist. 2006-04-30 11:56:01 +00:00
5982d38248 (ask_olist, att_fight): Oops on bad combat mode. Fixes compiler
warnings.
2006-04-30 11:35:53 +00:00
4e85ca6b30 (pr_ship, doship, pr_land, dounit): Remove keys deprecated in
rev. 1.20.

(prsect, doland): Deprecate key 'C'.

(pr_plane, doplane): Deprecate keys 'a' and 'd'.

(pr_land, dounit): Deprecate key 'X'.

(pr_ship, doship): Deprecate keys 'H', 'P', 'X' and 'Y'.

(docountry, dounit): Remove parameter farg.
2006-04-30 09:21:57 +00:00
67408f444e (att_ask_offense, ask_move_in): land_answer[] is indexed by army
character, reduce size accordingly.

(att_prompt, ask_move_in_off): Remove dead code.

(att_reacting_units): Simplify.
2006-04-30 08:53:22 +00:00
033f2a6dbe (coastal_sea_to_land, coastal_land_to_sea): Remove unused parameter
des.
2006-04-30 08:46:14 +00:00
8f998de170 Remove dead code. 2006-04-30 08:43:28 +00:00
b5c62f5c89 Fix long lines. No functional changes. 2006-04-30 08:39:20 +00:00
45ad6a8e71 (rea): Simplify. 2006-04-30 08:38:06 +00:00
b812435762 (lowerit): Simplify. 2006-04-30 08:37:06 +00:00
935d9b736f (grin): Simplify. 2006-04-30 08:36:41 +00:00
37b18621bc (dist): Simplify. 2006-04-30 08:34:05 +00:00
db407ec065 (best): Rename local variable. 2006-04-30 08:32:50 +00:00
95de3bccbb Doc fix. 2006-04-30 08:31:52 +00:00
9cf1713892 (lnd_mess): Internal linkage. 2006-04-30 08:29:18 +00:00
0c8c169f88 (s_char): Remove. Use signed char for small integers, plain char for
characters.
2006-04-29 16:25:17 +00:00
0a3a73cf3d Recent s_char purge changed element types to s_char *, but missed
patterns malloc(N * sizeof(s_char *)), fix.
2006-04-29 16:14:48 +00:00
4cf7389ecd (cede_sect): Remove dead code. 2006-04-29 15:28:30 +00:00
3e42c03405 (fly): Use void * for generic pointer dst_ptr. 2006-04-29 15:27:48 +00:00
78c502fe87 (vis, visbuf): Rev. 1.15 changed base type from s_char to char. This
is misleading, as the elements are numbers.  Change to signed char.
2006-04-29 15:19:57 +00:00
339d42438f Bump version to 4.3.3. 2006-04-29 06:43:48 +00:00
a988b907fc s_char purge directed by compiler warnings. 2006-04-29 06:41:45 +00:00
87b5d5d6e3 Still more 4.3.2 changes. 2006-04-27 18:02:18 +00:00
bed456eb10 (info.nr/all, info.html/all.html, sources.mk): Pass LC_ALL=C in the
environment to make output independent of user's locale.
2006-04-26 19:08:17 +00:00
9e6cb0bda6 Only L_SUPPLY units can't attack as of 4.0.0, fix info Attacking,
remove dead code.
2006-04-26 18:49:33 +00:00
25fd374d53 Update known contributors comment. 2006-04-26 18:14:54 +00:00
2ee04afcd4 Remove redundant declaration. 2006-04-26 18:14:16 +00:00