#include "textscroller.hpp"
#include <stdexcept>
-#include "msg.hpp"
+#include "log.hpp"
#include "mainloop.hpp"
#include "resources.hpp"
#include "video/font.hpp"
break;
}
default:
- msg_warning << "text contains an unformated line" << std::endl;
+ log_warning << "text contains an unformated line" << std::endl;
font = white_text;
center = false;
break;
}
catch (std::exception& e)
{
- msg_warning << "Could not load scrolling images: " << e.what() << std::endl;
+ log_warning << "Could not load scrolling images: " << e.what() << std::endl;
arrow_scrollup = 0;
arrow_scrolldown = 0;
}
break;
}
default:
- msg_warning << "text contains an unformatted line" << std::endl;
+ log_warning << "text contains an unformatted line" << std::endl;
font = normal_font;
center = false;
break;