/dports/games/freeciv-nox11/freeciv-2.6.6/client/ |
H A D | citydlg_common.c | 73 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() 93 bool city_to_canvas_pos(float *canvas_x, float *canvas_y, int city_x, in city_to_canvas_pos() argument 115 bool canvas_to_city_pos(int *city_x, int *city_y, int city_radius_sq, in canvas_to_city_pos() argument 138 *city_x = DIVIDE(canvas_x * H + canvas_y * W, W * H); in canvas_to_city_pos() 141 *city_x = DIVIDE(canvas_x, tileset_tile_width(get_tileset())); in canvas_to_city_pos() 147 *city_x = CITY_REL2ABS(*city_x); in canvas_to_city_pos() 153 return is_valid_city_coords(city_radius_sq, *city_x, *city_y); in canvas_to_city_pos() 1535 int city_toggle_worker(struct city *pcity, int city_x, int city_y) in city_toggle_worker() argument 1545 fc_assert(is_valid_city_coords(city_radius_sq, city_x, city_y)); in city_toggle_worker() [all …]
|
H A D | citydlg_common.h | 37 bool city_to_canvas_pos(float *canvas_x, float *canvas_y, int city_x, 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 D | mapctrl_common.c | 601 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 D | citydlg_common.c | 73 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() 93 bool city_to_canvas_pos(float *canvas_x, float *canvas_y, int city_x, in city_to_canvas_pos() argument 115 bool canvas_to_city_pos(int *city_x, int *city_y, int city_radius_sq, in canvas_to_city_pos() argument 138 *city_x = DIVIDE(canvas_x * H + canvas_y * W, W * H); in canvas_to_city_pos() 141 *city_x = DIVIDE(canvas_x, tileset_tile_width(get_tileset())); in canvas_to_city_pos() 147 *city_x = CITY_REL2ABS(*city_x); in canvas_to_city_pos() 153 return is_valid_city_coords(city_radius_sq, *city_x, *city_y); in canvas_to_city_pos() 1535 int city_toggle_worker(struct city *pcity, int city_x, int city_y) in city_toggle_worker() argument 1545 fc_assert(is_valid_city_coords(city_radius_sq, city_x, city_y)); in city_toggle_worker() [all …]
|
H A D | citydlg_common.h | 37 bool city_to_canvas_pos(float *canvas_x, float *canvas_y, int city_x, 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 D | mapctrl_common.c | 601 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 D | libya.sswf | 3356 city_x 3370 city_x 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 D | city.c | 133 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 D | city.c | 210 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 D | city.c | 509 int i, dx, dy, city_x, city_y, dist, city_count_tiles = 0; in generate_city_map_indices() local 560 city_x = CITY_REL2ABS(city_map_index[i].dx); in generate_city_map_indices() 562 city_map_xy[city_x][city_y] = i; in generate_city_map_indices() 574 city_x = CITY_REL2ABS(city_map_index[i].dx); 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 D | city.c | 509 int i, dx, dy, city_x, city_y, dist, city_count_tiles = 0; in generate_city_map_indices() local 560 city_x = CITY_REL2ABS(city_map_index[i].dx); in generate_city_map_indices() 562 city_map_xy[city_x][city_y] = i; in generate_city_map_indices() 574 city_x = CITY_REL2ABS(city_map_index[i].dx); 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/simutrans-pak128/simutrans/pak128/scenario/new_york/ |
H A D | scenario.nut | 138 city_midtown = city_x(398, 421)
|
/dports/games/freeciv/freeciv-2.6.6/server/advisors/ |
H A D | infracache.c | 249 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 D | infracache.c | 249 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 D | citytools.c | 3121 city_x, city_y) { in city_map_update_radius_sq() 3123 city_radius_sq_old, city_x, 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 D | maphand.c | 2104 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 D | citytools.c | 3121 city_x, city_y) { in city_map_update_radius_sq() 3123 city_radius_sq_old, city_x, 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 D | maphand.c | 2104 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 D | citydlg.cpp | 1289 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 D | citydlg.cpp | 1289 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/simutrans/simutrans-121.0/simutrans/script/ |
H A D | script_base.nut | 417 class city_x extends extend_get {
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.22/ |
H A D | citydlg.c | 3019 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 D | citydlg.c | 2991 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 D | citydlg.c | 2991 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 D | citydlg.c | 3019 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()
|