Пример #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);
 }
Пример #2
0
 public Map(string path, int fileIndex, int mapID, int width, int height, RadarCol radarCol, TileData tileData, Hues hues, Files files, Art art)
 {
     m_FileIndex    = fileIndex;
     m_MapID        = mapID;
     m_Width        = width;
     m_Height       = height;
     this._RadarCol = radarCol;
     this._TileData = tileData;
     this._Hues     = hues;
     m_path         = path;
     _files         = files;
     _Art           = art;
 }
Пример #3
0
 public static Map Ilshenar(RadarCol radarCol, TileData tileData, Hues hues, Files files, Art art)
 {
     return(new Map(2, 2, 2304, 1600, radarCol, tileData, hues, files, art));
 }
Пример #4
0
 public static Map Trammel(RadarCol radarCol, TileData tileData, Hues hues, Files files, Art art)
 {
     return(new Map(0, 1, 6144, 4096, radarCol, tileData, hues, files, art));
 }
Пример #5
0
 public static Map Felucca(RadarCol radarCol, TileData tileData, Hues hues, Files files, Art art)
 {
     return(new Map(0, 0, 6144, 4096, radarCol, tileData, hues, files, art));
 }
Пример #6
0
 public static Map TerMur(RadarCol radarCol, TileData tileData, Hues hues, Files files, Art art)
 {
     return(new Map(5, 5, 1280, 4096, radarCol, tileData, hues, files, art));
 }
Пример #7
0
 public static Map Tokuno(RadarCol radarCol, TileData tileData, Hues hues, Files files, Art art)
 {
     return(new Map(4, 4, 1448, 1448, radarCol, tileData, hues, files, art));
 }
Пример #8
0
 public static Map Malas(RadarCol radarCol, TileData tileData, Hues hues, Files files, Art art)
 {
     return(new Map(3, 3, 2560, 2048, radarCol, tileData, hues, files, art));
 }