diff options
author | rubidium <rubidium@openttd.org> | 2008-05-08 14:14:16 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-08 14:14:16 +0000 |
commit | 4a11ebe76fcaba45954aa2b6f29e6e75a8c30942 (patch) | |
tree | 28391b72686974ad52519cf61e4cf0cae4a0ad7e /src/smallmap_gui.cpp | |
parent | 5fda77239e01c429b2d3a389bfc6a77148fc390a (diff) | |
download | openttd-4a11ebe76fcaba45954aa2b6f29e6e75a8c30942.tar.xz |
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 9651bf12f..5ea843f4f 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -32,6 +32,13 @@ #include "table/strings.h" #include "table/sprites.h" +struct smallmap_d { + int32 scroll_x; + int32 scroll_y; + int32 subscroll; +}; +assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(smallmap_d)); + static const Widget _smallmap_widgets[] = { { WWT_CLOSEBOX, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, { WWT_CAPTION, RESIZE_RIGHT, 13, 11, 337, 0, 13, STR_00B0_MAP, STR_018C_WINDOW_TITLE_DRAG_THIS}, |