SBSPSS/source/pickups/pquest.h

84 lines
1.8 KiB
C
Raw Normal View History

2001-02-21 16:35:38 +01:00
/*=========================================================================
pquest.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PQUEST_H__
#define __PICKUPS_PQUEST_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
2001-05-24 20:21:14 +02:00
class CQuestItemPickup : public CBasePickup
2001-02-21 16:35:38 +01:00
{
public:
virtual void init();
2001-04-02 23:37:20 +02:00
virtual DVECTOR getSizeForPlacement();
2001-02-21 16:35:38 +01:00
virtual void collect(class CPlayer *_player);
2001-06-12 17:41:47 +02:00
protected:
virtual void collidedWith(CThing *_thisThing);
2001-05-24 20:21:14 +02:00
private:
2001-02-21 23:33:17 +01:00
virtual int getVisibilityRadius();
virtual void thinkPickup(int _frames);
virtual void renderPickup(DVECTOR *_pos);
2001-06-01 20:59:33 +02:00
virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_ITEM__LEVEL_ITEM;}
2001-06-12 17:41:47 +02:00
int m_hiddenUntilBossDead;
2001-06-18 22:51:46 +02:00
int m_collected,m_collectedFrameCount;
2001-06-18 21:16:58 +02:00
int m_starSinRotate;
int m_starSinRadius;
int m_starFrame;
2001-06-15 20:04:22 +02:00
int m_starSinR,m_starSinG,m_starSinB;
2001-05-24 20:21:14 +02:00
int m_gfxFrame;
2001-02-21 16:35:38 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PQUEST_H__ */
/*===========================================================================
end */