This commit is contained in:
parent
6b8d4291c2
commit
979a8ca669
4 changed files with 162 additions and 125 deletions
|
@ -37,6 +37,10 @@
|
|||
#include "player\pmodes.h"
|
||||
#endif
|
||||
|
||||
#ifndef __UTILS_HEADER__
|
||||
#include "utils\utils.h"
|
||||
#endif
|
||||
|
||||
// to be removed
|
||||
#include "gfx\tpage.h"
|
||||
|
||||
|
@ -219,9 +223,6 @@ m_animFrame=0;
|
|||
|
||||
m_lives=CGameSlotManager::getSlotData().m_lives;
|
||||
|
||||
xHighRes = 0;
|
||||
yHighRes = 0;
|
||||
|
||||
m_cameraOffset.vx=0;
|
||||
m_cameraOffset.vy=0;
|
||||
m_cameraScrollDir=0;
|
||||
|
@ -1464,15 +1465,6 @@ void CPlayer::shove( DVECTOR move )
|
|||
{
|
||||
DVECTOR newPos;
|
||||
|
||||
/*xHighRes += move.vx % 4096;
|
||||
yHighRes += move.vy % 4096;
|
||||
|
||||
newPos.vx = Pos.vx + ( move.vx >> 12 ) + ( xHighRes >> 12 );
|
||||
newPos.vy = Pos.vy + ( move.vy >> 12 ) + ( yHighRes >> 12 );
|
||||
|
||||
xHighRes %= 4096;
|
||||
yHighRes %= 4096;*/
|
||||
|
||||
newPos.vx = Pos.vx + move.vx;
|
||||
newPos.vy = Pos.vy + move.vy;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue