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
9de0841ca0
(sources.mk): Sort file names to make output deterministic.
2006-04-26 18:13:25 +00:00
b69c26c67e
(guerrilla): Remove unused variable.
2006-04-26 17:51:38 +00:00
b6e40305df
(guerrilla): Round security unit raid value below one to zero instead
...
of one. Before, an empty, inefficient unit could be used to kill one
rebel per update.
2006-04-26 16:54:29 +00:00
6de081a384
(guerrilla): Security units' raid was broken in 4.0.0: the number of
...
che killed was 100 times too small, thus zero for all practical cases.
4.2.7 attempted to fix it, but left it broken for efficiency < 100.
It also increased deadliness of 100% units by a factor of 2.5.
Restore pre-4.0.0 behavior.
2006-04-26 16:43:25 +00:00
964176b15f
More 4.3.2 changes.
2006-04-24 18:50:22 +00:00
0ac8d97d60
(player_addrlen): Change type to size_t. Fixes type error in
...
player_init(), which was most likely fatal on 64 bit hosts. Broken in
rev. 1.34.
2006-04-24 18:34:25 +00:00
422d8e517f
(snxtitem): s_char purge.
2006-04-24 18:27:31 +00:00
ca595ddc3b
Fix char / s_char inconsistencies. Build was broken on some systems
...
since the first one crept in with src/lib/subs/retreat.c rev. 1.34.
2006-04-24 18:24:23 +00:00
2479f47068
Update for 4.3.2.
2006-04-23 13:08:47 +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
e81ad47d81
(login_coms): Remove erroneous declaration. Move definition before
...
uses. Add required function declarations.
2006-04-22 14:13:05 +00:00
Ron Koenderink
2e27313cee
(map, sct, rout): Remove unused local variables.
2006-04-21 13:19:16 +00:00
3e172793bd
(snxtsct): Iteration order for `*' disclosed the real origin. Fix.
...
Mapping commands used to work around this bug, until map.c rev. 1.18,
rout.c 1.18, sct.c 1.17, surv.c 1.18 removed the work-around and thus
exposed the bug.
2006-04-20 19:06:50 +00:00
fc627c8dee
(login_coms): Make declaration consistent with definition.
2006-04-20 18:40:59 +00:00
da6306b8b0
Fix missing include. Closes #1464069 .
2006-04-20 18:39:57 +00:00
d852f05a2a
(att_prompt): Do the right thing when player aborts. Simplify.
2006-04-17 17:53: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
98d35dec3e
Fix long lines. No functional changes.
2006-04-17 16:38:43 +00:00
e264be1a78
(XYOFFSET): Parenthesize macro parameters in expansion.
2006-04-17 12:51:23 +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
24e3342993
Bump version to 4.3.2.
2006-04-17 07:43:39 +00:00
8fea65f73f
Don't explicitly dereference function pointers in calls. No
...
functional changes.
2006-04-16 17:42:19 +00:00
4836f6c543
Fix long lines. No functional changes.
2006-04-16 17:20:33 +00:00
ba2c537ce5
Final polish for 4.3.1.
2006-04-15 11:43:27 +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
b23f9ce5db
Update for 4.3.1.
2006-04-05 18:54:18 +00:00
f576dd6694
(verify_row): uid check was too strict.
2006-04-05 18:47:02 +00:00
75eec5e0e3
Comment grammar fix.
2006-04-05 18:34:54 +00:00
800b521e47
New section on booleans. Elaborate thread safety.
2006-04-05 18:33:41 +00:00
11e09910aa
Fix the previous revision.
2006-04-05 18:15:07 +00:00
6fdac645ba
(bestownedpath, owned_and_navigable): Terrain parameter isn't really
...
used, remove it. Use null bigmap argument to ignore terrain (flying),
non-null for navigation. Callers changed.
2006-04-05 09:50:45 +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
9c27a771b3
(BestAirPath): Some callers assumed non-null return value must be the
...
first argument. Fix them. Simplify bestownedpath().
2006-04-05 09:13:03 +00:00
462bc9e7b2
(owned_and_navigable): Rework rev. 1.18: do check the real sector, but
...
only if it's owned or allied. Check it before the bmap, and do it
just like shp_check_nav() does (should use common code).
2006-04-05 08:51:50 +00:00
9c2b741b2e
(getpath): Supply the missing code for P_SAILING. This makes the sail
...
command accept destination sectors as well as paths. Clean up the
case discrimination.
2006-04-05 07:30:41 +00:00
b923c951ed
(P_NONE, P_WALKING, P_FLYING, P_SAILING, p_mode): Turn into new
...
enumeration p_mode. Users changed. s_char and register purge.
2006-04-05 07:21:49 +00:00