upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
@@ -0,0 +1,43 @@
#ifndef _INCLUDED_ASW_BARREL_RADIOACTIVE_H
#define _INCLUDED_ASW_BARREL_RADIOACTIVE_H
#pragma once
#include "props.h"
#include "asw_prop_physics.h"
class CASW_Emitter;
class CASW_Radiation_Volume;
class CASW_Barrel_Radioactive : public CASW_Prop_Physics
{
public:
DECLARE_CLASS( CASW_Barrel_Radioactive, CASW_Prop_Physics );
DECLARE_DATADESC();
virtual void Precache();
CASW_Barrel_Radioactive();
virtual ~CASW_Barrel_Radioactive();
void Spawn( void );
// damage related
virtual int OnTakeDamage( const CTakeDamageInfo &info );
virtual void Event_Killed( const CTakeDamageInfo &info );
virtual void Burst( const CTakeDamageInfo &info );
void InputBurst( inputdata_t &inputdata );
bool m_bBurst;
CHandle<CASW_Emitter> m_hRadJet;
CHandle<CASW_Emitter> m_hRadCloud;
CHandle<CASW_Radiation_Volume> m_hRadVolume;
// sound
virtual void StopLoopingSounds();
virtual void StartRadLoopSound();
CSoundPatch *m_pRadSound;
};
#endif /* _INCLUDED_ASW_BARREL_RADIOACTIVE_H */