SBSPSS/source/player/pmbloon.h

81 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-05-25 20:48:58 +02:00
virtual void enter();
2001-03-25 23:33:20 +02:00
virtual void think();
2001-04-05 18:26:17 +02:00
virtual void render(DVECTOR *_pos);
2001-06-27 23:02:49 +02:00
virtual void renderModeUi();
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-04-09 22:08:56 +02:00
virtual void setAnimNo(int _animNo);
2001-05-25 20:48:58 +02:00
private:
enum
{
2001-05-29 23:47:56 +02:00
BALLOON_TIMEOUT=8*60,
2001-05-25 21:27:38 +02:00
BALLOON_POP_FRAMES=4,
2001-06-27 23:02:49 +02:00
BALLOON_FLASH_TIME=2*60,
2001-05-25 20:48:58 +02:00
};
int m_timer;
2001-05-25 21:30:03 +02:00
int m_playedPopSound;
2001-05-25 20:48:58 +02:00
2001-03-23 22:15:46 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_PMBLOON_H__ */
/*===========================================================================
end */