Abstract out damage checks.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 19 Sep 2006 18:13:35 +0000 (18:13 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 19 Sep 2006 18:13:35 +0000 (18:13 +0000)
commit2cae1cd3feb922843b40af851f43f9e08bb18f0d
treed2b2ecabd0f748aa67f7c6ce2a8d6c3a61547af9
parentb57643c72bc33f1e2b1de642280d3060c5423d10
Abstract out damage checks.

Implement BSD-Trek check in abandon-ship routine that transporter is
operational and an inhabited planet is nearby before crew can beam
down, otherwise they die in space.  (But this isn't counted against
your score yet.)
src/ai.c
src/battle.c
src/events.c
src/finish.c
src/io.c
src/moving.c
src/planets.c
src/reports.c
src/setup.c
src/sst.h