openttd.h
changeset 2536 634914d741b4
parent 2526 29eef390cabb
child 2537 5e4ca74e995a
equal deleted inserted replaced
2535:149921ee5e27 2536:634914d741b4
     1 /* $Id$ */
     1 /* $Id$ */
       
     2 /** @file openttd.h */
     2 
     3 
     3 #ifndef OPENTTD_H
     4 #ifndef OPENTTD_H
     4 #define OPENTTD_H
     5 #define OPENTTD_H
     5 
     6 
     6 #ifndef VARDEF
     7 #ifndef VARDEF
    69 typedef uint16 VehicleID;
    70 typedef uint16 VehicleID;
    70 typedef byte PlayerID;
    71 typedef byte PlayerID;
    71 typedef byte OrderID;
    72 typedef byte OrderID;
    72 typedef byte CargoID;
    73 typedef byte CargoID;
    73 typedef uint16 StringID;
    74 typedef uint16 StringID;
    74 typedef uint32 SpriteID;
    75 typedef uint32 SpriteID;    //! The number of a sprite, without mapping bits and colortables
    75 typedef uint32 PalSpriteID;
    76 typedef uint32 PalSpriteID; //! The number of a sprite plus all the mapping bits and colortables
    76 typedef uint32 CursorID;
    77 typedef uint32 CursorID;
    77 typedef uint16 EngineID; //! All enginenumbers should be of this type
    78 typedef uint16 EngineID; //! All enginenumbers should be of this type
    78 typedef uint16 UnitID;   //! All unitnumber stuff is of this type (or anyway, should be)
    79 typedef uint16 UnitID;   //! All unitnumber stuff is of this type (or anyway, should be)
    79 
    80 
    80 typedef uint32 WindowNumber;
    81 typedef uint32 WindowNumber;