newgrf_spritegroup.c
branchcustombridgeheads
changeset 5642 bfa6074e2833
parent 5216 d581e4db95b6
equal deleted inserted replaced
5641:d4d00a16ef26 5642:bfa6074e2833
     9 #include "date.h"
     9 #include "date.h"
    10 
    10 
    11 static void SpriteGroupPoolCleanBlock(uint start_item, uint end_item);
    11 static void SpriteGroupPoolCleanBlock(uint start_item, uint end_item);
    12 
    12 
    13 static uint _spritegroup_count = 0;
    13 static uint _spritegroup_count = 0;
    14 STATIC_OLD_POOL(SpriteGroup, SpriteGroup, 4, 8000, NULL, SpriteGroupPoolCleanBlock)
    14 STATIC_OLD_POOL(SpriteGroup, SpriteGroup, 9, 250, NULL, SpriteGroupPoolCleanBlock)
    15 
    15 
    16 static void DestroySpriteGroup(SpriteGroup *group)
    16 static void DestroySpriteGroup(SpriteGroup *group)
    17 {
    17 {
    18 	/* Free dynamically allocated memory */
    18 	/* Free dynamically allocated memory */
    19 	/* XXX Cast away the consts due to MSVC being buggy... */
    19 	/* XXX Cast away the consts due to MSVC being buggy... */