OpenXcom
1.0
Open-source clone of the original X-Com
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
src
Engine
Adlib
adlplayer.h
1
/* ADLPLAYER.H
2
*
3
* player functions for midi-like adlib music
4
*
5
*/
6
7
#ifndef ADLPLAYER_H
8
9
#define ADLPLAYER_H
10
11
//MAIN FUNCTION - instantly stops music
12
void
func_mute();
13
//MAIN FUNCTION - runs 1 tick of music according tempo
14
void
func_play_tick();
15
//MAIN FUNCTION - setup music for playing
16
void
func_setup_music(
unsigned
char
* music_ptr,
int
length);
17
//MAIN FUNCTION - initialize fade procedure
18
void
func_fade();
19
bool
func_is_music_playing();
20
void
func_set_music_tempo(
int
value);
21
void
func_set_music_volume(
int
value);
22
int
func_get_polyphony();
23
void
func_save_music_state(
int
i);
24
void
func_load_music_state(
int
i);
25
26
#endif
Generated on Fri Jun 13 2014 20:52:36 for OpenXcom by
1.8.7