Home
last modified time | relevance | path

Searched refs:topoffset (Results 1 – 25 of 133) sorted by relevance

123456

/dports/games/rottdc/rottdc-1.0-2/rott/
H A Dlumpy.h90 short topoffset; // pixels above the origin member
101 SwapIntelShort(&pp->topoffset); \
113 short topoffset; // pixels above the origin member
125 SwapIntelShort(&pp->topoffset); \
H A Drt_build.c603 d=offset-topoffset; in ScaleMenuBufPost()
691 if (((y-p->topoffset)<0) || ((y-p->topoffset+p->height)>=TEXTUREHEIGHT)) in DrawMenuBufItem()
698 p->topoffset, buffer); in DrawMenuBufItem()
722 d=offset-topoffset; in IScaleMenuBufPost()
754 if (((y-p->topoffset)<0) || ((y-p->topoffset+p->height)>=TEXTUREHEIGHT)) in DrawIMenuBufItem()
786 d=offset-topoffset; in TScaleMenuBufPost()
821 d=offset-topoffset; in CScaleMenuBufPost()
943 if (((y-p->topoffset)<0) || ((y-p->topoffset+p->height)>=TEXTUREHEIGHT)) in DrawTMenuBufItem()
950 p->topoffset, buffer); in DrawTMenuBufItem()
977 if (((y-p->topoffset)<0) || ((y-p->topoffset+p->height)>=TEXTUREHEIGHT)) in DrawColoredMenuBufItem()
[all …]
H A Drt_scale.c506 dc_texturemid=(((sprite->h1<<size) + p->topoffset)<<SFRACBITS);//+(SFRACUNIT>>1); in ScaleShape()
676 dc_texturemid=(((sprite->h1<<size)+p->topoffset)<<SFRACBITS);//+(SFRACUNIT>>1); in ScaleTransparentShape()
775 dc_texturemid=(((sprite->h1<<size)+p->topoffset)<<SFRACBITS);//+(SFRACUNIT>>1); in ScaleSolidShape()
864 dc_texturemid=(((p->origsize>>1)+p->topoffset)<<SFRACBITS)+(SFRACUNIT>>1); in ScaleWeapon()
949 dc_texturemid=(((p->height>>1)+p->topoffset)<<SFRACBITS);//+(SFRACUNIT>>1); in DrawUnScaledSprite()
1056 dc_texturemid=(((32<<size)+p->topoffset)<<SFRACBITS)+(SFRACUNIT>>1); in DrawPositionedScaledSprite()
1145 dc_texturemid=(((p->origsize>>1) + p->topoffset)<<SFRACBITS)+(SFRACUNIT>>1); in DrawScreenSizedSprite()
1213 dc_texturemid=(((p->height>>1)+p->topoffset)<<SFRACBITS)+(SFRACUNIT>>1);
1303 if (((y-p->topoffset)<0) || ((y-p->topoffset+p->height)>200)) in DrawNormalSprite()
1304 Error ("DrawNormalSprite: y is out of range y=%ld\n",y-p->topoffset+p->height); in DrawNormalSprite()
[all …]
/dports/graphics/p5-GD/GD-2.73/demos/
H A Dfonttest31 my ($font, $title, $topoffset, $lineskip) = @_;
33 $im->string($font, 16, $topoffset, $title.':', $black);
37 $im->string($font, 16, $topoffset + (1 + $line) * $lineskip,
/dports/games/uhexen/uhexen-0.601/src/
H A Dv_video.c52 y -= SHORT(patch->topoffset); in V_DrawPatch()
101 y -= SHORT(patch->topoffset); in V_DrawFuzzPatch()
151 y -= SHORT(patch->topoffset); in V_DrawAltFuzzPatch()
204 y -= SHORT(patch->topoffset); in V_DrawShadowedPatch()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dr_picformats.c152 intopoffset = SHORT(doompatch->topoffset); in Picture_PatchConvert()
159 intopoffset = inpatch->topoffset; in Picture_PatchConvert()
1042 if ((topoffset || leftoffset) && (chunk.data != NULL)) in PNG_Read()
1050 if (topoffset != NULL) in PNG_Read()
1051 *topoffset = (INT16)BIGENDIAN_LONG(*offsets); in PNG_Read()
1080 INT16 *topoffset, INT16 *leftoffset, in Picture_PNGConvert() argument
1103 if (topoffset == NULL) in Picture_PNGConvert()
1104 topoffset = &toffs; in Picture_PNGConvert()
1371 if ((topoffset || leftoffset) && (chunk.data != NULL)) in Picture_PNGDimensions()
1379 if (topoffset != NULL) in Picture_PNGDimensions()
[all …]
H A Dr_picformats.h115 INT16 *topoffset, INT16 *leftoffset,
118 boolean Picture_PNGDimensions(UINT8 *png, INT32 *width, INT32 *height, INT16 *topoffset, INT16 *lef…
H A Dr_patch.c40 patch->topoffset = SHORT(source->topoffset); in Patch_Create()
H A Dr_patchrotation.c95 ((patch_t *)rotsprite->patches[idx])->topoffset += FEETADJUST>>FRACBITS; in Patch_GetRotatedSprite()
229 oy = (newheight / 2) + (patch->topoffset - ypivot); in RotatedPatch_DoRotation()
271 rotated->topoffset = oy; in RotatedPatch_DoRotation()
/dports/games/vultures-eye/vulture-2.3.67/vulture/winclass/
H A Dinventory.cpp96 int topoffset = border_top; in update_invscroll() local
98 topoffset += vulture_get_lineheight(V_FONT_HEADLINE) * 2 + 2; in update_invscroll()
114 winelem->y = (itemcount % ow_vrows) * V_LISTITEM_HEIGHT + topoffset; in update_invscroll()
606 int topoffset = border_top; in layout() local
611 topoffset += textheight*2 + 2; in layout()
627 maxitems_per_col = (parent->h - topoffset - bottomoffset) / V_LISTITEM_HEIGHT; in layout()
653 winelem->y = (itemcount % ow_vrows) * V_LISTITEM_HEIGHT + topoffset; in layout()
676 h = ow_vrows * V_LISTITEM_HEIGHT + topoffset + border_bottom; in layout()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dr_data.c709 patchnum->topoffset = patch->topoffset; in R_SetPatchNum()
720 patchnum->topoffset = patch->topoffset; in R_SetSpriteByNum()
767 patchnum->topoffset = 0; in R_SetFloorNum()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/
H A Dv_video.c150 y -= SHORT(patch->topoffset); in V_DrawPatch()
214 y -= SHORT(patch->topoffset); in V_DrawPatchFlipped()
288 y -= SHORT(patch->topoffset); in V_DrawTLPatch()
339 y -= SHORT(patch->topoffset); in V_DrawXlaPatch()
389 y -= SHORT(patch->topoffset); in V_DrawAltTLPatch()
441 y -= SHORT(patch->topoffset); in V_DrawShadowedPatch()
H A Dv_patch.h34 short topoffset; // pixels below the origin
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/hardware/
H A Dhw_draw.c160 v[0].y = v[1].y = 1-(sty - (gpatch->topoffset*pdupy))/vid.height; in HWR_DrawPatch()
161 v[2].y = v[3].y = 1-(sty + ((gpatch->height - gpatch->topoffset)*pdupy))/vid.height; in HWR_DrawPatch()
210 v[0].y = v[1].y = 1-(sty - gpatch->topoffset*pdupy)/vid.height;
211 v[2].y = v[3].y = 1-(sty + (gpatch->height - gpatch->topoffset)*pdupy)/vid.height;
251 v[0].y = v[1].y = 1-(sty - gpatch->topoffset*pdupy)/vid.height; in HWR_DrawMappedPatch()
252 v[2].y = v[3].y = 1-(sty + (gpatch->height - gpatch->topoffset)*pdupy)/vid.height; in HWR_DrawMappedPatch()
H A Dhw_data.h110 int16_t topoffset; // pixels below the origin member
/dports/games/vultures-eye/vulture-2.3.67/vulture/
H A Dvulture_gra.cpp246 int topoffset = (y1 < 0) ? -y1: 0; in vulture_get_img_src() local
250 int destheight = y2+1-y1-topoffset-bottomoffset; in vulture_get_img_src()
256 for (i = topoffset; i < (y2+1-y1-bottomoffset); i++) in vulture_get_img_src()
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dhu_drawers.cpp211 y += patch->topoffset() * y_scale; in DrawPatch()
241 y += patch->topoffset() * y_scale; in DrawTranslatedPatch()
272 y += (roundToShort(patch->topoffset() * ((float)h / patch->height()))) * y_scale; in DrawPatchStretched()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/
H A Dv_video.c215 y -= SHORT(patch->topoffset); in V_DrawPatch()
314 patch->topoffset = 0; in V_DrawPatchFullScreen()
348 y -= SHORT(patch->topoffset); in V_DrawPatchFlipped()
478 y -= SHORT(patch->topoffset); in V_DrawTLPatch()
531 y -= SHORT(patch->topoffset); in V_DrawXlaPatch()
582 y -= SHORT(patch->topoffset); in V_DrawAltTLPatch()
636 y -= SHORT(patch->topoffset); in V_DrawShadowedPatch()
H A Dv_patch.h34 short topoffset; // pixels below the origin
/dports/games/odamex/odamex-src-0.7.0/server/src/
H A Dr_things.cpp91 sprite->spriteframes[i].topoffset[r] = patch->topoffset()<<FRACBITS; in R_CacheSprite()
/dports/games/edge/Edge-1.35-source/src/
H A Ddm_data.h159 short topoffset; member
/dports/games/heretic/glheretic-1.2/
H A Dv_video.c128 y -= SHORT(patch->topoffset); in V_DrawPatch()
189 y -= SHORT(patch->topoffset); in V_DrawFuzzPatch()
248 y -= SHORT(patch->topoffset); in V_DrawShadowedPatch()
/dports/print/ghostscript7-base/ghostscript-7.07/gimp-print-4.2.7/src/ghost/
H A Dgdevstp.c81 int topoffset; /* top offset in pixels */ member
264 stp_data.topoffset = 0; in stp_print_page()
622 gdev_prn_copy_scan_lines(im->dev, im->data->topoffset+row, in Image_get_row()
631 gdev_prn_copy_scan_lines(im->dev, (im->data->topoffset + row) / ratio, in Image_get_row()
640 gdev_prn_copy_scan_lines(im->dev, (im->data->topoffset + row) * ratio, in Image_get_row()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgdevstp.c86 int topoffset; /* top offset in pixels */ member
269 stp_data.topoffset = 0; in stp_print_page()
627 gdev_prn_copy_scan_lines(im->dev, im->data->topoffset+row, in Image_get_row()
636 gdev_prn_copy_scan_lines(im->dev, (im->data->topoffset + row) / ratio, in Image_get_row()
645 gdev_prn_copy_scan_lines(im->dev, (im->data->topoffset + row) * ratio, in Image_get_row()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgdevstp.c86 int topoffset; /* top offset in pixels */ member
269 stp_data.topoffset = 0; in stp_print_page()
627 gdev_prn_copy_scan_lines(im->dev, im->data->topoffset+row, in Image_get_row()
636 gdev_prn_copy_scan_lines(im->dev, (im->data->topoffset + row) / ratio, in Image_get_row()
645 gdev_prn_copy_scan_lines(im->dev, (im->data->topoffset + row) * ratio, in Image_get_row()

123456