This commit is contained in:
parent
672731b5eb
commit
db1436d704
@ -54,7 +54,7 @@ int FYO=0;
|
|||||||
setRGB0(Frame,FC,FC,FC);
|
setRGB0(Frame,FC,FC,FC);
|
||||||
setSemiTrans(Frame,1);
|
setSemiTrans(Frame,1);
|
||||||
Frame->tpage|=FT<<5;
|
Frame->tpage|=FT<<5;
|
||||||
Frame->u1--; Frame->u2--;
|
Frame->u1--; Frame->u3--;
|
||||||
Frame->v2--; Frame->v3--;
|
Frame->v2--; Frame->v3--;
|
||||||
|
|
||||||
if (CurrentHeading<1024*1)
|
if (CurrentHeading<1024*1)
|
||||||
|
@ -24,6 +24,7 @@ void CFXGeyser::init(DVECTOR const &_Pos)
|
|||||||
SoundId = NOT_PLAYING;
|
SoundId = NOT_PLAYING;
|
||||||
BasePos=_Pos;
|
BasePos=_Pos;
|
||||||
OtPos+=3;
|
OtPos+=3;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
@ -40,6 +41,8 @@ void CFXGeyser::shutdown()
|
|||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
void CFXGeyser::think(int Frames)
|
void CFXGeyser::think(int Frames)
|
||||||
{
|
{
|
||||||
|
setCollisionCentreOffset(0,-512/2);
|
||||||
|
setCollisionSize(32,512);
|
||||||
CFX::think(Frames);
|
CFX::think(Frames);
|
||||||
Pos=BasePos;
|
Pos=BasePos;
|
||||||
currentFrame++;
|
currentFrame++;
|
||||||
@ -112,10 +115,10 @@ int W;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int FrameW=Ft4->x1-Ft4->x0;
|
//int FrameW=Ft4->x1-Ft4->x0;
|
||||||
setCollisionCentreOffset(FrameW>>1,-Height/2);
|
// setCollisionCentreOffset(FrameW>>1,-Height/2);
|
||||||
setCollisionCentreOffset(0,-Height/2);
|
// setCollisionCentreOffset(0,-Height/2);
|
||||||
setCollisionSize(FrameW,Height);
|
// setCollisionSize(FrameW,Height);
|
||||||
|
|
||||||
// Base
|
// Base
|
||||||
Ft4=SprBank->printFT4(FRM__GUSHBASE,RenderPos.vx-8,RenderPos.vy,currentFrame&2,0/*currentFrame&2*/,OtPos);
|
Ft4=SprBank->printFT4(FRM__GUSHBASE,RenderPos.vx-8,RenderPos.vy,currentFrame&2,0/*currentFrame&2*/,OtPos);
|
||||||
|
Loading…
Reference in New Issue
Block a user