rem:   getGUIObjectByName ("ldTitleBar").caption = "Loading Scenario ..."; getGUIObjectByName ("ldProgressBarText").caption = ""; getGUIObjectByName ("ldProgressBar").caption = 0; getGUIObjectByName ("ldText").caption = "LOADING " + g_GameAttributes.mapFile + " ...\nPlease wait ..."; 
add:   getGUIObjectByName ("ldTitleBar").caption = "Loading Scenario ..."; getGUIObjectByName ("ldProgressBarText").caption = ""; getGUIObjectByName ("ldProgressBar").caption = 0; getGUIObjectByName ("ldText").caption = "LOADING " + g_GameAttributes.mapFile + " ...\nPlease wait ..."; 
context: function startLoadingScreen(){        // Switch screens from main menu to loading screen.        guiSwitch ("pg", "ld");		// Set to "hourglass" cursor.		setCursor("cursor-wait");        console.write ("Loading " + g_GameAttributes.mapFile + " (" + g_GameAttributes.numPlayers + " players) ...");        // Choose random concept art for loading screen background (should depend on the selected civ later when this is specified).		var sprite = "";		var loadingBkgArray = buildDirEntList("art/textures/ui/loading/", "*.dds", false);		if (loadingBkgArray.length == 0)			console.write ("ERROR: Failed to find any matching textures for the loading screen background.");		else		{			// Get a random index from the list of loading screen backgrounds.			sprite = "stretched:" + loadingBkgArray[getRandom (0, loadingBkgArray.length-1)];			sprite = sprite.replace ("art/textures/ui/", "");		}        getGUIObjectByName ("ldConcept").sprite = sprite;        // janwas: main loop now sets progress / description, but that won't        // happen until the first timeslice completes, so set initial values.        getGUIObjectByName ("ldTitleBar").caption = "Loading Scenario ...";        getGUIObjectByName ("ldProgressBarText").caption = "";        getGUIObjectByName ("ldProgressBar").caption = 0;        getGUIObjectByName ("ldText").caption = "LOADING " + g_GameAttributes.mapFile + " ...\nPlease wait ...";        // Pick a random tip of the day (each line is a separate tip).        var tipArray  = readFileLines("gui/text/tips.txt");        // Set tip string.        getGUIObjectByName ("ldTip").caption = tipArray[getRandom(0, tipArray.length-1)];}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/43323342db248d6227b69129e134b6eea35acbfa/functions_page_pregame_load.js/buggy/binaries/data/mods/official/gui/test/functions_page_pregame_load.js