Comment 10 for bug 1352943

Revision history for this message
TiborB (tiborb95) wrote :

Hi,
when looking at wlapplication.cc, the code is:

 try {
  // Load selected campaign-map-file
  if (filename.size())
   return game.run_splayer_scenario_direct(filename.c_str(), "");
 } catch (const std::exception & e) {
  log("Fata exception: %s\n", e.what());
  emergency_save(game);
  throw;
 }

Do I understand it properly that you (game itself?) were going to run some "scenario splash"?

But what is more important, wexeption is hiding some details, so could you please get rid of exemption handling like here:

//try {
  // Load selected campaign-map-file
  if (filename.size())
   return game.run_splayer_scenario_direct(filename.c_str(), "");
// } catch (const std::exception & e) {
// log("Fata exception: %s\n", e.what());
// emergency_save(game);
// throw;
// }

and provide bt once more?

Second comment - you can run widelands in window mode, no need for second screens then.