SBSPSS/source/player/pmbloon.h
2001-05-29 21:47:56 +00:00

79 lines
1.5 KiB
C++

/*=========================================================================
pmbloon.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLAYER_PMBLOON_H__
#define __PLAYER_PMBLOON_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PLAYER_PMODES_H__
#include "player\pmodes.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CPlayerModeBalloon : public CPlayerModeBase
{
public:
virtual void enter();
virtual void think();
virtual void render(DVECTOR *_pos);
virtual int canFallForever() {return true;}
virtual const struct PlayerMetrics *getPlayerMetrics();
virtual void setAnimNo(int _animNo);
private:
enum
{
BALLOON_TIMEOUT=8*60,
BALLOON_POP_FRAMES=4,
};
int m_timer;
int m_playedPopSound;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_PMBLOON_H__ */
/*===========================================================================
end */