diff options
author | tron <tron@openttd.org> | 2005-07-21 19:46:58 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-21 19:46:58 +0000 |
commit | cbd5227934af4fc75b7feaa0fd147ea1037e2cde (patch) | |
tree | 2482bf9edc68128fc5acec2baa60071d5dc90a8d | |
parent | 8b05455903ba474562a4df9d0727427302ea93b5 (diff) | |
download | openttd-cbd5227934af4fc75b7feaa0fd147ea1037e2cde.tar.xz |
(svn r2665) Move some variables, which are only used by music_gui.c, there
-rw-r--r-- | music_gui.c | 4 | ||||
-rw-r--r-- | sound.h | 3 |
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 @@ -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); |