summaryrefslogtreecommitdiff
path: root/sprite.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-10-04 20:58:10 +0000
committerpeter1138 <peter1138@openttd.org>2005-10-04 20:58:10 +0000
commitc655e13e92aefef1503e7869b3dc3185cc1b2757 (patch)
tree3408008b6e4a19ccc27a823700b8189491c617d7 /sprite.h
parentd1591e864d2cc68ef7c1bfaa4d35093e64ae5a24 (diff)
downloadopenttd-c655e13e92aefef1503e7869b3dc3185cc1b2757.tar.xz
(svn r3016) -NewGRF: Implement the start of reference counting for sprite groups. This will allow unloading.
Diffstat (limited to 'sprite.h')
-rw-r--r--sprite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sprite.h b/sprite.h
index 2e1938cac..785a6af1a 100644
--- a/sprite.h
+++ b/sprite.h
@@ -129,6 +129,7 @@ typedef enum SpriteGroupType {
struct SpriteGroup {
SpriteGroupType type;
+ byte ref_count;
union {
RealSpriteGroup real;