Abstract away the operations involving a sentinel value for coordinates.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 22 Sep 2006 11:38:54 +0000 (11:38 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 22 Sep 2006 11:38:54 +0000 (11:38 +0000)
commit4207ce95e80fe7e2d5114079fa4255e0ad506618
treebabc5337c3d51be62cfbf74110a28109e32bf03a
parentf5a89916bc70a66b6fa6a3abc4c36023503cd380
Abstract away the operations involving a sentinel value for coordinates.

Besides making the code more readable, the sentinel may change someday
if we go zero-origin everywhere.
src/battle.c
src/events.c
src/moving.c
src/planets.c
src/setup.c
src/sst.h