Home
last modified time | relevance | path

Searched refs:deltax (Results 1 – 25 of 1078) sorted by relevance

12345678910>>...44

/dports/games/java-games-suite/java-games-suite-1.0/Tetris/
H A DTetris.java16 int deltax = 0; field in Tetris
325 …lx+deltax+2][centraly+2] != 1) && (perim[2+centralx+deltax][centraly+2] != 2) && (perim[centralx+d… in movelr()
326deltax+2][centraly+1+2] != 1) && (perim[centralx+deltax+2][centraly+1+2] != 2) && (perim[centralx+ in movelr()
343 …+2+deltax][centraly+2] != 1) && (perim[centralx+2+deltax][centraly+2] != 2) && (perim[centralx+2+d… in movelr()
359 …+2+deltax][centraly+2] != 1) && (perim[centralx+2+deltax][centraly+2] != 2) && (perim[centralx+2+d… in movelr()
377 …+2+deltax][centraly+2] != 1) && (perim[centralx+2+deltax][centraly+2] != 2) && (perim[centralx+2+d… in movelr()
394 …+2+deltax][centraly+2] != 1) && (perim[centralx+2+deltax][centraly+2] != 2) && (perim[centralx+2+d… in movelr()
410 …+2+deltax][centraly+2] != 1) && (perim[centralx+2+deltax][centraly+2] != 2) && (perim[centralx+2+d… in movelr()
431 …if (((deltax == 1) && (b[centralx+deltax+2][centraly].getBackground() == Color.DARK_GRAY)) || ((de… in movelr()
504 deltax = 1; in keyPressed()
[all …]
/dports/games/exult/exult-snapshot-v1.7.0.20211128/
H A Ddir.cc48 int deltax in Get_direction_NoWrap() argument
50 if (deltax == 0) in Get_direction_NoWrap()
76 int deltax in Get_direction() argument
89 int deltax in Get_direction4() argument
91 deltax = Wrap_Delta(deltax); in Get_direction4()
94 return deltay > deltax ? north : deltay < -deltax ? south in Get_direction4()
97 return deltay > -deltax ? north : deltay < deltax ? south in Get_direction4()
109 int deltax in Get_direction16() argument
111 deltax = Wrap_Delta(deltax); in Get_direction16()
113 if (deltax == 0) in Get_direction16()
[all …]
/dports/math/giacxcas/giac-1.6.0/src/
H A Drenee.cc61 for (double x=xmin-q*deltax;x<=xmin;x+=deltax){ in papier_lignes()
96 x=x+deltax; in papier_lignes()
99 while (x<=xmax-q*deltax){ in papier_lignes()
109 x=x+deltax; in papier_lignes()
125 deltax=fabs(tmp._DOUBLE_val); in Papier_pointe_quadrillage()
159 deltax=(xmax-xmin)/std::floor(fabs((xmax-xmin)/deltax)); in Papier_pointe_quadrillage()
180 if (u1-deltax==0) {angle=M_PI/2;} in Papier_pointe_quadrillage()
181 if (u1-deltax>0) {angle=std::atan(deltay/(u1-deltax)); } in Papier_pointe_quadrillage()
182 if (u1-deltax<0) {angle=std::atan(deltay/(u1-deltax))+M_PI;} in Papier_pointe_quadrillage()
193 int q=std::floor(X/deltax+1e-12); in Papier_pointe_quadrillage()
[all …]
/dports/editors/lazarus/lazarus/components/aggpas/src/
H A Dagg_clip_liang_barsky.pas136 deltax ,
153 deltax:=x2 - x1;
159 if deltax = 0.0 then
161 deltax:=-nearzero
163 deltax:=nearzero;
172 if deltax > 0.0 then
326 deltax ,
343 deltax:=x2 - x1;
349 if deltax = 0.0 then
351 deltax:=-nearzero
[all …]
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/
H A Dagg_clip_liang_barsky.pas136 deltax ,
153 deltax:=x2 - x1;
159 if deltax = 0.0 then
161 deltax:=-nearzero
163 deltax:=nearzero;
172 if deltax > 0.0 then
326 deltax ,
343 deltax:=x2 - x1;
349 if deltax = 0.0 then
351 deltax:=-nearzero
[all …]
/dports/editors/lazarus-qt5/lazarus/components/aggpas/src/
H A Dagg_clip_liang_barsky.pas136 deltax ,
153 deltax:=x2 - x1;
159 if deltax = 0.0 then
161 deltax:=-nearzero
163 deltax:=nearzero;
172 if deltax > 0.0 then
326 deltax ,
343 deltax:=x2 - x1;
349 if deltax = 0.0 then
351 deltax:=-nearzero
[all …]
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/
H A Dagg_clip_liang_barsky.pas136 deltax ,
153 deltax:=x2 - x1;
159 if deltax = 0.0 then
161 deltax:=-nearzero
163 deltax:=nearzero;
172 if deltax > 0.0 then
326 deltax ,
343 deltax:=x2 - x1;
349 if deltax = 0.0 then
351 deltax:=-nearzero
[all …]
/dports/games/golly/golly-3.3-src/Scripts/Python/
H A Doscar.py37 def show_spaceship_speed(period, deltax, deltay): argument
39 if (deltax == deltay) or (deltax == 0) or (deltay == 0):
41 if (deltax == 0) or (deltay == 0):
43 if (deltax > 1) or (deltay > 1):
44 speed += str(deltax + deltay)
47 if deltax > 1:
48 speed += str(deltax)
55 speed = str(deltay) + "," + str(deltax)
120 deltax = abs(boxlist[pos].x - pbox.x)
122 show_spaceship_speed(period, deltax, deltay)
/dports/games/golly/golly-3.3-src/Scripts/Lua/
H A Doscar.lua37 local function show_spaceship_speed(period, deltax, deltay)
39 if deltax == deltay or deltax == 0 or deltay == 0 then
41 if deltax == 0 or deltay == 0 then
43 if deltax > 1 or deltay > 1 then
44 speed = speed..(deltax + deltay)
48 if deltax > 1 then
49 speed = speed..deltax
59 local speed = deltay..","..deltax
123 local deltax = math.abs(rect[1] - pbox[1])
125 show_spaceship_speed(period, deltax, deltay)
/dports/games/7kaa/7kaa-2.15.4p1/src/imgfun/generic/
H A DI_LINE.cpp53 int deltax = x2 - x1; in IMGline() local
58 dirx = (deltax>0) ? (1) : (-1); // direction in IMGline()
59 deltax = abs(deltax); in IMGline()
64 if ( deltay >= deltax ) in IMGline()
71 acc += deltax; in IMGline()
78 for ( int i = 0; i <= deltax; ++i ) // inclusive of end pixel in IMGline()
83 if (acc >= deltax) y += diry; in IMGline()
/dports/games/java-games-suite/java-games-suite-1.0/Mine/
H A DMine.java18 int deltax[] = {-1, 0, 1, -1, 1, -1, 0, 1}; field in Mine
134 if (mines[x+1+deltax[a]][y+1+deltay[a]] == 3){ in scan()
136 …} else if ((perm[x+deltax[a]][y+deltay[a]] == 0) && (mines[x+1+deltax[a]][y+1+deltay[a]] == 0) && … in scan()
137 if (b[x+deltax[a]][y+deltay[a]].isEnabled()){ in scan()
138 b[x+deltax[a]][y+deltay[a]].setText(" "); in scan()
139 b[x+deltax[a]][y+deltay[a]].setEnabled(false); in scan()
140 scan(x+deltax[a], y+deltay[a]); in scan()
142 …} else if ((perm[x+deltax[a]][y+deltay[a]] != 0) && (mines[x+1+deltax[a]][y+1+deltay[a]] == 0) &&… in scan()
143 tmp = new Integer(perm[x+deltax[a]][y+deltay[a]]).toString(); in scan()
144 … b[x+deltax[a]][y+deltay[a]].setText(Integer.toString(perm[x+deltax[a]][y+deltay[a]])); in scan()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima8/misc/
H A Ddirection_util.h82 if (deltax == 0) in Direction_Get()
86 int dydx = (1024 * deltay) / deltax; // Figure 1024*tan. in Direction_Get()
88 if (deltax > 0) // Top-right in Direction_Get()
94 else if (deltax > 0) // Bottom-right. in Direction_Get()
101 double angle = Common::rad2deg(atan2(deltay, deltax)); in Direction_Get()
124 if (deltax == 0) { in Direction_GetWorldDir()
130 int dydx = (1024 * deltay) / deltax; in Direction_GetWorldDir()
133 if (deltax > 0) // south-east in Direction_GetWorldDir()
137 else if (deltax > 0) // north-east in Direction_GetWorldDir()
142 double angle = Common::rad2deg(atan2(deltay, deltax)); in Direction_GetWorldDir()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/surfpack/src/surfaces/nkm/
H A DNKM_KrigingModel.cpp1513 r(i,j)=std::exp(-theta*deltax*deltax); in eval_kriging_correlation_matrix()
1525 deltax*deltax; in eval_kriging_correlation_matrix()
1529 deltax*deltax; in eval_kriging_correlation_matrix()
1534 -correlations(k,0)*deltax*deltax); in eval_kriging_correlation_matrix()
1734 krig_r=std::exp(-theta*deltax*deltax); in eval_gek_correlation_matrix()
1750 r(i,j)=std::exp(-theta*deltax*deltax); in eval_gek_correlation_matrix()
1759 krig_r=-correlations(0,0)*deltax*deltax; //=- is correct in eval_gek_correlation_matrix()
1763 krig_r-=correlations(k,0)*deltax*deltax; //-= is correct in eval_gek_correlation_matrix()
1767 krig_r=std::exp(krig_r-correlations(k,0)*deltax*deltax); in eval_gek_correlation_matrix()
1789 krig_r=-correlations(0,0)*deltax*deltax; //=- is correct in eval_gek_correlation_matrix()
[all …]
/dports/games/spring/spring_98.0/AI/Skirmish/HughAI/src-ai/hughai/mapping/
H A DBuildMap.java186 for (int deltax = 0; deltax < sizex; deltax++) in ReserveSpace()
190 int thisx = buildMapPos.x + deltax - sizex / 2; in ReserveSpace()
229 for( int deltax = 0; deltax < unitsizex; deltax++ ) in UnitCreated()
233 int thisx = buildMapPos.x + deltax - unitdef.getXSize() / 2; in UnitCreated()
253 for( int deltax = 0; deltax < buildinginfo.mapsizex / 8; deltax++ ) in UnitDestroyed()
257 … SquareAvailable[ buildinginfo.mapPos.x + deltax][ buildinginfo.mapPos.y + deltay ] = true; in UnitDestroyed()
H A DBuildPlanner.java86 for( int deltax = -radius; deltax <= radius; deltax++ ) in ClosestBuildSite()
90 …if( deltax == radius || deltax == -radius || deltay == radius || deltay == -radius ) // ignore the… in ClosestBuildSite()
102 …BuildMap.BuildMapPos buildMapPos = new BuildMap.BuildMapPos( buildmapx + deltax, buildmapy + delta… in ClosestBuildSite()
127 return new TerrainPos( ( centrex + deltax ) * 8, 0, ( centrey + deltay ) * 8 ); in ClosestBuildSite()
/dports/games/xpat2/xpat2-1.07/src/
H A Darrows.c58 Poly[0].x = rem_dx-deltax; in polygon_y()
66 Poly[4].x = rem_dx+deltax; in polygon_y()
71 Poly[6].x = rem_sx-deltax; in polygon_y()
73 Poly[7].x = rem_sx-deltax; in polygon_y()
75 Poly[8].x = rem_dx-deltax; in polygon_y()
79 Poly[5].x = rem_dx+deltax; in polygon_y()
81 Poly[6].x = rem_sx+deltax; in polygon_y()
83 Poly[7].x = rem_sx+deltax; in polygon_y()
85 Poly[8].x = rem_dx-deltax; in polygon_y()
115 Poly[5].x = rem_sx-deltax; in polygon_x()
[all …]
/dports/net/drawterm/drawterm/libmemdraw/
H A Dline.c51 deltax = p1.x - p0.x; in horline1()
65 e = 2*deltay - deltax; in horline1()
69 deltax = deltay - 2*deltax; in horline1()
76 e += deltax; in horline1()
94 deltax = p1.x - p0.x; in verline1()
97 if(deltax < 0){ in verline1()
99 deltax = -deltax; in verline1()
109 deltax *= 2; in verline1()
119 e += deltax; in verline1()
135 deltax = p1.x - p0.x; in horliner()
[all …]
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libmemdraw/
H A Dline.c50 deltax = p1.x - p0.x; in horline1()
64 e = 2*deltay - deltax; in horline1()
68 deltax = deltay - 2*deltax; in horline1()
75 e += deltax; in horline1()
93 deltax = p1.x - p0.x; in verline1()
96 if(deltax < 0){ in verline1()
98 deltax = -deltax; in verline1()
108 deltax *= 2; in verline1()
118 e += deltax; in verline1()
134 deltax = p1.x - p0.x; in horliner()
[all …]
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/
H A Davgdvg_vidhrdw.c159 deltax = abs(deltax); in vector_timer()
161 if (deltax > deltay) in vector_timer()
162 return deltax >> 16; in vector_timer()
241 int deltax, deltay; in dvg_generate_vector_list() local
576 int deltax, deltay; in avg_generate_vector_list() local
642 deltax = x * scale; in avg_generate_vector_list()
644 if (xflip) deltax = -deltax; in avg_generate_vector_list()
647 currentx += deltax; in avg_generate_vector_list()
675 deltax = x * scale; in avg_generate_vector_list()
677 if (xflip) deltax = -deltax; in avg_generate_vector_list()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/pathfinder/
H A Dseek_path.cpp73 bool SeekPath::trace_check_obstacle(bool &turned, MapCoord &line, sint32 &deltax, sint32 &deltay, s… in trace_check_obstacle() argument
85 sint32 old_deltax = deltax, old_deltay = deltay; in trace_check_obstacle()
86 deltax = xdir; in trace_check_obstacle()
95 void SeekPath::trace_around_corner(MapCoord &line, sint32 &deltax, sint32 &deltay, sint32 &xdir, si… in trace_around_corner() argument
96 line.x -= deltax; in trace_around_corner()
101 xdir = deltax; in trace_around_corner()
103 deltax = -old_xdir; in trace_around_corner()
111 bool SeekPath::trace_obstacle(MapCoord line, sint32 deltax, sint32 deltay, sint32 xdir, sint32 ydir… in trace_obstacle() argument
116 line.x += deltax; in trace_obstacle()
120 trace_around_corner(line, deltax, deltay, xdir, ydir, scan); in trace_obstacle()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/third_party/agg23/
H A Dagg_clip_liang_barsky.h50 float deltax = width.ValueOrDefault(0); in clip_liang_barsky() local
53 if(deltax == 0) { in clip_liang_barsky()
54 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
57 if(deltax > 0) { in clip_liang_barsky()
64 float tinx = (xin - x1) / deltax; in clip_liang_barsky()
92 float toutx = (xout - x1) / deltax; in clip_liang_barsky()
102 *x++ = (T)(x1 + (deltax * tiny)); in clip_liang_barsky()
112 *x++ = (T)(x1 + (deltax * touty)); in clip_liang_barsky()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/third_party/agg23/
H A Dagg_clip_liang_barsky.h52 float deltax = width.ValueOrDefault(0); in clip_liang_barsky() local
55 if(deltax == 0) { in clip_liang_barsky()
56 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
59 if(deltax > 0) { in clip_liang_barsky()
66 float tinx = (xin - x1) / deltax; in clip_liang_barsky()
94 float toutx = (xout - x1) / deltax; in clip_liang_barsky()
104 *x++ = (T)(x1 + (deltax * tiny)); in clip_liang_barsky()
114 *x++ = (T)(x1 + (deltax * touty)); in clip_liang_barsky()
/dports/editors/texmaker/texmaker-5.0.3/pdfium/third_party/agg23/
H A Dagg_clip_liang_barsky.h39 FX_FLOAT deltax = (FX_FLOAT)(x2 - x1); in clip_liang_barsky() local
42 if(deltax == 0) { in clip_liang_barsky()
43 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
46 if(deltax > 0) { in clip_liang_barsky()
53 FX_FLOAT tinx = (xin - x1) / deltax; in clip_liang_barsky()
81 FX_FLOAT toutx = (xout - x1) / deltax; in clip_liang_barsky()
91 *x++ = (T)(x1 + (deltax * tiny)); in clip_liang_barsky()
101 *x++ = (T)(x1 + (deltax * touty)); in clip_liang_barsky()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/
H A Davgdvg_vidhrdw.c152 deltax = abs(deltax); in vector_timer()
154 if (deltax > deltay) in vector_timer()
155 return deltax >> 16; in vector_timer()
234 int deltax, deltay; in dvg_generate_vector_list() local
569 int deltax, deltay; in avg_generate_vector_list() local
635 deltax = x * scale; in avg_generate_vector_list()
637 if (xflip) deltax = -deltax; in avg_generate_vector_list()
640 currentx += deltax; in avg_generate_vector_list()
668 deltax = x * scale; in avg_generate_vector_list()
670 if (xflip) deltax = -deltax; in avg_generate_vector_list()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/third_party/agg23/
H A Dagg_clip_liang_barsky.h50 FX_FLOAT deltax = width.ValueOrDefault(0); in clip_liang_barsky() local
53 if(deltax == 0) { in clip_liang_barsky()
54 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
57 if(deltax > 0) { in clip_liang_barsky()
64 FX_FLOAT tinx = (xin - x1) / deltax; in clip_liang_barsky()
92 FX_FLOAT toutx = (xout - x1) / deltax; in clip_liang_barsky()
102 *x++ = (T)(x1 + (deltax * tiny)); in clip_liang_barsky()
112 *x++ = (T)(x1 + (deltax * touty)); in clip_liang_barsky()

12345678910>>...44