Temporary add a "Refresh" button in titlescreen...

...because too many WML devs complains about it
This commit is contained in:
Ali El Gariani 2010-09-02 20:02:54 +00:00
parent 0a9183d9da
commit f44bebf3cd
2 changed files with 3 additions and 0 deletions

View file

@ -232,6 +232,7 @@
{_GUI_BUTTON "language" _"Language" _"Change the language"}
{_GUI_BUTTON "preferences" _"Preferences" _"Configure the game's settings"}
{_GUI_BUTTON "credits" _"Credits" _"View the credits"}
{_GUI_BUTTON "refresh" _"Refresh" _"Refresh game data"}
{_GUI_BUTTON "quit" _"Quit" _"Quit the game"}
[/grid]

View file

@ -407,6 +407,8 @@ twindow::tretval twindow::get_retval_by_id(const std::string& id)
#endif
} else if(id == "credits") {
return static_cast<tretval>(gui::SHOW_ABOUT);
} else if(id == "refresh") {
return static_cast<tretval>(gui::RELOAD_GAME_DATA);
} else if(id == "quit") {
return static_cast<tretval>(gui::QUIT_GAME);