hlsdk-xash3d/dlls/items.h

34 lines
928 B
C
Raw Normal View History

2016-06-05 00:13:05 +02:00
/***
*
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* object code is restricted to non-commercial enhancements to products from
* Valve LLC. All other use, distribution, or modification is prohibited
* without written permission from Valve LLC.
*
****/
#ifndef ITEMS_H
#define ITEMS_H
class CItem : public CBaseEntity
{
public:
2016-07-31 15:48:50 +02:00
void Spawn( void );
CBaseEntity *Respawn( void );
void EXPORT ItemTouch( CBaseEntity *pOther );
void EXPORT Materialize( void );
virtual BOOL MyTouch( CBasePlayer *pPlayer )
{
return FALSE;
};
2016-06-05 00:13:05 +02:00
virtual float TouchGravGun( CBaseEntity *attacker, int stage);
2016-08-17 14:20:18 +02:00
Vector m_SpawnPoint;
2016-08-18 19:49:35 +02:00
Vector m_SpawnAngles;
2016-06-05 00:13:05 +02:00
};
#endif // ITEMS_H