(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.

This commit is contained in:
rubidium
2008-03-28 16:34:50 +00:00
parent 58e6e75320
commit 878489e38d
11 changed files with 57 additions and 36 deletions

View File

@@ -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;