]> git.pond.sub.org Git - empserver/log
empserver
17 years ago4.3.8 last minute changes. v4.3.8
Markus Armbruster [Fri, 20 Oct 2006 18:33:29 +0000 (18:33 +0000)]
4.3.8 last minute changes.

17 years ago(upd_ship): Don't produce stuff when broke, to match sector behavior.
Markus Armbruster [Fri, 20 Oct 2006 18:30:26 +0000 (18:30 +0000)]
(upd_ship): Don't produce stuff when broke, to match sector behavior.

17 years agoUpdate for 4.3.8.
Markus Armbruster [Fri, 13 Oct 2006 18:29:22 +0000 (18:29 +0000)]
Update for 4.3.8.

17 years ago(switch_leader): Generalize the code, no functional changes.
Ron Koenderink [Tue, 10 Oct 2006 20:23:19 +0000 (20:23 +0000)]
(switch_leader): Generalize the code, no functional changes.
(navi): Change switch_flagship() to call switch_leader() instead.
(switch_flagship): Remove, not needed, replaced with switch_leader().

17 years ago(take_casualties): Code for distributing casualties among units did
Markus Armbruster [Sun, 8 Oct 2006 09:32:49 +0000 (09:32 +0000)]
(take_casualties): Code for distributing casualties among units did
not make sense, and in its confusion destroyed land land units when it
shouldn't.  Minimally invasive fix; code is still ugly and
incomprehensible.

17 years ago(guerrilla): Make security units not raid friendly che.
Markus Armbruster [Sun, 8 Oct 2006 09:21:26 +0000 (09:21 +0000)]
(guerrilla): Make security units not raid friendly che.

17 years ago(struct ulist): Add abstract reference to types.h to accomodate
Ron Koenderink [Wed, 4 Oct 2006 01:20:29 +0000 (01:20 +0000)]
(struct ulist): Add abstract reference to types.h to accomodate
the ciruclar reference between struct ulist and union empobj_storage
and struct lndstr.

17 years agoCombined struct llist and struct mlist into superset struct ulist.
Ron Koenderink [Mon, 25 Sep 2006 03:29:06 +0000 (03:29 +0000)]
Combined struct llist and struct mlist into superset struct ulist.
(assa, set_leader, switch_leader, set_flagship, switch_flagship,
take_move_in_mob, get_land, ask_olist, att_get_defense,
get_dlist, get_ototal, get_dtotal, kill_land, att_infect_units,
put_land, att_reacting_units, count_bodies, att_fight,
send_reacting_units_home, take_def, ask_move_in, move_in_land,
lnd_print, lnd_delete, lnd_take_casualty, lnd_takemob,
lnd_sel, lnd_mar, lnd_put, lnd_sweep, contains_engineer,
lnd_check_mines, lnd_list, lnd_mess,
lnd_damage, lnd_easiest_target, lnd_mar_one_sector, shp_sel,
shp_nav, shp_put, shp_sweep, shp_check_one_mines, shp_check_mines,
shp_list, shp_mess, shp_count, shp_damage_one, shp_damage,
shp_contains, most_valuable_ship, shp_easiest_target,
shp_missile_interdiction, notify_coastguard,
shp_view, shp_nav_one_sector, shp_missdef, nav_ship,
fltp_to_list): Switch to struct ulist from either struct mlist
or struct llist.

17 years ago(out5): Rev. 1.36. didn't fully fix the format conditional.
Markus Armbruster [Sat, 23 Sep 2006 15:47:40 +0000 (15:47 +0000)]
(out5): Rev. 1.36. didn't fully fix the format conditional.
Fold negative cases into positive ones.

17 years ago(apro) [!_WIN32]: Silently ignore directory entries starting with '.'.
Markus Armbruster [Sat, 23 Sep 2006 15:00:01 +0000 (15:00 +0000)]
(apro) [!_WIN32]: Silently ignore directory entries starting with '.'.
Before, apro() logged complaints about . and .. not being regular
files.

17 years agoClean up the previous revision.
Markus Armbruster [Sat, 23 Sep 2006 13:25:46 +0000 (13:25 +0000)]
Clean up the previous revision.

