Streamline the archive loading mechanism
authorThomas Perl <thp@thpinfo.com>
Sat, 13 Feb 2010 15:23:14 +0000 (16:23 +0100)
committerThomas Perl <thp@thpinfo.com>
Sat, 13 Feb 2010 15:23:14 +0000 (16:23 +0100)
commite01d30d0fc2f988112f58e7a7e481cde55beb658
tree0d8c55f059ea86f62f4168016bb992404f87c93f
parent3940b588861f4b0f56266e1dbed68a5cb288bc25
Streamline the archive loading mechanism

Only load the archive once (in the main function)
and pass a reference to the archive object to the
initialization functions for graphics, sound and
input (which will read the data from the archive).
13 files changed:
archive.cc
archive.hh
archivetool.cc
graphics.cc
graphics.h
input.c
input.h
makefile
sound.cc
sound.h
tennix.cc [moved from tennix.c with 99% similarity]
tennixpy.cc
tennixpy.h