Home
last modified time | relevance | path

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

/dports/games/widelands/widelands-build21/src/economy/
H A Deconomy.cc851 Quantity total_planned = 0; in create_requested_worker() local
856 total_planned += planned; in create_requested_worker()
902 assert(total_planned >= planned); in create_requested_worker()
904 if (total_planned > total_demand) { in create_requested_worker()
906 nr_to_plan -= std::min(nr_to_plan, total_planned - total_demand); in create_requested_worker()
907 } else if (total_planned < total_demand) { in create_requested_worker()
911 std::min(min_workers_createable, total_demand - total_planned); in create_requested_worker()
922 total_planned = total_planned + nr_to_plan - planned; in create_requested_worker()
923 if (total_planned == total_demand) { in create_requested_worker()