mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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 "p_effect.h"
|
||||||
#include "r_utility.h"
|
#include "r_utility.h"
|
||||||
#include "a_morph.h"
|
#include "a_morph.h"
|
||||||
|
#include "i_music.h"
|
||||||
|
|
||||||
#include "g_shared/a_pickups.h"
|
#include "g_shared/a_pickups.h"
|
||||||
|
|
||||||
|
@ -4500,6 +4501,8 @@ enum EACSFunctions
|
||||||
ACSF_SetSectorDamage,
|
ACSF_SetSectorDamage,
|
||||||
ACSF_SetSectorTerrain,
|
ACSF_SetSectorTerrain,
|
||||||
ACSF_SpawnParticle,
|
ACSF_SpawnParticle,
|
||||||
|
ACSF_SetMusicVolume,
|
||||||
|
// 2 more left...
|
||||||
|
|
||||||
/* Zandronum's - these must be skipped when we reach 99!
|
/* Zandronum's - these must be skipped when we reach 99!
|
||||||
-100:ResetMap(0),
|
-100:ResetMap(0),
|
||||||
|
@ -6088,6 +6091,10 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ACSF_SetMusicVolume:
|
||||||
|
I_SetMusicVolume(ACSToFloat(args[0]));
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue