mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
CON: Add "stopallmusic" command.
git-svn-id: https://svn.eduke32.com/eduke32@6427 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c750f8262a
commit
df70cbbbeb
3 changed files with 8 additions and 0 deletions
|
@ -600,6 +600,7 @@ const char *keyw[] = {
|
||||||
"drawline256", // 404
|
"drawline256", // 404
|
||||||
"drawlinergb", // 405
|
"drawlinergb", // 405
|
||||||
"starttrackslot", // 406
|
"starttrackslot", // 406
|
||||||
|
"stopallmusic", // 407
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -6038,6 +6039,7 @@ repeatcase:
|
||||||
case CON_GETTEXTURECEILING:
|
case CON_GETTEXTURECEILING:
|
||||||
case CON_INSERTSPRITEQ:
|
case CON_INSERTSPRITEQ:
|
||||||
case CON_STOPALLSOUNDS:
|
case CON_STOPALLSOUNDS:
|
||||||
|
case CON_STOPALLMUSIC:
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case CON_NULLOP:
|
case CON_NULLOP:
|
||||||
|
|
|
@ -1142,6 +1142,7 @@ enum ScriptKeywords_t
|
||||||
CON_DRAWLINE256, // 404
|
CON_DRAWLINE256, // 404
|
||||||
CON_DRAWLINERGB, // 405
|
CON_DRAWLINERGB, // 405
|
||||||
CON_STARTTRACKSLOT, // 406
|
CON_STARTTRACKSLOT, // 406
|
||||||
|
CON_STOPALLMUSIC, // 407
|
||||||
CON_END
|
CON_END
|
||||||
};
|
};
|
||||||
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
|
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
|
||||||
|
|
|
@ -3605,6 +3605,11 @@ nullquote:
|
||||||
FX_StopAllSounds();
|
FX_StopAllSounds();
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
case CON_STOPALLMUSIC:
|
||||||
|
insptr++;
|
||||||
|
S_StopMusic();
|
||||||
|
continue;
|
||||||
|
|
||||||
case CON_IFGAPZL:
|
case CON_IFGAPZL:
|
||||||
insptr++;
|
insptr++;
|
||||||
VM_CONDITIONAL(((vm.pActor->floorz - vm.pActor->ceilingz) >> 8) < *insptr);
|
VM_CONDITIONAL(((vm.pActor->floorz - vm.pActor->ceilingz) >> 8) < *insptr);
|
||||||
|
|
Loading…
Reference in a new issue