Game Development Reference
In-Depth Information
4
Organizing a Virtual
Filesystem
File : An object that can be written to, or read from, or both. A ile has certain
attributes, including type. Common types of iles include regular iles and
directories. Other types of iles, such as symbolic links, may be supported by the
implementation.
Filesystem : A collection of iles and certain of their attributes.
(Boost documentation, http://www.boost.org )
In this chapter we will cover:
F Abstracting ile streams
F Implementing portable memory-mapped iles
F Implementing ile writers
F Working with in-memory iles
F Implementing mount points
F Enumerating iles in the .zip archives
F Decompressing iles from the .zip archives
F Loading resources asynchronously
F Storing application data
Search WWH ::




Custom Search