summaryrefslogtreecommitdiff
path: root/newgrf_spritegroup.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-04-20 20:51:57 +0000
committerpeter1138 <peter1138@openttd.org>2006-04-20 20:51:57 +0000
commit92d8af75dbf7a258f8964924a47dab199c4369e6 (patch)
tree097bbbafd144f585288535083f426339d840e0f4 /newgrf_spritegroup.h
parentfe6dadad7bca7a772fe5626c59b44b243324e6f5 (diff)
downloadopenttd-92d8af75dbf7a258f8964924a47dab199c4369e6.tar.xz
(svn r4486) - NewGRF: Create and use a memory pool to manage sprite groups. This
reduces the amount of house keeping we do and the chance of memory leaks.
Diffstat (limited to 'newgrf_spritegroup.h')
-rw-r--r--newgrf_spritegroup.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/newgrf_spritegroup.h b/newgrf_spritegroup.h
new file mode 100644
index 000000000..44b49bcca
--- /dev/null
+++ b/newgrf_spritegroup.h
@@ -0,0 +1,9 @@
+/* $Id$ */
+
+#ifndef NEWGRF_SPRITEGROUP_H
+#define NEWGRF_SPRITEGROUP_H
+
+SpriteGroup *AllocateSpriteGroup(void);
+void InitializeSpriteGroupPool(void);
+
+#endif /* NEWGRF_SPRITEGROUP_H */