SBSPSS/source/pickups/pjlammo.h

78 lines
1.6 KiB
C
Raw Normal View History

2001-02-21 00:41:36 +01:00
/*=========================================================================
pjlammo.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PJLAMMO_H__
#define __PICKUPS_PJLAMMO_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CJellyLauncherAmmoPickup : public CBasePickup
{
public:
virtual void init();
2001-04-02 23:37:20 +02:00
virtual DVECTOR getSizeForPlacement();
2001-02-21 00:41:36 +01:00
virtual void collect(class CPlayer *_player);
2001-02-21 23:33:17 +01:00
protected:
virtual void thinkPickup(int _frames);
virtual void renderPickup(DVECTOR *_pos);
2001-02-21 00:41:36 +01:00
private:
int m_rattle;
};
2001-05-18 23:03:51 +02:00
class CJellyLauncherPickup : public CBaseWeaponSimplePickup
2001-04-26 23:19:53 +02:00
{
public:
virtual void init();
virtual void collect(class CPlayer *_player);
protected:
2001-05-18 23:03:51 +02:00
virtual int getWeaponSpriteFrame();
2001-04-26 23:19:53 +02:00
};
2001-02-21 00:41:36 +01:00
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PJLAMMO_H__ */
/*===========================================================================
end */