summaryrefslogtreecommitdiff
path: root/music.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-07-07 02:44:51 +0000
committerbelugas <belugas@openttd.org>2006-07-07 02:44:51 +0000
commit94692a2905efd4be61d726672f5048f9a31cfbb9 (patch)
treed03d3af94e7ce1ddb0e15dba460d980f00d5d203 /music.h
parentd2e0eb8fbf97df3fee5e5a0644e385456f1f3e15 (diff)
downloadopenttd-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.h16
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