Home
last modified time | relevance | path

Searched refs:fromy (Results 26 – 50 of 127) sorted by relevance

123456

/dports/games/ags/ags_linux_v.3.4.4.1/Engine/ac/
H A Droute_finder.cpp131 int is_route_possible(int fromx, int fromy, int tox, int toy, Bitmap *wss) in is_route_possible() argument
140 if (wallscreen->GetPixel(fromx, fromy) < 1) in is_route_possible()
216 tempw->FloodFill(fromx, fromy, 232); in is_route_possible()
385 int find_route_dijkstra(int fromx, int fromy, int destx, int desty) in find_route_dijkstra() argument
396 round_down_coords(fromx, fromy); in find_route_dijkstra()
397 beenhere[fromy][fromx] = 0; in find_route_dijkstra()
401 if ((temprd == fromx) && (tempry == fromy)) { in find_route_dijkstra()
412 visited[0] = fromy * wallscreen->GetWidth() + fromx; in find_route_dijkstra()
823 mls[mlist].fromy = orisrcy; in find_route()
H A Dglobal_drawingsurface.cpp275 void RawDrawLine (int fromx, int fromy, int tox, int toy) { in RawDrawLine() argument
276 multiply_up_coordinates(&fromx, &fromy); in RawDrawLine()
286 bg_frame->DrawLine (Line(fromx+ii, fromy+jj, tox+ii, toy+jj), draw_color); in RawDrawLine()
H A Dmovelist.h29 int fromx, fromy; member
H A Dpath.cpp22 ml->fromy *= current_screen_resolution_multiplier; in convert_move_path_to_high_res()
H A Dglobal_drawingsurface.h39 void RawDrawLine (int fromx, int fromy, int tox, int toy);
/dports/games/miscom/miscom/
H A Dfire.c148 void addmis(int fromx,int fromy,int tx,int ty,int mis_type,int speed,int cit) in addmis() argument
168 missiles[a].fromy=fromy; in addmis()
170 missiles[a].y=fromy; in addmis()
H A Dmain.c116 missiles[i].fromy, in missileframe()
125 missiles[i].fromy, in missileframe()
163 missiles[i].fromy, in missileframe()
H A Dfire.h2 extern void addmis(int fromx,int fromy,int tx,int ty,
H A Dglobal.h16 int fromy; member
/dports/games/kevedit/kevedit-0.5.1/src/libzzt2/
H A Dtiles.c579 int zztTileMove(ZZTblock * block, int fromx, int fromy, int tox, int toy) in zztTileMove() argument
583 if (fromx > block->width || fromy > block->height || in zztTileMove()
588 from = zztTileAt(block, fromx, fromy); in zztTileMove()
611 zztTileAt(block, fromx, fromy) = underfrom; in zztTileMove()
616 int zztMove(ZZTworld * world, int fromx, int fromy, int tox, int toy) in zztMove() argument
624 if (fromx == brd->plx && fromy == brd->ply) { in zztMove()
629 return zztTileMove(brd->bigboard, fromx, fromy, tox, toy); in zztMove()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/ac/
H A Droute_finder_impl_legacy.cpp148 static int is_route_possible(int fromx, int fromy, int tox, int toy, Bitmap *wss) { in is_route_possible() argument
156 if (_G(wallscreen)->GetPixel(fromx, fromy) < 1) in is_route_possible()
229 tempw->FloodFill(fromx, fromy, 232); in is_route_possible()
402 static int find_route_dijkstra(int fromx, int fromy, int destx, int desty) { in find_route_dijkstra() argument
417 round_down_coords(fromx, fromy); in find_route_dijkstra()
418 beenhere[fromy][fromx] = 0; in find_route_dijkstra()
422 if ((temprd == fromx) && (tempry == fromy)) { in find_route_dijkstra()
433 visited[0] = fromy * _G(wallscreen)->GetWidth() + fromx; in find_route_dijkstra()
860 _G(mls)[mlist].fromy = orisrcy; in find_route()
H A Droute_finder_impl.cpp87 static int find_route_jps(int fromx, int fromy, int destx, int desty) { in find_route_jps() argument
94 …if (_GP(nav).NavigateRefined(fromx, fromy, destx, desty, path, cpath) == Navigation::NAV_UNREACHAB… in find_route_jps()
244 _G(mls)[mlist].fromy = srcy; in find_route()
H A Dglobal_drawing_surface.cpp256 void RawDrawLine(int fromx, int fromy, int tox, int toy) { in RawDrawLine() argument
257 data_to_game_coords(&fromx, &fromy); in RawDrawLine()
267 bg->DrawLine(Line(fromx + ii, fromy + jj, tox + ii, toy + jj), draw_color); in RawDrawLine()
H A Dmove_list.h46 int fromx, fromy; member
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/
H A Dcinemat.c60 void CinemaVectorData (int fromx, int fromy, int tox, int toy, int color) in CinemaVectorData() argument
64 fromy = cinemat_screenh - fromy; in CinemaVectorData()
68 vector_add_point (fromx << VEC_SHIFT, fromy << VEC_SHIFT, 0, 0); in CinemaVectorData()
/dports/games/wargus/wargus-3.2.0/scripts/ai/
H A Dai_redribbon_2015.lua609 function MoveNavySafe(player, tox, toy, fromx, fromy, area, enemy, action)
621 function MoveArmySafe(player, tox, toy, fromx, fromy, area, enemy, action)
667 function MoveNavyQuick(player, tox, toy, fromx, fromy, area, action)
670 MoveUnitQuick(player, n[i], tox, toy, fromx, fromy, area, action)
672fromy, area) == true) or (UnitNear(player, n[2], fromx, fromy, area) == true) or (UnitNear(player,…
679 function MoveArmyQuick(player, tox, toy, fromx, fromy, area, action)
682 MoveUnitQuick(player, a[i], tox, toy, fromx, fromy, area, action)
684fromy, area) == true) or (UnitNear(player, a[2], fromx, fromy, area) == true) or (UnitNear(player,…
691 function MoveUnitQuick(player, unit, tox, toy, fromx, fromy, area, action)
715 if (UnitNear(player, unit, fromx, fromy, area) == true) then
[all …]
/dports/games/xinvaders/xinvaders-2.1.1/
H A Dshot.c249 void AddLine(fromx, fromy, tox, toy, gc) in AddLine() argument
250 int fromx, fromy, tox, toy; in AddLine()
253 XDrawLine(dpy, gamewindow, gc, fromx, fromy, tox, toy);
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/main/
H A Dupdate.cpp133 else yps=cmls->fromy+(int)(fixtof(ypermove)*(float)cmls->onpart); in do_movelist_move()
163 cmls->fromy=(signed short)(cmls->pos[cmls->onstage+1] & 0x000ffff); in do_movelist_move()
164 if ((cmls->fromx > 65000) || (cmls->fromy > 65000)) in do_movelist_move()
170 xps=cmls->fromx; yps=cmls->fromy; } in do_movelist_move()
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/
H A Dbgratextfx.pas114 x,y,yb,cury,fromy: integer;
194 if yb= 0 then fromy := 0
195 else fromy := lines[yb-1];
197 if lines[yb] > fromy then
202 round((lines[yb] - fromy) / FontAntialiasingLevel),
203 rect(0, fromy, fx.TextMask.Width, lines[yb]) )
207 round((lines[yb] - fromy) / FontAntialiasingLevel),
208 rect(0, fromy, fx.TextMask.Width, lines[yb]) );
223 IncF(prevCenter, lines[yb]-fromy);
228 IncF(prevCenter, (lines[yb]-fromy)/2);
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/
H A Dbgratextfx.pas114 x,y,yb,cury,fromy: integer;
194 if yb= 0 then fromy := 0
195 else fromy := lines[yb-1];
197 if lines[yb] > fromy then
202 round((lines[yb] - fromy) / FontAntialiasingLevel),
203 rect(0, fromy, fx.TextMask.Width, lines[yb]) )
207 round((lines[yb] - fromy) / FontAntialiasingLevel),
208 rect(0, fromy, fx.TextMask.Width, lines[yb]) );
223 IncF(prevCenter, lines[yb]-fromy);
228 IncF(prevCenter, (lines[yb]-fromy)/2);
/dports/devel/notcurses/notcurses-3.0.1/src/demo/
H A Dnormal.c57 int fromy = 0, fromx = 0; in rotate_visual() local
59 fromy = (dy * 2 - dx) / 2; in rotate_visual()
65 struct ncvisual* ncv = ncvisual_from_plane(n, NCBLIT_2x1, fromy, fromx, dy, dx); in rotate_visual()
/dports/games/triplane/triplane-classic-1.08.r20130224/src/gfx/
H A Dbitmap.cpp404 int fromy, toy; in Bitmap() local
413 for (fromy = y, toy = 0; toy < h; fromy++, toy++) in Bitmap()
414 memcpy(&image_data[toy * w], &vircr[fromy * vircrw + x], w); in Bitmap()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/main/
H A Dupdate.cpp122 } else yps = cmls->fromy + (int)(fixtof(ypermove) * (float)cmls->onpart); in do_movelist_move()
149 cmls->fromy = (signed short)(cmls->pos[cmls->onstage + 1] & 0x000ffff); in do_movelist_move()
150 if ((cmls->fromx > 65000) || (cmls->fromy > 65000)) in do_movelist_move()
159 yps = cmls->fromy; in do_movelist_move()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/tinsel/
H A Dmove.h43 DIRECTION GetDirection(int fromx, int fromy, int tox, int toy, DIRECTION lastreel,
/dports/games/scummvm/scummvm-2.5.1/engines/tinsel/
H A Dmove.h43 DIRECTION GetDirection(int fromx, int fromy, int tox, int toy, DIRECTION lastreel,

123456