Home
last modified time | relevance | path

Searched refs:city_y (Results 1 – 25 of 29) sorted by relevance

12

/dports/games/freeciv-nox11/freeciv-2.6.6/client/
H A Dcitydlg_common.c73 city_map_iterate_without_index(max_rad, city_x, city_y) { in generate_citydlg_dimensions()
77 CITY_ABS2REL(city_x), CITY_ABS2REL(city_y)); in generate_citydlg_dimensions()
94 int city_y, int city_radius_sq) in city_to_canvas_pos() argument
101 CITY_ABS2REL(city_y)); in city_to_canvas_pos()
139 *city_y = DIVIDE(canvas_y * W - canvas_x * H, W * H); in canvas_to_city_pos()
142 *city_y = DIVIDE(canvas_y, tileset_tile_height(get_tileset())); in canvas_to_city_pos()
148 *city_y = CITY_REL2ABS(*city_y); in canvas_to_city_pos()
153 return is_valid_city_coords(city_radius_sq, *city_x, *city_y); in canvas_to_city_pos()
1547 city_x, city_y); in city_toggle_worker()
1554 city_y); in city_toggle_worker()
[all …]
H A Dcitydlg_common.h38 int city_y, int city_radius_sq);
39 bool canvas_to_city_pos(int *city_x, int *city_y, int city_radius_sq,
91 int city_toggle_worker(struct city *pcity, int city_x, int city_y);
H A Dmapctrl_common.c601 int city_x, city_y; in adjust_workers_button_pressed() local
603 fc_assert_ret(city_base_to_city_map(&city_x, &city_y, pcity, ptile)); in adjust_workers_button_pressed()
607 city_x, city_y); in adjust_workers_button_pressed()
610 city_x, city_y); in adjust_workers_button_pressed()
/dports/games/freeciv/freeciv-2.6.6/client/
H A Dcitydlg_common.c73 city_map_iterate_without_index(max_rad, city_x, city_y) { in generate_citydlg_dimensions()
77 CITY_ABS2REL(city_x), CITY_ABS2REL(city_y)); in generate_citydlg_dimensions()
94 int city_y, int city_radius_sq) in city_to_canvas_pos() argument
101 CITY_ABS2REL(city_y)); in city_to_canvas_pos()
139 *city_y = DIVIDE(canvas_y * W - canvas_x * H, W * H); in canvas_to_city_pos()
142 *city_y = DIVIDE(canvas_y, tileset_tile_height(get_tileset())); in canvas_to_city_pos()
148 *city_y = CITY_REL2ABS(*city_y); in canvas_to_city_pos()
153 return is_valid_city_coords(city_radius_sq, *city_x, *city_y); in canvas_to_city_pos()
1547 city_x, city_y); in city_toggle_worker()
1554 city_y); in city_toggle_worker()
[all …]
H A Dcitydlg_common.h38 int city_y, int city_radius_sq);
39 bool canvas_to_city_pos(int *city_x, int *city_y, int city_radius_sq,
91 int city_toggle_worker(struct city *pcity, int city_x, int city_y);
H A Dmapctrl_common.c601 int city_x, city_y; in adjust_workers_button_pressed() local
603 fc_assert_ret(city_base_to_city_map(&city_x, &city_y, pcity, ptile)); in adjust_workers_button_pressed()
607 city_x, city_y); in adjust_workers_button_pressed()
610 city_x, city_y); in adjust_workers_button_pressed()
/dports/graphics/sswf/sswf-1.8.4/samples/libya/
H A Dlibya.sswf3361 city_y - 15
3378 city_y
3482 city_x = 229, city_y = 327; stop_in_city;
3527 city_x = 65, city_y = 472; stop_in_camp;
3651 city_x = 229, city_y = 327; stop_in_city;
3807 city_x = 308, city_y = 253; stop_in_city;
3844 city_x = 42, city_y = 230; stop_in_camp;
3876 city_x = 236, city_y = 92; stop_in_city;
3881 city_x = 268, city_y = 98; stop_in_city;
3890 city_x = 332, city_y = 155; stop_in_city;
[all …]
/dports/games/julius/julius-1.7.0/src/widget/
H A Dcity.c133 int city_x, city_y, width, height; in draw_cancel_construction_button() local
134 city_view_get_viewport(&city_x, &city_y, &width, &height); in draw_cancel_construction_button()
161 int city_x, city_y, width, height; in is_cancel_construction_button() local
162 city_view_get_viewport(&city_x, &city_y, &width, &height); in is_cancel_construction_button()
/dports/games/augustus/augustus-3.1.0/src/widget/
H A Dcity.c210 int city_x, city_y, width, height; in is_cancel_construction_button() local
211 city_view_get_unscaled_viewport(&city_x, &city_y, &width, &height); in is_cancel_construction_button()
/dports/games/freeciv-nox11/freeciv-2.6.6/common/
H A Dcity.c509 int i, dx, dy, city_x, city_y, dist, city_count_tiles = 0; in generate_city_map_indices() local
561 city_y = CITY_REL2ABS(city_map_index[i].dy); in generate_city_map_indices()
562 city_map_xy[city_x][city_y] = i; in generate_city_map_indices()
575 city_y = CITY_REL2ABS(city_map_index[i].dy); in generate_city_map_indices()
578 city_map_index[i].dx, city_map_index[i].dy, city_x, city_y, in generate_city_map_indices()
579 city_map_index[i].dist, city_map_xy[city_x][city_y]); in generate_city_map_indices()
/dports/games/freeciv/freeciv-2.6.6/common/
H A Dcity.c509 int i, dx, dy, city_x, city_y, dist, city_count_tiles = 0; in generate_city_map_indices() local
561 city_y = CITY_REL2ABS(city_map_index[i].dy); in generate_city_map_indices()
562 city_map_xy[city_x][city_y] = i; in generate_city_map_indices()
575 city_y = CITY_REL2ABS(city_map_index[i].dy); in generate_city_map_indices()
578 city_map_index[i].dx, city_map_index[i].dy, city_x, city_y, in generate_city_map_indices()
579 city_map_index[i].dist, city_map_xy[city_x][city_y]); in generate_city_map_indices()
/dports/games/freeciv/freeciv-2.6.6/server/advisors/
H A Dinfracache.c249 city_map_iterate(radius_sq, city_index, city_x, city_y) { in initialize_infrastructure_cache()
/dports/games/freeciv-nox11/freeciv-2.6.6/server/advisors/
H A Dinfracache.c249 city_map_iterate(radius_sq, city_index, city_x, city_y) { in initialize_infrastructure_cache()
/dports/games/freeciv/freeciv-2.6.6/server/
H A Dcitytools.c3121 city_x, city_y) { in city_map_update_radius_sq()
3124 city_y); in city_map_update_radius_sq()
3135 city_map_iterate_without_index(radius_sq, city_x, city_y) { in city_map_update_radius_sq()
3137 city_x, city_y); in city_map_update_radius_sq()
H A Dmaphand.c2104 int city_x, city_y; in map_claim_border() local
2106 map_distance_vector(&city_x, &city_y, ccity->tile, dtile); in map_claim_border()
2108 if (map_vector_to_sq_distance(city_x, city_y) in map_claim_border()
/dports/games/freeciv-nox11/freeciv-2.6.6/server/
H A Dcitytools.c3121 city_x, city_y) { in city_map_update_radius_sq()
3124 city_y); in city_map_update_radius_sq()
3135 city_map_iterate_without_index(radius_sq, city_x, city_y) { in city_map_update_radius_sq()
3137 city_x, city_y); in city_map_update_radius_sq()
H A Dmaphand.c2104 int city_x, city_y; in map_claim_border() local
2106 map_distance_vector(&city_x, &city_y, ccity->tile, dtile); in map_claim_border()
2108 if (map_vector_to_sq_distance(city_x, city_y) in map_claim_border()
/dports/games/freeciv/freeciv-2.6.6/client/gui-qt/
H A Dcitydlg.cpp1289 int canvas_x, canvas_y, city_x, city_y; in mousePressEvent() local
1298 if (canvas_to_city_pos(&city_x, &city_y, city_map_radius_sq_get(mcity), in mousePressEvent()
1300 city_toggle_worker(mcity, city_x, city_y); in mousePressEvent()
1309 int canvas_x, canvas_y, city_x, city_y; in context_menu() local
1335 if (!canvas_to_city_pos(&city_x, &city_y, city_map_radius_sq_get(mcity), in context_menu()
1341 city_x, city_y); in context_menu()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-qt/
H A Dcitydlg.cpp1289 int canvas_x, canvas_y, city_x, city_y; in mousePressEvent() local
1298 if (canvas_to_city_pos(&city_x, &city_y, city_map_radius_sq_get(mcity), in mousePressEvent()
1300 city_toggle_worker(mcity, city_x, city_y); in mousePressEvent()
1309 int canvas_x, canvas_y, city_x, city_y; in context_menu() local
1335 if (!canvas_to_city_pos(&city_x, &city_y, city_map_radius_sq_get(mcity), in context_menu()
1341 city_x, city_y); in context_menu()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.22/
H A Dcitydlg.c3019 int canvas_x, canvas_y, city_x, city_y; in button_down_citymap() local
3028 if (canvas_to_city_pos(&city_x, &city_y, in button_down_citymap()
3032 city_toggle_worker(pdialog->pcity, city_x, city_y); in button_down_citymap()
3038 city_x, city_y)); in button_down_citymap()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.0/
H A Dcitydlg.c2991 int canvas_x, canvas_y, city_x, city_y; in button_down_citymap() local
3000 if (canvas_to_city_pos(&city_x, &city_y, in button_down_citymap()
3004 city_toggle_worker(pdialog->pcity, city_x, city_y); in button_down_citymap()
3010 city_x, city_y)); in button_down_citymap()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.0/
H A Dcitydlg.c2991 int canvas_x, canvas_y, city_x, city_y; in button_down_citymap() local
3000 if (canvas_to_city_pos(&city_x, &city_y, in button_down_citymap()
3004 city_toggle_worker(pdialog->pcity, city_x, city_y); in button_down_citymap()
3010 city_x, city_y)); in button_down_citymap()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.22/
H A Dcitydlg.c3019 int canvas_x, canvas_y, city_x, city_y; in button_down_citymap() local
3028 if (canvas_to_city_pos(&city_x, &city_y, in button_down_citymap()
3032 city_toggle_worker(pdialog->pcity, city_x, city_y); in button_down_citymap()
3038 city_x, city_y)); in button_down_citymap()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-2.0/
H A Dcitydlg.c2596 int canvas_x, canvas_y, city_x, city_y; in button_down_citymap() local
2605 if (canvas_to_city_pos(&city_x, &city_y, in button_down_citymap()
2608 city_toggle_worker(pdialog->pcity, city_x, city_y); in button_down_citymap()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-2.0/
H A Dcitydlg.c2596 int canvas_x, canvas_y, city_x, city_y; in button_down_citymap() local
2605 if (canvas_to_city_pos(&city_x, &city_y, in button_down_citymap()
2608 city_toggle_worker(pdialog->pcity, city_x, city_y); in button_down_citymap()

12