From 3c36a23739ed2ef4de2de8ed6d970990abf5c151 Mon Sep 17 00:00:00 2001 From: Daveo Date: Tue, 7 Aug 2001 22:40:27 +0000 Subject: [PATCH] --- source/fx/fxbaseanim.cpp | 5 +++++ source/gfx/sprbank.cpp | 2 +- source/platform/pbubble.cpp | 3 +++ source/platform/pgbubble.cpp | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/source/fx/fxbaseanim.cpp b/source/fx/fxbaseanim.cpp index 811550c89..f26f0c81d 100644 --- a/source/fx/fxbaseanim.cpp +++ b/source/fx/fxbaseanim.cpp @@ -118,6 +118,11 @@ POLY_FT4 *Ft4=SprBank->printRotatedScaledSprite(renderFrame,RenderPos.vx,RenderP setRGB0(Ft4,RGB.R,RGB.G,RGB.B); setSemiTrans(Ft4,Flags & FX_FLAG_TRANS); Frame=Ft4; + if (renderFrame==FRM__BUBBLE_2) + { + Ft4->u1++; Ft4->u3++; + Ft4->v2++; Ft4->v3++; + } } diff --git a/source/gfx/sprbank.cpp b/source/gfx/sprbank.cpp index fcb701669..666606493 100644 --- a/source/gfx/sprbank.cpp +++ b/source/gfx/sprbank.cpp @@ -401,7 +401,7 @@ void SpriteBank::prepareFT4RotatedScaled(POLY_FT4 *_ft4,sFrameHdr *_fh,int _xCen _ft4->u2=U+H; _ft4->u3=U+H; } - if (_rot>1024 && _rot<3078) +// if (_rot>1024 && _rot<3078 && ) { _ft4->u1--; _ft4->u3--; _ft4->v2--; _ft4->v3--; diff --git a/source/platform/pbubble.cpp b/source/platform/pbubble.cpp index a8df5aa40..7d997c3a2 100644 --- a/source/platform/pbubble.cpp +++ b/source/platform/pbubble.cpp @@ -74,6 +74,9 @@ void CNpcBubblePlatform::render() // Evil hard coded Offsets POLY_FT4 *SprFrame = CGameScene::getSpriteBank()->printRotatedScaledSprite( FRM__BUBBLE_1, renderPos.vx, renderPos.vy - 16, m_scale, ONE, 0, 10 ); setRGB0( SprFrame, 128, 128, 255 ); + SprFrame->u1++; SprFrame->u3++; + SprFrame->v2++; SprFrame->v3++; + } } } diff --git a/source/platform/pgbubble.cpp b/source/platform/pgbubble.cpp index 8360fd96d..99f69a061 100644 --- a/source/platform/pgbubble.cpp +++ b/source/platform/pgbubble.cpp @@ -65,6 +65,8 @@ void CNpcGeyserBubblePlatform::render() // Evil hard coded Offsets POLY_FT4 *SprFrame = CGameScene::getSpriteBank()->printRotatedScaledSprite( FRM__BUBBLE_1, renderPos.vx, renderPos.vy - 16, m_scale, ONE, 0, 12 ); setRGB0( SprFrame, 128, 128, 255 ); + SprFrame->u1++; SprFrame->u3++; + SprFrame->v2++; SprFrame->v3++; } } }