34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
/***
|
|
*
|
|
* 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.
|
|
*
|
|
****/
|
|
|
|
#pragma once
|
|
|
|
#include "particleman.h"
|
|
|
|
class IParticleMan_Active : public IParticleMan
|
|
{
|
|
public:
|
|
IParticleMan_Active();
|
|
|
|
void SetUp(cl_enginefunc_t* pEnginefuncs) override;
|
|
void Update() override;
|
|
void SetVariables(float flGravity, Vector vViewAngles) override;
|
|
void ResetParticles() override;
|
|
void ApplyForce(Vector vOrigin, Vector vDirection, float flRadius, float flStrength, float flDuration) override;
|
|
|
|
CBaseParticle* CreateParticle(Vector org, Vector normal, model_s* sprite, float size, float brightness, const char* classname) override;
|
|
|
|
void SetRender(int iRender) override;
|
|
};
|