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:
Mark de Wever 2009-06-13 17:04:04 +00:00
parent f39da12fd5
commit 0633b7a5d3
4 changed files with 1 additions and 11 deletions

View File

@ -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)

View File

@ -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;

View File

@ -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);

View File

@ -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();