mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
* Merged Source Code from Development Trunk: Revision 4063 * ************************************************************ - Source Code is merged from: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP - This will be the Source for the Beta 2011 Test git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4064 3b4a5df2-a311-0410-b5c6-a8a6f20db521
68 lines
1.3 KiB
C
68 lines
1.3 KiB
C
#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;
|
|
|
|
UINT8 GetMusicMode(void);
|
|
BOOLEAN SetMusicMode(UINT8 ubMusicMode);
|
|
|
|
// only for editor (editscreen.cpp)
|
|
BOOLEAN MusicPlay(UINT32 uiNum);
|
|
|
|
UINT32 MusicGetVolume(void);
|
|
BOOLEAN MusicSetVolume(UINT32 uiVolume);
|
|
|
|
BOOLEAN MusicPoll(BOOLEAN fForce);
|
|
|
|
void SetMusicFadeSpeed(INT8 bFadeSpeed);
|
|
|
|
BOOLEAN UsingCreatureMusic(void);
|
|
void UseCreatureMusic(BOOLEAN fUseCreatureMusic);
|
|
|
|
// only for luaglobal.cpp
|
|
BOOLEAN IsMusicPlaying(void);
|
|
UINT32 GetMusicHandle(void);
|
|
|
|
//BOOLEAN MusicStop(void);
|
|
//BOOLEAN MusicFadeOut(void);
|
|
//BOOLEAN MusicFadeIn(void);
|
|
//void FadeMusicForXSeconds( UINT32 uiDelay );
|
|
|
|
#endif
|