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-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-02-21 18:13:37 +01:00
|
|
|
int m_pingFrame;
|
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 */
|