SBSPSS/source/pickups/pballoon.h

74 lines
1.6 KiB
C
Raw Normal View History

2001-02-21 20:34:16 +01:00
/*=========================================================================
pballoon.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PBALLOON_H__
#define __PICKUPS_PBALLOON_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
2001-05-18 23:03:51 +02:00
class CBalloonPickup : public CBaseWeaponPickup
2001-02-21 20:34:16 +01:00
{
public:
2001-02-21 23:33:17 +01:00
virtual void init();
2001-04-02 23:37:20 +02:00
virtual DVECTOR getSizeForPlacement();
2001-02-21 20:34:16 +01:00
virtual void collect(class CPlayer *_player);
protected:
2001-02-21 23:33:17 +01:00
virtual int getVisibilityRadius();
virtual int getRespawnTime();
virtual void thinkPickup(int _frames);
2001-02-21 20:34:16 +01:00
virtual void renderPickup(DVECTOR *_pos);
2001-02-21 23:33:17 +01:00
private:
2001-06-01 20:59:33 +02:00
virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_BALLOON_INFLATE;}
2001-02-21 23:33:17 +01:00
int m_sin;
2001-02-21 20:34:16 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PBALLOON_H__ */
/*===========================================================================
end */