mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 22:07:52 +00:00
Removed the option to disable the tips of the day.
The option was hidden and not even sure anybody is/was aware of the feature.
This commit is contained in:
parent
f39da12fd5
commit
0633b7a5d3
@ -22,6 +22,7 @@ Version 1.7.0+svn:
|
||||
* Improved the redraw algoritm and added more asserts
|
||||
* Objectives now use pango markup
|
||||
* Replace the campaign dialog with a new gui one (debian bug #497655)
|
||||
* Removed the hidden option to disable the tips of the day
|
||||
* WML Engine:
|
||||
* Made new turn, turn X, side turn and turn refresh events synchronous.
|
||||
(bug #10603)
|
||||
|
@ -715,11 +715,6 @@ void set_message_private(bool value)
|
||||
message_private_on = value;
|
||||
}
|
||||
|
||||
bool show_tip_of_day()
|
||||
{
|
||||
return utils::string_bool(preferences::get("tip_of_day"), true);
|
||||
}
|
||||
|
||||
bool show_haloes()
|
||||
{
|
||||
return haloes;
|
||||
|
@ -175,8 +175,6 @@ namespace preferences {
|
||||
bool message_private();
|
||||
void set_message_private(bool value);
|
||||
|
||||
bool show_tip_of_day();
|
||||
|
||||
bool show_haloes();
|
||||
void set_show_haloes(bool value);
|
||||
|
||||
|
@ -237,10 +237,6 @@ static void draw_tip_of_day(game_display& screen,
|
||||
const SDL_Rect* const main_dialog_area,
|
||||
surface_restorer& tip_of_day_restorer)
|
||||
{
|
||||
if(preferences::show_tip_of_day() == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Restore the previous tip of day area to its old state (section of the title image).
|
||||
tip_of_day_restorer.restore();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user