(svn r8511) -Codechange: make WindowClass an enumerated value.

This commit is contained in:
rubidium
2007-02-01 15:49:12 +00:00
parent 01a9abc7e5
commit c8882bd3d2
37 changed files with 124 additions and 120 deletions

View File

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