summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-02-12 10:58:18 +0000
committerrubidium <rubidium@openttd.org>2012-02-12 10:58:18 +0000
commit6356178a259d0734c49ef5c62bfbffb86097053b (patch)
treeab99429845ab4be9a15d179887f74a52ce5a3a9a /src/widgets
parent58269b7ad2a70b94de104ede2c69e126b58be534 (diff)
downloadopenttd-6356178a259d0734c49ef5c62bfbffb86097053b.tar.xz
(svn r23936) -Feature [FS#5047]: readme/licence/changelog viewer for AI and game scripts (LordAro)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/ai_widget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/ai_widget.h b/src/widgets/ai_widget.h
index 4261478f5..76b22b8b4 100644
--- a/src/widgets/ai_widget.h
+++ b/src/widgets/ai_widget.h
@@ -13,6 +13,7 @@
#define WIDGETS_AI_WIDGET_H
#include "../company_type.h"
+#include "../textfile_type.h"
/** Widgets of the #AIListWindow class. */
enum AIListWidgets {
@@ -47,7 +48,8 @@ enum AIConfigWidgets {
WID_AIC_CHANGE, ///< Select another AI button.
WID_AIC_CONFIGURE, ///< Change AI settings button.
WID_AIC_CLOSE, ///< Close window button.
- WID_AIC_CONTENT_DOWNLOAD, ///< Download content button.
+ WID_AIC_TEXTFILE, ///< Open AI readme, changelog (+1) or license (+2).
+ WID_AIC_CONTENT_DOWNLOAD = WID_AIC_TEXTFILE + TFT_END, ///< Download content button.
};
/** Widgets of the #AIDebugWindow class. */