mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r2665) Move some variables, which are only used by music_gui.c, there
This commit is contained in:
parent
e53c4db866
commit
e2a305144c
@ -7,6 +7,10 @@
|
|||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
#include "hal.h"
|
#include "hal.h"
|
||||||
|
|
||||||
|
static byte _music_wnd_cursong;
|
||||||
|
static bool _song_is_active;
|
||||||
|
static byte _cur_playlist[33];
|
||||||
|
|
||||||
#define NUM_SONGS_AVAILABLE 22
|
#define NUM_SONGS_AVAILABLE 22
|
||||||
|
|
||||||
|
|
||||||
|
3
sound.h
3
sound.h
@ -12,9 +12,6 @@ typedef struct MusicFileSettings {
|
|||||||
char extmidi[80];
|
char extmidi[80];
|
||||||
} MusicFileSettings;
|
} MusicFileSettings;
|
||||||
|
|
||||||
VARDEF byte _music_wnd_cursong;
|
|
||||||
VARDEF bool _song_is_active;
|
|
||||||
VARDEF byte _cur_playlist[33];
|
|
||||||
VARDEF MusicFileSettings msf;
|
VARDEF MusicFileSettings msf;
|
||||||
|
|
||||||
bool SoundInitialize(const char *filename);
|
bool SoundInitialize(const char *filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user