- scriptified ASoundSequence.
- exported virtual Actor.MarkPrecacheSounds function.
This commit is contained in:
parent
0b62645a35
commit
96777273c4
8 changed files with 180 additions and 197 deletions
|
|
@ -425,11 +425,27 @@ void DSeqNode::AddChoice (int seqnum, seqtype_t type)
|
|||
}
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DSeqNode, AddChoice)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DSeqNode);
|
||||
PARAM_NAME(seq);
|
||||
PARAM_INT(mode);
|
||||
self->AddChoice(seq, seqtype_t(mode));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
FName DSeqNode::GetSequenceName () const
|
||||
{
|
||||
return Sequences[m_Sequence]->SeqName;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DSeqNode, GetSequenceName)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DSeqNode);
|
||||
ACTION_RETURN_INT(self->GetSequenceName().GetIndex());
|
||||
}
|
||||
|
||||
IMPLEMENT_CLASS(DSeqActorNode, false, true)
|
||||
|
||||
IMPLEMENT_POINTERS_START(DSeqActorNode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue