Example #1
0
 static ArtData()
 {
     if (UOP)
     {
         m_FileIndex = new FileIndex("artLegacyMUL.uop", 0x14000, ".tga", 0x13FDC, false);
     }
     else if (MUL)
     {
         m_FileIndex = new FileIndex("artidx.mul", "art.mul", 0x14000);
     }
 }
Example #2
0
 static GumpData()
 {
     if (UOP)
     {
         m_FileIndex = new FileIndex("gumpartLegacyMUL.uop", 0xFFFF, ".tga", -1, true);
     }
     else if (MUL)
     {
         m_FileIndex = new FileIndex("gumpidx.mul", "gumpart.mul", 0xFFFF);
     }
 }
Example #3
0
            public int CompareTo(Entry other)
            {
                if (other == null)
                {
                    return(-1);
                }

                if (!Insensitive.Equals(File, other.File))
                {
                    return(Insensitive.Compare(File, other.File));
                }

                return(FileIndex.CompareTo(other.FileIndex));
            }
Example #4
0
        static GumpData()
        {
            if (UOP)
            {
                m_FileIndex = new FileIndex("gumpartLegacyMUL.uop", 65535, ".tga", true);
            }
            else if (MUL)
            {
                m_FileIndex = new FileIndex("gumpidx.mul", "gumpart.mul", 65535);
            }

            if (m_FileIndex != null)
            {
                MaxGumpID = m_FileIndex.IdxCount - 1;
            }
        }
Example #5
0
        static ArtData()
        {
            if (UOP)
            {
                m_FileIndex = new FileIndex("artLegacyMUL.uop", 81920, ".tga", false);
            }
            else if (MUL)
            {
                m_FileIndex = new FileIndex("artidx.mul", "art.mul", 81920);
            }

            if (m_FileIndex != null)
            {
                MaxLandID = 16383;
                MaxItemID = m_FileIndex.IdxCount - (MaxLandID + 1);
            }
        }