[Widelands-cvs] SF.net SVN: widelands:[4488] trunk/src/editor/editorinteractive.cc
Status: Beta
Brought to you by:
sirver
From: <si...@us...> - 2009-08-21 20:33:21
|
Revision: 4488 http://widelands.svn.sourceforge.net/widelands/?rev=4488&view=rev Author: sigra Date: 2009-08-21 20:33:14 +0000 (Fri, 21 Aug 2009) Log Message: ----------- Inform the user what is taking so long when starting the editor. Modified Paths: -------------- trunk/src/editor/editorinteractive.cc Modified: trunk/src/editor/editorinteractive.cc =================================================================== --- trunk/src/editor/editorinteractive.cc 2009-08-21 20:25:48 UTC (rev 4487) +++ trunk/src/editor/editorinteractive.cc 2009-08-21 20:33:14 UTC (rev 4488) @@ -599,9 +599,12 @@ { // Load all tribes into memory std::vector<std::string> tribenames; Widelands::Tribe_Descr::get_all_tribenames(tribenames); - container_iterate_const(std::vector<std::string>, tribenames, i) + container_iterate_const(std::vector<std::string>, tribenames, i) { + loader_ui.stepf(_("Loading tribe: %s"), i.current->c_str()); editor.manually_load_tribe(*i.current); + } } + loader_ui.step(std::string()); eia.select_tool(eia.tools.increase_height, Editor_Tool::First); editor.postload(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |