diff options
author | belugas <belugas@openttd.org> | 2006-07-07 02:44:51 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-07-07 02:44:51 +0000 |
commit | 94692a2905efd4be61d726672f5048f9a31cfbb9 (patch) | |
tree | d03d3af94e7ce1ddb0e15dba460d980f00d5d203 /music.h | |
parent | d2e0eb8fbf97df3fee5e5a0644e385456f1f3e15 (diff) | |
download | openttd-94692a2905efd4be61d726672f5048f9a31cfbb9.tar.xz |
(svn r5464) [Behaviour Fix] : When starting the game, the system will now verify the presence of music files in gm forlder.
A song can now be removed from the programmed list (in custom list 1 and 2) by clicking on it.
Added music.c[ch] files, to make it all a bit cleaner.
Now, the name of the gm file is associated with the title of the song.
Diffstat (limited to 'music.h')
-rw-r--r-- | music.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/music.h b/music.h new file mode 100644 index 000000000..5d968404a --- /dev/null +++ b/music.h @@ -0,0 +1,16 @@ +/* $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 |