public Map( EU2.Install install ) : base(install) { lightmaps = new Lightmap[5]; lightmaps[0] = new Lightmap( 0, install.GetMapFile("lightmap1.tbl"), install ); lightmaps[1] = new Lightmap( 1, install.GetMapFile("lightmap2.tbl"), install ); lightmaps[2] = new Lightmap( 2, install.GetMapFile("lightmap3.tbl"), install ); lightmaps[3] = new Lightmap( 4, install.GetMapFile("lightmap4.tbl"), install ); }
public TerrainList( EU2.Install install ) { CSVReader reader = new CSVReader( install.GetMapFile( "terrain types.csv" ) ); try { ReadFromCSV( reader ); } finally { reader.Close(); } }