Home
last modified time | relevance | path

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

/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-xaw/
H A Dmenu.c402 bool conn_possible; in real_menus_update() local
463 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
465 conn_possible = FALSE; in real_menus_update()
467 menu_entry_sensitive(MENU_ORDER, MENU_ORDER_CONNECT_ROAD, conn_possible); in real_menus_update()
475 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
477 conn_possible = FALSE; in real_menus_update()
480 conn_possible); in real_menus_update()
488 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
490 conn_possible = FALSE; in real_menus_update()
493 menu_entry_sensitive(MENU_ORDER, MENU_ORDER_CONNECT_IRRIGATE, conn_possible); in real_menus_update()
/dports/games/freeciv/freeciv-2.6.6/client/gui-xaw/
H A Dmenu.c402 bool conn_possible; in real_menus_update() local
463 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
465 conn_possible = FALSE; in real_menus_update()
467 menu_entry_sensitive(MENU_ORDER, MENU_ORDER_CONNECT_ROAD, conn_possible); in real_menus_update()
475 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
477 conn_possible = FALSE; in real_menus_update()
480 conn_possible); in real_menus_update()
488 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
490 conn_possible = FALSE; in real_menus_update()
493 menu_entry_sensitive(MENU_ORDER, MENU_ORDER_CONNECT_IRRIGATE, conn_possible); in real_menus_update()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.0/
H A Dmenu.c2063 bool conn_possible; in real_menus_update() local
2256 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2258 conn_possible = FALSE; in real_menus_update()
2260 menus_set_sensitive(unit_group, "CONNECT_ROAD", conn_possible); in real_menus_update()
2268 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2270 conn_possible = FALSE; in real_menus_update()
2272 menus_set_sensitive(unit_group, "CONNECT_RAIL", conn_possible); in real_menus_update()
2280 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
2282 conn_possible = FALSE; in real_menus_update()
2284 menus_set_sensitive(unit_group, "CONNECT_IRRIGATION", conn_possible); in real_menus_update()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-2.0/
H A Dmenu.c2075 bool conn_possible; in real_menus_update() local
2268 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2270 conn_possible = FALSE; in real_menus_update()
2272 menus_set_sensitive(unit_group, "CONNECT_ROAD", conn_possible); in real_menus_update()
2280 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2282 conn_possible = FALSE; in real_menus_update()
2284 menus_set_sensitive(unit_group, "CONNECT_RAIL", conn_possible); in real_menus_update()
2292 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
2294 conn_possible = FALSE; in real_menus_update()
2296 menus_set_sensitive(unit_group, "CONNECT_IRRIGATION", conn_possible); in real_menus_update()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.0/
H A Dmenu.c2063 bool conn_possible; in real_menus_update() local
2256 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2258 conn_possible = FALSE; in real_menus_update()
2260 menus_set_sensitive(unit_group, "CONNECT_ROAD", conn_possible); in real_menus_update()
2268 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2270 conn_possible = FALSE; in real_menus_update()
2272 menus_set_sensitive(unit_group, "CONNECT_RAIL", conn_possible); in real_menus_update()
2280 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
2282 conn_possible = FALSE; in real_menus_update()
2284 menus_set_sensitive(unit_group, "CONNECT_IRRIGATION", conn_possible); in real_menus_update()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-2.0/
H A Dmenu.c2075 bool conn_possible; in real_menus_update() local
2268 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2270 conn_possible = FALSE; in real_menus_update()
2272 menus_set_sensitive(unit_group, "CONNECT_ROAD", conn_possible); in real_menus_update()
2280 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2282 conn_possible = FALSE; in real_menus_update()
2284 menus_set_sensitive(unit_group, "CONNECT_RAIL", conn_possible); in real_menus_update()
2292 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
2294 conn_possible = FALSE; in real_menus_update()
2296 menus_set_sensitive(unit_group, "CONNECT_IRRIGATION", conn_possible); in real_menus_update()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.22/
H A Dmenu.c2085 bool conn_possible; in real_menus_update() local
2272 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2274 conn_possible = FALSE; in real_menus_update()
2276 menu_entry_set_sensitive("CONNECT_ROAD", conn_possible); in real_menus_update()
2284 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2286 conn_possible = FALSE; in real_menus_update()
2288 menu_entry_set_sensitive("CONNECT_RAIL", conn_possible); in real_menus_update()
2296 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
2298 conn_possible = FALSE; in real_menus_update()
2300 menu_entry_set_sensitive("CONNECT_IRRIGATION", conn_possible); in real_menus_update()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.22/
H A Dmenu.c2085 bool conn_possible; in real_menus_update() local
2272 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2274 conn_possible = FALSE; in real_menus_update()
2276 menu_entry_set_sensitive("CONNECT_ROAD", conn_possible); in real_menus_update()
2284 conn_possible = can_units_do_connect(punits, ACTIVITY_GEN_ROAD, tgt); in real_menus_update()
2286 conn_possible = FALSE; in real_menus_update()
2288 menu_entry_set_sensitive("CONNECT_RAIL", conn_possible); in real_menus_update()
2296 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
2298 conn_possible = FALSE; in real_menus_update()
2300 menu_entry_set_sensitive("CONNECT_IRRIGATION", conn_possible); in real_menus_update()
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl2/
H A Dmenu.c1362 bool conn_possible = FALSE; in real_menus_update() local
1371 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
1374 if (conn_possible) { in real_menus_update()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl2/
H A Dmenu.c1362 bool conn_possible = FALSE; in real_menus_update() local
1371 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
1374 if (conn_possible) { in real_menus_update()
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl/
H A Dmenu.c1367 bool conn_possible = FALSE; in real_menus_update() local
1376 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
1379 if (conn_possible) { in real_menus_update()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl/
H A Dmenu.c1367 bool conn_possible = FALSE; in real_menus_update() local
1376 conn_possible = can_units_do_connect(punits, ACTIVITY_IRRIGATE, tgt); in real_menus_update()
1379 if (conn_possible) { in real_menus_update()