OpenTTD
BaseMusic Class Reference

All data/functions related with replacing the base music. More...

#include <base_media_base.h>

Inheritance diagram for BaseMusic:
BaseMedia< MusicSet > FileScanner

Additional Inherited Members

- Static Public Member Functions inherited from BaseMedia< MusicSet >
static bool DetermineBestSet ()
 Determine the graphics pack that has to be used.
static uint FindSets ()
 Do the scan for files.
static MusicSetGetAvailableSets ()
static bool SetSet (const char *name)
static char * GetSetsList (char *p, const char *last)
static int GetNumSets ()
static int GetIndexOfUsedSet ()
static const MusicSetGetSet (int index)
static const MusicSetGetUsedSet ()
static bool HasSet (const ContentInfo *ci, bool md5sum)
 Check whether we have an set with the exact characteristics as ci.
- Static Public Attributes inherited from BaseMedia< MusicSet >
static const char * ini_set
 The set as saved in the config file.
- Protected Member Functions inherited from BaseMedia< MusicSet >
bool AddFile (const char *filename, size_t basepath_length, const char *tar_filename)
- Static Protected Member Functions inherited from BaseMedia< MusicSet >
static const char * GetExtension ()
 Get the extension that is used to identify this set.
- Static Protected Attributes inherited from BaseMedia< MusicSet >
static MusicSetavailable_sets
 All available sets.
static MusicSetduplicate_sets
 All sets that aren't available, but needed for not downloading base sets when a newer version than the one on BaNaNaS is loaded.
static const MusicSetused_set
 The currently used set.

Detailed Description

All data/functions related with replacing the base music.

Definition at line 294 of file base_media_base.h.


The documentation for this class was generated from the following file: