diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-19 19:10:38 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-19 19:10:38 +0400 |
commit | 706a2c80f01b21b71a62b18d0188c5f371fa0454 (patch) | |
tree | 388bdf9e9e112cac7f1dd8b83fb9a0060a824259 /source/gameengine/GamePlayer | |
parent | fed299469722ccd7d2b29daabb03ba4a347e7a1e (diff) |
i18n: code cleanup and fixing unneeded translation (when partial translation is used only)
Diffstat (limited to 'source/gameengine/GamePlayer')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 4e9c8eb8f80..6312fea7698 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -104,7 +104,6 @@ extern char datatoc_bfont_ttf[]; #include "BKE_utildefines.h" #include "RNA_define.h" -#include "RNA_access.h" #ifdef WIN32 #include <windows.h> @@ -405,12 +404,6 @@ int main(int argc, char** argv) // We don't use threads directly in the BGE, but we need to call this so things like // freeing up GPU_Textures works correctly. BLI_threadapi_init(); - // Setup builtin font for BLF (mostly copied from creator.c, wm_init_exit.c and interface_style.c) - BLF_init(11, U.dpi); - BLF_lang_init(); - // use default settings - BLF_lang_encoding(""); - BLF_lang_set(""); RNA_init(); @@ -424,6 +417,12 @@ int main(int argc, char** argv) IMB_init(); + // Setup builtin font for BLF (mostly copied from creator.c, wm_init_exit.c and interface_style.c) + BLF_init(11, U.dpi); + BLF_lang_init(); + BLF_lang_encoding(""); + BLF_lang_set(""); + BLF_load_mem("default", (unsigned char*)datatoc_bfont_ttf, datatoc_bfont_ttf_size); // Parse command line options |