From 3bd383baf6a17e734329e1fc677c7e86283db772 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 26 Oct 2015 22:52:36 +0800 Subject: 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. --- music.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 music.h (limited to 'music.h') 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); -} -- cgit v1.2.3