/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | wincurse.cpp | 441 int drawx = 0; in curses_drawwindow() local 491 HorzLineDIB( drawx, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 499 … HorzLineDIB( drawx + halfwidth, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 504 HorzLineDIB( drawx, drawy + halfheight, drawx + halfwidth, 1, FG ); in curses_drawwindow() 509 HorzLineDIB( drawx, drawy + halfheight, drawx + halfwidth, 1, FG ); in curses_drawwindow() 514 … HorzLineDIB( drawx + halfwidth, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 519 HorzLineDIB( drawx, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 525 … HorzLineDIB( drawx + halfwidth, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 529 HorzLineDIB( drawx, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 534 HorzLineDIB( drawx, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() [all …]
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | wincurse.cpp | 441 int drawx = 0; in curses_drawwindow() local 491 HorzLineDIB( drawx, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 499 … HorzLineDIB( drawx + halfwidth, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 504 HorzLineDIB( drawx, drawy + halfheight, drawx + halfwidth, 1, FG ); in curses_drawwindow() 509 HorzLineDIB( drawx, drawy + halfheight, drawx + halfwidth, 1, FG ); in curses_drawwindow() 514 … HorzLineDIB( drawx + halfwidth, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 519 HorzLineDIB( drawx, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 525 … HorzLineDIB( drawx + halfwidth, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 529 HorzLineDIB( drawx, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() 534 HorzLineDIB( drawx, drawy + halfheight, drawx + fontwidth, 1, FG ); in curses_drawwindow() [all …]
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | hng64_sprite.hxx | 185 int16_t drawx = xpos+(xinc*xdrw); in draw_sprites() local 189 drawx &= 0x3ff; in draw_sprites() 192 if (drawx&0x0200)drawx-=0x400; in draw_sprites() 197 …if (!blend) gfx->prio_zoom_transpen(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoomy… in draw_sprites() 198 …else gfx->prio_zoom_transpen_additive(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoo… in draw_sprites() 217 …if (!blend) gfx->prio_zoom_transpen(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoomy… in draw_sprites() 218 …else gfx->prio_zoom_transpen_additive(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoo… in draw_sprites()
|
H A D | tecmosys.cpp | 135 …for (int drawx = drawx_base, xcnt = srcx; (drawx <= cliprect.max_x) && (xcnt < xsize); xcnt++, dra… in render_sprites_to_bitmap() local 144 dstptr[drawx] = (data + colour) | priority; in render_sprites_to_bitmap() 189 …for (int drawx = drawx_base, xcnt = srcx; (drawx < scaled_cliprect.max_x) && (xcnt < xsize); xcnt+… in render_sprites_to_bitmap() local 198 dstptr[drawx >> 8] = (data + colour) | priority; in render_sprites_to_bitmap()
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | hng64_sprite.hxx | 185 int16_t drawx = xpos+(xinc*xdrw); in draw_sprites() local 189 drawx &= 0x3ff; in draw_sprites() 192 if (drawx&0x0200)drawx-=0x400; in draw_sprites() 197 …if (!blend) gfx->prio_zoom_transpen(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoomy… in draw_sprites() 198 …else gfx->prio_zoom_transpen_additive(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoo… in draw_sprites() 217 …if (!blend) gfx->prio_zoom_transpen(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoomy… in draw_sprites() 218 …else gfx->prio_zoom_transpen_additive(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoo… in draw_sprites()
|
H A D | tecmosys.cpp | 135 …for (int drawx = drawx_base, xcnt = srcx; (drawx <= cliprect.max_x) && (xcnt < xsize); xcnt++, dra… in render_sprites_to_bitmap() local 144 dstptr[drawx] = (data + colour) | priority; in render_sprites_to_bitmap() 189 …for (int drawx = drawx_base, xcnt = srcx; (drawx < scaled_cliprect.max_x) && (xcnt < xsize); xcnt+… in render_sprites_to_bitmap() local 198 dstptr[drawx >> 8] = (data + colour) | priority; in render_sprites_to_bitmap()
|
/dports/news/golded+/golded-plus/golded+/golded3/ |
H A D | geedit2.cpp | 1658 static int drawx; in DrawLines() local 1677 drawx++; in DrawLines() 1689 drawx--; in DrawLines() 1738 else if (drawx == 1) drawx = -1; in DrawLines() 1769 else if (drawx == -1) drawx = 1; in DrawLines() 1770 else if (drawx == 1) in DrawLines() 1808 if (gonext && drawx) in DrawLines() 1810 if (drawx == -1) in DrawLines() 1841 if (drawx == -1) in DrawLines() 1900 if ((drawx == -1) && (lines[0] == type1)) drawx++; in DrawLines() [all …]
|
/dports/emulators/mess/mame-mame0226/src/devices/video/ |
H A D | psx.cpp | 1526 drawx = n_drawarea_x1; in FlatPolygon() 1677 drawx = n_drawarea_x1; in FlatTexturedPolygon() 1839 drawx = n_drawarea_x1; in GouraudPolygon() 2037 drawx = n_drawarea_x1; in GouraudTexturedPolygon() 2352 drawx = n_drawarea_x1; in FlatRectangle() 2401 drawx = n_drawarea_x1; in FlatRectangle8x8() 2450 drawx = n_drawarea_x1; in FlatRectangle16x16() 2506 drawx = n_drawarea_x1; in FlatTexturedRectangle() 2564 drawx = n_drawarea_x1; in Sprite8x8() 2622 drawx = n_drawarea_x1; in Sprite16x16() [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/video/ |
H A D | psx.cpp | 1526 drawx = n_drawarea_x1; in FlatPolygon() 1677 drawx = n_drawarea_x1; in FlatTexturedPolygon() 1839 drawx = n_drawarea_x1; in GouraudPolygon() 2037 drawx = n_drawarea_x1; in GouraudTexturedPolygon() 2352 drawx = n_drawarea_x1; in FlatRectangle() 2401 drawx = n_drawarea_x1; in FlatRectangle8x8() 2450 drawx = n_drawarea_x1; in FlatRectangle16x16() 2506 drawx = n_drawarea_x1; in FlatTexturedRectangle() 2564 drawx = n_drawarea_x1; in Sprite8x8() 2622 drawx = n_drawarea_x1; in Sprite16x16() [all …]
|
/dports/graphics/azpainterb/azpainterb-1.1.3/src/image/ |
H A D | TileImage_draw_brush.c | 565 x1 = (int)floor(drawx - radius); in _drawbrush_point_hard() 567 x2 = (int)floor(drawx + radius); in _drawbrush_point_hard() 572 fx_left = floor((x1 - drawx) * FIXF_VAL); in _drawbrush_point_hard() 657 x1 = (int)floor(drawx - radius); in _drawbrush_point_soft1() 659 x2 = (int)floor(drawx + radius); in _drawbrush_point_soft1() 686 for(ix = 0, dtmp = px - drawx; ix < subnum; ix++, dtmp += dsubadd) in _drawbrush_point_soft1() 751 x1 = (int)floor(drawx - radius); in _drawbrush_point_soft2() 753 x2 = (int)floor(drawx + radius); in _drawbrush_point_soft2() 780 for(ix = 0, dtmp = px - drawx; ix < subnum; ix++, dtmp += dsubadd) in _drawbrush_point_soft2() 838 x1 = (int)floor(drawx - radius); in _drawbrush_point_soft3() [all …]
|
/dports/emulators/mess/mame-mame0226/src/mame/drivers/ |
H A D | galpani3.cpp | 167 dst[drawx] = paldata[sprdat & 0x3fff]; \ 186 dst[drawx] = pal; \ 188 dst[drawx] = alpha_blend_r32(dst[drawx], pal, alpha); \ 212 for (int drawx=cliprect.min_x;drawx<=cliprect.max_x;drawx++) in screen_update_galpani3() local 214 int sproffs = drawx & 0x3ff; in screen_update_galpani3() 215 int srcoffs1 = (drawx+m_grap2[0]->m_framebuffer_scrollx+67)&0x1ff; in screen_update_galpani3() 216 int srcoffs2 = (drawx+m_grap2[1]->m_framebuffer_scrollx+67)&0x1ff; in screen_update_galpani3() 217 int srcoffs3 = (drawx+m_grap2[2]->m_framebuffer_scrollx+67)&0x1ff; in screen_update_galpani3() 219 int prioffs = (drawx+m_priority_buffer_scrollx+66)&0x1ff; in screen_update_galpani3()
|
H A D | tmmjprd.cpp | 236 for (int drawx=x;drawx<x+sizex;drawx++) in draw_tile() local 240 if (cliprect.contains(drawx, drawy)) in draw_tile() 246 bitmap.pix(drawy, drawx) = dat; in draw_tile() 249 drawx++; in draw_tile() 250 if (cliprect.contains(drawx, drawy)) in draw_tile() 256 bitmap.pix(drawy, drawx) = dat; in draw_tile() 264 if (cliprect.contains(drawx, drawy)) in draw_tile() 270 bitmap.pix(drawy, drawx) = dat; in draw_tile()
|
/dports/emulators/mame/mame-mame0226/src/mame/drivers/ |
H A D | galpani3.cpp | 167 dst[drawx] = paldata[sprdat & 0x3fff]; \ 186 dst[drawx] = pal; \ 188 dst[drawx] = alpha_blend_r32(dst[drawx], pal, alpha); \ 212 for (int drawx=cliprect.min_x;drawx<=cliprect.max_x;drawx++) in screen_update_galpani3() local 214 int sproffs = drawx & 0x3ff; in screen_update_galpani3() 215 int srcoffs1 = (drawx+m_grap2[0]->m_framebuffer_scrollx+67)&0x1ff; in screen_update_galpani3() 216 int srcoffs2 = (drawx+m_grap2[1]->m_framebuffer_scrollx+67)&0x1ff; in screen_update_galpani3() 217 int srcoffs3 = (drawx+m_grap2[2]->m_framebuffer_scrollx+67)&0x1ff; in screen_update_galpani3() 219 int prioffs = (drawx+m_priority_buffer_scrollx+66)&0x1ff; in screen_update_galpani3()
|
H A D | tmmjprd.cpp | 236 for (int drawx=x;drawx<x+sizex;drawx++) in draw_tile() local 240 if (cliprect.contains(drawx, drawy)) in draw_tile() 246 bitmap.pix(drawy, drawx) = dat; in draw_tile() 249 drawx++; in draw_tile() 250 if (cliprect.contains(drawx, drawy)) in draw_tile() 256 bitmap.pix(drawy, drawx) = dat; in draw_tile() 264 if (cliprect.contains(drawx, drawy)) in draw_tile() 270 bitmap.pix(drawy, drawx) = dat; in draw_tile()
|
/dports/math/ploticus-nox11/pl240src/src/ |
H A D | proc_curvefit.c | 37 double resolution, linestart, linestop, calcstart, calcstop, *inpoints, *inp, drawx, drawy, prevdra… in PLP_curvefit() local 231 drawx = dat2d(i,0); in PLP_curvefit() 235 if( i > 0 && drawx > linestart && (dat2d(i-1,0)) < linestart ) Emovu( drawx, drawy ); in PLP_curvefit() 237 else if( drawx < linestart ) continue; in PLP_curvefit() 238 else if( drawx > linestop ) break; in PLP_curvefit() 243 stat = Elineclip( &prevdrawx, &prevdrawy, &drawx, &drawy, EDXlo, EDYlo, EDXhi, EDYhi ); in PLP_curvefit() 247 if( !statsonly ) Elinu( drawx, drawy ); in PLP_curvefit() 249 if( showresults ) fprintf( PLS.diagfp, "%g %g\n", drawx, drawy ); in PLP_curvefit()
|
/dports/math/ploticus/pl240src/src/ |
H A D | proc_curvefit.c | 37 double resolution, linestart, linestop, calcstart, calcstop, *inpoints, *inp, drawx, drawy, prevdra… in PLP_curvefit() local 231 drawx = dat2d(i,0); in PLP_curvefit() 235 if( i > 0 && drawx > linestart && (dat2d(i-1,0)) < linestart ) Emovu( drawx, drawy ); in PLP_curvefit() 237 else if( drawx < linestart ) continue; in PLP_curvefit() 238 else if( drawx > linestop ) break; in PLP_curvefit() 243 stat = Elineclip( &prevdrawx, &prevdrawy, &drawx, &drawy, EDXlo, EDYlo, EDXhi, EDYhi ); in PLP_curvefit() 247 if( !statsonly ) Elinu( drawx, drawy ); in PLP_curvefit() 249 if( showresults ) fprintf( PLS.diagfp, "%g %g\n", drawx, drawy ); in PLP_curvefit()
|
/dports/graphics/azpainter/azpainter-2.1.7/src/image/ |
H A D | TileImage_draw_brush.c | 682 x1 = (int)floor(drawx - radius); in _drawbrush_point_circle_max() 684 x2 = (int)floor(drawx + radius); in _drawbrush_point_circle_max() 689 fx_left = floor((x1 - drawx) * FIXF_VAL); in _drawbrush_point_circle_max() 790 x1 = (int)floor(drawx - radius); in _drawbrush_point_circle() 792 x2 = (int)floor(drawx + radius); in _drawbrush_point_circle() 905 x1 = (int)floor(drawx - radius); in _drawbrush_point_shape() 907 x2 = (int)floor(drawx + radius); in _drawbrush_point_shape() 930 dx_left = (x1 - drawx) * dadd + dtmp; in _drawbrush_point_shape() 1024 x1 = (int)floor(drawx - dtmp); in _drawbrush_point_shape_rotate() 1026 x2 = (int)floor(drawx + dtmp); in _drawbrush_point_shape_rotate() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pst90s/ |
H A D | d_galpani3.cpp | 558 { if ((sprpri == (prio)) && sprdat) dst = DrvPalette[sprline[drawx] & 0x3fff]; } 628 for (INT32 drawx = 0; drawx < nScreenWidth; drawx++) in DrvDraw() local 630 INT32 prioffs = (drawx+prio_scrollx+66) & 0x1ff; in DrvDraw() 632 UINT8 dat1 = BURN_ENDIAN_SWAP_INT16(srcline1[(scrollx[0]+drawx+67)&0x1ff]); in DrvDraw() 633 UINT8 dat2 = BURN_ENDIAN_SWAP_INT16(srcline2[(scrollx[1]+drawx+67)&0x1ff]); in DrvDraw() 634 UINT8 dat3 = BURN_ENDIAN_SWAP_INT16(srcline3[(scrollx[2]+drawx+67)&0x1ff]); in DrvDraw() 636 INT32 sprdat = sprline[drawx] & 0xff; in DrvDraw() 637 INT32 sprpri = sprline[drawx] & 0xc000; in DrvDraw() 686 … PutPix(bmp + drawx * nBurnBpp, BurnHighCol((dst >> 16) & 0xff, (dst >> 8) & 0xff, dst & 0xff, 0)); in DrvDraw()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/pst90s/ |
H A D | d_tecmosys.cpp | 792 INT32 drawx, drawy; in draw_sprite_zoomed() local 811 drawx = x + ((xcnt * zoomx) / 256); in draw_sprite_zoomed() 813 if (drawx >= 0 && drawx < 320) in draw_sprite_zoomed() 817 if (data) dstptr[drawx] = data + color; in draw_sprite_zoomed() 827 INT32 drawx, drawy; in draw_sprite_nozoom() local 843 drawx = x + (xsize - 1); in draw_sprite_nozoom() 849 if (data) dstptr[drawx - xcnt] = data + color; in draw_sprite_nozoom() 865 drawx = x + (xsize - 1) - xcnt; in draw_sprite_nozoom() 867 drawx = x + xcnt; in draw_sprite_nozoom() 869 if (drawx >= 0 && drawx < 320) in draw_sprite_nozoom() [all …]
|
/dports/x11/xtacy/Xtacy/ |
H A D | plasma.c | 103 int dx,dy,drawx,drawy; in draw_plasma() local 124 if(x%2==0) drawx=(x*useCX)+dx; in draw_plasma() 125 else drawx=((x+1)*useCX)-dx; in draw_plasma() 129 XPutPixel(im,drawx,drawy,colr); in draw_plasma() 131 XDrawPoint(display,window[winno],color_gcs[colr],drawx,drawy); in draw_plasma()
|
/dports/emulators/mess/mame-mame0226/src/devices/machine/ |
H A D | spg_renderer.cpp | 87 …_w, uint32_t tilegfxdata_addr, uint32_t tile, uint32_t tile_scanline, int drawx, bool flip_y, uint… in draw_tilestrip() argument 96 int realdrawpos = (drawx + x) & drawwidthmask; in draw_tilestrip() 367 …_w, uint32_t tilegfxdata_addr, uint32_t tile, uint32_t tile_scanline, int drawx, bool flip_y, uint… in draw_tilestrip() argument 373 …dthmask, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_tilestrip() 377 …dthmask, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_tilestrip() 384 …dthmask, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_tilestrip() 388 …dthmask, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_tilestrip() 595 const int drawx = (x0 * tile_w) - (realxscroll & (tile_w - 1)); in draw_page() local 596 … flip_x, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_page()
|
/dports/emulators/mame/mame-mame0226/src/devices/machine/ |
H A D | spg_renderer.cpp | 87 …_w, uint32_t tilegfxdata_addr, uint32_t tile, uint32_t tile_scanline, int drawx, bool flip_y, uint… in draw_tilestrip() argument 96 int realdrawpos = (drawx + x) & drawwidthmask; in draw_tilestrip() 367 …_w, uint32_t tilegfxdata_addr, uint32_t tile, uint32_t tile_scanline, int drawx, bool flip_y, uint… in draw_tilestrip() argument 373 …dthmask, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_tilestrip() 377 …dthmask, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_tilestrip() 384 …dthmask, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_tilestrip() 388 …dthmask, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_tilestrip() 595 const int drawx = (x0 * tile_w) - (realxscroll & (tile_w - 1)); in draw_page() local 596 … flip_x, cliprect, tile_h, tile_w, tilegfxdata_addr, tile, tile_scanline, drawx, flip_y, palette_o… in draw_page()
|
/dports/graphics/aloadimage/arcan-0.6.1/src/platform/sdl/ |
H A D | video.c | 26 size_t draww, drawh, drawx, drawy; member 135 agp_draw_vobj(sdl.drawx, sdl.drawy, sdl.draww, sdl.drawh, sdl.txcos, NULL); in platform_video_synch() 300 &sdl.drawx, &sdl.drawy, in platform_video_map_display_layer() 309 &sdl.drawx, &sdl.drawy, in platform_video_map_display_layer()
|
/dports/sysutils/acfgfs/arcan-0.6.1/src/platform/sdl/ |
H A D | video.c | 26 size_t draww, drawh, drawx, drawy; member 135 agp_draw_vobj(sdl.drawx, sdl.drawy, sdl.draww, sdl.drawh, sdl.txcos, NULL); in platform_video_synch() 300 &sdl.drawx, &sdl.drawy, in platform_video_map_display_layer() 309 &sdl.drawx, &sdl.drawy, in platform_video_map_display_layer()
|
/dports/x11/aclip/arcan-0.6.1/src/platform/sdl/ |
H A D | video.c | 26 size_t draww, drawh, drawx, drawy; 135 agp_draw_vobj(sdl.drawx, sdl.drawy, sdl.draww, sdl.drawh, sdl.txcos, NULL); 300 &sdl.drawx, &sdl.drawy, 309 &sdl.drawx, &sdl.drawy,
|