mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- added SetMusicVolume ACS function.
This commit is contained in:
parent
5e73cdc670
commit
a1e8d83724
1 changed files with 7 additions and 0 deletions
|
@ -81,6 +81,7 @@
|
|||
#include "p_effect.h"
|
||||
#include "r_utility.h"
|
||||
#include "a_morph.h"
|
||||
#include "i_music.h"
|
||||
|
||||
#include "g_shared/a_pickups.h"
|
||||
|
||||
|
@ -4500,6 +4501,8 @@ enum EACSFunctions
|
|||
ACSF_SetSectorDamage,
|
||||
ACSF_SetSectorTerrain,
|
||||
ACSF_SpawnParticle,
|
||||
ACSF_SetMusicVolume,
|
||||
// 2 more left...
|
||||
|
||||
/* Zandronum's - these must be skipped when we reach 99!
|
||||
-100:ResetMap(0),
|
||||
|
@ -6087,6 +6090,10 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
|
|||
color, fullbright, startalpha/255., lifetime, size, fadestep/255.);
|
||||
}
|
||||
break;
|
||||
|
||||
case ACSF_SetMusicVolume:
|
||||
I_SetMusicVolume(ACSToFloat(args[0]));
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue