Home
last modified time | relevance | path

Searched refs:ptile (Results 226 – 250 of 623) sorted by relevance

12345678910>>...25

/dports/games/freeciv/freeciv-2.6.6/common/
H A Dmetaknowledge.c39 cardinal_adjc_iterate(target_tile, ptile) { in is_tile_seen_cadj()
40 if (!tile_is_seen(ptile, pow_player)) { in is_tile_seen_cadj()
62 adjc_iterate(target_tile, ptile) { in is_tile_seen_adj()
63 if (!tile_is_seen(ptile, pow_player)) { in is_tile_seen_adj()
85 city_tile(target_city), ptile) { in is_tile_seen_city()
86 if (!tile_is_seen(ptile, pow_player)) { in is_tile_seen_city()
347 cardinal_adjc_iterate(target_tile, ptile) { in is_req_knowable()
348 pcity = tile_city(ptile); in is_req_knowable()
363 adjc_iterate(target_tile, ptile) { in is_req_knowable()
364 pcity = tile_city(ptile); in is_req_knowable()
H A Dfc_interface.h33 void (*create_extra)(struct tile *ptile, struct extra_type *pextra,
35 void (*destroy_extra)(struct tile *ptile, struct extra_type *pextra);
38 bool (*player_tile_vision_get)(const struct tile *ptile,
H A Drequirements.c1511 if (tile_has_extra(ptile, pextra)) { in is_extra_type_in_range()
1524 if (tile_has_extra(ptile, pextra)) { in is_extra_type_in_range()
1531 if (tile_has_extra(ptile, pextra)) { in is_extra_type_in_range()
1585 if (tile_terrain(ptile) == pterrain) { in is_terrain_in_range()
1598 if (tile_terrain(ptile) == pterrain) { in is_terrain_in_range()
1605 if (tile_terrain(ptile) == pterrain) { in is_terrain_in_range()
1658 if (tile_resource(ptile) == pres) { in is_resource_in_range()
1672 if (tile_resource(ptile) == pres) { in is_resource_in_range()
1679 if (tile_resource(ptile) == pres) { in is_resource_in_range()
2426 return tile_city(ptile) != NULL; in is_city_in_tile()
[all …]
/dports/games/freeciv/freeciv-2.6.6/client/agents/
H A Dagents.c129 const struct tile *ptile; in enqueue_call() local
144 ptile = va_arg(ap, const struct tile *); in enqueue_call()
145 arg = tile_index(ptile); in enqueue_call()
663 void agents_tile_remove(struct tile *ptile) in agents_tile_remove() argument
667 log_debug("A: agents_tile_remove(tile=(%d, %d))", TILE_XY(ptile)); in agents_tile_remove()
676 enqueue_call(OCT_TILE, CB_REMOVE, agent, ptile); in agents_tile_remove()
687 void agents_tile_changed(struct tile *ptile) in agents_tile_changed() argument
700 enqueue_call(OCT_TILE, CB_CHANGE, agent, ptile); in agents_tile_changed()
711 void agents_tile_new(struct tile *ptile) in agents_tile_new() argument
715 log_debug("A: agents_tile_new(tile=(%d, %d))", TILE_XY(ptile)); in agents_tile_new()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/client/agents/
H A Dagents.c129 const struct tile *ptile; in enqueue_call() local
144 ptile = va_arg(ap, const struct tile *); in enqueue_call()
145 arg = tile_index(ptile); in enqueue_call()
663 void agents_tile_remove(struct tile *ptile) in agents_tile_remove() argument
667 log_debug("A: agents_tile_remove(tile=(%d, %d))", TILE_XY(ptile)); in agents_tile_remove()
676 enqueue_call(OCT_TILE, CB_REMOVE, agent, ptile); in agents_tile_remove()
687 void agents_tile_changed(struct tile *ptile) in agents_tile_changed() argument
700 enqueue_call(OCT_TILE, CB_CHANGE, agent, ptile); in agents_tile_changed()
711 void agents_tile_new(struct tile *ptile) in agents_tile_new() argument
715 log_debug("A: agents_tile_new(tile=(%d, %d))", TILE_XY(ptile)); in agents_tile_new()
[all …]
/dports/games/manaplus/manaplus-2.1.3.17/src/resources/map/
H A Dlocation.h41 MetaTile *const ptile) : in Location()
44 tileCost(ptile->Fcost), in Location()
45 tile(ptile) in Location()
/dports/games/freeciv-nox11/freeciv-2.6.6/common/
H A Dfc_interface.h33 void (*create_extra)(struct tile *ptile, struct extra_type *pextra,
35 void (*destroy_extra)(struct tile *ptile, struct extra_type *pextra);
38 bool (*player_tile_vision_get)(const struct tile *ptile,
H A Drequirements.c1511 if (tile_has_extra(ptile, pextra)) { in is_extra_type_in_range()
1524 if (tile_has_extra(ptile, pextra)) { in is_extra_type_in_range()
1531 if (tile_has_extra(ptile, pextra)) { in is_extra_type_in_range()
1585 if (tile_terrain(ptile) == pterrain) { in is_terrain_in_range()
1598 if (tile_terrain(ptile) == pterrain) { in is_terrain_in_range()
1605 if (tile_terrain(ptile) == pterrain) { in is_terrain_in_range()
1658 if (tile_resource(ptile) == pres) { in is_resource_in_range()
1672 if (tile_resource(ptile) == pres) { in is_resource_in_range()
1679 if (tile_resource(ptile) == pres) { in is_resource_in_range()
2426 return tile_city(ptile) != NULL; in is_city_in_tile()
[all …]
/dports/math/py-spvcm/spvcm-0.3.0/spvcm/custom_plots/
H A Dsvcp.py32 ptiles = [[np.percentile(corrfunc(r, pwds).flatten(), ptile)
33 for r in support] for ptile in percentiles]
35 for i, ptile in enumerate(ptiles):
36 ax[0].plot(support*m.state.max_dist, ptile, **plot_kw[i])
/dports/games/freeciv/freeciv-2.6.6/ai/default/
H A Daiferry.c427 if (is_ocean_tile(ptile)) { in sea_move()
549 square_iterate(pos.tile, radius, ptile) { in aiferry_find_boat()
550 unit_list_iterate(ptile->units, aunit) { in aiferry_find_boat()
591 square_iterate(unit_tile(punit), 1, ptile) { in aiferry_find_boat_nearby()
592 unit_list_iterate(ptile->units, aunit) { in aiferry_find_boat_nearby()
650 ptile = immediate_destination(passenger, ptile); in dai_amphibious_goto_constrained()
652 if (same_pos(unit_tile(passenger), ptile)) { in dai_amphibious_goto_constrained()
663 path = pf_map_path(pfm, ptile); in dai_amphibious_goto_constrained()
668 alive = adv_follow_path(ferry, path, ptile); in dai_amphibious_goto_constrained()
936 pf_map_tiles_iterate(pfm, ptile, TRUE) { in aiferry_findcargo()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/ai/default/
H A Daiferry.c427 if (is_ocean_tile(ptile)) { in sea_move()
549 square_iterate(pos.tile, radius, ptile) { in aiferry_find_boat()
550 unit_list_iterate(ptile->units, aunit) { in aiferry_find_boat()
591 square_iterate(unit_tile(punit), 1, ptile) { in aiferry_find_boat_nearby()
592 unit_list_iterate(ptile->units, aunit) { in aiferry_find_boat_nearby()
650 ptile = immediate_destination(passenger, ptile); in dai_amphibious_goto_constrained()
652 if (same_pos(unit_tile(passenger), ptile)) { in dai_amphibious_goto_constrained()
663 path = pf_map_path(pfm, ptile); in dai_amphibious_goto_constrained()
668 alive = adv_follow_path(ferry, path, ptile); in dai_amphibious_goto_constrained()
936 pf_map_tiles_iterate(pfm, ptile, TRUE) { in aiferry_findcargo()
[all …]
H A Daidiplomat.c455 adjc_iterate(city_tile(enemy_city), ptile) { in is_city_surrounded_by_our_spies()
461 unit_list_iterate(ptile->units, punit) { in is_city_surrounded_by_our_spies()
490 pf_map_move_costs_iterate(pfm, ptile, move_cost, FALSE) { in find_city_to_diplomat()
496 acity = tile_city(ptile); in find_city_to_diplomat()
565 pf_map_move_costs_iterate(pfm, ptile, move_cost, FALSE) { in dai_diplomat_defend()
571 acity = tile_city(ptile); in dai_diplomat_defend()
582 dipls = (count_diplomats_on_tile(ptile) in dai_diplomat_defend()
625 struct tile *ptile = pos.tile; in dai_diplomat_bribe_nearby() local
639 || unit_list_size(ptile->units) > 1 in dai_diplomat_bribe_nearby()
640 || tile_city(ptile) in dai_diplomat_bribe_nearby()
[all …]
/dports/games/freeciv/freeciv-2.6.6/client/
H A Dpackhand.c571 struct tile *ptile = NULL; in handle_city_info() local
595 if (NULL == ptile) { in handle_city_info()
601 ptile = pcenter; in handle_city_info()
1011 if (NULL == ptile) { in handle_city_short_info()
1017 ptile = pcenter; in handle_city_short_info()
2821 if (NULL == tile_terrain(ptile) || pterrain != tile_terrain(ptile)) { in handle_tile_info()
2919 if (tile_worked(ptile) && NULL != city_tile(tile_worked(ptile))) { in handle_tile_info()
2961 free(ptile->spec_sprite); in handle_tile_info()
2996 } else if (ptile->label == NULL || strcmp(packet->label, ptile->label)) { in handle_tile_info()
4534 if (NULL == ptile) { in handle_edit_startpos()
[all …]
H A Dmapctrl_common.h46 void toggle_tile_hilite(struct tile *ptile);
50 bool clipboard_copy_production(struct tile *ptile);
71 void fill_tile_unit_list(const struct tile *ptile, struct unit **unit_list);
/dports/games/freeciv-nox11/freeciv-2.6.6/client/
H A Dpackhand.c571 struct tile *ptile = NULL; in handle_city_info() local
595 if (NULL == ptile) { in handle_city_info()
601 ptile = pcenter; in handle_city_info()
1011 if (NULL == ptile) { in handle_city_short_info()
1017 ptile = pcenter; in handle_city_short_info()
2821 if (NULL == tile_terrain(ptile) || pterrain != tile_terrain(ptile)) { in handle_tile_info()
2919 if (tile_worked(ptile) && NULL != city_tile(tile_worked(ptile))) { in handle_tile_info()
2961 free(ptile->spec_sprite); in handle_tile_info()
2996 } else if (ptile->label == NULL || strcmp(packet->label, ptile->label)) { in handle_tile_info()
4534 if (NULL == ptile) { in handle_edit_startpos()
[all …]
H A Dmapctrl_common.h46 void toggle_tile_hilite(struct tile *ptile);
50 bool clipboard_copy_production(struct tile *ptile);
71 void fill_tile_unit_list(const struct tile *ptile, struct unit **unit_list);
/dports/games/freeciv/freeciv-2.6.6/server/
H A Dscore.c178 whole_map_iterate(ptile) { in build_landarea_map()
180 bv_player *pclaim = &claims[tile_index(ptile)]; in build_landarea_map()
182 if (is_ocean_tile(ptile)) { in build_landarea_map()
184 } else if (NULL != tile_city(ptile)) { in build_landarea_map()
185 owner = city_owner(tile_city(ptile)); in build_landarea_map()
187 } else if (NULL != tile_worked(ptile)) { in build_landarea_map()
188 owner = city_owner(tile_worked(ptile)); in build_landarea_map()
190 } else if (unit_list_size(ptile->units) > 0) { in build_landarea_map()
192 owner = unit_owner(unit_list_get(ptile->units, 0)); in build_landarea_map()
201 owner = tile_owner(ptile); in build_landarea_map()
/dports/games/freeciv-nox11/freeciv-2.6.6/server/
H A Dscore.c178 whole_map_iterate(ptile) { in build_landarea_map()
180 bv_player *pclaim = &claims[tile_index(ptile)]; in build_landarea_map()
182 if (is_ocean_tile(ptile)) { in build_landarea_map()
184 } else if (NULL != tile_city(ptile)) { in build_landarea_map()
185 owner = city_owner(tile_city(ptile)); in build_landarea_map()
187 } else if (NULL != tile_worked(ptile)) { in build_landarea_map()
188 owner = city_owner(tile_worked(ptile)); in build_landarea_map()
190 } else if (unit_list_size(ptile->units) > 0) { in build_landarea_map()
192 owner = unit_owner(unit_list_get(ptile->units, 0)); in build_landarea_map()
201 owner = tile_owner(ptile); in build_landarea_map()
/dports/games/freeciv/freeciv-2.6.6/client/gui-qt/
H A Dchatline.cpp382 struct tile *ptile = NULL; in anchor_clicked() local
388 ptile = client_city_tile(pcity); in anchor_clicked()
395 ptile = index_to_tile(id); in anchor_clicked()
397 if (!ptile) { in anchor_clicked()
406 ptile = unit_tile(punit); in anchor_clicked()
413 if (ptile) { in anchor_clicked()
414 center_tile_mapcanvas(ptile); in anchor_clicked()
535 void chatwdg::make_link(struct tile *ptile) in make_link() argument
540 punit = find_visible_unit(ptile); in make_link()
541 if (tile_city(ptile)) { in make_link()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-qt/
H A Dchatline.cpp382 struct tile *ptile = NULL; in anchor_clicked() local
388 ptile = client_city_tile(pcity); in anchor_clicked()
395 ptile = index_to_tile(id); in anchor_clicked()
397 if (!ptile) { in anchor_clicked()
406 ptile = unit_tile(punit); in anchor_clicked()
413 if (ptile) { in anchor_clicked()
414 center_tile_mapcanvas(ptile); in anchor_clicked()
535 void chatwdg::make_link(struct tile *ptile) in make_link() argument
540 punit = find_visible_unit(ptile); in make_link()
541 if (tile_city(ptile)) { in make_link()
[all …]
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgxpcolor.h171 …pat_trans_fill)(int xmin, int ymin, int xmax, int ymax, int px, int py, const gx_color_tile *ptile,
310 bool gx_pattern_tile_is_clist(gx_color_tile *ptile);
316 int gx_trans_pattern_fill_rect(int xmin, int ymin, int xmax, int ymax, gx_color_tile *ptile,
321 …ct_trans_simple(int xmin, int ymin, int xmax, int ymax, int px, int py, const gx_color_tile *ptile,
326 …ect_trans_blend(int xmin, int ymin, int xmax, int ymax, int px, int py, const gx_color_tile *ptile,
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgxpcolor.h171 …pat_trans_fill)(int xmin, int ymin, int xmax, int ymax, int px, int py, const gx_color_tile *ptile,
310 bool gx_pattern_tile_is_clist(gx_color_tile *ptile);
316 int gx_trans_pattern_fill_rect(int xmin, int ymin, int xmax, int ymax, gx_color_tile *ptile,
321 …ct_trans_simple(int xmin, int ymin, int xmax, int ymax, int px, int py, const gx_color_tile *ptile,
326 …ect_trans_blend(int xmin, int ymin, int xmax, int ymax, int px, int py, const gx_color_tile *ptile,
/dports/games/freeciv-nox11/freeciv-2.6.6/common/aicore/
H A Dpf_tools.h69 enum tile_behavior no_fights_or_unknown(const struct tile *ptile,
72 enum tile_behavior no_fights(const struct tile *ptile, enum known_type known,
74 enum tile_behavior no_intermediate_fights(const struct tile *ptile,
/dports/games/freeciv/freeciv-2.6.6/common/aicore/
H A Dpf_tools.h69 enum tile_behavior no_fights_or_unknown(const struct tile *ptile,
72 enum tile_behavior no_fights(const struct tile *ptile, enum known_type known,
74 enum tile_behavior no_intermediate_fights(const struct tile *ptile,
/dports/games/freeciv-nox11/freeciv-2.6.6/server/scripting/
H A Dtolua_server.pkg70 @ event_msg (lua_State *L, Player *pplayer, Tile *ptile, int event,
92 function notify.embassies(player, ptile, event, ...)
111 @ create_unit (lua_State *L, Player *pplayer, Tile *ptile,
115 @ create_unit_full (lua_State *L, Player *pplayer, Tile *ptile,
124 @ create_city (lua_State *L, Player *pplayer, Tile *ptile,
127 @ create_extra (lua_State *L, Tile *ptile, const char *name);
129 @ create_base (lua_State *L, Tile *ptile, const char *name,
133 @ create_road (lua_State *L, Tile *ptile, const char *name);
135 @ remove_extra (lua_State *L, Tile *ptile, const char *name);
137 @ tile_set_label (lua_State *L, Tile *ptile, const char *label);
[all …]

12345678910>>...25