static int name_enter(struct state *st, struct state *prev) { if (draw_back) { game_client_free(NULL); back_init("back/gui.png"); } text_input_start(on_text_input); text_input_str(config_get_s(CONFIG_PLAYER), 0); return name_gui(); }
static int name_enter(struct state *st, struct state *prev) { if (draw_back) { game_client_free(NULL); back_init("back/gui.png"); } /* FIXME SDL_EnableUNICODE(1); */ return name_gui(); }