mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-11 19:01:58 +00:00
Fixes bug #8531.
This commit is contained in:
parent
92bc473d63
commit
b4f63c1795
@ -145,6 +145,7 @@
|
||||
|
||||
ellipsis_image="misc/icon-ellipsis.png"
|
||||
|
||||
tome_title="-- The Tome of Wesnoth"
|
||||
{core/team-colors.cfg}
|
||||
[/game_config]
|
||||
|
||||
|
@ -73,6 +73,7 @@ namespace game_config
|
||||
|
||||
std::string level_image;
|
||||
std::string ellipsis_image;
|
||||
std::string tome_title;
|
||||
|
||||
std::map<std::string, color_range > team_rgb_range;
|
||||
std::map<std::string, t_string > team_rgb_name;
|
||||
@ -167,6 +168,8 @@ namespace game_config
|
||||
level_image = v["level_image"];
|
||||
ellipsis_image = v["ellipsis_image"];
|
||||
|
||||
tome_title = v["tome_title"];
|
||||
|
||||
add_color_info(v);
|
||||
|
||||
flag_rgb = v["flag_rgb"];
|
||||
|
@ -53,7 +53,7 @@ namespace game_config
|
||||
flag_image, flag_icon_image, cross_image,
|
||||
terrain_mask_image, grid_image, unreachable_image, void_image, fog_image,
|
||||
observer_image, tod_bright_image,
|
||||
checked_menu_image, unchecked_menu_image, wml_menu_image, level_image, ellipsis_image;
|
||||
checked_menu_image, unchecked_menu_image, wml_menu_image, level_image, ellipsis_image, tome_title;
|
||||
|
||||
extern std::string flag_rgb;
|
||||
extern std::vector<Uint32> defense_color_scale;
|
||||
|
@ -163,7 +163,7 @@ static void draw_tip_of_day(game_display& screen, config& tips_of_day, int* ntip
|
||||
tip_of_day = font::word_wrap_text(tip_of_day,font::SIZE_NORMAL,
|
||||
(game_config::title_tip_width*screen.w())/1024);
|
||||
|
||||
const std::string& tome = font::word_wrap_text(_("-- The Tome of Wesnoth"),
|
||||
const std::string& tome = font::word_wrap_text(_(game_config::tome_title.c_str()),
|
||||
font::SIZE_NORMAL,
|
||||
(game_config::title_tip_width*screen.w())/1024);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user