#pragma once

#include "effect.qh"

#ifdef SVQC
void Send_Effect_Except(entity eff, vector eff_loc, vector eff_vel, int eff_cnt, vector eff_col_min, vector eff_col_max, entity ignore);
void Send_Effect(entity eff, vector eff_loc, vector eff_vel, int eff_cnt);
void Send_Effect_(string eff_name, vector eff_loc, vector eff_vel, int eff_cnt);
#endif

REGISTRY(Effects, BITS(8))
REGISTER_REGISTRY(Effects)
REGISTRY_CHECK(Effects)
#define EFFECT(istrail, name, realname) \
    REGISTER(Effects, EFFECT, name, m_id, Create_Effect_Entity(realname, istrail));

EFFECT(0, Null, string_null)
REGISTRY_DEFINE_GET(Effects, EFFECT_Null)
#include "all.inc"
