Home
last modified time | relevance | path

Searched refs:stored_in_warehouses (Results 1 – 8 of 8) sorted by relevance

/dports/games/julius/julius-1.7.0/src/city/
H A Dresource.c21 return city_data.resource.stored_in_warehouses[resource]; in city_resource_count()
159 city_data.resource.stored_in_warehouses[resource] += amount; in city_resource_add_to_warehouse()
165 city_data.resource.stored_in_warehouses[resource] -= amount; in city_resource_remove_from_warehouse()
172 city_data.resource.stored_in_warehouses[i] = 0; in city_resource_calculate_warehouse_stocks()
196 city_data.resource.stored_in_warehouses[resource] += loads; in city_resource_calculate_warehouse_stocks()
H A Dfestival.c144 if (city_data.resource.stored_in_warehouses[RESOURCE_WINE] < city_data.festival.grand_wine) { in city_festival_calculate_costs()
H A Ddata_private.h312 int16_t stored_in_warehouses[RESOURCE_MAX]; member
H A Ddata.c135 buffer_write_i16(main, city_data.resource.stored_in_warehouses[i]); in save_main_data()
612 city_data.resource.stored_in_warehouses[i] = buffer_read_i16(main); in load_main_data()
/dports/games/augustus/augustus-3.1.0/src/city/
H A Dresource.c42 return city_data.resource.stored_in_warehouses[resource]; in city_resource_count()
50 int amount_stored = city_data.resource.stored_in_warehouses[resource]; in city_resource_get_amount_including_granaries()
217 city_data.resource.stored_in_warehouses[resource] += amount; in city_resource_add_to_warehouse()
223 city_data.resource.stored_in_warehouses[resource] -= amount; in city_resource_remove_from_warehouse()
230 city_data.resource.stored_in_warehouses[i] = 0; in city_resource_calculate_warehouse_stocks()
255 city_data.resource.stored_in_warehouses[resource] += loads; in city_resource_calculate_warehouse_stocks()
H A Dfestival.c234 int wine_available = city_data.resource.stored_in_warehouses[RESOURCE_WINE]; in city_festival_calculate_costs()
H A Ddata_private.h347 int16_t stored_in_warehouses[RESOURCE_MAX]; member
H A Ddata.c140 buffer_write_i16(main, city_data.resource.stored_in_warehouses[i]); in save_main_data()
646 city_data.resource.stored_in_warehouses[i] = buffer_read_i16(main); in load_main_data()