(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.
This commit is contained in:
9
newgrf_spritegroup.h
Normal file
9
newgrf_spritegroup.h
Normal file
@@ -0,0 +1,9 @@
|
||||
/* $Id$ */
|
||||
|
||||
#ifndef NEWGRF_SPRITEGROUP_H
|
||||
#define NEWGRF_SPRITEGROUP_H
|
||||
|
||||
SpriteGroup *AllocateSpriteGroup(void);
|
||||
void InitializeSpriteGroupPool(void);
|
||||
|
||||
#endif /* NEWGRF_SPRITEGROUP_H */
|
Reference in New Issue
Block a user