7 void Read_Effect(bool is_new);
9 void Send_Effect(entity eff, vector eff_loc, vector eff_vel, int eff_cnt);
10 void Send_Effect_(string eff_name, vector eff_loc, vector eff_vel, int eff_cnt);
13 REGISTRY(Effects, BIT(8))
14 REGISTER_REGISTRY(RegisterEffects)
15 #define EFFECT(istrail, name, realname) \
16 REGISTER(RegisterEffects, EFFECT, Effects, name, m_id, Create_Effect_Entity(realname, istrail));
18 void RegisterEffects_First()
21 #define dedi (server_is_dedicated ? "a dedicated " : "")
26 LOG_TRACEF("Beginning effect initialization on %s%s program...\n", dedi, PROGNAME);
30 void RegisterEffects_Done()
32 LOG_TRACE("Effects initialization successful!\n");
35 // NOW we actually activate the declarations
36 ACCUMULATE_FUNCTION(RegisterEffects, RegisterEffects_First)
37 EFFECT(0, Null, string_null)
39 ACCUMULATE_FUNCTION(RegisterEffects, RegisterEffects_Done)