diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-20 20:51:57 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-20 20:51:57 +0000 |
commit | 103a2aa1164fe92552cfe64c46d99b4b7dd5e82a (patch) | |
tree | 097bbbafd144f585288535083f426339d840e0f4 /newgrf_spritegroup.h | |
parent | c8b1ff8654708fa0b156bb0936c5bb7053850854 (diff) | |
download | openttd-103a2aa1164fe92552cfe64c46d99b4b7dd5e82a.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.h | 9 |
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 */ |