/dports/games/xonotic/Xonotic/source/darkplaces/ |
H A D | model_sprite.c | 431 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 D | model_sprite.c | 399 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 D | model_sprite.c | 431 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 D | r_things.cpp | 318 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 D | r_things.cpp | 723 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 D | f_finale.cpp | 465 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 D | r_things.c | 461 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 D | f_finale.c | 544 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 D | r_things.c | 470 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 D | r_things.c | 474 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 D | r_things.c | 494 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 D | r_things.c | 474 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 D | r_things.c | 469 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 D | r_things.c | 465 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 D | r_things.c | 518 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 D | r_things.c | 518 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 D | playerdisplay.cpp | 566 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 D | lua_hudlib.c | 410 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 D | r_things.c | 576 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 D | r_things.c | 464 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 D | f_finale.c | 638 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 D | r_things.c | 463 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 D | f_finale.c | 563 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 D | r_things.c | 599 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 D | f_finale.c | 562 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()
|