mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00: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
|
||||
"drawlinergb", // 405
|
||||
"starttrackslot", // 406
|
||||
"stopallmusic", // 407
|
||||
NULL
|
||||
};
|
||||
#endif
|
||||
|
@ -6038,6 +6039,7 @@ repeatcase:
|
|||
case CON_GETTEXTURECEILING:
|
||||
case CON_INSERTSPRITEQ:
|
||||
case CON_STOPALLSOUNDS:
|
||||
case CON_STOPALLMUSIC:
|
||||
continue;
|
||||
|
||||
case CON_NULLOP:
|
||||
|
|
|
@ -1142,6 +1142,7 @@ enum ScriptKeywords_t
|
|||
CON_DRAWLINE256, // 404
|
||||
CON_DRAWLINERGB, // 405
|
||||
CON_STARTTRACKSLOT, // 406
|
||||
CON_STOPALLMUSIC, // 407
|
||||
CON_END
|
||||
};
|
||||
// KEEPINSYNC with the keyword list in lunatic/con_lang.lua
|
||||
|
|
|
@ -3605,6 +3605,11 @@ nullquote:
|
|||
FX_StopAllSounds();
|
||||
continue;
|
||||
|
||||
case CON_STOPALLMUSIC:
|
||||
insptr++;
|
||||
S_StopMusic();
|
||||
continue;
|
||||
|
||||
case CON_IFGAPZL:
|
||||
insptr++;
|
||||
VM_CONDITIONAL(((vm.pActor->floorz - vm.pActor->ceilingz) >> 8) < *insptr);
|
||||
|
|
Loading…
Reference in a new issue