SBSPSS/source/pickups/pglasses.h

75 lines
1.5 KiB
C
Raw Normal View History

2001-06-13 18:59:29 +02:00
asddsasadsaasd
2001-02-21 15:54:40 +01:00
/*=========================================================================
pglasses.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PGLASSES_H__
#define __PICKUPS_PGLASSES_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CGlassesPickup : public CBasePickup
{
public:
2001-02-23 22:40:22 +01:00
virtual void init();
2001-04-02 23:37:20 +02:00
virtual DVECTOR getSizeForPlacement();
2001-02-21 15:54:40 +01:00
virtual void collect(class CPlayer *_player);
2001-02-21 23:33:17 +01:00
protected:
2001-02-23 22:40:22 +01:00
virtual void thinkPickup(int _frames);
2001-02-21 23:33:17 +01:00
virtual void renderPickup(DVECTOR *_pos);
2001-02-23 22:40:22 +01:00
private:
2001-06-01 20:59:33 +02:00
virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_GLASSES_ON;}
2001-02-23 22:40:22 +01:00
int m_glint;
2001-03-29 22:53:10 +02:00
int m_glintRot;
2001-02-23 22:40:22 +01:00
2001-02-21 15:54:40 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PGLASSES_H__ */
/*===========================================================================
end */