From 9254ca61f1e459cbaf137ce4511332365da9c225 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 7 Jun 2009 16:06:03 +0000 Subject: fixed utf8 support --- src/game/client/components/menus.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/game/client/components') diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 53b57e2c..050c7056 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -1003,6 +1003,23 @@ extern "C" void font_debug_render(); void MENUS::on_render() { + /* + // text rendering test stuff + render_background(); + + TEXT_CURSOR cursor; + gfx_text_set_cursor(&cursor, 10, 10, 20, TEXTFLAG_RENDER); + gfx_text_ex(&cursor, "ようこそ - ガイド", -1); + + gfx_text_set_cursor(&cursor, 10, 30, 15, TEXTFLAG_RENDER); + gfx_text_ex(&cursor, "ようこそ - ガイド", -1); + + //gfx_texture_set(-1); + gfx_quads_begin(); + gfx_quads_drawTL(60, 60, 5000, 5000); + gfx_quads_end(); + return;*/ + if(client_state() != CLIENTSTATE_ONLINE && client_state() != CLIENTSTATE_DEMOPLAYBACK) set_active(true); -- cgit 1.4.1