This commit is contained in:
Paul 2001-04-09 20:08:56 +00:00
parent 639ebd08b5
commit 9b31368d0d
5 changed files with 26 additions and 7 deletions

View file

@ -32,6 +32,10 @@
/* Data
---- */
#ifndef __ANIM_SPONGEBOB_HEADER__
#include <ACTOR_SPONGEBOB_ANIM.h>
#endif
#ifndef __SPR_INGAMEFX_H__
#include <ingamefx.h>
#endif
@ -121,5 +125,22 @@ const struct PlayerMetrics *CPlayerModeBalloon::getPlayerMetrics()
return &s_playerMetrics;
}
/*----------------------------------------------------------------------
Function:
Purpose:
Params:
Returns:
---------------------------------------------------------------------- */
void CPlayerModeBalloon::setAnimNo(int _animNo)
{
// I think I'll overload the JUMP anim to the BALLOONJUMP here..
// Just 'cos I can :)
if(_animNo==ANIM_SPONGEBOB_JUMP)
{
_animNo=ANIM_SPONGEBOB_BALLOONJUMP;
}
CPlayerModeBase::setAnimNo(_animNo);
}
/*===========================================================================
end */