Upodated OpenArena and TODO

This commit is contained in:
Sergii Pylypenko
2013-12-13 07:26:27 +02:00
parent 9e743697ea
commit 4de2a2d0a1
7 changed files with 12 additions and 9 deletions

View File

@@ -52,6 +52,8 @@
#include "guichan/graphics.hpp"
#include "guichan/sdl/sdlgraphics.hpp"
#include <android/log.h>
namespace gcn
{
namespace contrib
@@ -68,6 +70,7 @@ namespace gcn
if (mFont == NULL)
{
__android_log_print(ANDROID_LOG_INFO, "GUICHAN", "Cannot open font %s: %s", filename.c_str(), TTF_GetError());
throw GCN_EXCEPTION("SDLTrueTypeFont::SDLTrueTypeFont. "+std::string(TTF_GetError()));
}
}