mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-07 04:49:38 +01:00
Codechange: verify the presence of music files in the gm folder. Slightly altered r5464 to exclude the addition of music.c and left out the extra functionality. While in essence this is not a true fix, several people have reported a rising CPU usage because Dmusic kept indefinitely looping the file list. This should solve that.
17 lines
271 B
C
17 lines
271 B
C
/* $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
|