summaryrefslogtreecommitdiff
path: root/src/intro_gui.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-15 22:22:55 +0000
committertruebrain <truebrain@openttd.org>2011-12-15 22:22:55 +0000
commit2aa774e831ad1cb7849c998759449ef777c5c664 (patch)
tree37293298be999cb3446fe4af7f11e107bfa17c3d /src/intro_gui.cpp
parentfd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff)
downloadopenttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/intro_gui.cpp')
-rw-r--r--src/intro_gui.cpp24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/intro_gui.cpp b/src/intro_gui.cpp
index e619c5269..bbfdb4c1f 100644
--- a/src/intro_gui.cpp
+++ b/src/intro_gui.cpp
@@ -27,31 +27,11 @@
#include "language.h"
#include "rev.h"
+#include "widgets/intro_widget.h"
+
#include "table/strings.h"
#include "table/sprites.h"
-enum SelectGameIntroWidgets {
- SGI_GENERATE_GAME,
- SGI_LOAD_GAME,
- SGI_PLAY_SCENARIO,
- SGI_PLAY_HEIGHTMAP,
- SGI_EDIT_SCENARIO,
- SGI_PLAY_NETWORK,
- SGI_TEMPERATE_LANDSCAPE,
- SGI_ARCTIC_LANDSCAPE,
- SGI_TROPIC_LANDSCAPE,
- SGI_TOYLAND_LANDSCAPE,
- SGI_TRANSLATION_SELECTION,
- SGI_TRANSLATION,
- SGI_OPTIONS,
- SGI_DIFFICULTIES,
- SGI_SETTINGS_OPTIONS,
- SGI_GRF_SETTINGS,
- SGI_CONTENT_DOWNLOAD,
- SGI_AI_SETTINGS,
- SGI_EXIT,
-};
-
struct SelectGameWindow : public Window {
SelectGameWindow(const WindowDesc *desc) : Window()