/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/texturing/ |
H A D | array-depth-roundtrip.c | 135 int zoffset, x_tile, y_tile, i; in piglit_display() local 173 for (x_tile = 0; x_tile < NUM_TILES_ACROSS; ++x_tile) { in piglit_display() 177 { xscale, 0, 0, xscale * x_tile - 1 }, in piglit_display() 182 zoffset = NUM_TILES_ACROSS * y_tile + x_tile; in piglit_display() 191 for (x_tile = 0; x_tile < NUM_TILES_ACROSS; ++x_tile) { in piglit_display() 192 zoffset = NUM_TILES_ACROSS * y_tile + x_tile; in piglit_display() 197 pass = piglit_probe_rect_rgb(x_tile * TEX_WIDTH, in piglit_display()
|
/dports/games/julius/julius-1.7.0/src/figure/ |
H A D | formation_enemy.c | 162 *x_tile = best_building->x + 1; in formation_rioter_get_target_building() 166 *x_tile = best_building->x; in formation_rioter_get_target_building() 272 int x_tile, y_tile; in approach_target() local 275 formation_set_destination(m, x_tile, y_tile); in approach_target() 334 *x_tile = xx; in formation_enemy_move_formation_to() 483 int x_tile, y_tile; in update_enemy_movement() local 485 formation_set_destination(m, x_tile, y_tile); in update_enemy_movement() 493 int x_tile, y_tile; in update_enemy_movement() local 495 formation_set_destination(m, x_tile, y_tile); in update_enemy_movement() 546 int x_tile, y_tile; in update_enemy_formation() local [all …]
|
H A D | formation_herd.c | 17 static int get_free_tile(int x, int y, int allow_negative_desirability, int *x_tile, int *y_tile) in get_free_tile() argument 47 *x_tile = x_found; in get_free_tile() 53 … int x, int y, int distance, int direction, int *x_tile, int *y_tile) in get_roaming_destination() argument 107 if (get_free_tile(x_target, y_target, allow_negative_desirability, x_tile, y_tile)) { in get_roaming_destination() 218 int x_tile, y_tile; in update_herd_formation() local 220 roam_distance, m->herd_direction, &x_tile, &y_tile)) { in update_herd_formation() 222 if (formation_enemy_move_formation_to(m, x_tile, y_tile, &x_tile, &y_tile)) { in update_herd_formation() 223 formation_set_destination(m, x_tile, y_tile); in update_herd_formation()
|
H A D | formation_enemy.h | 6 int formation_rioter_get_target_building(int *x_tile, int *y_tile); 8 int formation_enemy_move_formation_to(const formation *m, int x, int y, int *x_tile, int *y_tile);
|
/dports/games/augustus/augustus-3.1.0/src/figure/ |
H A D | formation_enemy.c | 201 int formation_rioter_get_target_building(int *x_tile, int *y_tile) in formation_rioter_get_target_building() argument 207 *x_tile = best_building->x; in formation_rioter_get_target_building() 238 *x_tile = best_building->road_access_x; in formation_rioter_get_target_building_for_robbery() 356 *x_tile = xx; in formation_enemy_move_formation_to() 505 int x_tile, y_tile; in update_enemy_movement() local 507 formation_set_destination(m, x_tile, y_tile); in update_enemy_movement() 515 int x_tile, y_tile; in update_enemy_movement() local 517 formation_set_destination(m, x_tile, y_tile); in update_enemy_movement() 568 int x_tile, y_tile; in update_enemy_formation() local 569 if (map_soldier_strength_get_max(m->x_home, m->y_home, 16, &x_tile, &y_tile)) { in update_enemy_formation() [all …]
|
H A D | formation_herd.c | 19 static int get_free_tile(int x, int y, int allow_negative_desirability, int *x_tile, int *y_tile) in get_free_tile() argument 49 *x_tile = x_found; in get_free_tile() 55 … int x, int y, int distance, int direction, int *x_tile, int *y_tile) in get_roaming_destination() argument 109 if (get_free_tile(x_target, y_target, allow_negative_desirability, x_tile, y_tile)) { in get_roaming_destination() 222 int x_tile, y_tile; in update_herd_formation() local 224 roam_distance, m->herd_direction, &x_tile, &y_tile)) { in update_herd_formation() 226 if (formation_enemy_move_formation_to(m, x_tile, y_tile, &x_tile, &y_tile)) { in update_herd_formation() 227 formation_set_destination(m, x_tile, y_tile); in update_herd_formation()
|
H A D | formation_enemy.h | 6 int formation_rioter_get_target_building(int *x_tile, int *y_tile); 8 int formation_rioter_get_target_building_for_robbery(int x, int y, int* x_tile, int* y_tile); 10 int formation_enemy_move_formation_to(const formation *m, int x, int y, int *x_tile, int *y_tile);
|
/dports/games/julius/julius-1.7.0/src/figuretype/ |
H A D | wall.c | 130 static int tower_sentry_init_patrol(building *b, int *x_tile, int *y_tile) in tower_sentry_init_patrol() argument 143 if (map_routing_wall_tile_in_radius(x, y, 6, x_tile, y_tile)) { in tower_sentry_init_patrol() 161 if (map_routing_wall_tile_in_radius(x, y, 6, x_tile, y_tile)) { in tower_sentry_init_patrol() 194 int x_tile, y_tile; in figure_tower_sentry_action() local 195 if (tower_sentry_init_patrol(b, &x_tile, &y_tile)) { in figure_tower_sentry_action() 197 f->destination_x = x_tile; in figure_tower_sentry_action() 289 int x_tile, y_tile; in figure_tower_sentry_reroute() local 290 if (map_routing_wall_tile_in_radius(f->x, f->y, 2, &x_tile, &y_tile)) { in figure_tower_sentry_reroute() 294 f->previous_tile_x = f->x = x_tile; in figure_tower_sentry_reroute() 296 f->cross_country_x = 15 * x_tile; in figure_tower_sentry_reroute() [all …]
|
H A D | crime.c | 218 int x_tile, y_tile; in figure_rioter_action() local 219 int building_id = formation_rioter_get_target_building(&x_tile, &y_tile); in figure_rioter_action() 221 f->destination_x = x_tile; in figure_rioter_action() 234 int x_tile, y_tile; in figure_rioter_action() local 235 int building_id = formation_rioter_get_target_building(&x_tile, &y_tile); in figure_rioter_action() 237 f->destination_x = x_tile; in figure_rioter_action()
|
H A D | native.c | 54 int x_tile, y_tile; in figure_indigenous_native_action() local 57 meeting->x, meeting->y, meeting->size, &x_tile, &y_tile)) { in figure_indigenous_native_action() 59 f->destination_x = x_tile; in figure_indigenous_native_action()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_image/ |
H A D | image_undo.c | 121 int x_tile, y_tile; member 155 int x_tile, in ED_image_paint_tile_find() argument 161 if (ptile->x_tile == x_tile && ptile->y_tile == y_tile) { in ED_image_paint_tile_find() 186 int x_tile, in ED_image_paint_tile_push() argument 217 ptile->x_tile = x_tile; in ED_image_paint_tile_push() 241 x_tile * ED_IMAGE_UNDO_TILE_SIZE, in ED_image_paint_tile_push() 459 for (uint x_tile = 0; x_tile < ubuf->tiles_dims[0]; x_tile += 1) { in ubuf_from_image_all_tiles() local 460 uint x = x_tile << ED_IMAGE_UNDO_TILE_BITS; in ubuf_from_image_all_tiles() 561 for (uint x_tile = 0; x_tile < ubuf->tiles_dims[0]; x_tile += 1) { in uhandle_restore_list() local 562 uint x = x_tile << ED_IMAGE_UNDO_TILE_BITS; in uhandle_restore_list() [all …]
|
/dports/devel/py-asciimatics/asciimatics-1.13.0/samples/ |
H A D | maps.py | 160 def _get_satellite_tile(self, x_tile, y_tile, z_tile): argument 162 cache_file = "mapscache/{}.{}.{}.jpg".format(z_tile, x_tile, y_tile) 165 url = _IMAGE_URL.format(z_tile, x_tile, y_tile, _KEY) 170 x_tile, y_tile, z_tile, 178 def _get_vector_tile(self, x_tile, y_tile, z_tile): argument 186 url = _VECTOR_URL.format(z_tile, x_tile, y_tile, _KEY) 223 x_tile = int(x_offset // size) + x 226 if (x_tile < 0 or x_tile >= n or y_tile < 0 or y_tile >= n or 240 self._get_satellite_tile(x_tile, y_tile, z_tile) 242 self._get_vector_tile(x_tile, y_tile, z_tile) [all …]
|
/dports/games/augustus/augustus-3.1.0/src/figuretype/ |
H A D | wall.c | 137 static int tower_sentry_init_patrol(building *b, int *x_tile, int *y_tile) in tower_sentry_init_patrol() argument 150 if (map_routing_wall_tile_in_radius(x, y, 6, x_tile, y_tile)) { in tower_sentry_init_patrol() 172 if (map_routing_wall_tile_in_radius(x, y, 6, x_tile, y_tile)) { in tower_sentry_init_patrol() 244 int x_tile, y_tile; in figure_tower_sentry_action() local 245 if (tower_sentry_init_patrol(b, &x_tile, &y_tile)) { in figure_tower_sentry_action() 247 f->destination_x = x_tile; in figure_tower_sentry_action() 338 int x_tile, y_tile; in figure_tower_sentry_reroute() local 339 if (map_routing_wall_tile_in_radius(f->x, f->y, 2, &x_tile, &y_tile)) { in figure_tower_sentry_reroute() 343 f->previous_tile_x = f->x = x_tile; in figure_tower_sentry_reroute() 345 f->cross_country_x = 15 * x_tile; in figure_tower_sentry_reroute() [all …]
|
H A D | crime.c | 341 int x_tile, y_tile, resource = 0, target_building_id; in figure_rioter_action() local 342 target_building_id = formation_rioter_get_target_building(&x_tile, &y_tile); in figure_rioter_action() 345 f->destination_x = x_tile; in figure_rioter_action() 362 int x_tile, y_tile; in figure_rioter_action() local 363 int building_id = formation_rioter_get_target_building(&x_tile, &y_tile); in figure_rioter_action() 365 f->destination_x = x_tile; in figure_rioter_action() 406 int x_tile, y_tile, resource = 0, target_building_id; in figure_robber_action() local 407 …arget_building_id = formation_rioter_get_target_building_for_robbery(f->x, f->y, &x_tile, &y_tile); in figure_robber_action() 410 f->destination_x = x_tile; in figure_robber_action()
|
H A D | native.c | 54 int x_tile, y_tile; in figure_indigenous_native_action() local 57 meeting->x, meeting->y, meeting->size, &x_tile, &y_tile)) { in figure_indigenous_native_action() 59 f->destination_x = x_tile; in figure_indigenous_native_action()
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | particles.h | 200 void add_fire_at_tile (int kind, Uint16 x_tile, Uint16 y_tile, float z); 211 void remove_fire_at_tile (Uint16 x_tile, Uint16 y_tile); 291 int add_particle_sys_at_tile (const char *file_name, int x_tile, int y_tile, unsigned int dynamic); 293 int add_particle_sys_at_tile (const char *file_name, int x_tile, int y_tile);
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/include/ |
H A D | ED_paint.h | 77 int x_tile, 86 int x_tile,
|
/dports/games/julius/julius-1.7.0/src/map/ |
H A D | terrain.c | 146 int *x_tile, int *y_tile) in map_terrain_exists_clear_tile_in_radius() argument 155 *x_tile = xx; in map_terrain_exists_clear_tile_in_radius() 161 *x_tile = x_max; in map_terrain_exists_clear_tile_in_radius() 247 int map_terrain_get_adjacent_road_or_clear_land(int x, int y, int size, int *x_tile, int *y_tile) in map_terrain_get_adjacent_road_or_clear_land() argument 254 *x_tile = map_grid_offset_to_x(grid_offset); in map_terrain_get_adjacent_road_or_clear_land()
|
H A D | terrain.h | 62 int *x_tile, int *y_tile); 76 int map_terrain_get_adjacent_road_or_clear_land(int x, int y, int size, int *x_tile, int *y_tile);
|
/dports/games/augustus/augustus-3.1.0/src/map/ |
H A D | terrain.h | 80 int *x_tile, int *y_tile); 94 int map_terrain_get_adjacent_road_or_clear_land(int x, int y, int size, int *x_tile, int *y_tile);
|
H A D | terrain.c | 170 int *x_tile, int *y_tile) in map_terrain_exists_clear_tile_in_radius() argument 179 *x_tile = xx; in map_terrain_exists_clear_tile_in_radius() 185 *x_tile = x_max; in map_terrain_exists_clear_tile_in_radius() 271 int map_terrain_get_adjacent_road_or_clear_land(int x, int y, int size, int *x_tile, int *y_tile) in map_terrain_get_adjacent_road_or_clear_land() argument 278 *x_tile = map_grid_offset_to_x(grid_offset); in map_terrain_get_adjacent_road_or_clear_land()
|
/dports/cad/sumo/sumo-1.2.0/tools/contributed/sumopy/coremodules/landuse/ |
H A D | maps.py | 441 x_tile = x0+ix*width_tile 443 print ' x_tile,y_tile', x_tile, y_tile 444 … bb = np.array([[x_tile, y_tile], [x_tile+width_tile, y_tile+width_tile]], np.float32) 447 x_sw = x_tile-offset[0]
|
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/ |
H A D | colldet.c | 295 int x_tile, y_tile; in dlc_on_one_level() local 301 for (x_tile = x_tile_start; x_tile <= x_tile_end; x_tile++) { in dlc_on_one_level() 305 for (glue_index = 0; glue_index < lvl->map[y_tile][x_tile].glued_obstacles.size; glue_index++) { in dlc_on_one_level() 306 int *glued_obstacles = lvl->map[y_tile][x_tile].glued_obstacles.arr; in dlc_on_one_level()
|
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/vc4/ |
H A D | vc4_nir_lower_txf_ms.c | 82 nir_ssa_def *x_tile = nir_ushr(b, x, nir_imm_int(b, tile_w_shift)); in vc4_nir_lower_txf_ms_instr() local 85 nir_imul(b, x_tile, in vc4_nir_lower_txf_ms_instr()
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/vc4/ |
H A D | vc4_nir_lower_txf_ms.c | 82 nir_ssa_def *x_tile = nir_ushr(b, x, nir_imm_int(b, tile_w_shift)); in vc4_nir_lower_txf_ms_instr() local 85 nir_imul(b, x_tile, in vc4_nir_lower_txf_ms_instr()
|