Chapter 5. Directory structure

In the freeVikings root directory you can find a huge heap of Ruby source files, some additional ones (README, RELEASE, TODO, CHANGES) and a few directories.

We are now interested in two of them: fonts/ and gfx/. All graphic stuff is stored somewhere in the gfx/ directory. Let's quickly discover it's contents.

Much of the graphic files are directly in the gfx/ directory. Currently there are all monsters (often several pictures for one), items and other game objects (door, lifts, ...).

icons/ Icons for the user to put into his application launcher. Currently there isn't any nice one...
models/XML files with definition models (see Chapter 11, Some general concepts)
themes/Every of it's subdirectories (e.g. DefaultTheme, IceTheme) contains one graphical theme - both definition (XML file) and images. For what exactly a theme is see the section called “Theme”
tilesets/Files with sets of tiles used to build maps.
vikings/(Only) graphics of vikings. Their portraits are in gfx/ and models in models/.