17 years agoDocument stop order expiry.
Markus Armbruster [Sat, 23 Sep 2006 13:24:19 +0000 (13:24 +0000)]
Document stop order expiry.

17 years ago(produce_sect): Game state changes may be changed only if
Markus Armbruster [Sat, 23 Sep 2006 10:47:58 +0000 (10:47 +0000)]
(produce_sect): Game state changes may be changed only if
player->simulation.  Fix a missing guard.  Existing callers should not
need it.

17 years ago(produce_sect, finish_sects): Move stop order expiry to end of update,
Markus Armbruster [Sat, 23 Sep 2006 10:37:55 +0000 (10:37 +0000)]
(produce_sect, finish_sects): Move stop order expiry to end of update,
so that stopped sectors don't repair units.  The update sequence
masked this bug until its change in src/lib/update/main.c rev. 1.25,
but use of budget priorities (gone since rev. 1.24) could unmask it.

17 years ago(sect_has_dock): NAV_CANAL in sect.h rev. 1.36 broke loading in
Markus Armbruster [Sat, 23 Sep 2006 09:09:43 +0000 (09:09 +0000)]
(sect_has_dock): NAV_CANAL in sect.h rev. 1.36 broke loading in
canals, fix.  Can't enforce M_CANAL condition here, so leave it to
callers.  Callers don't enforce it either, which means landlocked
ships can load in canals.  Oh well.

17 years ago(player_main): Delay journal_login() until after error exits, to
Markus Armbruster [Sat, 23 Sep 2006 08:58:54 +0000 (08:58 +0000)]
(player_main): Delay journal_login() until after error exits, to
ensure it is properly paired with journal_logout().

17 years ago(tend_land): Fix to not let land units be tended that could not be
Markus Armbruster [Sat, 23 Sep 2006 08:40:40 +0000 (08:40 +0000)]
(tend_land): Fix to not let land units be tended that could not be
loaded.

17 years agoRemove bogus paragraphs on RES_POP and NO_PLAGUE. Clarify sentence on
Markus Armbruster [Sat, 23 Sep 2006 08:37:57 +0000 (08:37 +0000)]
Remove bogus paragraphs on RES_POP and NO_PLAGUE.  Clarify sentence on
max safe population.

17 years agoUpdate for maximum population change in sect.config rev. 1.3. Remove
Markus Armbruster [Sat, 23 Sep 2006 08:35:36 +0000 (08:35 +0000)]
Update for maximum population change in sect.config rev. 1.3.  Remove
incorrect claims about mil.

17 years ago(genlist): Switch thing to use struct empobj * instead of void *.
Ron Koenderink [Fri, 1 Sep 2006 23:22:45 +0000 (23:22 +0000)]
(genlist): Switch thing to use struct empobj * instead of void *.
Remove type from struct genlist as it can be determined from thing.
Users changed.

17 years ago(struct trdstr): Change trd_type to be short to be consistent with the
Ron Koenderink [Tue, 22 Aug 2006 03:52:44 +0000 (03:52 +0000)]
(struct trdstr): Change trd_type to be short  to be consistent with the
rest of the definitions of ef_type.

17 years ago(empobj_chr): New, create a new (imcomplete) structure for
Ron Koenderink [Fri, 18 Aug 2006 23:32:45 +0000 (23:32 +0000)]
(empobj_chr): New, create a new (imcomplete) structure for
empobj characteristics.
(get_empobj_chr):  Update get_empobj_chr() to use new
struct empobj_chr.

17 years ago(radar): New, moved functionality from rada() except ef_type determination.
Ron Koenderink [Wed, 16 Aug 2006 01:16:30 +0000 (01:16 +0000)]
(radar): New, moved functionality from rada() except ef_type determination.
(rada): Call radar() with EF_SHIP.
(lrad): New, call radar() with EF_LAND.
(empmod[]): Call lrad() for lradar command.
(march, navi): Call radar() with appropriate type.

17 years ago(EF_IS_VIEW): New.
Markus Armbruster [Sun, 13 Aug 2006 07:29:30 +0000 (07:29 +0000)]
(EF_IS_VIEW): New.
(xdump): Use it to deny access to views when denying access to game
state.  Fixes the previous revision.

