1
0
forked from 0ad/0ad

Changed GUI load sequence in order to fix a problem which came up through the global objects being loaded before the main menu background object. The globals are now in 6_global.xml (should always be at the end of the load order) and the JS initialization now is in 1_init.xml.

This was SVN commit r1314.
This commit is contained in:
Fire Giant 2004-11-14 21:14:00 +00:00
parent fb09faf5be
commit a9fe8c0c61

View File

@ -763,11 +763,12 @@ static void psInit()
g_GUI.LoadXMLFile("gui/test/sprite1.xml");
// Temporary hack until revised GUI structure is completed.
g_GUI.LoadXMLFile("gui/test/1_global.xml");
g_GUI.LoadXMLFile("gui/test/1_init.xml");
g_GUI.LoadXMLFile("gui/test/2_mainmenu.xml");
g_GUI.LoadXMLFile("gui/test/3_session.xml");
g_GUI.LoadXMLFile("gui/test/4_manual.xml");
g_GUI.LoadXMLFile("gui/test/5_atlas.xml");
g_GUI.LoadXMLFile("gui/test/5_atlas.xml")
g_GUI.LoadXMLFile("gui/test/6_global.xml");
g_GUI.LoadXMLFile("gui/test/hello.xml");
#endif