3#include <nw4r/types_nw4r.h> 
    7#define NW4R_EF_MAX_EMITTER 1024 
    8#define NW4R_EF_MAX_EFFECT 1024 
    9#define NW4R_EF_MAX_PARTICLEMANAGER 1024 
   10#define NW4R_EF_MAX_PARTICLE 1024 
   13#define NW4R_EF_EMIT_ANGLE_MIN (1.917476e-4f) 
   15#define NW4R_EF_EMIT_ANGLE_MAX (2 * 3.1414969f) 
   20static const ulong NUM_PARAMS = 6;
 
   59typedef ulong ForEachParam;
 
   60typedef void (*ForEachFunc)(
void* pObject, ForEachParam param);
 
   62inline u8 ConvertF32RadToU8(f32 rad) {
 
   63    rad = math::FCeil(rad / NW4R_MATH_PI * 128.0f - 0.5f);
 
   64    return static_cast<int>(rad) % 256;