src/openttd.h
changeset 6144 5a0ffbf27ced
parent 5919 2b58160d667d
child 6253 23983700e3d7
equal deleted inserted replaced
6143:87e99d425124 6144:5a0ffbf27ced
    72 assert_compile(sizeof(DestinationID) == sizeof(DepotID));
    72 assert_compile(sizeof(DestinationID) == sizeof(DepotID));
    73 assert_compile(sizeof(DestinationID) == sizeof(WaypointID));
    73 assert_compile(sizeof(DestinationID) == sizeof(WaypointID));
    74 assert_compile(sizeof(DestinationID) == sizeof(StationID));
    74 assert_compile(sizeof(DestinationID) == sizeof(StationID));
    75 
    75 
    76 typedef int32 WindowNumber;
    76 typedef int32 WindowNumber;
    77 typedef byte WindowClass;
       
    78 
    77 
    79 enum {
    78 enum {
    80 	INVALID_YEAR = -1,
    79 	INVALID_YEAR = -1,
    81 	INVALID_DATE = -1,
    80 	INVALID_DATE = -1,
    82 };
    81 };
   384 	VehicleEnterTileProc *vehicle_enter_tile_proc;
   383 	VehicleEnterTileProc *vehicle_enter_tile_proc;
   385 	GetSlopeTilehProc *get_slope_tileh_proc;
   384 	GetSlopeTilehProc *get_slope_tileh_proc;
   386 } TileTypeProcs;
   385 } TileTypeProcs;
   387 
   386 
   388 
   387 
   389 enum {
   388 enum WindowClass {
   390 	WC_MAIN_WINDOW,
   389 	WC_NONE,
       
   390 	WC_MAIN_WINDOW = WC_NONE,
   391 	WC_MAIN_TOOLBAR,
   391 	WC_MAIN_TOOLBAR,
   392 	WC_STATUS_BAR,
   392 	WC_STATUS_BAR,
   393 	WC_BUILD_TOOLBAR,
   393 	WC_BUILD_TOOLBAR,
   394 	WC_NEWS_WINDOW,
   394 	WC_NEWS_WINDOW,
   395 	WC_TOWN_DIRECTORY,
   395 	WC_TOWN_DIRECTORY,