This commit is contained in:
parent
96dd1440e6
commit
315868c4fb
@ -873,7 +873,7 @@ PLAYERINPUT CPlayer::readPadInput()
|
||||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
void CPlayer::shove( DVECTOR move )
|
||||
/*void CPlayer::shove( DVECTOR move )
|
||||
{
|
||||
int colHeight;
|
||||
|
||||
@ -944,7 +944,7 @@ void CPlayer::shove( DVECTOR move )
|
||||
// No obstruction
|
||||
Pos.vy+=move.vy;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
void CPlayer::setPlatform(CThing *_newPlatform)
|
||||
{
|
||||
|
@ -138,7 +138,7 @@ public:
|
||||
virtual void shutdown();
|
||||
virtual void think(int _frames);
|
||||
virtual void render();
|
||||
virtual void shove(DVECTOR move);
|
||||
//virtual void shove(DVECTOR move);
|
||||
virtual void setHasPlatformCollided( bool newVal );
|
||||
virtual bool getHasPlatformCollided();
|
||||
|
||||
|
@ -136,12 +136,12 @@ void CThingManager::thinkAllThings(int _frames)
|
||||
{
|
||||
//if ( !thing1->hasChild( thing2 ) )
|
||||
{
|
||||
thing1->removeAllChild();
|
||||
//thing1->removeAllChild();
|
||||
|
||||
if(thing1->canCollide()&&
|
||||
thing1->checkCollisionAgainst(thing2, _frames))
|
||||
{
|
||||
thing1->addChild( thing2 );
|
||||
//thing1->addChild( thing2 );
|
||||
|
||||
thing1->collidedWith(thing2);
|
||||
}
|
||||
@ -729,11 +729,11 @@ void CThing::processEvent(GAME_EVENT _event,CThing *_sourceThing)
|
||||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
void CThing::shove( DVECTOR move )
|
||||
/*void CThing::shove( DVECTOR move )
|
||||
{
|
||||
Pos.vx += move.vx;
|
||||
Pos.vy += move.vy;
|
||||
}
|
||||
}*/
|
||||
|
||||
/*===========================================================================
|
||||
end */
|
||||
|
@ -111,7 +111,7 @@ public:
|
||||
DVECTOR getPos() {return Pos;}
|
||||
void setPos(DVECTOR newPos) {Pos=newPos;}
|
||||
DVECTOR getPosDelta() {return PosDelta;}
|
||||
virtual void shove(DVECTOR move);
|
||||
//virtual void shove(DVECTOR move);
|
||||
CThing *getNext() {return Next;}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user