2001-02-21 21:45:34 +01:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
phelmet.h
|
|
|
|
|
|
|
|
Author: PKG
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PICKUPS_PHELMET_H__
|
|
|
|
#define __PICKUPS_PHELMET_H__
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Includes
|
|
|
|
-------- */
|
|
|
|
|
|
|
|
#ifndef __PICKUPS_PICKUP_H__
|
|
|
|
#include "pickups/pickup.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Std Lib
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Tyepdefs && Defines
|
|
|
|
------------------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Structure defintions
|
|
|
|
-------------------- */
|
|
|
|
|
|
|
|
class CHelmetPickup : public CBasePickup
|
|
|
|
{
|
|
|
|
public:
|
2001-04-20 18:57:05 +02:00
|
|
|
virtual void init();
|
2001-05-17 20:42:59 +02:00
|
|
|
virtual int dontKillDuringLevelRespawn() {return true;}
|
2001-04-02 23:37:20 +02:00
|
|
|
virtual DVECTOR getSizeForPlacement();
|
2001-02-21 21:45:34 +01:00
|
|
|
virtual void collect(class CPlayer *_player);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void renderPickup(DVECTOR *_pos);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Globals
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Functions
|
|
|
|
--------- */
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#endif /* __PICKUPS_PHELMET_H__ */
|
|
|
|
|
|
|
|
/*===========================================================================
|
|
|
|
end */
|