diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-10-26 22:52:36 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-10-26 22:52:36 +0800 |
commit | 3bd383baf6a17e734329e1fc677c7e86283db772 (patch) | |
tree | 69a9148087577f797624ceb9c71323a2563d6bb4 /music.h | |
parent | 543e4f570be9b279ba558ca61cc02cda251af384 (diff) | |
download | bullet-lab-remix-3bd383baf6a17e734329e1fc677c7e86283db772.tar.xz |
Added support for relative line numbers.
Added instructions for, brk and cont. (They are still untested...)
Parser code cleanup. Removed garbage output to stderr.
Reorganize the repository structure.
Updated BLR2 code move it into archive.
Added BLR1 files.
Diffstat (limited to 'music.h')
-rw-r--r-- | music.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/music.h b/music.h deleted file mode 100644 index ef09c41..0000000 --- a/music.h +++ /dev/null @@ -1,34 +0,0 @@ -//Chrisoft Bullet Lab Remix HGE -*- C++ -*- -//In Game Music Implementations -//Copyright Chrisoft 2014 -HEFFECT Mus; -HCHANNEL Muc; -int lpst,lped; -//static const char* MUSIC_H_FN="music.h"; - -void Music_Init(const char* file) -{ - Mus=hge->Effect_Load(file); -} -void Music_Play() -{ - Muc=hge->Effect_PlayEx(Mus,bgmvol/15.0,0,1.0,true); -} -void Music_Update() -{ - if (!lpst||!lped)return; - int Mucpos=hge->Channel_GetPos_BySample(Muc); - if (Mucpos>=lped)hge->Channel_SetPos_BySample(Muc,lpst); -} -void Music_Stop() -{ - hge->Channel_Stop(Muc); -} -void Music_Pause() -{ - hge->Channel_Pause(Muc); -} -void Music_Resume() -{ - hge->Channel_Resume(Muc); -} |