SBSPSS/source/pickups/pbubmix.h

85 lines
1.8 KiB
C
Raw Normal View History

2001-02-21 01:11:53 +01:00
/*=========================================================================
pbubmix.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PBUBMIX_H__
#define __PICKUPS_PBUBMIX_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
2001-03-30 19:47:00 +02:00
class CBubbleMixturePickup : public CBaseRespawningPickup
2001-02-21 01:11:53 +01:00
{
public:
virtual void init();
2001-04-02 23:37:20 +02:00
virtual DVECTOR getSizeForPlacement();
2001-02-21 01:11:53 +01:00
virtual void collect(class CPlayer *_player);
2001-02-21 23:33:17 +01:00
protected:
2001-03-30 19:47:00 +02:00
virtual int getRespawnTime();
2001-02-21 23:33:17 +01:00
virtual void thinkPickup(int _frames);
virtual void renderPickup(DVECTOR *_pos);
2001-02-21 01:11:53 +01:00
private:
2001-06-01 20:59:33 +02:00
virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_ITEM__JAMJAR_AMMO;}
2001-02-21 01:11:53 +01:00
int m_sin;
2001-02-21 23:33:17 +01:00
2001-02-21 01:11:53 +01:00
};
2001-05-18 23:03:51 +02:00
class CBubbleWandPickup : public CBaseWeaponSimplePickup
2001-03-31 04:05:24 +02:00
{
public:
virtual void init();
virtual void collect(class CPlayer *_player);
protected:
2001-05-18 23:03:51 +02:00
virtual int getWeaponSpriteFrame();
2001-03-31 04:05:24 +02:00
};
2001-02-21 01:11:53 +01:00
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PBUBMIX_H__ */
/*===========================================================================
end */