2001-03-30 21:59:11 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pblower.h
|
|
|
|
|
|
|
|
Author: PKG
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PICKUPS_PBLOWER_H__
|
|
|
|
#define __PICKUPS_PBLOWER_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 CCoralBlowerPickup : public CBaseWeaponSimplePickup
|
2001-03-30 21:59:11 +02:00
|
|
|
{
|
|
|
|
public:
|
2001-04-20 18:57:05 +02:00
|
|
|
virtual void init();
|
2001-03-30 21:59:11 +02:00
|
|
|
virtual void collect(class CPlayer *_player);
|
|
|
|
|
|
|
|
protected:
|
2001-05-18 23:03:51 +02:00
|
|
|
virtual int getWeaponSpriteFrame();
|
2001-03-30 21:59:11 +02:00
|
|
|
|
2001-06-01 20:59:33 +02:00
|
|
|
private:
|
|
|
|
virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_ITEM__CORAL_BLOWER;}
|
2001-03-30 21:59:11 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Globals
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Functions
|
|
|
|
--------- */
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#endif /* __PICKUPS_PBLOWER_H__ */
|
|
|
|
|
|
|
|
/*===========================================================================
|
|
|
|
end */
|