Files @ r5998:69c1cce26321
Branch filter:

Location: cpp/openttd-patchpack/source/src/music.h

celestar
(svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed.
/* $Id$ */

#ifndef MUSIC_H
#define MUSIC_H

#define NUM_SONGS_PLAYLIST 33
#define NUM_SONGS_AVAILABLE 22

typedef struct SongSpecs {
	char filename[256];
	char song_name[64];
} SongSpecs;

extern const SongSpecs origin_songs_specs[NUM_SONGS_AVAILABLE];

#endif //MUSIC_H