#include "control/joystickkeyboardcontroller.hpp"
#include "control/codecontroller.hpp"
#include "main.hpp"
-#include "msg.hpp"
+#include "log.hpp"
#include "console.hpp"
void
contrib_worlds.push_back(world.release());
} catch(std::exception& e) {
#ifdef DEBUG
- msg_warning << "Couldn't parse levelset info for '" << *it << "': " << e.what() << std::endl;
+ log_warning << "Couldn't parse levelset info for '" << *it << "': " << e.what() << std::endl;
#endif
}
}
level->get("name", name);
return name;
} catch(std::exception& e) {
- msg_warning << "Problem getting name of '" << filename << "'." << std::endl;
+ log_warning << "Problem getting name of '" << filename << "'." << std::endl;
return "";
}
}
if(confirm_dialog(bkg_title, str.c_str())) {
str = "save/slot" + stream.str() + ".stsg";
- msg_debug << "Removing: " << str << std::endl;
+ log_debug << "Removing: " << str << std::endl;
PHYSFS_delete(str.c_str());
}
current_world->set_savegame_filename(slotfile);
current_world->run();
} catch(std::exception& e) {
- msg_fatal << "Couldn't start world: " << e.what() << std::endl;
+ log_fatal << "Couldn't start world: " << e.what() << std::endl;
}
return true;