public HITThread(uint TrackID) { Owners = new List <int>(); Notes = new List <HITNoteEntry>(); NotesByChannel = new Dictionary <int, HITNoteEntry>(); audContent = Content.Content.Get().Audio; SetTrack(TrackID); Patch = ActiveTrack.SoundID; SimpleMode = true; PlaySimple = true; //play next frame, so we have time to set volumes. }
public HITThread(HITFile Src, HITVM VM) { this.Src = Src; this.VM = VM; Registers = new int[16]; LocalVar = new int[54]; ObjectVar = new int[29]; Notes = new List <HITNoteEntry>(); NotesByChannel = new Dictionary <int, HITNoteEntry>(); Owners = new List <int>(); Stack = new Stack <int>(); audContent = Content.Content.Get().Audio; }
public HITThread(HITFile Src, HITVM VM) { this.Src = Src; this.VM = VM; Registers = new int[16]; LocalVar = new int[54]; ObjectVar = new int[29]; Notes = new List<HITNoteEntry>(); NotesByChannel = new Dictionary<SoundEffectInstance, HITNoteEntry>(); Owners = new List<int>(); Stack = new Stack<int>(); audContent = Content.Content.Get().Audio; }
public HITThread(uint TrackID) { Owners = new List<int>(); Notes = new List<HITNoteEntry>(); NotesByChannel = new Dictionary<SoundEffectInstance, HITNoteEntry>(); audContent = Content.Content.Get().Audio; SetTrack(TrackID); Patch = ActiveTrack.SoundID; SimpleMode = true; PlaySimple = true; //play next frame, so we have time to set volumes. }