/// <summary>
 /// fills out the map containers with the data about each level.
 /// </summary>
 void Populatemaps()
 {
     maps[0] = new mapcontainer("Basic Training", new int[] { 1, 1, 1, 1 }, CrossLevelVariableHolder.mapcon.map1, CrossLevelVariableHolder.skyboxcon.skybox3, 0, 2000, eMissionObjective.Destroyall, "Practice your skills \nagainst drones in \npreperation for \ndefense of the  \nempire.", eshipsavailable.fighers);                                                      // Scount x 4
     maps[1] = new mapcontainer("Core Outskirts", new int[] { 3, 3, 3 }, CrossLevelVariableHolder.mapcon.map2, CrossLevelVariableHolder.skyboxcon.skybox1, 1, 2000, eMissionObjective.Destroyall, "Rebels have been \nsending sorties into \ncivilian shiping lanes. \n\nDestroy their ships \nand protect our \neconomic interests.", eshipsavailable.fighers);              // Bomber x 3
     maps[2] = new mapcontainer("System Patrol", new int[] { 7, 7, 7, 13 }, CrossLevelVariableHolder.mapcon.map3, CrossLevelVariableHolder.skyboxcon.skybox4, 2, 4000, eMissionObjective.killTarget, "The outskirts have \nalways been a pit \nof despair and piracy. \n\n A Famed Pirate boss \nhas been located \nconducting a raid. \nend him.", eshipsavailable.fighers); // Missile frigate x 3
     maps[3] = new mapcontainer("Pirate Base", new int[] { 6, 2, 2, 2, 2 }, CrossLevelVariableHolder.mapcon.map1, CrossLevelVariableHolder.skyboxcon.skybox5, 3, 5500, eMissionObjective.Destroyall, "Our intelligence has \nlocated one of their \ndens. \nDestroy it.", eshipsavailable.frigates);                                                                          // Flack frigate x 1, Fighter x 4
     maps[4] = new mapcontainer("Military Excursion", new int[] { 7, 7, 0 }, CrossLevelVariableHolder.mapcon.map1, CrossLevelVariableHolder.skyboxcon.skybox3, 4, 4000, eMissionObjective.Survive, "We need you to make \na full excursion into \nrebel territory \nand recorver a high \nranking prisoner.", eshipsavailable.frigates);                                      // Cannon frigate x 4, Fighters x 1
     maps[5] = new mapcontainer("All out war", new int[] { 3, 3, 3, 2, 2, 2, 11, 9 }, CrossLevelVariableHolder.mapcon.map2, CrossLevelVariableHolder.skyboxcon.skybox4, 5, 8000, eMissionObjective.Destroyall, "The rebels have \nlaunched an all out \nassault on the \nCapital. \n\nDestroy one of their \nen-route fleets.", eshipsavailable.frigates);                    // Bomber x 3, Fighter x 3, Destroyer x 1, Support x 1
     maps[6] = new mapcontainer("Final Assault", new int[] { 11, 11, 0 }, CrossLevelVariableHolder.mapcon.map3, CrossLevelVariableHolder.skyboxcon.skybox3, 6, 6000, eMissionObjective.Survive, "The Imperial palace \nis under siege! \n\nyou need to survive \nagainst the rebel \nfleets!", eshipsavailable.all);                                                          // Destroyer x 2, Flack Frigate x 4, Fighters x 3
     maps[7] = new mapcontainer("Last Hope", new int[] { 12, 11, 11, 3, 3, 3, 3, 3, 2, 2, 13 }, CrossLevelVariableHolder.mapcon.map1, CrossLevelVariableHolder.skyboxcon.skybox4, 7, 12000, eMissionObjective.killTarget, "The rebel flagship is \nexposed. \n\nstrike now and \nend the rebellion.", eshipsavailable.all);                                                   // Capital x 1, Destroyer x 2, Bomber x 6, fighter x 2
     GetCompleted();
     updatedisplay();
 }
 void loadshipstotext(int map)
 {
     mapcontainer mapcon = maps[map + (countthrough * 4)];
 }