src/openttd.h
changeset 8140 0d0d8c94f84b
parent 8138 dbfdc08fa6b9
child 8213 7bdd7593eb9b
equal deleted inserted replaced
8139:4e91c448c409 8140:0d0d8c94f84b
    46  * be any of them
    46  * be any of them
    47  */
    47  */
    48 assert_compile(sizeof(DestinationID) == sizeof(DepotID));
    48 assert_compile(sizeof(DestinationID) == sizeof(DepotID));
    49 assert_compile(sizeof(DestinationID) == sizeof(WaypointID));
    49 assert_compile(sizeof(DestinationID) == sizeof(WaypointID));
    50 assert_compile(sizeof(DestinationID) == sizeof(StationID));
    50 assert_compile(sizeof(DestinationID) == sizeof(StationID));
    51 
       
    52 
       
    53 enum {
       
    54 	INVALID_YEAR = -1,
       
    55 	INVALID_DATE = -1,
       
    56 };
       
    57 
       
    58 typedef int32 Year;
       
    59 typedef int32 Date;
       
    60 
    51 
    61 typedef uint32 PlayerFace; ///< player face bits, info see in player_face.h
    52 typedef uint32 PlayerFace; ///< player face bits, info see in player_face.h
    62 
    53 
    63 enum GameModes {
    54 enum GameModes {
    64 	GM_MENU,
    55 	GM_MENU,