summaryrefslogtreecommitdiff
path: root/src/object_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-13 12:45:26 +0000
committerrubidium <rubidium@openttd.org>2010-08-13 12:45:26 +0000
commit89b2b9370a877526e2b637b1cd39d6f374dbabdb (patch)
tree7733fbb8b3a39ba160e0d3d5d36aedcd13e7a0dc /src/object_type.h
parentc5ec91098016e92a4872216c77380e522262abc3 (diff)
downloadopenttd-89b2b9370a877526e2b637b1cd39d6f374dbabdb.tar.xz
(svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns
Diffstat (limited to 'src/object_type.h')
-rw-r--r--src/object_type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object_type.h b/src/object_type.h
index 3a801960d..d074878b2 100644
--- a/src/object_type.h
+++ b/src/object_type.h
@@ -22,6 +22,10 @@ enum ObjectType {
OBJECT_MAX,
};
+/** Unique identifier for an object. */
+typedef uint16 ObjectID;
+
+struct Object;
struct ObjectSpec;
#endif /* OBJECT_TYPE_H */