Remove Reverse Time Graphics option
This commit is contained in:
parent
d131f1d58c
commit
db8c65aad8
4 changed files with 0 additions and 23 deletions
|
@ -101,14 +101,6 @@
|
|||
default=yes
|
||||
[/advanced_preference]
|
||||
|
||||
[advanced_preference]
|
||||
field=flip_time
|
||||
name= _ "Reverse time graphics"
|
||||
description= _ "Choose whether the sun moves left-to-right or right-to-left"
|
||||
type=boolean
|
||||
default=no
|
||||
[/advanced_preference]
|
||||
|
||||
[advanced_preference]
|
||||
field=scroll_to_action
|
||||
name= _ "Follow unit actions"
|
||||
|
|
|
@ -1006,16 +1006,6 @@ void set_show_haloes(bool value)
|
|||
preferences::set("show_haloes", value);
|
||||
}
|
||||
|
||||
bool flip_time()
|
||||
{
|
||||
return preferences::get("flip_time", false);
|
||||
}
|
||||
|
||||
void set_flip_time(bool value)
|
||||
{
|
||||
preferences::set("flip_time", value);
|
||||
}
|
||||
|
||||
compression::format save_compression_format()
|
||||
{
|
||||
const std::string& choice =
|
||||
|
|
|
@ -239,9 +239,6 @@ class acquaintance;
|
|||
void set_show_haloes(bool value);
|
||||
|
||||
|
||||
bool flip_time();
|
||||
void set_flip_time(bool value);
|
||||
|
||||
// Multiplayer functions
|
||||
std::string get_chat_timestamp(const time_t& t);
|
||||
bool chat_timestamping();
|
||||
|
|
|
@ -1133,7 +1133,6 @@ static config time_of_day_at(reports::context & rc, const map_location& mouseove
|
|||
std::string tod_image = tod.image;
|
||||
if (tod.bonus_modified > 0) tod_image += "~BRIGHTEN()";
|
||||
else if (tod.bonus_modified < 0) tod_image += "~DARKEN()";
|
||||
if (preferences::flip_time()) tod_image += "~FL(horiz)";
|
||||
|
||||
return image_report(tod_image, tooltip.str(), "time_of_day_" + tod.id);
|
||||
}
|
||||
|
@ -1184,7 +1183,6 @@ static config unit_box_at(reports::context & rc, const map_location& mouseover_h
|
|||
std::string global_tod_image = "themes/classic/" + global_tod.image;
|
||||
if (local_tod.bonus_modified > 0) local_tod_image += "~BRIGHTEN()";
|
||||
else if (local_tod.bonus_modified < 0) local_tod_image += "~DARKEN()";
|
||||
if (preferences::flip_time()) local_tod_image += "~FL(horiz)";
|
||||
|
||||
const gamemap &map = rc.map();
|
||||
t_translation::t_terrain terrain = map.get_terrain(mouseover_hex);
|
||||
|
|
Loading…
Add table
Reference in a new issue