Fix textures and other minor fixes
parent
883253e97d
commit
4e6a83c086
|
@ -100,7 +100,7 @@ local function create_world_buttonhandler(this, fields)
|
|||
core.settings:set("fixed_map_seed", fields["te_seed"])
|
||||
|
||||
if not menudata.worldlist:uid_exists_raw(worldname) then
|
||||
core.settings:set("mg_name","v6")
|
||||
core.settings:set("mg_name",fields["dd_mapgen"])
|
||||
message = core.create_world(worldname,gameindex)
|
||||
else
|
||||
message = fgettext("A world named \"$1\" already exists", worldname)
|
||||
|
|
|
@ -245,7 +245,11 @@ void set_default_settings(Settings *settings)
|
|||
settings->setDefault("fallback_font_shadow", "1");
|
||||
settings->setDefault("fallback_font_shadow_alpha", "128");
|
||||
|
||||
std::string font_size_str = std::to_string(TTF_DEFAULT_FONT_SIZE + 4);
|
||||
#if defined(__ANDROID__) || defined(__IOS__)
|
||||
std::string font_size_str = std::to_string(TTF_DEFAULT_FONT_SIZE - 3);
|
||||
#else
|
||||
std::string font_size_str = std::to_string(TTF_DEFAULT_FONT_SIZE + 2);
|
||||
#endif
|
||||
|
||||
settings->setDefault("fallback_font_size", font_size_str);
|
||||
#else
|
||||
|
@ -444,8 +448,8 @@ void set_default_settings(Settings *settings)
|
|||
settings->setDefault("emergequeue_limit_generate", "16");
|
||||
settings->setDefault("gui_scaling_filter_txr2img", "false");
|
||||
// set font_path
|
||||
settings->setDefault("mono_font_path", font_path));
|
||||
settings->setDefault("fallback_font_path", font_path));
|
||||
settings->setDefault("mono_font_path", g_settings->get("font_path"));
|
||||
settings->setDefault("fallback_font_path", g_settings->get("font_path"));
|
||||
|
||||
// set the size of the elements depending on the screen size
|
||||
if ([SDVersion deviceSize] == Screen3Dot5inch) {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 942 B |
Binary file not shown.
Before Width: | Height: | Size: 484 B After Width: | Height: | Size: 351 B |
Binary file not shown.
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3.9 KiB |
Loading…
Reference in New Issue