OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SpellFxRenderer Struct Reference

#include <SpellFxRenderer.h>

Public Member Functions

 SpellFxRenderer (std::shared_ptr< ParticleEngine > particle_engine)
 
 ~SpellFxRenderer ()
 
void DoAddProjectile (float srcX, float srcY, float srcZ, float dstX, float dstY, float dstZ, GraphicsImage *)
 
void DrawProjectiles ()
 
void _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc (SpriteObject *a2, Color uDiffuse, GraphicsImage *texture)
 
void _4A75CC_single_spell_collision_particle (SpriteObject *a1, Color uDiffuse, GraphicsImage *texture)
 
void _4A7688_fireball_collision_particle (SpriteObject *a2)
 
void _4A77FD_implosion_particle_d3d (SpriteObject *a1)
 
void _4A7948_mind_blast_after_effect (SpriteObject *a1)
 
bool AddMobileLight (SpriteObject *a1, Color uDiffuse, int uRadius)
 
void _4A7A66_miltiple_spell_collision_partifles___like_after_sparks_or_lightning (SpriteObject *a1, Color uDiffuse, GraphicsImage *texture, float a4)
 
void _4A7C07_stun_spell_fx (SpriteObject *a2)
 
void AddProjectile (SpriteObject *a2, int a3, GraphicsImage *)
 
void sparklesOnActorAfterItCastsBuff (Actor *pActor, Color uDiffuse)
 
void _4A7F74 (int x, int y, int z)
 
float _4A806F_get_mass_distortion_value (Actor *pActor)
 
bool RenderAsSprite (SpriteObject *a2)
 
void SetPlayerBuffAnim (SpellId uSpellID, uint16_t uPlayerID)
 
void SetPartyBuffAnim (SpellId uSpellID)
 
void FadeScreen__like_Turn_Undead_and_mb_Armageddon (Color uDiffuseColor, Duration uFadeTime)
 
void _4A8BFC_prismatic_light ()
 
void RenderSpecialEffects ()
 
void DrawPlayerBuffAnims ()
 
void LoadAnimations ()
 

Public Attributes

int field_0
 
stru6_stru2 array_4 [32]
 
int field_204
 
std::array< PlayerBuffAnim, 4 > pCharacterBuffs
 
std::array< ProjectileAnim, 32 > pProjectiles
 
int uNumProjectiles
 
SpellFX_Billboard_spellFXSphereInstance
 
int field_5D0
 
Duration uAnimLength
 
Duration uFadeTime
 
Duration uFadeLength
 
Color uFadeColor
 
GraphicsImageeffpar01
 
GraphicsImageeffpar02
 
GraphicsImageeffpar03
 
unsigned int _unused_uSpriteID_sp57c
 
int field_5F4
 
std::shared_ptr< ParticleEngineparticle_engine = nullptr
 

Constructor & Destructor Documentation

◆ SpellFxRenderer()

SpellFxRenderer::SpellFxRenderer ( std::shared_ptr< ParticleEngine particle_engine)
inlineexplicit
Original binary offset:
0x4A7155

◆ ~SpellFxRenderer()

SpellFxRenderer::~SpellFxRenderer ( )
inline
Original binary offset:
0x4A71DC

Member Function Documentation

◆ _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc()

void SpellFxRenderer::_4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc ( SpriteObject a2,
Color  uDiffuse,
GraphicsImage texture 
)

◆ _4A75CC_single_spell_collision_particle()

void SpellFxRenderer::_4A75CC_single_spell_collision_particle ( SpriteObject a1,
Color  uDiffuse,
GraphicsImage texture 
)

◆ _4A7688_fireball_collision_particle()

void SpellFxRenderer::_4A7688_fireball_collision_particle ( SpriteObject a2)

◆ _4A77FD_implosion_particle_d3d()

void SpellFxRenderer::_4A77FD_implosion_particle_d3d ( SpriteObject a1)

◆ _4A7948_mind_blast_after_effect()

void SpellFxRenderer::_4A7948_mind_blast_after_effect ( SpriteObject a1)

◆ _4A7A66_miltiple_spell_collision_partifles___like_after_sparks_or_lightning()

