Home
last modified time | relevance | path

Searched refs:ware (Results 1 – 25 of 1346) sorted by relevance

12345678910>>...54

/dports/games/widelands/widelands-build21/src/economy/
H A Dshippingitem.cc33 ShippingItem::ShippingItem(WareInstance& ware) : object_(&ware) { in ShippingItem() argument
40 if (ware) { in get()
41 *ware = nullptr; in get()
53 if (ware) { in get()
65 WareInstance* ware; in set_economy() local
78 WareInstance* ware; in set_location() local
82 if (ware) { in set_location()
98 WareInstance* ware; in end_shipping() local
102 if (ware) { in end_shipping()
115 WareInstance* ware; in update_destination() local
[all …]
H A Dflag.cc448 pi.ware = &ware; in add_ware()
612 WareInstance* const ware = wares_[best_index].ware; in fetch_pending_ware() local
622 return ware; in fetch_pending_ware()
686 if (wares_[i].ware != ware) { in remove_ware()
723 if (wares_[i].ware != &ware) { in call_carrier()
753 pi->ware->cancel_moving(); in call_carrier()
754 pi->ware->update(game); in call_carrier()
837 WareInstance& ware = *wares_[--ware_filled_].ware; in cleanup() local
840 ware.destroy(egbase); in cleanup()
891 wares_[i].ware->descr().get_animation("idle", wares_[i].ware), 0, in draw()
[all …]
H A Dware_instance.cc74 IdleWareSupply::IdleWareSupply(WareInstance& ware) : ware_(ware), economy_(nullptr) { in IdleWareSupply() argument
75 set_economy(ware.get_economy()); in IdleWareSupply()
142 ware = ware_.descr_index(); in get_ware_type()
526 WareInstance& ware = get<WareInstance>(); in load() local
530 ware.transfer_ = new Transfer(dynamic_cast<Game&>(egbase()), ware); in load()
531 ware.transfer_->read(fr, transfer_); in load()
538 WareInstance& ware = get<WareInstance>(); in load_pointers() local
547 if (ware.transfer_) in load_pointers()
555 if (!ware.transfer_ || !ware.transfer_->get_request()) { in load_finish()
556 if (!ware.supply_) in load_finish()
[all …]
H A Dportdock.cc184 WareInstance* ware; in cleanup() local
186 if (ware) { in cleanup()
187 ware->cancel_moving(); in cleanup()
245 ware.set_location(game, this); in add_shippingitem()
246 ware.update(game); in add_shippingitem()
351 WareInstance* ware; in count_waiting() local
362 if (ware && ware->descr_index() == wareindex) { in count_waiting()
393 WareInstance* ware = nullptr; in calc_max_priority() local
395 si.get(egbase, &ware, &worker); in calc_max_priority()
397 if (ware) { in calc_max_priority()
[all …]
/dports/games/simutrans/simutrans-121.0/
H A Dfreight_list_sorter.cc110 goods_desc_t const& desc = *ware->get_desc(); in add_ware_heading()
132 FOR(vector_tpl<ware_t>, const& ware, warray) { in sort_freight()
133 if( ware.get_desc() == goods_manager_t::none || ware.menge == 0 ) { in sort_freight()
136 wlist[pos] = ware; in sort_freight()
142 if( wi.get_index()==ware.get_index() && wi.get_zwischenziel()==ware.get_zwischenziel() && in sort_freight()
144 || wi.get_ziel() == ware.get_ziel() ) ) { in sort_freight()
185 ware_t const& ware = wlist[j]; in sort_freight() local
186 if( last_goods_index!=ware.get_index() && last_ware_catg!=ware.get_catg() ) { in sort_freight()
188 last_goods_index = ware.get_index(); in sort_freight()
190 last_ware_catg = (ware.get_catg()!=0) ? ware.get_catg() : -1; in sort_freight()
[all …]
H A Dsimhalt.cc542 if(ware.menge>0) { in rotate90()
1906 factory->liefere_an(ware.get_desc(), ware.menge); in liefere_an_fabrik()
2107 i = ware; in add_ware_to_halt()
2130 return ware.menge; in starte_mit_route()
2146 return ware.menge; in starte_mit_route()
2152 return ware.menge; in starte_mit_route()
2167 return ware.menge; in liefere_an()
2189 return ware.menge; in liefere_an()
2207 if(old_target != ware.get_ziel() && vereinige_waren(ware)) { in liefere_an()
2213 return ware.menge; in liefere_an()
[all …]
H A Dsimfab.cc1190 ware.rdwr( file ); in rdwr()
1203 ware.menge = 0; in rdwr()
1219 ware.menge = 0; in rdwr()
1291 ware.rdwr( file ); in rdwr()
1297 ware.menge = 0; in rdwr()
1311 ware.menge = 0; in rdwr()
1718 if( ware.menge > ware.max ){ in liefere_an()
1719 const sint32 prod_comp = ware.menge - ware.max; in liefere_an()
1720 ware.menge = ware.max; in liefere_an()
1725 if( demand_old >= ware.max && ware.demand_buffer < ware.max ) inactive_demands-= 1; in liefere_an()
[all …]
/dports/games/widelands/widelands-build21/data/tribes/scripting/help/
H A Dbuilding_help.lua353 if (buildcost == ware) then
497 if (warescost[ware]) then
498 warescost[ware] = warescost[ware] + amount
500 warescost[ware] = amount
517 warescost[ware] = warescost[ware] + amount
525 warescost[ware] = warescost[ware] + amount
556 if (warescost[ware]) then
557 warescost[ware] = warescost[ware] + amount
559 warescost[ware] = amount
567 warescost[ware] = warescost[ware] + amount
[all …]
H A Dware_help.lua61 for ware, amount in pairs(building:produced_wares(program_name)) do
63 if (ware_description.name == ware and #consumes > 0) then
71 for ware, amount in pairs(building:produced_wares(program_name)) do
72 if (ware_description.name == ware) then
85 for ware, amount in pairs(building:produced_wares(program_name)) do
86 if (produced_wares_amount[ware] == nil) then
87 produced_wares_amount[ware] = 0
89 produced_wares_amount[ware] = produced_wares_amount[ware] + amount
93 for ware, amount in pairs(produced_wares_amount) do
94 local ware_descr = wl.Game():get_ware_description(ware)
/dports/games/simutrans/simutrans-121.0/gui/
H A Dhalt_list_frame.cc215 if (j.get_typ() == ware) return true; in passes_filter_out()
243 else if (ware == goods_manager_t::mail) { in passes_filter_in()
252 if (j.get_typ() == ware) return true; in passes_filter_in()
416 if(ware != goods_manager_t::none) { in set_ware_filter_ab()
417 if(get_ware_filter_ab(ware)) { in set_ware_filter_ab()
419 waren_filter_ab.remove(ware); in set_ware_filter_ab()
424 waren_filter_ab.append(ware); in set_ware_filter_ab()
433 if(ware != goods_manager_t::none) { in set_ware_filter_an()
434 if(get_ware_filter_an(ware)) { in set_ware_filter_an()
436 waren_filter_an.remove(ware); in set_ware_filter_an()
[all …]
H A Dconvoi_filter_frame.cc137 const goods_desc_t *ware = goods_manager_t::get_info(i); in convoi_filter_frame_t() local
138 if( ware == goods_manager_t::none ) { in convoi_filter_frame_t()
141 if( ware->get_catg() == 0 ) { in convoi_filter_frame_t()
143 ware_item_t *item = ware_cont.new_component<ware_item_t>(this, ware); in convoi_filter_frame_t()
144 item->init(button_t::square_state, translator::translate(ware->get_name())); in convoi_filter_frame_t()
145 item->pressed = active_ware.is_contained(ware); in convoi_filter_frame_t()
151 const goods_desc_t *ware = goods_manager_t::get_info_catg(i); in convoi_filter_frame_t() local
152 if( ware->get_catg() != 0 ) { in convoi_filter_frame_t()
153 ware_item_t *item = ware_cont.new_component<ware_item_t>(this, ware); in convoi_filter_frame_t()
155 item->pressed = active_ware.is_contained(ware); in convoi_filter_frame_t()
[all …]
H A Dhalt_list_frame.h134 …static bool get_ware_filter_ab(const goods_desc_t *ware) { return waren_filter_ab.is_contained(war… in get_ware_filter_ab() argument
135 static void set_ware_filter_ab(const goods_desc_t *ware, int mode);
138 …static bool get_ware_filter_an(const goods_desc_t *ware) { return waren_filter_an.is_contained(war… in get_ware_filter_an() argument
139 static void set_ware_filter_an(const goods_desc_t *ware, int mode);
H A Dhalt_list_filter_frame.cc126 const goods_desc_t *ware = goods_manager_t::get_info(i); in halt_list_filter_frame_t() local
127 if( ware != goods_manager_t::none ) { in halt_list_filter_frame_t()
128 …ware_item_t *item = ware_cont_an.new_component<ware_item_t>(this, (const goods_desc_t*)NULL, ware); in halt_list_filter_frame_t()
129 item->init(button_t::square, translator::translate(ware->get_name())); in halt_list_filter_frame_t()
158 const goods_desc_t *ware = goods_manager_t::get_info(i); in halt_list_filter_frame_t() local
159 if( ware != goods_manager_t::none ) { in halt_list_filter_frame_t()
160 …ware_item_t *item = ware_cont_ab.new_component<ware_item_t>(this, ware, (const goods_desc_t*)NULL); in halt_list_filter_frame_t()
161 item->init(button_t::square, translator::translate(ware->get_name())); in halt_list_filter_frame_t()
H A Dconvoi_filter_frame.h72 const goods_desc_t *ware;
75 ware_item_t(convoi_filter_frame_t *parent, const goods_desc_t *ware) in ware_item_t() argument
77 this->ware = ware; in ware_item_t()
H A Dhalt_list_filter_frame.h106 …bool get_ware_filter_ab(const goods_desc_t *ware) const { return main_frame->get_ware_filter_ab(wa… in get_ware_filter_ab() argument
107 …bool get_ware_filter_an(const goods_desc_t *ware) const { return main_frame->get_ware_filter_an(wa… in get_ware_filter_an() argument
/dports/mail/s-nail/s-nail-14.9.23/src/mx/
H A Dcred-auth.c105 u32 ware; in mx_cred_auth_lookup() local
112 ware = a_NONE; in mx_cred_auth_lookup()
161 for(ware = 0; ware < NELEM(ata); ++ware){ in mx_cred_auth_lookup()
170 if(ware & a_UNAVAIL){ in mx_cred_auth_lookup()
186 if((ware & a_NEED_TLS) in mx_cred_auth_lookup()
218 if(ware & a_REQ_PASS){ in mx_cred_auth_lookup()
248 ware = NONE; in mx_cred_auth_lookup_old() local
310 ware = REQ_PASS | REQ_USER; in mx_cred_auth_lookup_old()
314 ware = REQ_PASS | REQ_USER; in mx_cred_auth_lookup_old()
322 ware = REQ_USER; in mx_cred_auth_lookup_old()
[all …]
/dports/games/widelands/widelands-build21/src/logic/map_objects/tribes/
H A Ddismantlesite.cc137 for (const auto& ware : count_returned_wares(this)) { in init() local
138 WaresQueue* wq = new WaresQueue(*this, ware.first, ware.second); in init()
139 wq->set_filled(ware.second); in init()
141 work_steps_ += ware.second; in init()
167 for (const auto& ware : return_wares) { in count_returned_wares() local
169 if (building->owner().tribe().has_ware(ware.first)) { in count_returned_wares()
170 result[ware.first] += ware.second; in count_returned_wares()
214 ware.init(game); in get_building_work()
215 worker.start_task_dropoff(game, ware); in get_building_work()
245 ware.init(game); in get_building_work()
[all …]
H A Dwarehouse.cc1006 ware.init(game); in launch_ware()
1010 return ware; in launch_ware()
1036 ware->destroy(egbase); in incorporate_ware()
1060 supply_->add_wares(ware, 1); in receive_ware()
1309 return ware_policy_[ware]; in get_ware_policy()
1314 return worker_policy_[ware]; in get_worker_policy()
1326 ware_policy_[ware] = policy; in set_ware_policy()
1331 worker_policy_[ware] = policy; in set_worker_policy()
1341 ++ware) { in check_remove_stock()
1342 if (get_ware_policy(ware) != StockPolicy::kRemove || !get_wares().stock(ware)) in check_remove_stock()
[all …]
/dports/games/widelands/widelands-build21/src/wui/
H A Dwaresdisplay.cc163 if (!tribe_.has_ware(ware) && !tribe_.has_worker(ware)) { in handle_mousepress()
172 selection_anchor_ = ware; in handle_mousepress()
315 if (!hidden_[ware]) { in update_anchor_selection()
441 if (selected_[ware]) in select_ware()
444 selected_[ware] = true; in select_ware()
450 if (!selected_[ware]) in unselect_ware()
453 selected_[ware] = false; in unselect_ware()
459 return selected_[ware]; in ware_selected()
464 if (hidden_[ware]) in hide_ware()
466 hidden_[ware] = true; in hide_ware()
[all …]
/dports/net-mgmt/p5-FusionInventory-Agent/FusionInventory-Agent-2.5.2/t/tasks/inventory/generic/storages/
H A D3ware.t13 use FusionInventory::Agent::Task::Inventory::Generic::Storages::3ware;
56 …FusionInventory::Agent::Task::Inventory::Generic::Storages::3ware::_getCards('resources/generic/tw…
64 FusionInventory::Agent::Task::Inventory::Generic::Storages::3ware::_getUnits(
74 [ FusionInventory::Agent::Task::Inventory::Generic::Storages::3ware::_getPorts(
86 FusionInventory::Agent::Task::Inventory::Generic::Storages::3ware::_getStorage(
/dports/games/simutrans/simutrans-121.0/player/
H A Dai_goods.h72 const goods_desc_t *ware; variable
75 …ction_t( fabrik_t *k1=0, fabrik_t *k2=0, const goods_desc_t *w=0 ) : fab1(k1), fab2(k2), ware(w) {} in fab1()
78 …rator != (const fabconnection_t & k) { return fab1 != k.fab1 || fab2 != k.fab2 || ware != k.ware; }
79 …rator == (const fabconnection_t & k) { return fab1 == k.fab1 && fab2 == k.fab2 && ware == k.ware; }
/dports/security/logcheck/logcheck/rulefiles/linux/cracking.d/
H A Dsmartd1 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+( \[(3ware|cciss)_di…
2 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+( \[(3ware|cciss)_di…
3 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+( \[(3ware|cciss)_di…
4 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+( \[(3ware|cciss)_di…
/dports/games/widelands/widelands-build21/data/campaigns/fri02.wmf/scripting/
H A Dmission_thread.lua83 for idx,ware in ipairs(p1.tribe.wares) do
84 if p2.tribe:has_ware(ware.name) then
85 wh:set_warehouse_policies(ware.name, "prefer")
87 wh:set_warehouse_policies(ware.name, "dontstock")
262 for idx,ware in ipairs(p1.tribe.wares) do
263 if p2.tribe:has_ware(ware.name) then
264 local amount = wh:get_wares(ware.name)
265 wh:set_wares(ware.name, 0)
266 hq:set_wares(ware.name, hq:get_wares(ware.name) + amount)
/dports/games/simutrans/simutrans-121.0/bauer/
H A Dgoods_manager.cc151 const goods_desc_t *ware = desc_table.get(name); in get_info() local
152 if( ware==NULL ) { in get_info()
153 ware = desc_table.get(translator::compatibility_name(name)); in get_info()
155 if( ware == NULL ) { in get_info()
158 ware = goods_manager_t::none; in get_info()
160 return ware; in get_info()
/dports/games/widelands/widelands-build21/src/website/
H A Dmap_object_info.cc78 const WareDescr& ware = *tribe.get_ware_descr(buildcost.first); in write_buildings() local
80 json_builcost->add_string("name", ware.name()); in write_buildings()
115 const WareDescr& ware = *tribe.get_ware_descr(input.first); in write_buildings() local
117 json_input->add_string("name", ware.name()); in write_buildings()
181 const WareDescr& ware = *tribe.get_ware_descr(ware_index); in write_wares() local
182 log(" %s", ware.name().c_str()); in write_wares()
184 json_ware->add_string("name", ware.name()); in write_wares()
185 json_ware->add_string("descname", ware.descname()); in write_wares()
186 json_ware->add_string("icon", ware.icon_filename()); in write_wares()
194 cr->push_arg(ware.helptext_script()); in write_wares()

12345678910>>...54