summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-21 19:46:58 +0000
committertron <tron@openttd.org>2005-07-21 19:46:58 +0000
commitcbd5227934af4fc75b7feaa0fd147ea1037e2cde (patch)
tree2482bf9edc68128fc5acec2baa60071d5dc90a8d
parent8b05455903ba474562a4df9d0727427302ea93b5 (diff)
downloadopenttd-cbd5227934af4fc75b7feaa0fd147ea1037e2cde.tar.xz
(svn r2665) Move some variables, which are only used by music_gui.c, there
-rw-r--r--music_gui.c4
-rw-r--r--sound.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/music_gui.c b/music_gui.c
index 81302355c..2294c460a 100644
--- a/music_gui.c
+++ b/music_gui.c
@@ -7,6 +7,10 @@
#include "sound.h"
#include "hal.h"
+static byte _music_wnd_cursong;
+static bool _song_is_active;
+static byte _cur_playlist[33];
+
#define NUM_SONGS_AVAILABLE 22
diff --git a/sound.h b/sound.h
index c7d65928d..6b90809fd 100644
--- a/sound.h
+++ b/sound.h
@@ -12,9 +12,6 @@ typedef struct MusicFileSettings {
char extmidi[80];
} MusicFileSettings;
-VARDEF byte _music_wnd_cursong;
-VARDEF bool _song_is_active;
-VARDEF byte _cur_playlist[33];
VARDEF MusicFileSettings msf;
bool SoundInitialize(const char *filename);