17 years ago(obj_nameof): Return safer error value.
Markus Armbruster [Sun, 13 Aug 2006 07:18:11 +0000 (07:18 +0000)]
(obj_nameof): Return safer error value.

(get_empobjp, get_empobj_chr, emp_obj_chr_name, get_empobj_mob_max):
Style.

17 years agoAllow xdump before break; partial solution for #1417871:
Markus Armbruster [Sun, 13 Aug 2006 07:13:37 +0000 (07:13 +0000)]
Allow xdump before break; partial solution for #1417871:
(player_coms): Set xdump's c_permit to VIS.
(xdump): Deny countries that couldn't run xdump before access to game
state.

17 years ago(ef_open) [_WIN32]: Add shared.h for MinGW environment,
Ron Koenderink [Tue, 8 Aug 2006 22:43:18 +0000 (22:43 +0000)]
(ef_open) [_WIN32]: Add shared.h for MinGW environment,
needed for WIN32 file locking. Broken (missed) in rev 1.70.

17 years ago(ef_open) [_WIN32]: Provide file locking for WIN32.
Ron Koenderink [Mon, 7 Aug 2006 17:15:04 +0000 (17:15 +0000)]
(ef_open) [_WIN32]: Provide file locking for WIN32.

17 years ago(rada): Replace the "unit" text with "land" to be more clear.
Ron Koenderink [Fri, 4 Aug 2006 19:59:24 +0000 (19:59 +0000)]
(rada): Replace the "unit" text with "land" to be more clear.

17 years ago(rada): Using struct empobj to generalize the code.
Ron Koenderink [Wed, 2 Aug 2006 22:07:12 +0000 (22:07 +0000)]
(rada): Using struct empobj to generalize the code.

17 years ago(makelost, makenotlost, findlost, struct loststr): Change type to be a
Ron Koenderink [Wed, 2 Aug 2006 21:46:34 +0000 (21:46 +0000)]
(makelost, makenotlost, findlost, struct loststr): Change type to be a
short instead of a char.  This will make lost_type consistent with
ef_type in the rest of the structures.

17 years ago(unit_map): Replace player->owner with direct owner check and
Ron Koenderink [Wed, 2 Aug 2006 18:39:22 +0000 (18:39 +0000)]
(unit_map): Replace player->owner with direct owner check and
player->god check.  player->owner is not set if ef_ptr() is used
as no post_read() is done. Broken in rev 1.38.  Not completely fixed
in rev 1.40.