void SpellFxRenderer::_4A7A66_miltiple_spell_collision_partifles___like_after_sparks_or_lightning ( SpriteObject a1,
Color  uDiffuse,
GraphicsImage texture,
float  a4 
)

◆ _4A7C07_stun_spell_fx()

void SpellFxRenderer::_4A7C07_stun_spell_fx ( SpriteObject a2)

◆ _4A7F74()

void SpellFxRenderer::_4A7F74 ( int  x,
int  y,
int  z 
)

◆ _4A806F_get_mass_distortion_value()

float SpellFxRenderer::_4A806F_get_mass_distortion_value ( Actor pActor)

◆ _4A8BFC_prismatic_light()

void SpellFxRenderer::_4A8BFC_prismatic_light ( )

◆ AddMobileLight()

bool SpellFxRenderer::AddMobileLight ( SpriteObject a1,
Color  uDiffuse,
int  uRadius 
)

◆ AddProjectile()

void SpellFxRenderer::AddProjectile ( SpriteObject a2,
int  a3,
GraphicsImage texture 
)

◆ DoAddProjectile()

void SpellFxRenderer::DoAddProjectile ( float  srcX,
float  srcY,
float  srcZ,
float  dstX,
float  dstY,
float  dstZ,
GraphicsImage texture 
)

◆ DrawPlayerBuffAnims()

void SpellFxRenderer::DrawPlayerBuffAnims ( )

◆ DrawProjectiles()

void SpellFxRenderer::DrawProjectiles ( )

◆ FadeScreen__like_Turn_Undead_and_mb_Armageddon()

void SpellFxRenderer::FadeScreen__like_Turn_Undead_and_mb_Armageddon ( Color  uDiffuseColor,
Duration  uFadeTime 
)

◆ LoadAnimations()

void SpellFxRenderer::LoadAnimations ( )

◆ RenderAsSprite()

bool SpellFxRenderer::RenderAsSprite ( SpriteObject a2)

◆ RenderSpecialEffects()

void SpellFxRenderer::RenderSpecialEffects ( )

◆ SetPartyBuffAnim()

void SpellFxRenderer::SetPartyBuffAnim ( SpellId  uSpellID)

◆ SetPlayerBuffAnim()

void SpellFxRenderer::SetPlayerBuffAnim ( SpellId  uSpellID,
uint16_t  uPlayerID 
)

◆ sparklesOnActorAfterItCastsBuff()

void SpellFxRenderer::sparklesOnActorAfterItCastsBuff ( Actor pActor,
Color  uDiffuse 
)
Original binary offset:
0x4A7E89

Member Data Documentation

◆ _spellFXSphereInstance

SpellFX_Billboard* SpellFxRenderer::_spellFXSphereInstance

◆ _unused_uSpriteID_sp57c

unsigned int SpellFxRenderer::_unused_uSpriteID_sp57c

◆ array_4

stru6_stru2 SpellFxRenderer::array_4[32]

◆ effpar01

GraphicsImage* SpellFxRenderer::effpar01

◆ effpar02

GraphicsImage* SpellFxRenderer::effpar02

◆ effpar03

GraphicsImage* SpellFxRenderer::effpar03

◆ field_0

int SpellFxRenderer::field_0

◆ field_204

int SpellFxRenderer::field_204

◆ field_5D0

int SpellFxRenderer::field_5D0

◆ field_5F4

int SpellFxRenderer::field_5F4

◆ particle_engine

std::shared_ptr<ParticleEngine> SpellFxRenderer::particle_engine = nullptr

◆ pCharacterBuffs

std::array<PlayerBuffAnim, 4> SpellFxRenderer::pCharacterBuffs

◆ pProjectiles

std::array<ProjectileAnim, 32> SpellFxRenderer::pProjectiles

◆ uAnimLength

Duration SpellFxRenderer::uAnimLength

◆ uFadeColor

Color SpellFxRenderer::uFadeColor

◆ uFadeLength

Duration SpellFxRenderer::uFadeLength

◆ uFadeTime

Duration SpellFxRenderer::uFadeTime

◆ uNumProjectiles

int SpellFxRenderer::uNumProjectiles

The documentation for this struct was generated from the following files: