Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_effect_hook.c File Reference
Include dependency graph for sf_effect_hook.c:

Go to the source code of this file.

Typedefs

typedef void(__thiscall * removeFigureEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_id)
typedef void(__thiscall * updateStepCount_ptr) (SF_CGdEffect *_this, uint16_t effect_id)
typedef uint32_t(__thiscall * tryRemoveEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_id)
typedef void(__thiscall * addEffectFromEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_id)
typedef void(__thiscall * addPhysicalFromEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_id)

Functions

void __thiscall effect_trigger_hook (SF_CGdEffect *_this)
void init_effect_hooks ()

Variables

tryRemoveEffect_ptr tryRemoveEffect
removeFigureEffect_ptr removeFigureEffect
updateStepCount_ptr updateStepCount
addEffectFromEffect_ptr addEffectFromEffect
addPhysicalFromEffect_ptr addPhysicalFromEffect

Typedef Documentation

◆ addEffectFromEffect_ptr

typedef void(__thiscall * addEffectFromEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_id)

Definition at line 10 of file sf_effect_hook.c.

◆ addPhysicalFromEffect_ptr

typedef void(__thiscall * addPhysicalFromEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_id)

Definition at line 11 of file sf_effect_hook.c.

◆ removeFigureEffect_ptr

typedef void(__thiscall * removeFigureEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_id)

Definition at line 7 of file sf_effect_hook.c.

◆ tryRemoveEffect_ptr

typedef uint32_t(__thiscall * tryRemoveEffect_ptr) (SF_CGdEffect *_this, uint16_t effect_id)

Definition at line 9 of file sf_effect_hook.c.

◆ updateStepCount_ptr

typedef void(__thiscall * updateStepCount_ptr) (SF_CGdEffect *_this, uint16_t effect_id)

Definition at line 8 of file sf_effect_hook.c.

Function Documentation

◆ effect_trigger_hook()

void __thiscall effect_trigger_hook ( SF_CGdEffect * _this)

Definition at line 20 of file sf_effect_hook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_effect_hooks()

void init_effect_hooks ( )

Definition at line 55 of file sf_effect_hook.c.

Here is the call graph for this function:

Variable Documentation

◆ addEffectFromEffect

addEffectFromEffect_ptr addEffectFromEffect

Definition at line 17 of file sf_effect_hook.c.

◆ addPhysicalFromEffect

addPhysicalFromEffect_ptr addPhysicalFromEffect

Definition at line 18 of file sf_effect_hook.c.

◆ removeFigureEffect

removeFigureEffect_ptr removeFigureEffect

Definition at line 15 of file sf_effect_hook.c.

◆ tryRemoveEffect

tryRemoveEffect_ptr tryRemoveEffect

Definition at line 14 of file sf_effect_hook.c.

◆ updateStepCount

updateStepCount_ptr updateStepCount

Definition at line 16 of file sf_effect_hook.c.