17 years ago(ef_open): Lock the file. This prevents two programs (servers in
Markus Armbruster [Wed, 2 Aug 2006 18:05:04 +0000 (18:05 +0000)]
(ef_open): Lock the file.  This prevents two programs (servers in
particular) running on the same game state.  fairland does not use
ef_open() at this time, and thus ignores the lock.

17 years ago(produce): The reported amount produced (returned through last
Markus Armbruster [Wed, 2 Aug 2006 17:58:20 +0000 (17:58 +0000)]
(produce): The reported amount produced (returned through last
parameter) did not reflect production cut for ITEM_MAX.  Broken in
3.0.14 or so.  Reported by Stefan Hauser.

17 years ago(gift): Remove the type argument, can be determined from the ptr
Ron Koenderink [Wed, 2 Aug 2006 13:07:09 +0000 (13:07 +0000)]
(gift): Remove the type argument, can be determined from the ptr
argument. Replace prship/prland/prplane/prnuke code with
obj_nameof().

17 years ago(unit_map): Replace player->owner with direct owner check.
Ron Koenderink [Sun, 30 Jul 2006 01:05:17 +0000 (01:05 +0000)]
(unit_map): Replace player->owner with direct owner check.
player->owner if not set if ef_ptr() is used as no post_read() is done.
Broken in rev 1.38.

17 years ago(getpath): Remove check for DIR_MAP.
Ron Koenderink [Sat, 29 Jul 2006 17:55:22 +0000 (17:55 +0000)]
(getpath): Remove check for DIR_MAP.
DIR_MAP is not a value that can be entered by the user.

17 years ago(draw_map): Use struct empobj to generalize the code.
Ron Koenderink [Thu, 27 Jul 2006 23:32:55 +0000 (23:32 +0000)]
(draw_map): Use struct empobj to generalize the code.

17 years ago(map): Prompt only for sects for map and bmap commands.
Ron Koenderink [Wed, 26 Jul 2006 23:13:52 +0000 (23:13 +0000)]
(map): Prompt only for sects for map and bmap commands.
Broken in 1.27.

17 years ago(get_empobj_chr, obj_nameof): Switch CANT_HAPPEN() to
Ron Koenderink [Wed, 26 Jul 2006 01:09:11 +0000 (01:09 +0000)]
(get_empobj_chr, obj_nameof): Switch CANT_HAPPEN() to
CANT_REACH().

(get_empobj_mob_max): Remove carriage return.

17 years ago(get_empobj_mob_max): Move the return -1 to the end of function.
Ron Koenderink [Wed, 26 Jul 2006 01:01:14 +0000 (01:01 +0000)]
(get_empobj_mob_max): Move the return -1 to the end of function.

17 years ago(emp_obj_chr_name): Move the return NULL to the end of function.
Ron Koenderink [Wed, 26 Jul 2006 00:58:14 +0000 (00:58 +0000)]
(emp_obj_chr_name): Move the return NULL to the end of function.

17 years ago(get_empobj_chr): Removed local cp. Return the result directly.
Ron Koenderink [Wed, 26 Jul 2006 00:54:33 +0000 (00:54 +0000)]
(get_empobj_chr): Removed local cp.  Return the result directly.

17 years ago(get_empobj_mob_max): Switch ef_type to type to be more consistent
Ron Koenderink [Wed, 26 Jul 2006 00:40:33 +0000 (00:40 +0000)]
(get_empobj_mob_max): Switch ef_type to type to be more consistent
with other functions.

17 years ago(get_empobjp): New. Returns a pointer an empobj.
Ron Koenderink [Wed, 26 Jul 2006 00:21:58 +0000 (00:21 +0000)]
(get_empobjp): New.  Returns a pointer an empobj.
(emp_obj_chr_name): New. Returns a pointer to the characteristics name
for an empobj.
(unit_map):  Simplify unit_map() by using get_empobjp() and
emp_obj_chr_name().
(map,  cmd_move_map):  Switch to EF_SHIP as unit_map does not default
to EF_SHIP for EF_BAD anymore.

17 years ago(get_empobj_mob_max): New. Return maximum mobility based on ef_type.
Ron Koenderink [Mon, 24 Jul 2006 13:40:12 +0000 (13:40 +0000)]
(get_empobj_mob_max): New. Return maximum mobility based on ef_type.
(miss): Use new get_empobj_mob_max().

17 years ago(swaps): Failed to update coastal flags. Was missed in the changeset
Markus Armbruster [Fri, 21 Jul 2006 18:10:09 +0000 (18:10 +0000)]
(swaps): Failed to update coastal flags.  Was missed in the changeset
containing coastal.c rev. 1.1.
(set_coastal): New parameter olddes, to simplify fixing swaps().
Callers changed.

17 years ago(update_coastal_flag, coast_sea_to_land, coastal_land_to_sea): Return
Markus Armbruster [Fri, 21 Jul 2006 18:01:28 +0000 (18:01 +0000)]
(update_coastal_flag, coast_sea_to_land, coastal_land_to_sea): Return
new coastal flag instead of updating the sector.  This is a bit
simpler.  Change arguments from sectors to coordinates to make it
obvious that the sector is not touched.
(set_coastal): Update the coastal flag, but leave putsect() to
callers.  All existing callers do that anyway.

17 years agoClarify doc.
Markus Armbruster [Fri, 21 Jul 2006 06:05:50 +0000 (06:05 +0000)]
Clarify doc.

17 years agoBump version to 4.3.8.
Markus Armbruster [Fri, 21 Jul 2006 05:28:47 +0000 (05:28 +0000)]
Bump version to 4.3.8.

17 years ago(put_empobj): New. Put generic empobj into the appropriate data file.
Ron Koenderink [Thu, 20 Jul 2006 14:12:35 +0000 (14:12 +0000)]
(put_empobj): New.  Put generic empobj into the appropriate data file.
(get_empobj_chr): New.  Get characteristics for empobj.
(mission, build_mission_list_type): Switch to use new
functions put_empobj() and get_empobj_chr().

17 years ago(march, navi): Provide equivalent functionality to map in move(), expl()
Ron Koenderink [Thu, 20 Jul 2006 13:33:11 +0000 (13:33 +0000)]
(march, navi): Provide equivalent functionality to map in move(), expl()
and tran(). Allow map and bmap to access the regular map command
parameters.

17 years ago(prod_nat): Change the wording from "total pop is" to
Ron Koenderink [Thu, 20 Jul 2006 01:29:25 +0000 (01:29 +0000)]
(prod_nat): Change the wording from "total pop is" to
"total pop was" to be less confusing.  The total population
display is the total at the start of the update, not after the
update is complete.

17 years ago[_WIN32]: Add io.h to pickup open/close externs for MSVC environments.
Ron Koenderink [Wed, 19 Jul 2006 01:22:57 +0000 (01:22 +0000)]
[_WIN32]: Add io.h to pickup open/close externs for MSVC environments.

17 years agoUpdate for 4.3.7. v4.3.7
Markus Armbruster [Fri, 14 Jul 2006 23:08:49 +0000 (23:08 +0000)]
Update for 4.3.7.

17 years ago(draw_map): Simplify.
Markus Armbruster [Fri, 14 Jul 2006 23:07:59 +0000 (23:07 +0000)]
(draw_map): Simplify.

17 years agoChange level to Expert to match stop's.
Markus Armbruster [Fri, 14 Jul 2006 23:07:22 +0000 (23:07 +0000)]
Change level to Expert to match stop's.

17 years ago(powe): Remove unused local variable.
Ron Koenderink [Thu, 13 Jul 2006 21:17:00 +0000 (21:17 +0000)]
(powe): Remove unused local variable.
Remove CR's.

17 years ago[_WIN32, __GNUC__]: Reorganize the include files for WIN32 to
Ron Koenderink [Thu, 13 Jul 2006 21:14:16 +0000 (21:14 +0000)]
[_WIN32, __GNUC__]: Reorganize the include files for WIN32 to
separate the MinGW environment from the MSVC environment and
WIN32 environment.  Reorganize the order of the includes so
the system files are always loaded first to prevent with misc.h defines.
Remove system file includes from misc.h.

17 years agoFix power's c_form.
Markus Armbruster [Thu, 13 Jul 2006 20:58:13 +0000 (20:58 +0000)]
Fix power's c_form.

17 years ago(powe): Fix `pow n' not to ignore second argument when BTUs don't
Markus Armbruster [Thu, 13 Jul 2006 20:07:41 +0000 (20:07 +0000)]
(powe): Fix `pow n' not to ignore second argument when BTUs don't
suffice for `n'.

17 years ago(powe): Simplify evaluation of arg 1. No functional change.
Markus Armbruster [Thu, 13 Jul 2006 19:57:56 +0000 (19:57 +0000)]
(powe): Simplify evaluation of arg 1.  No functional change.

17 years ago(prpower): New, factored out of powe(). No functional change.
Markus Armbruster [Thu, 13 Jul 2006 19:41:05 +0000 (19:41 +0000)]
(prpower): New, factored out of powe().  No functional change.

17 years agoUpdate known contributors comment.
Markus Armbruster [Thu, 13 Jul 2006 19:12:26 +0000 (19:12 +0000)]
Update known contributors comment.

17 years ago(init_sanct): Spread food evenly among sanctuaries, for simplicity.
Markus Armbruster [Thu, 13 Jul 2006 18:42:34 +0000 (18:42 +0000)]
(init_sanct): Spread food evenly among sanctuaries, for simplicity.
Give max_pop() civilians (changes civs from 999 to 1000).

17 years ago(init_sanct): New, factored out of new(). No functional change.
Markus Armbruster [Thu, 13 Jul 2006 18:35:17 +0000 (18:35 +0000)]
(init_sanct): New, factored out of new().  No functional change.

17 years agoSpelling.
Markus Armbruster [Thu, 13 Jul 2006 18:23:24 +0000 (18:23 +0000)]
Spelling.

17 years agoBelatedly ignore subject Nukes.
Markus Armbruster [Thu, 13 Jul 2006 18:22:45 +0000 (18:22 +0000)]
Belatedly ignore subject Nukes.

17 years ago(display_region_map): Remove unused local variable.
Ron Koenderink [Thu, 13 Jul 2006 18:02:28 +0000 (18:02 +0000)]
(display_region_map): Remove unused local variable.

17 years agoImprove the description for the additional commands.
Ron Koenderink [Wed, 12 Jul 2006 23:45:51 +0000 (23:45 +0000)]
Improve the description for the additional commands.
Add description for the new drop command.
Correct the quotes.

17 years agoUpdate description for map command.
Ron Koenderink [Wed, 12 Jul 2006 23:41:42 +0000 (23:41 +0000)]
Update description for map command.
Explain the additional parameters for the map command.

17 years ago(do_map): New. map() was split into two parts map() and do_map().
Ron Koenderink [Wed, 12 Jul 2006 18:14:31 +0000 (18:14 +0000)]
(do_map): New.  map() was split into two parts map() and do_map().
(map): Call new function do_map().
(display_region_map): Modify to use do_map() instead of map().
(tran_nmap, tran_pmap, cmd_move_map): Modify to accomodate
the modified display_region_map() function.

17 years ago[_WIN32, __GNU__]: Use <string.h> for strncasecmp for MinGW.
Ron Koenderink [Tue, 11 Jul 2006 22:30:19 +0000 (22:30 +0000)]
[_WIN32, __GNU__]: Use <string.h> for strncasecmp for MinGW.
MinGW environment has an issue with conversion of strncasecmp()
to support _WIN32 and a definition in <string.h> for strncasecmp().

17 years agoRemove optlist.h, not required.
Ron Koenderink [Tue, 11 Jul 2006 22:08:10 +0000 (22:08 +0000)]
Remove optlist.h, not required.
Add empthread.h, needed for empth_request_shutdown() and
empth_wait_for_signal().

17 years agoAdd missing prototypes.h to get logerror().
Ron Koenderink [Tue, 11 Jul 2006 22:06:03 +0000 (22:06 +0000)]
Add missing prototypes.h to get logerror().

17 years agoFix the previous revision.
Markus Armbruster [Tue, 11 Jul 2006 19:59:28 +0000 (19:59 +0000)]
Fix the previous revision.

17 years agoFix error message.
Markus Armbruster [Tue, 11 Jul 2006 19:23:49 +0000 (19:23 +0000)]
Fix error message.

17 years agoChange system header inclusion order to make crufty old systems happy.
Markus Armbruster [Tue, 11 Jul 2006 19:11:55 +0000 (19:11 +0000)]
Change system header inclusion order to make crufty old systems happy.

17 years agoFix rev. 1.37 some more.
Markus Armbruster [Tue, 11 Jul 2006 19:07:42 +0000 (19:07 +0000)]
Fix rev. 1.37 some more.

17 years agoPoorly worded, many little errors, not enough focus. Rewrite,
Markus Armbruster [Tue, 11 Jul 2006 19:02:43 +0000 (19:02 +0000)]
Poorly worded, many little errors, not enough focus.  Rewrite,
basically.  Same outline, but almost every sentence is changed.
Replace some details by references.  Document show sect properly.

17 years agoDon't refer to Innards, it's obsolete. Clarify work. Talk about
Markus Armbruster [Tue, 11 Jul 2006 18:59:44 +0000 (18:59 +0000)]
Don't refer to Innards, it's obsolete.  Clarify work.  Talk about
petrol, not petroleum.  Advise that resource depletion is
configurable.  Clean up prose somewhat.

17 years agoPage managed to talk about BTUs in considerable detail, yet missed to
Markus Armbruster [Tue, 11 Jul 2006 18:55:31 +0000 (18:55 +0000)]
Page managed to talk about BTUs in considerable detail, yet missed to
tell what they're good for.  Amazing.

17 years agoDon't claim which resources are renewable and which aren't, because
Markus Armbruster [Tue, 11 Jul 2006 18:52:26 +0000 (18:52 +0000)]
Don't claim which resources are renewable and which aren't, because
that's configurable.

17 years agoDocument the transformation of sanctuaries into capitals or highways.
Markus Armbruster [Tue, 11 Jul 2006 18:51:08 +0000 (18:51 +0000)]
Document the transformation of sanctuaries into capitals or highways.

17 years agoDon't refer to Innards, it's obsolete.
Markus Armbruster [Tue, 11 Jul 2006 18:49:33 +0000 (18:49 +0000)]
Don't refer to Innards, it's obsolete.

17 years agoClarifications.
Markus Armbruster [Tue, 11 Jul 2006 18:48:36 +0000 (18:48 +0000)]
Clarifications.

17 years agoBelatedly remove BIG_CITY and DEFENSE_INFRA.
Markus Armbruster [Tue, 11 Jul 2006 18:47:42 +0000 (18:47 +0000)]
Belatedly remove BIG_CITY and DEFENSE_INFRA.

17 years ago(setstr): Supply missing cast.
Markus Armbruster [Tue, 11 Jul 2006 18:45:29 +0000 (18:45 +0000)]
(setstr): Supply missing cast.

17 years ago(vers): Format string fix.
Markus Armbruster [Tue, 11 Jul 2006 18:44:33 +0000 (18:44 +0000)]
(vers): Format string fix.

17 years agoFix the previous revision.
Markus Armbruster [Tue, 11 Jul 2006 18:42:56 +0000 (18:42 +0000)]
Fix the previous revision.

17 years agoFix the previous revision (system header inclusion cleanup), it
Markus Armbruster [Tue, 11 Jul 2006 18:42:08 +0000 (18:42 +0000)]
Fix the previous revision (system header inclusion cleanup), it
doesn't compile on crufty old systems.

17 years agoBack out the previous revision (system header inclusion cleanup), it
Markus Armbruster [Tue, 11 Jul 2006 18:11:03 +0000 (18:11 +0000)]
Back out the previous revision (system header inclusion cleanup), it
doesn't compile on crufty old systems.

17 years ago(bestownedpath): Failed to consider direction y due to off-by one
Markus Armbruster [Tue, 11 Jul 2006 06:25:26 +0000 (06:25 +0000)]
(bestownedpath): Failed to consider direction y due to off-by one
mistake in rev. 1.28.  Reported by Stefan Hauser.

17 years ago[_WIN32]: Add missing include sys/types.h to get off_t.
Ron Koenderink [Tue, 11 Jul 2006 03:16:02 +0000 (03:16 +0000)]
[_WIN32]: Add missing include sys/types.h to get off_t.

17 years agoAdd missing includes config.h, prototypes.h and file.h.
Ron Koenderink [Tue, 11 Jul 2006 03:14:56 +0000 (03:14 +0000)]
Add missing includes config.h, prototypes.h and file.h.

17 years ago(obj_nameof): New.
Ron Koenderink [Mon, 10 Jul 2006 23:14:26 +0000 (23:14 +0000)]
(obj_nameof): New.
(nameofitem): Remove, switch callers to to obj_nameof().
(mission, show_mission): Convert functions to use obj_nameof()
instead of nameofitem().

17 years agoBreak inclusion cycle: prototypes.h and commands.h included each
Markus Armbruster [Mon, 10 Jul 2006 06:37:23 +0000 (06:37 +0000)]
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.

17 years agoFix missing include.
Markus Armbruster [Mon, 10 Jul 2006 05:46:38 +0000 (05:46 +0000)]
Fix missing include.

17 years ago(coord): Unused & inappropriate, remove.
Markus Armbruster [Mon, 10 Jul 2006 04:57:03 +0000 (04:57 +0000)]
(coord): Unused & inappropriate, remove.

17 years agoFix the previous revision.
Markus Armbruster [Sun, 9 Jul 2006 20:27:36 +0000 (20:27 +0000)]
Fix the previous revision.