blob: 47448705f006be1bf963e5179917db74459c409d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Base class for simple projectiles
//
// $NoKeywords: $
//=============================================================================//
#ifndef CBASEANIMATINGPROJECTILE_H
#define CBASEANIMATINGPROJECTILE_H
#ifdef _WIN32
#pragma once
#endif
enum MoveType_t;
enum MoveCollide_t;
//=============================================================================
//=============================================================================
class CBaseAnimatingProjectile : public CBaseAnimating
{
DECLARE_DATADESC();
DECLARE_CLASS( CBaseAnimatingProjectile, CBaseAnimating );
public:
void Touch( CBaseEntity *pOther );
void Spawn( char *pszModel,
const Vector &vecOrigin,
const Vector &vecVelocity,
edict_t *pOwner,
MoveType_t iMovetype,
MoveCollide_t nMoveCollide,
int iDamage,
int iDamageType );
virtual void Precache( void ) {};
int m_iDmg;
int m_iDmgType;
};
#endif // CBASEANIMATINGPROJECTILE_H
|