diff options
Diffstat (limited to 'src/openttd.h')
-rw-r--r-- | src/openttd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openttd.h b/src/openttd.h index cfb4040bd..0126d72c8 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -74,7 +74,6 @@ assert_compile(sizeof(DestinationID) == sizeof(WaypointID)); assert_compile(sizeof(DestinationID) == sizeof(StationID)); typedef int32 WindowNumber; -typedef byte WindowClass; enum { INVALID_YEAR = -1, @@ -386,8 +385,9 @@ typedef struct { } TileTypeProcs; -enum { - WC_MAIN_WINDOW, +enum WindowClass { + WC_NONE, + WC_MAIN_WINDOW = WC_NONE, WC_MAIN_TOOLBAR, WC_STATUS_BAR, WC_BUILD_TOOLBAR, |