SBSPSS/source/player/pmbloon.h

78 lines
1.6 KiB
C
Raw Normal View History

2001-03-23 22:15:46 +01:00
/*=========================================================================
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
-------------------- */
2001-03-25 22:36:28 +02:00
class CPlayerModeBalloon : public CPlayerModeBase
2001-03-23 22:15:46 +01:00
{
2001-03-25 22:36:28 +02:00
public:
2001-03-27 22:29:02 +02:00
virtual void initialise(class CPlayer *_player);
virtual void shutdown();
2001-03-25 23:33:20 +02:00
virtual void enter();
virtual void think();
2001-03-27 22:29:02 +02:00
virtual void render();
2001-03-25 23:33:20 +02:00
2001-03-25 22:36:28 +02:00
virtual int canFallForever() {return true;}
virtual const struct PlayerMetrics *getPlayerMetrics();
2001-03-25 23:33:20 +02:00
private:
enum
{
BALLOON_TIME=10*60,
2001-03-27 22:29:02 +02:00
BALLOON_FLASH_TIME=2*60,
2001-03-25 23:33:20 +02:00
};
2001-03-27 22:29:02 +02:00
int m_balloonTimer;
class SpriteBank *m_sprites;
2001-03-23 22:15:46 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_PMBLOON_H__ */
/*===========================================================================
end */