summaryrefslogtreecommitdiff
path: root/src/script/api/script_window.hpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2014-05-24 19:15:57 +0000
committeralberth <alberth@openttd.org>2014-05-24 19:15:57 +0000
commit1feba55f0f5c556f494384cba9a966c9efae2d15 (patch)
tree4ca0fd312e87342701794fc24d261870d3191df3 /src/script/api/script_window.hpp
parent3c9d3f5ecd4c366369e033ba303dd52a2b32cc9c (diff)
downloadopenttd-1feba55f0f5c556f494384cba9a966c9efae2d15.tar.xz
(svn r26613) -Feature: Upgrade currently active newgrfs to newest installed version.
Diffstat (limited to 'src/script/api/script_window.hpp')
-rw-r--r--src/script/api/script_window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp
index 21cf28f7a..81bac27ac 100644
--- a/src/script/api/script_window.hpp
+++ b/src/script/api/script_window.hpp
@@ -1820,6 +1820,7 @@ public:
WID_NS_REMOVE = ::WID_NS_REMOVE, ///< Remove NewGRF from active list.
WID_NS_MOVE_UP = ::WID_NS_MOVE_UP, ///< Move NewGRF up in active list.
WID_NS_MOVE_DOWN = ::WID_NS_MOVE_DOWN, ///< Move NewGRF down in active list.
+ WID_NS_UPGRADE = ::WID_NS_UPGRADE, ///< Upgrade NewGRFs that have a newer version available.
WID_NS_FILTER = ::WID_NS_FILTER, ///< Filter list of available NewGRFs.
WID_NS_FILE_LIST = ::WID_NS_FILE_LIST, ///< List window of active NewGRFs.
WID_NS_SCROLLBAR = ::WID_NS_SCROLLBAR, ///< Scrollbar for active NewGRF list.