diff options
author | celestar <celestar@openttd.org> | 2005-10-19 08:34:37 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-10-19 08:34:37 +0000 |
commit | 5f604ec63a2a603d8c008210ac69760a5f552826 (patch) | |
tree | 50fb0bab688d59ca14bf9929118d8dce34567527 /openttd.h | |
parent | 758ae7e8f63edbcc193443963e7a8cbe7dcac675 (diff) | |
download | openttd-5f604ec63a2a603d8c008210ac69760a5f552826.tar.xz |
(svn r3065) -Codechange/Add: Modified the bridge drawing code so that the basic offset is read from the RailTypeInfo struct. This is (hopefully) the last DrawTile change on the way to electrified railways. While being at it, de-mystified the function a bit and added some asserts.
Diffstat (limited to 'openttd.h')
-rw-r--r-- | openttd.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ /* $Id$ */ +/** @file openttd.h */ #ifndef OPENTTD_H #define OPENTTD_H @@ -71,8 +72,8 @@ typedef byte PlayerID; typedef byte OrderID; typedef byte CargoID; typedef uint16 StringID; -typedef uint32 SpriteID; -typedef uint32 PalSpriteID; +typedef uint32 SpriteID; //! The number of a sprite, without mapping bits and colortables +typedef uint32 PalSpriteID; //! The number of a sprite plus all the mapping bits and colortables typedef uint32 CursorID; typedef uint16 EngineID; //! All enginenumbers should be of this type typedef uint16 UnitID; //! All unitnumber stuff is of this type (or anyway, should be) |