![]() |
OpenXcom
1.0
Open-source clone of the original X-Com
|
Subclass of CatFile to handle gm.cat files that contain MIDI music streams. More...
#include <GMCat.h>
Public Member Functions | |
| GMCatFile (const char *path) | |
| Inherit constructor. | |
| Music * | loadMIDI (unsigned int i) |
| Loads a stream as a MIDI file. More... | |
Public Member Functions inherited from OpenXcom::CatFile | |
| CatFile (const char *path) | |
| Creates a CAT file stream. More... | |
| ~CatFile () | |
| Cleans up the stream. More... | |
| bool | operator! () const |
| Inherit operator. | |
| int | getAmount () const |
| Get amount of objects. | |
| unsigned int | getObjectSize (unsigned int i) const |
| Get object size. | |
| char * | load (unsigned int i, bool name=false) |
| Load an object into memory. More... | |
Subclass of CatFile to handle gm.cat files that contain MIDI music streams.
| Music * OpenXcom::GMCatFile::loadMIDI | ( | unsigned int | i | ) |
Loads a stream as a MIDI file.
Loads a MIDI object into memory.
| i | Music number to load. |
1.8.14