|
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 |
|
|
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 |
|
|
abc14df544
|
Reorder function definitions.
|
2006-04-30 16:35:43 +00:00 |
|
|
0e11700d12
|
(lload): Simplify.
|
2006-04-30 16:28:48 +00:00 |
|
|
6f4a630e9a
|
(buil): Clarify.
|
2006-04-30 16:20:14 +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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
a988b907fc
|
s_char purge directed by compiler warnings.
|
2006-04-29 06:41:45 +00:00 |
|
|
25fd374d53
|
Update known contributors comment.
|
2006-04-26 18:14:54 +00:00 |
|
|
071bf4da06
|
(xdvisible): Add case EF_REALM. Should have been added along with
EF_REALM (file.h rev. 1.52). This made xdump leak everybody's realms.
|
2006-04-23 12:33:33 +00:00 |
|
Ron Koenderink
|
2e27313cee
|
(map, sct, rout): Remove unused local variables.
|
2006-04-21 13:19:16 +00:00 |
|
|
6fee3f4535
|
(CANT_REACH): New. Use it instead of CANT_HAPPEN() where possible.
(oops): Cope with NULL argument passed by CANT_REACH().
|
2006-04-17 17:36:07 +00:00 |
|
|
8b1c21a7bd
|
Trim superflous casts and parenthesis.
|
2006-04-17 08:24:12 +00:00 |
|
|
7598bf59d0
|
(noise): Drop second parameter, it is always true.
|
2006-04-17 08:16:48 +00:00 |
|
|
3813203174
|
(getin): Confusing. Redesign.
(edit): Simplify.
(doland): Spelling fix.
|
2006-04-17 08:13:20 +00:00 |
|
|
7b97f33789
|
(doplane): Don't arbitrarily truncate value for key 'a' and 'd'.
s_char purge.
|
2006-04-17 08:09:14 +00:00 |
|
|
4836f6c543
|
Fix long lines. No functional changes.
|
2006-04-16 17:20:33 +00:00 |
|
|
328c9af40a
|
(sail): There is no qsail command, remove test for it. Test the
second argument only when the command is sail. Before, `unsail 42 q'
showed the sailing path instead of clearing it.
|
2006-04-15 10:55:19 +00:00 |
|
|
abb9ae2338
|
(bestownedpath): Return NULL on long path instead of "?". Terminate
returned path with 'h'. This makes BestShipPath() and BestAirPath()
more similar to BestLandPath(). Simplify callers.
|
2006-04-05 09:30:38 +00:00 |
|
|
7cc14a2c9a
|
(tend): Fix rev. 1.20: used to send bulletin to last tendee's owner,
unless that's the player, regardless of success. Send them for every
successful tend to a foreign ship.
|
2006-04-05 07:06:58 +00:00 |
|
|
e8b50af84e
|
(mission): Silence compiler warning.
|
2006-03-29 19:40:42 +00:00 |
|
|
9646854705
|
(mission): Plug memory leak. s_char purge.
|
2006-03-29 19:40:22 +00:00 |
|
|
bd2673a6e4
|
Remove superflous casts.
|
2006-03-28 19:51:48 +00:00 |
|
|
a1ce7db238
|
(move_ground): Drop first parameter of map callback, it's not used.
Callers changed. s_char purge.
|
2006-03-28 19:46:40 +00:00 |
|
|
06b669924a
|
Type of gift()'s generic pointer parameter was fixed in the previous
revision of src/lib/commands/load.c, change callers.
|
2006-03-28 19:20:08 +00:00 |
|
|
8065fe84e4
|
(multifire): Retreat when helpless used RET_INJURED instead of
RET_HELPLESS. Closes #1146364.
|
2006-03-28 06:22:48 +00:00 |
|
|
fce8b1aa38
|
(lost): Simplify code for argument default value.
|
2006-03-27 19:53:05 +00:00 |
|
|
3aea505aa7
|
Cosmetics.
|
2006-03-27 19:50:38 +00:00 |
|
|
523936cfef
|
(map, rout, sct, surv): Remove special case for sects argument `*',
snxtsct() handles it just fine.
|
2006-03-27 19:45:08 +00:00 |
|
|
f99bc9298a
|
(map): Simplify slightly.
|
2006-03-27 19:24:44 +00:00 |
|