private bool SimpleMode; //certain sounds play with no HIT. #endregion Fields #region Constructors public HITThread(HITFile Src, HITVM VM) { this.Src = Src; this.VM = VM; Registers = new int[16]; Registers[1] = 12; //gender (offset into object var table) 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; }
private HITResourceGroup LoadHitGroup(string HITPath, string EVTPath, string HSMPath) { var events = new EVT(EVTPath); var hitfile = new HITFile(HITPath); HSM hsmfile = null; if (HSMPath != null) hsmfile = new HSM(HSMPath); return new HITResourceGroup() { evt = events, hit = hitfile, hsm = hsmfile }; }