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
commit351c878365ed1737afb3f80ad75fc9fc3a266d89 (patch)
treed03d3af94e7ce1ddb0e15dba460d980f00d5d203 /music.h
parent7aa821b7fcbf7a34b37239baf3ad6da9ba1ad50c (diff)
downloadopenttd-351c878365ed1737afb3f80ad75fc9fc3a266d89.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