Home
last modified time | relevance | path

Searched refs:goal_x (Results 1 – 25 of 83) sorted by relevance

1234

/dports/games/wesnoth/wesnoth-1.14.17/data/ai/micro_ais/cas/
H A Dca_hunter.lua65 if (not hunter_vars.goal_x) or (rand == 1) then
70 hunter_vars.goal_x, hunter_vars.goal_y = locs[rand][1], locs[rand][2]
80 local rating = -M.distance_between(x, y, hunter_vars.goal_x, hunter_vars.goal_y)
103 hunter_vars.goal_x, hunter_vars.goal_y = nil, nil
108 if (hunter.x == hunter_vars.goal_x) and (hunter.y == hunter_vars.goal_y) then
109 hunter_vars.goal_x, hunter_vars.goal_y = nil, nil
118 hunter_vars.goal_x, hunter_vars.goal_y = nil, nil
H A Dca_protect_unit_finish.lua10 local path, cost = AH.find_path_with_shroud(unit, u.goal_x, u.goal_y)
11 if (cost <= unit.moves) and ((unit.x ~= u.goal_x) or (unit.y ~= u.goal_y)) then
13 PU_goal = { u.goal_x, u.goal_y }
H A Dca_messenger_attack.lua7 local function messenger_find_enemies_in_way(messenger, goal_x, goal_y)
13 local path, cost = AH.find_path_with_shroud(messenger, goal_x, goal_y, { ignore_units = true })
38 local function messenger_find_clearing_attack(messenger, goal_x, goal_y, cfg)
45 local enemy_in_way = messenger_find_enemies_in_way(messenger, goal_x, goal_y)
H A Dca_big_animals.lua43 if (not goal.goal_x) or (r == 1) then
47 goal.goal_x, goal.goal_y = locs[rand][1], locs[rand][2]
63 local rating = -wesnoth.map.distance_between(x, y, goal.goal_x, goal.goal_y)
93 if (unit.x == goal.goal_x) and (unit.y == goal.goal_y) then
H A Dca_wolves_multipacks_wander.lua33 if wolf_goal.goal_x then
34 goal = { wolf_goal.goal_x, wolf_goal.goal_y }
64 MAIUV.insert_mai_unit_variables(wolf, cfg.ai_id, { goal_x = goal[1], goal_y = goal[2] })
/dports/games/lm-solve/Games-LMSolve-0.8.4/lib/Games/LMSolve/Plank/
H A DBase.pm42 my ($goal_x, $goal_y);
63 if (defined($goal_x))
67 ($goal_x, $goal_y) = ($x, $y);
73 if (!defined($goal_x))
186 $self->{'goal_x'} = $goal_x;
315 my $goal_x = $self->{'goal_x'};
318 return (scalar(grep { (($_->{'x'} == $goal_x) && ($_->{'y'} == $goal_y)) ||
319 (($_->{'end_x'} == $goal_x) && ($_->{'end_y'} == $goal_y))
/dports/graphics/c-a-i-r/c-a-i-r-2.19/
H A DCAIR.cpp850 (*Source).D_Resize(goal_x, height); in Add_Path()
851 (*Source_ptr).D_Resize(goal_x, height); in Add_Path()
896 Add_Path(&Resize_img, Source, Source_ptr, goal_x); in CAIR_Add()
1055 int removes = (*Source).Width() - goal_x; in CAIR_Remove()
1277 if( goal_x < (*Source).Width() ) in CAIR()
1285 seams_done += abs((*Source).Width()-goal_x); in CAIR()
1306 if( goal_x > (*Source).Width() ) in CAIR()
1314 seams_done += abs((*Source).Width()-goal_x); in CAIR()
1641 (*Dest).D_Resize( goal_x, (*Source).Height() );
1646 for( int x = 0; x < goal_x; x++ )
[all …]
H A DCAIR.h58 int goal_x,
119 void CAIR_Map_Resize( CML_color * Source, CML_int * Map, int goal_x, CML_color * Dest );
129 int goal_x,
H A Dmain.cpp206 int goal_x; in main() local
234 goal_x = atoi( temp ); in main()
238 goal_x = Image.TellWidth(); in main()
371 …CAIR( &Source, &Weights, goal_x, goal_y, convolution, ener, &D_Weights, &Dest, NULL ); //try cance… in main()
389 CAIR_HD( &Source, &Weights, goal_x, goal_y, convolution, ener, &D_Weights, &Dest, NULL ); in main()
/dports/games/lm-solve/Games-LMSolve-0.8.4/lib/Games/LMSolve/Tilt/
H A DSingle.pm33 my ($goal_x, $goal_y) = @{$input_fields->{'goal'}->{'value'}}{'x','y'};
40 if (($goal_x >= $width) || ($goal_y >= $height))
50 $self->{'goal_x'} = $goal_x;
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/enemies/bugs/
H A Dskeeter.cfg11 target_close: "if(length(x,y,vars.goal_x,vars.goal_y) < 50, 1, 0)",
12 seek_target: "def() [add(velocity_x, cos(angle(x,y,vars.goal_x,vars.goal_y)) * velMag),
13 add(velocity_y, sin(angle(x,y,vars.goal_x,vars.goal_y)) * velMag),
30 on_set_goal: "[set(vars.goal_x, vars.zone_x1 + 1d(zone_width)),
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/experimental/
H A Dbat_black_pf.cfg32 goal_x: "if(vars.path_node < vars.path_x.size, path_x[vars.path_node],init_x)",
34 …should_move_to_next_path_node: "if(abs(midpoint_x - goal_x) < 20 and abs(midpoint_y - goal_y) < 20…
39 #debug('goal_x = '+ goal_x),
43 … if(midpoint_x < goal_x, [try_facing(1),add(velocity_x, 5)],[try_facing(-1),add(velocity_x,-5)] ),
/dports/devel/stb/stb-f54acd4/
H A Dstb_textedit.h874 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
887 if (x > goal_x) in stb_textedit_key()
894 state->preferred_x = goal_x; in stb_textedit_key()
926 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
938 if (x > goal_x) in stb_textedit_key()
945 state->preferred_x = goal_x; in stb_textedit_key()
/dports/graphics/embree/embree-3.13.2/tutorials/common/imgui/
H A Dstb_textedit.h851 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
864 if (x > goal_x) in stb_textedit_key()
871 state->preferred_x = goal_x; in stb_textedit_key()
903 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
915 if (x > goal_x) in stb_textedit_key()
922 state->preferred_x = goal_x; in stb_textedit_key()
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/imgui/
H A Dstb_textedit.h879 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
893 if (x > goal_x) in stb_textedit_key()
900 state->preferred_x = goal_x; in stb_textedit_key()
935 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
948 if (x > goal_x) in stb_textedit_key()
955 state->preferred_x = goal_x; in stb_textedit_key()
/dports/cad/cura-engine/CuraEngine-fadb5d6b/include/stb/
H A Dstb_textedit.h874 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
887 if (x > goal_x) in stb_textedit_key()
894 state->preferred_x = goal_x; in stb_textedit_key()
926 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
938 if (x > goal_x) in stb_textedit_key()
945 state->preferred_x = goal_x; in stb_textedit_key()
/dports/security/ridl/ridl-11b3240/stb/
H A Dstb_textedit.h874 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
887 if (x > goal_x) in stb_textedit_key()
894 state->preferred_x = goal_x; in stb_textedit_key()
926 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
938 if (x > goal_x) in stb_textedit_key()
945 state->preferred_x = goal_x; in stb_textedit_key()
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/Box2D/imgui/
H A Dstb_textedit.h848 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
861 if (x > goal_x) in stb_textedit_key()
868 state->preferred_x = goal_x; in stb_textedit_key()
900 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
912 if (x > goal_x) in stb_textedit_key()
919 state->preferred_x = goal_x; in stb_textedit_key()
/dports/graphics/simpleviewer/andreyu-simple-viewer-gl-d8928067922d/third-party/imgui/imgui/
H A Dstb_textedit.h852 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
865 if (x > goal_x) in stb_textedit_key()
872 state->preferred_x = goal_x; in stb_textedit_key()
904 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
916 if (x > goal_x) in stb_textedit_key()
923 state->preferred_x = goal_x; in stb_textedit_key()
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/imgui/
H A Dstb_textedit.h879 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
893 if (x > goal_x) in stb_textedit_key()
900 state->preferred_x = goal_x; in stb_textedit_key()
935 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
948 if (x > goal_x) in stb_textedit_key()
955 state->preferred_x = goal_x; in stb_textedit_key()
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/micro_ais/mai-defs/
H A Dprotect.lua18 if not u.goal_x then
/dports/games/pioneer/pioneer-20210723/contrib/imgui/
H A Dimstb_textedit.h880 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
893 if (x > goal_x) in stb_textedit_key()
900 state->preferred_x = goal_x; in stb_textedit_key()
932 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
944 if (x > goal_x) in stb_textedit_key()
951 state->preferred_x = goal_x; in stb_textedit_key()
H A Dstb_textedit.h879 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
892 if (x > goal_x) in stb_textedit_key()
899 state->preferred_x = goal_x; in stb_textedit_key()
931 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
943 if (x > goal_x) in stb_textedit_key()
950 state->preferred_x = goal_x; in stb_textedit_key()
/dports/misc/box2d/box2d-2.4.1/extern/imgui/
H A Dimstb_textedit.h879 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
892 if (x > goal_x) in stb_textedit_key()
899 state->preferred_x = goal_x; in stb_textedit_key()
931 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
943 if (x > goal_x) in stb_textedit_key()
950 state->preferred_x = goal_x; in stb_textedit_key()
/dports/math/geogram/geogram-1.7.7/src/lib/geogram_gfx/third_party/ImGui/
H A Dimstb_textedit.h880 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
893 if (x > goal_x) in stb_textedit_key()
900 state->preferred_x = goal_x; in stb_textedit_key()
932 float goal_x = state->has_preferred_x ? state->preferred_x : find.x; in stb_textedit_key() local
944 if (x > goal_x) in stb_textedit_key()
951 state->preferred_x = goal_x; in stb_textedit_key()

1234