SBSPSS/source/pickups/pspatula.h

78 lines
1.7 KiB
C
Raw Normal View History

2001-02-20 23:53:35 +01:00
/*=========================================================================
pspatula.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PSPATULA_H__
#define __PICKUPS_PSPATULA_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
2001-04-19 22:46:43 +02:00
#ifndef __GFX_OTPOS_H__
#include "gfx\otpos.h"
#endif
2001-02-20 23:53:35 +01:00
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CSpatulaPickup : public CBasePickup
{
public:
virtual void init();
2001-04-02 23:37:20 +02:00
virtual DVECTOR getSizeForPlacement();
2001-02-20 23:53:35 +01:00
virtual void collect(class CPlayer *_player);
2001-05-09 22:15:01 +02:00
void setSpatulaNumber(int _number) {m_spatulaNumber=_number;}
2001-02-21 23:33:17 +01:00
protected:
virtual void thinkPickup(int _frames);
virtual void renderPickup(DVECTOR *_pos);
2001-02-20 23:53:35 +01:00
private:
2001-06-11 17:43:36 +02:00
// virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_ITEM__SKILL_ITEM;}
2001-06-01 20:59:33 +02:00
2001-02-20 23:53:35 +01:00
int m_glint;
2001-03-29 22:53:10 +02:00
int m_glintRot;
2001-05-09 22:15:01 +02:00
int m_spatulaNumber;
2001-02-20 23:53:35 +01:00
};
2001-06-14 17:19:57 +02:00
2001-02-20 23:53:35 +01:00
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PSPATULA_H__ */
/*===========================================================================
end */