Files
@ r186:d94944c1735d
Branch filter:
Location: cpp/openttd-patchpack/source/sound.h - annotation
r186:d94944c1735d
518 B
text/x-c
(svn r187) -Feature: [1024044] Show max loan in finances window. (ledow)
-some type fixes in txt files
-some type fixes in txt files
r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 | #ifndef SOUND_H
#define SOUND_H
typedef struct Mixer Mixer;
typedef struct MusicFileSettings {
byte playlist;
byte music_vol;
byte effect_vol;
byte custom_1[33];
byte custom_2[33];
bool btn_down;
bool shuffle;
} MusicFileSettings;
VARDEF byte _music_wnd_cursong;
VARDEF bool _song_is_active;
VARDEF byte _cur_playlist[33];
VARDEF MusicFileSettings msf;
VARDEF Mixer *_mixer;
bool MxInitialize(uint rate, const char *filename);
void MxMixSamples(Mixer *mx, void *buffer, uint samples);
#endif /* SOUND_H */
|