phantasia: redo how void gets init'd from NetBSD
authorUlrich Spörlein <uqs@spoerlein.net>
Thu, 12 Nov 2009 17:15:33 +0000 (18:15 +0100)
committerUlrich Spörlein <uqs@spoerlein.net>
Thu, 12 Nov 2009 17:15:33 +0000 (18:15 +0100)
commitb4561e57dd4f1fc57086b70eb11bbc6580072062
tree9598cb65d57e580b4431048a3c556ff540022eb8
parentc0ec1d8a2ba92f3f99855933af738eb7078551a4
phantasia: redo how void gets init'd from NetBSD

Change by jmc of NetBSD fame:
    setup now just creates an empty file. When main starts and loads it
    in, it stats and if zero size init's a new location and saves it
    back out. Now games.tgz can be shared among MACHINE_ARCH's

This also makes packaging phantasia easier. Package updates can skip
removing the void file, if it is non-empty.
games/phantasia/interplayer.c
games/phantasia/main.c
games/phantasia/phantglobs.h
games/phantasia/setup.c