equal
deleted
inserted
replaced
3 /** @file newgrf_spritegroup.cpp */ |
3 /** @file newgrf_spritegroup.cpp */ |
4 |
4 |
5 #include "stdafx.h" |
5 #include "stdafx.h" |
6 #include "openttd.h" |
6 #include "openttd.h" |
7 #include "variables.h" |
7 #include "variables.h" |
8 #include "macros.h" |
|
9 #include "landscape.h" |
8 #include "landscape.h" |
10 #include "oldpool.h" |
9 #include "oldpool.h" |
11 #include "newgrf_callbacks.h" |
10 #include "newgrf_callbacks.h" |
12 #include "newgrf_spritegroup.h" |
11 #include "newgrf_spritegroup.h" |
13 #include "date.h" |
|
14 #include "sprite.h" |
12 #include "sprite.h" |
|
13 #include "date_func.h" |
|
14 #include "settings_type.h" |
15 |
15 |
16 static void SpriteGroupPoolCleanBlock(uint start_item, uint end_item); |
16 static void SpriteGroupPoolCleanBlock(uint start_item, uint end_item); |
17 |
17 |
18 static uint _spritegroup_count = 0; |
18 static uint _spritegroup_count = 0; |
19 STATIC_OLD_POOL(SpriteGroup, SpriteGroup, 9, 250, NULL, SpriteGroupPoolCleanBlock) |
19 STATIC_OLD_POOL(SpriteGroup, SpriteGroup, 9, 250, NULL, SpriteGroupPoolCleanBlock) |