diff options
author | rubidium <rubidium@openttd.org> | 2010-08-28 18:28:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-28 18:28:34 +0000 |
commit | e0ba6550d2885ccfade874679fa792648df416f5 (patch) | |
tree | bdb38086be6f15051871ce66bb6c325a4fba2d3f /src/object_base.h | |
parent | b376f8ae15a053c3a8f54431517da0c235f45489 (diff) | |
download | openttd-e0ba6550d2885ccfade874679fa792648df416f5.tar.xz |
(svn r20658) -Codechange: add the colour of an object to the object instance
Diffstat (limited to 'src/object_base.h')
-rw-r--r-- | src/object_base.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/object_base.h b/src/object_base.h index d5f796191..1b814fa3f 100644 --- a/src/object_base.h +++ b/src/object_base.h @@ -23,9 +23,10 @@ extern ObjectPool _object_pool; /** An object, such as transmitter, on the map. */ struct Object : ObjectPool::PoolItem<&_object_pool> { - Town *town; ///< Town the object is built in - TileArea location; ///< Location of the object - Date build_date; ///< Date of construction + Town *town; ///< Town the object is built in + TileArea location; ///< Location of the object + Date build_date; ///< Date of construction + byte colour; ///< Colour of the object, for display purpose /** Make sure the object isn't zeroed. */ Object() {} |