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
commitf614b8611440519f42b0a5b2209fd2588b5b2a60 (patch)
tree3408008b6e4a19ccc27a823700b8189491c617d7 /sprite.h
parent4879e04986197627ec316307cbdb8709665541d8 (diff)
downloadopenttd-f614b8611440519f42b0a5b2209fd2588b5b2a60.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;