summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-08 14:14:16 +0000
committerrubidium <rubidium@openttd.org>2008-05-08 14:14:16 +0000
commit4a11ebe76fcaba45954aa2b6f29e6e75a8c30942 (patch)
tree28391b72686974ad52519cf61e4cf0cae4a0ad7e /src/window_gui.h
parent5fda77239e01c429b2d3a389bfc6a77148fc390a (diff)
downloadopenttd-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/window_gui.h')
-rw-r--r--src/window_gui.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 27f914770..c9c1b91bb 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -379,18 +379,6 @@ struct def_d {
};
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(def_d));
-struct void_d {
- void *data;
-};
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(void_d));
-
-struct tooltips_d {
- StringID string_id;
- byte paramcount;
- uint64 params[5];
-};
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d));
-
struct depot_d {
VehicleID sel;
VehicleType type;
@@ -404,18 +392,6 @@ struct depot_d {
};
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(depot_d));
-struct vehicledetails_d {
- byte tab;
-};
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vehicledetails_d));
-
-struct smallmap_d {
- int32 scroll_x;
- int32 scroll_y;
- int32 subscroll;
-};
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(smallmap_d));
-
struct vp_d {
VehicleID follow_vehicle;
int32 scrollpos_x;
@@ -426,18 +402,6 @@ struct vp_d {
};
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vp_d));
-struct highscore_d {
- uint32 background_img;
- int8 rank;
-};
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(highscore_d));
-
-struct scroller_d {
- int height;
- uint16 counter;
-};
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(scroller_d));
-
enum SortListFlags {
VL_NONE = 0, ///< no sort
VL_DESC = 1 << 0, ///< sort descending or ascending
@@ -461,13 +425,6 @@ struct list_d {
};
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(list_d));
-struct message_d {
- int msg;
- int wparam;
- int lparam;
-};
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(message_d));
-
struct vehiclelist_d {
const Vehicle** sort_list; // List of vehicles (sorted)
Listing *_sorting; // pointer to the appropiate subcategory of _sorting