diff options
author | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-07-10 13:47:24 +0000 |
---|---|---|
committer | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-07-10 13:47:24 +0000 |
commit | 32a2523dd5c51b31b31f5e43a7cebdb16e7f5e84 (patch) | |
tree | c69ce4a4009caf59916400957a6ae7f7e18c86ba /include | |
parent | d726aac2d9bac76f095ad6559d7dc30d97c3a97f (diff) | |
download | bullet-lab-remix-32a2523dd5c51b31b31f5e43a7cebdb16e7f5e84.tar.xz |
Dear Pre-Release Candidate version(RC-0).
CLR will collect multiplier +1's in range now.
Multiplier +1's caught by player won't disappear now.
Add/Move background transitions.
Add volume control to options. This make the configuration file
not compatible with older versions. Just delete it!
Modify hge's API so that it can handle real volume and pan values.
Volume value varys from 0 to 1, pan value varys from -1 to 1.
Document...
Diffstat (limited to 'include')
-rw-r--r-- | include/hge.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hge.h b/include/hge.h index ce5badd..18d57b9 100644 --- a/include/hge.h +++ b/include/hge.h @@ -366,7 +366,7 @@ public: virtual HEFFECT CALL Effect_Load(const char *filename, DWORD size=0) = 0; virtual void CALL Effect_Free(HEFFECT eff) = 0; virtual HCHANNEL CALL Effect_Play(HEFFECT eff) = 0; - virtual HCHANNEL CALL Effect_PlayEx(HEFFECT eff, int volume=100, int pan=0, float pitch=1.0f, bool loop=false) = 0; + virtual HCHANNEL CALL Effect_PlayEx(HEFFECT eff, float volume=1.0, float pan=0.0, float pitch=1.0f, bool loop=false) = 0; virtual HMUSIC CALL Music_Load(const char *filename, DWORD size=0) = 0; virtual void CALL Music_Free(HMUSIC mus) = 0; @@ -385,8 +385,8 @@ public: virtual void CALL Stream_Free(HSTREAM stream) = 0; virtual HCHANNEL CALL Stream_Play(HSTREAM stream, bool loop, int volume = 100) = 0; - virtual void CALL Channel_SetPanning(HCHANNEL chn, int pan) = 0; - virtual void CALL Channel_SetVolume(HCHANNEL chn, int volume) = 0; + virtual void CALL Channel_SetPanning(HCHANNEL chn, float pan) = 0; + virtual void CALL Channel_SetVolume(HCHANNEL chn, float volume) = 0; virtual void CALL Channel_SetPitch(HCHANNEL chn, float pitch) = 0; virtual void CALL Channel_Pause(HCHANNEL chn) = 0; virtual void CALL Channel_Resume(HCHANNEL chn) = 0; |