]> git.pond.sub.org Git - empserver/commit
Distinguish between planes "in orbit" and "launched"
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 22 Mar 2008 17:38:51 +0000 (18:38 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 26 Mar 2008 21:09:09 +0000 (22:09 +0100)
commit8006543878d9e531964637ff810813a94cbb524f
tree2c33f3156be313c8efcacaa9f8f873f870235bb5
parent5e930f5fdfc7e7f05d1cca4aca82a566e35b526f
Distinguish between planes "in orbit" and "launched"

Use new pln_is_in_orbit() when we want to test for orbit specifically,
and test PLN_LAUNCHED when we want to test whether the plane not
sitting in the sector (because it is flying).  This distinction is
pointless at this time, because the only way PLN_LAUNCHED gets set is
when a satellite goes into orbit.  It will become useful in a later
commit, which will use PLN_LAUNCHED to mark flying planes.
12 files changed:
include/prototypes.h
src/lib/commands/laun.c
src/lib/commands/pdump.c
src/lib/commands/plan.c
src/lib/commands/sate.c
src/lib/commands/skyw.c
src/lib/commands/trad.c
src/lib/commands/tran.c
src/lib/commands/upgr.c
src/lib/subs/plnsub.c
src/lib/subs/radmap.c
src/lib/update/plane.c