This commit is contained in:
parent
c2c7a33ce5
commit
a06ff07997
1 changed files with 4 additions and 4 deletions
|
@ -74,9 +74,9 @@
|
||||||
|
|
||||||
|
|
||||||
// These are temporary.. I'll clean them up when I can test them (pkg)
|
// These are temporary.. I'll clean them up when I can test them (pkg)
|
||||||
int strobespeed=20;
|
int strobespeed=500;
|
||||||
int strobebase=300;
|
int strobebase=300;
|
||||||
int strobescale=100;
|
int strobescale=200;
|
||||||
// These are temporary.. I'll clean them up when I can test them (pkg)
|
// These are temporary.. I'll clean them up when I can test them (pkg)
|
||||||
|
|
||||||
|
|
||||||
|
@ -308,8 +308,8 @@ void CNpcFriend::render()
|
||||||
fh=CGameScene::getSpriteBank()->getFrameHeader(map->m_iconFrame);
|
fh=CGameScene::getSpriteBank()->getFrameHeader(map->m_iconFrame);
|
||||||
size=strobebase+((msin(m_iconStrobe)*strobescale)>>12);
|
size=strobebase+((msin(m_iconStrobe)*strobescale)>>12);
|
||||||
iconPos=getRenderPos();
|
iconPos=getRenderPos();
|
||||||
iconPos.vx-=(fh->W*size)>>(8+1);
|
iconPos.vx-=fh->W/2;
|
||||||
iconPos.vy-=120;
|
iconPos.vy-=getCollisionSize().vy+(fh->H*2);
|
||||||
CGameScene::getSpriteBank()->printFT4Scaled(fh,iconPos.vx,iconPos.vy,0,0,0,size);
|
CGameScene::getSpriteBank()->printFT4Scaled(fh,iconPos.vx,iconPos.vy,0,0,0,size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue