Home
last modified time | relevance | path

Searched refs:unit_at (Results 1 – 25 of 36) sorted by relevance

12

/dports/audio/liboggz/liboggz-1.1.1/src/liboggz/
H A Doggz_seek.c296 ogg_int64_t unit_at; in oggz_get_prev_start_page() local
393 ogg_int64_t unit_at; in oggz_scan_for_page() local
456 if (unit_at < unit_target) { in oggz_scan_for_page()
518 (unit_at - unit_begin); in guess()
541 if (unit_at == unit_begin) { in oggz_seek_guess()
693 if (unit_at > unit_begin && unit_at < unit_end) { in oggz_bounded_seek_set()
695 unit_end = unit_at; in oggz_bounded_seek_set()
698 unit_begin = unit_at; in oggz_bounded_seek_set()
707 unit_last_iter = unit_at; in oggz_bounded_seek_set()
751 unit_begin = unit_at; in oggz_bounded_seek_set()
[all …]
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/srv/
H A Dfast_css_transform.cpp235 size_t unit_at, out_pos; member in Token
240 unit_at = 0; in clear()
296 type(TokenType::whitespace), text(), unit_at(0), out_pos(0) { in Token()
301 type(type), text(), unit_at(0), out_pos(out_pos) { in Token()
307 …type(other.type), text(other.text), unit_at(other.unit_at), out_pos(other.out_pos) {} // copy cons… in Token()
310 …type(other.type), text(std::move(other.text)), unit_at(other.unit_at), out_pos(other.out_pos) {} /… in Token()
313 …type = other.type; text = other.text; unit_at = other.unit_at; out_pos = other.out_pos; return *th… in operator =()
317 …type = other.type; text = std::move(other.text); unit_at = other.unit_at; out_pos = other.out_pos;… in operator =()
321 text.clear(); unit_at = 0; out_pos = 0; type = TokenType::whitespace; in reset()
331 void mark_unit() { unit_at = text.size(); } in mark_unit()
[all …]
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/formula/
H A Dopening.fai11 if(unit_at(loc(11,22)).max_moves = 6,
87 where u = unit_at(src), danger = rate_position_danger(ai, unit_at(src), dst);
91 …(attack.chance_to_kill*attack.target_value + (((attack.avg_damage_inflicted*100)/unit_at(attack.ta…
H A Dpoisoner_eval.fai10 unit_at(self)
H A Dpatrol.fai10 if( unit_at( desired_path[0] ),
/dports/games/wesnoth/wesnoth-1.14.17/src/formula/
H A Dfunction_gamestate.cpp88 DEFINE_WFL_FUNCTION(unit_at, 1, 1)
251 DECLARE_WFL_FUNCTION(unit_at); in gamestate_function_symbol_table()
/dports/games/wesnoth/wesnoth-1.14.17/data/tools/vim/
H A Dformulaai.vim26 syn keyword formula_function_ai move recruit set_var unit_at
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/micro_ais/engines/
H A Dlurker_moves.fai33 choose( attacks, -unit_at(defender).hitpoints
/dports/games/xconq/xconq-7.5.0-0pre.0.20050612/kernel/
H A Dmkunits.c593 return (inside_area(x, y) && unit_at(x, y) == NULL); in possible_unit_place()
659 if (unit_at(x1, y1) == NULL && flip_coin()) { in mung_terrain()
802 if (unit_at(x, y) == NULL) { in expand_country()
1002 if (!unit_at(x1, y1)) in not_too_crowded()
H A Dworld.h322 #define unit_at(x,y) aref(area.units, x, y) macro
343 for ((var) = unit_at((x), (y)); (var) != NULL; (var) = (var)->nexthere)
357 for ((var) = unit_at((x), (y)); \
H A Dmkrivers.c177 if (unit_at(x, y)) { in make_up_river_borders()
H A Dnlang.c2015 unit2 = unit_at(x, y); in destination_desc()
2028 unit2 = unit_at(x1, y1); in destination_desc()
2098 top = unit_at(unit->x, unit->y); in others_here_desc()
2302 unit2 = unit_at(arg0, arg1); in task_desc()
2338 unit2 = unit_at(arg0, arg1); in task_desc()
H A Drun.c2044 } else if (user_at(x, y) != NOUSER && unit_at(x, y) != NULL) { in allocate_used_cells()
2075 if (unit_at(x, y) != NULL) { in allocate_used_cells()
H A Dui.c997 unit2 = unit_at(x, y); in xform_unit_view()
1632 *unitp = unit_at(x, y); in nearest_unit()
3115 return unit_at(unit->x, unit->y); in find_next_occupant()
4367 unit = unit_at(x, y); in dump_text_view()
4461 return unit_at(x, y); in unit_seen_at()
H A Dside.c1859 unit = unit_at(x, y); in query_uvstack_at()
3006 if ((eunit = unit_at(x, y)) != NULL) { in react_to_seen_unit()
3361 if (!unit_at(x, y)) in side_ustack_see_unit()
H A Dcombat.c796 return (alive(atker) && unit_at(ox, oy) == NULL); in one_attack()
1895 for (unit = unit_at(x, y); unit; unit = nextunit) { in reckon_damage_here()
/dports/games/xconq/xconq-7.5.0-0pre.0.20050612/x11/
H A Dxcmd.c466 unit = unit_at(nx, ny); in aux_move_look()
499 if (!advance_into_cell(side, unit, x, y, unit_at(x, y), &reason)) { in aux_move_dir()
582 other = unit_at(x, y); in do_fire()
618 other = unit_at(x, y); in aux_fire_at()
1464 leader = unit_at(x, y); in aux_set_formation()
H A Dxdesign.c727 unit = unit_at(x, y); in set_designer_cur_from_map()
H A Dxdraw.c270 *unitp = unit_at(x, y); in x_nearest_unit()
981 unit = unit_at(x, y); in draw_units()
1932 unit2 = unit_at(x, y); in draw_map_info()
H A Dxmap.c822 unit = unit_at(nx, ny); in movelook_one_cell()
2018 if ((unit2 = unit_at(ax, ay)) != NULL) { in handle_map_click()
2078 if (unit_at(x, y) == NULL) { in move_the_selected_unit()
/dports/games/xconq/xconq-7.5.0-0pre.0.20050612/curses/
H A Dcdraw.c378 && (unit = unit_at(x, y)) != NULL) { in draw_legend()
470 unit = (in_play(curunit) ? curunit : unit_at(curx, cury)); in show_closeup()
561 others_here_desc(tmpbuf, unit_at(unit->x, unit->y)); in draw_unit_details()
H A Dcconq.c677 rslt = advance_into_cell(dside, curunit, nx, ny, unit_at(nx, ny), in do_dir_2()
/dports/games/wesnoth/wesnoth-1.14.17/data/core/macros/
H A Dabilities.cfg164 unit = unit_at(loc)
170 formula="owner = teleport_unit.side and not unit_at(loc)"
293 flanker = unit_at(direction_from(loc, other.facing))
/dports/games/xconq/xconq-7.5.0-0pre.0.20050612/sdl/
H A Dsdlcmd.cc628 if (!advance_into_cell(dside, unit, x, y, unit_at(x, y), &reason)) { in aux_move_dir()
728 other = unit_at(x, y); in common_fire_at()
1560 leader = unit_at(x, y); in aux_set_formation()
/dports/games/xconq/xconq-7.5.0-0pre.0.20050612/tcltk/
H A Dtkcmd.c633 if (!advance_into_cell(side, unit, x, y, unit_at(x, y), &reason)) { in aux_move_dir()
1613 leader = unit_at(x, y); in aux_set_formation()

12