Esempio n. 1
0
 public void Init()
 {
     Verdata       = new Verdata(this);
     RadarCol      = new RadarCol(this);
     Hues          = new Hues(this);
     Gumps         = new Gumps(this);
     Art           = new Art(this);
     TileData      = new TileData(this);
     Skills        = new Skills(this);
     Light         = new Light(this);
     Sound         = new Sounds(this);
     Textures      = new Textures(this);
     Multis        = new Multis(this);
     AnimationEdit = new AnimationEdit(this);
     ASCIIText     = new ASCIIText(this);
     Maps          = new Dictionary <MapNames, Map>
     {
         { MapNames.Felucca, Map.Felucca(this) },
         { MapNames.Ilshenar, Map.Ilshenar(this) },
         { MapNames.Malas, Map.Malas(this) },
         { MapNames.Trammel, Map.Trammel(this) },
         { MapNames.Tokuno, Map.Tokuno(this) },
         { MapNames.TerMur, Map.TerMur(this) }
     };
     MultiMap   = new Ultima.MultiMap(this);
     Animations = new Animations(this);
 }
Esempio n. 2
0
 public ASCIIFont(byte header, ASCIIText asciiText)
 {
     Header     = header;
     ASCIIText  = asciiText;
     Height     = 0;
     Unk        = new byte[224];
     Characters = new Bitmap[224];
 }
Esempio n. 3
0
        public static ASCIIFont GetFixed(int font, ASCIIText asciiText)
        {
            if (font < 0 || font > 9)
            {
                return(asciiText.Fonts[3]);
            }

            return(asciiText.Fonts[font]);
        }