Home
last modified time | relevance | path

Searched refs:sprframe (Results 1 – 25 of 44) sorted by relevance

12

/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dmodel_sprite.c431 mspriteframe_t *sprframe; in Mod_IDS2_Load() local
446 sprframe = &loadmodel->sprite.sprdata_frames[i]; in Mod_IDS2_Load()
450 sprframe->left = -origin[0]; in Mod_IDS2_Load()
451 sprframe->right = -origin[0] + width; in Mod_IDS2_Load()
452 sprframe->up = origin[1]; in Mod_IDS2_Load()
453 sprframe->down = origin[1] - height; in Mod_IDS2_Load()
455 x = (int)max(sprframe->left * sprframe->left, sprframe->right * sprframe->right); in Mod_IDS2_Load()
456 y = (int)max(sprframe->up * sprframe->up, sprframe->down * sprframe->down); in Mod_IDS2_Load()
/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Dmodel_sprite.c399 mspriteframe_t *sprframe; in Mod_IDS2_Load() local
414 sprframe = &loadmodel->sprite.sprdata_frames[i]; in Mod_IDS2_Load()
418 sprframe->left = -origin[0]; in Mod_IDS2_Load()
419 sprframe->right = -origin[0] + width; in Mod_IDS2_Load()
420 sprframe->up = origin[1]; in Mod_IDS2_Load()
421 sprframe->down = origin[1] - height; in Mod_IDS2_Load()
423 x = (int)max(sprframe->left * sprframe->left, sprframe->right * sprframe->right); in Mod_IDS2_Load()
424 y = (int)max(sprframe->up * sprframe->up, sprframe->down * sprframe->down); in Mod_IDS2_Load()
/dports/games/darkplaces/darkplaces/
H A Dmodel_sprite.c431 mspriteframe_t *sprframe; in Mod_IDS2_Load() local
446 sprframe = &loadmodel->sprite.sprdata_frames[i]; in Mod_IDS2_Load()
450 sprframe->left = -origin[0]; in Mod_IDS2_Load()
451 sprframe->right = -origin[0] + width; in Mod_IDS2_Load()
452 sprframe->up = origin[1]; in Mod_IDS2_Load()
453 sprframe->down = origin[1] - height; in Mod_IDS2_Load()
455 x = (int)max(sprframe->left * sprframe->left, sprframe->right * sprframe->right); in Mod_IDS2_Load()
456 y = (int)max(sprframe->up * sprframe->up, sprframe->down * sprframe->down); in Mod_IDS2_Load()
/dports/games/vavoom/vavoom-1.33/source/
H A Dr_things.cpp318 spriteframe_t* sprframe; in RenderSprite() local
350 if (sprframe->rotate) in RenderSprite()
356 if (sprframe->lump[0] == sprframe->lump[1]) in RenderSprite()
365 lump = sprframe->lump[rot]; in RenderSprite()
366 flip = sprframe->flip[rot]; in RenderSprite()
371 lump = sprframe->lump[0]; in RenderSprite()
372 flip = sprframe->flip[0]; in RenderSprite()
719 spriteframe_t* sprframe; in RenderPSprite() local
743 lump = sprframe->lump[0]; in RenderPSprite()
744 flip = sprframe->flip[0]; in RenderPSprite()
[all …]
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dr_things.cpp723 spriteframe_t* sprframe; in R_ProjectSprite() local
776 if (sprframe->rotate) in R_ProjectSprite()
780 lump = sprframe->lump[rot]; in R_ProjectSprite()
781 flip = (BOOL)sprframe->flip[rot]; in R_ProjectSprite()
786 lump = sprframe->lump[rot = 0]; in R_ProjectSprite()
787 flip = (BOOL)sprframe->flip[0]; in R_ProjectSprite()
794 fixed_t topoffs = sprframe->topoffset[rot]; in R_ProjectSprite()
795 fixed_t sideoffs = sprframe->offset[rot]; in R_ProjectSprite()
884 spriteframe_t* sprframe; in R_DrawPSprite() local
909 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
H A Df_finale.cpp465 spriteframe_t* sprframe; in F_CastDrawer() local
479 sprframe = &sprdef->spriteframes[caststate->frame & FF_FRAMEMASK]; in F_CastDrawer()
480 lump = sprframe->lump[0]; in F_CastDrawer()
481 flip = (BOOL)sprframe->flip[0]; in F_CastDrawer()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Dr_things.c461 spriteframe_t* sprframe; in R_ProjectSprite() local
509 sprframe = &sprdef->spriteframes[ thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
511 if (sprframe->rotate) in R_ProjectSprite()
516 lump = sprframe->lump[rot]; in R_ProjectSprite()
517 flip = (boolean)sprframe->flip[rot]; in R_ProjectSprite()
522 lump = sprframe->lump[0]; in R_ProjectSprite()
523 flip = (boolean)sprframe->flip[0]; in R_ProjectSprite()
644 spriteframe_t* sprframe; in R_DrawPSprite() local
662 sprframe = &sprdef->spriteframes[ psp->state->frame & FF_FRAMEMASK ]; in R_DrawPSprite()
664 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
H A Df_finale.c544 spriteframe_t* sprframe; in F_CastDrawer() local
556 sprframe = &sprdef->spriteframes[ caststate->frame & FF_FRAMEMASK]; in F_CastDrawer()
557 lump = sprframe->lump[0]; in F_CastDrawer()
558 flip = (boolean)sprframe->flip[0]; in F_CastDrawer()
/dports/games/heretic/glheretic-1.2/
H A Dr_things.c470 spriteframe_t *sprframe; in R_ProjectSprite() local
520 sprframe = &sprdef->spriteframes[ thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
522 if (sprframe->rotate) in R_ProjectSprite()
526 lump = sprframe->lump[rot]; in R_ProjectSprite()
527 flip = (boolean)sprframe->flip[rot]; in R_ProjectSprite()
531 lump = sprframe->lump[0]; in R_ProjectSprite()
532 flip = (boolean)sprframe->flip[0]; in R_ProjectSprite()
679 spriteframe_t *sprframe; in R_DrawPSprite() local
700 sprframe = &sprdef->spriteframes[ psp->state->frame & FF_FRAMEMASK ]; in R_DrawPSprite()
702 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Dr_things.c474 spriteframe_t *sprframe; in R_ProjectSprite() local
522 sprframe = &sprdef->spriteframes[thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
524 if (sprframe->rotate) in R_ProjectSprite()
528 lump = sprframe->lump[rot]; in R_ProjectSprite()
529 flip = (boolean) sprframe->flip[rot]; in R_ProjectSprite()
533 lump = sprframe->lump[0]; in R_ProjectSprite()
534 flip = (boolean) sprframe->flip[0]; in R_ProjectSprite()
673 spriteframe_t *sprframe; in R_DrawPSprite() local
694 sprframe = &sprdef->spriteframes[psp->state->frame & FF_FRAMEMASK]; in R_DrawPSprite()
696 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/
H A Dr_things.c494 spriteframe_t *sprframe; in R_ProjectSprite() local
570 sprframe = &sprdef->spriteframes[thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
572 if (sprframe->rotate) in R_ProjectSprite()
576 lump = sprframe->lump[rot]; in R_ProjectSprite()
577 flip = (boolean) sprframe->flip[rot]; in R_ProjectSprite()
581 lump = sprframe->lump[0]; in R_ProjectSprite()
582 flip = (boolean) sprframe->flip[0]; in R_ProjectSprite()
717 spriteframe_t *sprframe; in R_DrawPSprite() local
738 sprframe = &sprdef->spriteframes[psp->state->frame & FF_FRAMEMASK]; in R_DrawPSprite()
740 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/
H A Dr_things.c474 spriteframe_t *sprframe; in R_ProjectSprite() local
522 sprframe = &sprdef->spriteframes[thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
524 if (sprframe->rotate) in R_ProjectSprite()
528 lump = sprframe->lump[rot]; in R_ProjectSprite()
529 flip = (boolean) sprframe->flip[rot]; in R_ProjectSprite()
533 lump = sprframe->lump[0]; in R_ProjectSprite()
534 flip = (boolean) sprframe->flip[0]; in R_ProjectSprite()
673 spriteframe_t *sprframe; in R_DrawPSprite() local
694 sprframe = &sprdef->spriteframes[psp->state->frame & FF_FRAMEMASK]; in R_DrawPSprite()
696 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
/dports/games/uhexen/uhexen-0.601/src/
H A Dr_things.c469 spriteframe_t *sprframe; in R_ProjectSprite() local
517 sprframe = &sprdef->spriteframes[ thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
519 if (sprframe->rotate) in R_ProjectSprite()
523 lump = sprframe->lump[rot]; in R_ProjectSprite()
524 flip = (boolean)sprframe->flip[rot]; in R_ProjectSprite()
528 lump = sprframe->lump[0]; in R_ProjectSprite()
529 flip = (boolean)sprframe->flip[0]; in R_ProjectSprite()
669 spriteframe_t *sprframe; in R_DrawPSprite() local
690 sprframe = &sprdef->spriteframes[ psp->state->frame & FF_FRAMEMASK ]; in R_DrawPSprite()
692 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/
H A Dr_things.c465 spriteframe_t *sprframe; in R_ProjectSprite() local
513 sprframe = &sprdef->spriteframes[thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
515 if (sprframe->rotate) in R_ProjectSprite()
519 lump = sprframe->lump[rot]; in R_ProjectSprite()
520 flip = (boolean) sprframe->flip[rot]; in R_ProjectSprite()
524 lump = sprframe->lump[0]; in R_ProjectSprite()
525 flip = (boolean) sprframe->flip[0]; in R_ProjectSprite()
660 spriteframe_t *sprframe; in R_DrawPSprite() local
681 sprframe = &sprdef->spriteframes[psp->state->frame & FF_FRAMEMASK]; in R_DrawPSprite()
683 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Dr_things.c518 spriteframe_t* sprframe; in R_ProjectSprite() local
566 sprframe = &sprdef->spriteframes[ thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
568 if (sprframe->rotate) in R_ProjectSprite()
573 lump = sprframe->lump[rot]; in R_ProjectSprite()
574 flip = (boolean)sprframe->flip[rot]; in R_ProjectSprite()
579 lump = sprframe->lump[0]; in R_ProjectSprite()
580 flip = (boolean)sprframe->flip[0]; in R_ProjectSprite()
709 spriteframe_t* sprframe; in R_DrawPSprite() local
727 sprframe = &sprdef->spriteframes[ psp->state->frame & FF_FRAMEMASK ]; in R_DrawPSprite()
729 lump = sprframe->lump[0]; in R_DrawPSprite()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Dr_things.c518 spriteframe_t* sprframe; in R_ProjectSprite() local
566 sprframe = &sprdef->spriteframes[ thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
568 if (sprframe->rotate) in R_ProjectSprite()
573 lump = sprframe->lump[rot]; in R_ProjectSprite()
574 flip = (boolean)sprframe->flip[rot]; in R_ProjectSprite()
579 lump = sprframe->lump[0]; in R_ProjectSprite()
580 flip = (boolean)sprframe->flip[0]; in R_ProjectSprite()
709 spriteframe_t* sprframe; in R_DrawPSprite() local
727 sprframe = &sprdef->spriteframes[ psp->state->frame & FF_FRAMEMASK ]; in R_DrawPSprite()
729 lump = sprframe->lump[0]; in R_DrawPSprite()
/dports/games/zdoom/zdoom-2.8.1/src/menu/
H A Dplayerdisplay.cpp566 spriteframe_t *sprframe = NULL; in Drawer() local
573 sprframe = &SpriteFrames[sprites[mPlayerState->sprite].spriteframes + mPlayerState->GetFrame()]; in Drawer()
579 sprframe = &SpriteFrames[sprites[skins[mSkin].sprite].spriteframes + mPlayerState->GetFrame()]; in Drawer()
585 if (sprframe != NULL) in Drawer()
587 FTexture *tex = TexMan(sprframe->Texture[mRotation]); in Drawer()
597 DTA_FlipX, sprframe->Flip & (1 << mRotation), in Drawer()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dlua_hudlib.c410 spriteframe_t *sprframe; in libd_getSpritePatch() local
442 sprframe = &sprdef->spriteframes[frame]; in libd_getSpritePatch()
451 if (angle >= ((sprframe->rotate & SRF_3DGE) ? 16 : 8)) // out of range? in libd_getSpritePatch()
462 …patch_t *rotsprite = Patch_GetRotatedSprite(sprframe, frame, angle, sprframe->flip & (1<<angle), t… in libd_getSpritePatch()
472 LUA_PushUserdata(L, W_CachePatchNum(sprframe->lumppat[angle], PU_SPRITE), META_PATCH); in libd_getSpritePatch()
473 lua_pushboolean(L, (sprframe->flip & (1<<angle)) != 0); in libd_getSpritePatch()
485 spriteframe_t *sprframe; in libd_getSprite2Patch() local
554 sprframe = &sprdef->spriteframes[frame]; in libd_getSprite2Patch()
563 if (angle >= ((sprframe->rotate & SRF_3DGE) ? 16 : 8)) // out of range? in libd_getSprite2Patch()
574 …patch_t *rotsprite = Patch_GetRotatedSprite(sprframe, frame, angle, sprframe->flip & (1<<angle), t… in libd_getSprite2Patch()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Dr_things.c576 spriteframe_t* sprframe; in R_ProjectSprite() local
658 if (sprframe->rotate) in R_ProjectSprite()
663 if (sprframe->rotate == -1) in R_ProjectSprite()
669 if (sprframe->rotate == 2) in R_ProjectSprite()
678 lump = sprframe->lump[rot]; in R_ProjectSprite()
679 flip = (boolean)sprframe->flip[rot]; in R_ProjectSprite()
684 lump = sprframe->lump[0]; in R_ProjectSprite()
685 flip = (boolean)sprframe->flip[0]; in R_ProjectSprite()
978 spriteframe_t* sprframe; in R_DrawPSprite() local
1003 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dr_things.c464 spriteframe_t *sprframe; in R_ProjectSprite() local
532 sprframe = &sprdef->spriteframes[thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
534 if (sprframe->rotate) in R_ProjectSprite()
539 lump = sprframe->lump[rot]; in R_ProjectSprite()
540 flip = (dbool) sprframe->flip[rot]; in R_ProjectSprite()
545 lump = sprframe->lump[0]; in R_ProjectSprite()
546 flip = (dbool) sprframe->flip[0]; in R_ProjectSprite()
682 spriteframe_t *sprframe; in R_DrawPSprite() local
694 sprframe = &sprdef->spriteframes[psp->state->frame & FF_FRAMEMASK]; in R_DrawPSprite()
696 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
H A Df_finale.c638 spriteframe_t* sprframe; in F_CastDrawer() local
654 sprframe = &sprdef->spriteframes[ caststate->frame & FF_FRAMEMASK]; in F_CastDrawer()
655 lump = sprframe->lump[0]; in F_CastDrawer()
656 flip = (dbool)sprframe->flip[0]; in F_CastDrawer()
/dports/games/prboom/prboom-2.5.0/src/
H A Dr_things.c463 spriteframe_t *sprframe; in R_ProjectSprite() local
529 sprframe = &sprdef->spriteframes[thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
531 if (sprframe->rotate) in R_ProjectSprite()
536 lump = sprframe->lump[rot]; in R_ProjectSprite()
537 flip = (boolean) sprframe->flip[rot]; in R_ProjectSprite()
542 lump = sprframe->lump[0]; in R_ProjectSprite()
543 flip = (boolean) sprframe->flip[0]; in R_ProjectSprite()
692 spriteframe_t *sprframe; in R_DrawPSprite() local
717 sprframe = &sprdef->spriteframes[psp->state->frame & FF_FRAMEMASK]; in R_DrawPSprite()
719 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
H A Df_finale.c563 spriteframe_t* sprframe; in F_CastDrawer() local
575 sprframe = &sprdef->spriteframes[ caststate->frame & FF_FRAMEMASK]; in F_CastDrawer()
576 lump = sprframe->lump[0]; in F_CastDrawer()
577 flip = (boolean)sprframe->flip[0]; in F_CastDrawer()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dr_things.c599 spriteframe_t *sprframe; in R_ProjectSprite() local
675 sprframe = &sprdef->spriteframes[thing->frame & FF_FRAMEMASK]; in R_ProjectSprite()
677 if (sprframe->rotate) in R_ProjectSprite()
682 if (sprframe->lump[0] == sprframe->lump[1]) in R_ProjectSprite()
691 lump = sprframe->lump[rot]; in R_ProjectSprite()
692 flip = (dboolean)(sprframe->flip & (1 << rot)); in R_ProjectSprite()
697 lump = sprframe->lump[0]; in R_ProjectSprite()
698 flip = (dboolean)(sprframe->flip & 1); in R_ProjectSprite()
882 spriteframe_t *sprframe; in R_DrawPSprite() local
907 lump = sprframe->lump[0]; in R_DrawPSprite()
[all …]
H A Df_finale.c562 spriteframe_t* sprframe; in F_CastDrawer() local
576 sprframe = &sprdef->spriteframes[ caststate->frame & FF_FRAMEMASK]; in F_CastDrawer()
577 lump = sprframe->lump[0]; in F_CastDrawer()
578 flip = (dboolean)(sprframe->flip & 1); in F_CastDrawer()

12