MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / aMusicSetRegionAll

Function aMusicSetRegionAll

scripts/DallasFuncs.cpp:2421–2428  ·  view source on GitHub ↗

$$ACTION Sound && Music Set music region to [e:Region] for all players aMusicSetRegionAll Set music region for all players Sets the specified region as the active region for the music system for all players Parameters: Region: which region is now active $$END */

Source from the content-addressed store, hash-verified

2419$$END
2420*/
2421void aMusicSetRegionAll(int region_num) {
2422 msafe_struct mstruct;
2423
2424 mstruct.state = 0; // all players
2425 mstruct.index = region_num;
2426
2427 MSafe_CallFunction(MSAFE_MUSIC_REGION, &mstruct);
2428}
2429
2430/*
2431$$ACTION

Callers 15

CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85
CallEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected