add hl1,portal,dod source code

This commit is contained in:
nillerusr
2022-04-16 12:05:19 +03:00
parent bc6873014e
commit 23a370d9bb
524 changed files with 174173 additions and 0 deletions
@@ -0,0 +1,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