Beispiel #1
0
 public TBLVNode(int numEntries)
 {
     unk0 = 1;
     unk1 = 0;
     unk2 = 0;
     while (EntryList.Count < numEntries)
     {
         EntryList.Add(0);
     }
 }
Beispiel #2
0
 public TBRMNode(int numEntries)
 {
     unk0 = 1;
     unk1 = 0;
     unk2 = 0;
     while (NumEntries < numEntries)
     {
         EntryList.Add(0);
     }
 }
Beispiel #3
0
        public override bool OnInitialize()
        {
            unk0 = Header->_unk0;
            unk1 = Header->_unk1;
            unk2 = Header->_unk2;
            for (int i = 0; i < WorkingUncompressed.Length - EntryOffset; i += 4)
            {
                EntryList.Add(((byte *)Header->Entries)[i + 3]);
                EntryList.Add(((byte *)Header->Entries)[i + 2]);
                EntryList.Add(((byte *)Header->Entries)[i + 1]);
                EntryList.Add(((byte *)Header->Entries)[i]);
            }

            return(false);
        }