diff options
author | rubidium <rubidium@openttd.org> | 2008-03-28 16:34:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-03-28 16:34:50 +0000 |
commit | bf54e0ba1c939f0aaa544d80edc4fbde77f66140 (patch) | |
tree | 23f7fccf6188a92b23e3ba940ae3cc7e798d5db5 /src/autoreplace_gui.cpp | |
parent | eba67a3b8f7a16a56962b6ca582bf4206ce3790c (diff) | |
download | openttd-bf54e0ba1c939f0aaa544d80edc4fbde77f66140.tar.xz |
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
Diffstat (limited to 'src/autoreplace_gui.cpp')
-rw-r--r-- | src/autoreplace_gui.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/autoreplace_gui.cpp b/src/autoreplace_gui.cpp index 3ea1cbdb4..9c6eb3466 100644 --- a/src/autoreplace_gui.cpp +++ b/src/autoreplace_gui.cpp @@ -23,6 +23,19 @@ #include "table/sprites.h" #include "table/strings.h" +struct replaceveh_d { + byte sel_index[2]; + EngineID sel_engine[2]; + uint16 count[2]; + bool wagon_btnstate; ///< true means engine is selected + EngineList list[2]; + bool update_left; + bool update_right; + bool init_lists; + GroupID sel_group; +}; +assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(replaceveh_d)); + static RailType _railtype_selected_in_replace_gui; static bool _rebuild_left_list; |