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 | 878489e38dc875e644c5de25f690c4aa64aa2d19 (patch) | |
tree | 23f7fccf6188a92b23e3ba940ae3cc7e798d5db5 /src/window_gui.h | |
parent | 58e6e75320a3d6ca864625f6dbd2cbb961997edc (diff) | |
download | openttd-878489e38dc875e644c5de25f690c4aa64aa2d19.tar.xz |
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 97e3b9520..de3c2f231 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -331,19 +331,6 @@ struct tooltips_d { }; assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d)); -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)); - struct depot_d { VehicleID sel; VehicleType type; @@ -443,20 +430,6 @@ struct vehiclelist_d { }; assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vehiclelist_d)); -struct grouplist_d { - const Group **sort_list; - list_d l; // General list struct -}; -assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(grouplist_d)); - -struct groupveh_d : vehiclelist_d { - GroupID group_sel; - VehicleID vehicle_sel; - - grouplist_d gl; -}; -assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(groupveh_d)); - /****************** THESE ARE NOT WIDGET TYPES!!!!! *******************/ enum WindowWidgetBehaviours { WWB_PUSHBUTTON = 1 << 5, |