depot.c
changeset 3585 43461f26b729
parent 3047 2880aef0ee9d
child 4077 d4d440dd8925
equal deleted inserted replaced
3584:1af7d6e9d1ba 3585:43461f26b729
    26 	FOR_ALL_DEPOTS_FROM(depot, start_item)
    26 	FOR_ALL_DEPOTS_FROM(depot, start_item)
    27 		depot->index = start_item++;
    27 		depot->index = start_item++;
    28 }
    28 }
    29 
    29 
    30 /* Initialize the town-pool */
    30 /* Initialize the town-pool */
    31 MemoryPool _depot_pool = { "Depots", DEPOT_POOL_MAX_BLOCKS, DEPOT_POOL_BLOCK_SIZE_BITS, sizeof(Depot), &DepotPoolNewBlock, 0, 0, NULL };
    31 MemoryPool _depot_pool = { "Depots", DEPOT_POOL_MAX_BLOCKS, DEPOT_POOL_BLOCK_SIZE_BITS, sizeof(Depot), &DepotPoolNewBlock, NULL, 0, 0, NULL };
    32 
    32 
    33 
    33 
    34 /**
    34 /**
    35  * Gets a depot from a tile
    35  * Gets a depot from a tile
    36  *
    36  *