many changes and refactoring

This commit is contained in:
Eduardo Bart
2011-07-13 18:12:36 -03:00
parent 6c05ee0e82
commit 8ef1b28546
120 changed files with 1545 additions and 1273 deletions

View File

@@ -22,10 +22,12 @@
*/
#include <prerequisites.h>
#include <global.h>
#include <core/resources.h>
#include <graphics/fonts.h>
#include <boost/algorithm/string.hpp>
Fonts g_fonts;
void Fonts::init()
@@ -55,7 +57,7 @@ FontPtr Fonts::get(const std::string& fontName)
return font;
}
flogFatal("ERROR: Font \"%s\" not found", fontName.c_str());
fatal("ERROR: Font '",fontName,"' not found");
return FontPtr();
}