mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
#ifndef _MUSIC_CONTROL_H_
|
||||
#define _MUSIC_CONTROL_H_
|
||||
|
||||
enum MusicList {
|
||||
MARIMBAD2_MUSIC,
|
||||
MENUMIX_MUSIC,
|
||||
NOTHING_A_MUSIC,
|
||||
NOTHING_B_MUSIC,
|
||||
NOTHING_C_MUSIC,
|
||||
NOTHING_D_MUSIC,
|
||||
TENSOR_A_MUSIC,
|
||||
TENSOR_B_MUSIC,
|
||||
TENSOR_C_MUSIC,
|
||||
TRIUMPH_MUSIC,
|
||||
DEATH_MUSIC,
|
||||
BATTLE_A_MUSIC,
|
||||
BATTLE_B_MUSIC, //same as tensor B
|
||||
CREEPY_MUSIC,
|
||||
CREATURE_BATTLE_MUSIC,
|
||||
NUM_MUSIC
|
||||
};
|
||||
|
||||
enum MusicMode {
|
||||
|
||||
MUSIC_NONE,
|
||||
MUSIC_RESTORE,
|
||||
MUSIC_MAIN_MENU,
|
||||
MUSIC_TACTICAL_NOTHING,
|
||||
MUSIC_TACTICAL_ENEMYPRESENT,
|
||||
MUSIC_TACTICAL_BATTLE,
|
||||
MUSIC_TACTICAL_VICTORY,
|
||||
MUSIC_TACTICAL_DEATH,
|
||||
MUSIC_LAPTOP,
|
||||
};
|
||||
|
||||
extern UINT32 uiMusicHandle;
|
||||
extern BOOLEAN fMusicPlaying;
|
||||
extern UINT8 gubMusicMode;
|
||||
extern BOOLEAN gfForceMusicToTense;
|
||||
|
||||
|
||||
BOOLEAN SetMusicMode( UINT8 ubMusicMode );
|
||||
BOOLEAN MusicPlay(UINT32 uiNum);
|
||||
BOOLEAN MusicSetVolume(UINT32 uiVolume);
|
||||
UINT32 MusicGetVolume(void);
|
||||
BOOLEAN MusicStop(void);
|
||||
BOOLEAN MusicFadeOut(void);
|
||||
BOOLEAN MusicFadeIn(void);
|
||||
BOOLEAN MusicPoll( BOOLEAN fForce );
|
||||
|
||||
void SetMusicFadeSpeed( INT8 bFadeSpeed );
|
||||
|
||||
void FadeMusicForXSeconds( UINT32 uiDelay );
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user