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

Go to the source code of this file.

Functions

void clearAction (SF_SGtFigureAction *_this)
 
bool isSpellAction (SF_SGtFigureAction *_this)
 
uint16_t __thiscall getSector (SF_CGdWorld *_this, SF_Coord *position)
 
uint32_t GetEuclideanDistanceFromRing (int x1, int y1, int x2, int y2, int inner_radius, int outer_radius)
 
uint32_t signum (uint32_t param_1)
 
uint32_t __thiscall rank_support_spell_hook (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
 Injects into the ranking system for a single target AI spell.
 
uint32_t __thiscall rank_offensive_spell_hook (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
 
uint32_t __thiscall avoidance_penalty_hook (SF_CGdBattleDevelopment *_this, uint16_t figure_index)
 
uint32_t __thiscall ai_AOE_hook (SF_CGdBattleDevelopment *_this, SF_Coord cast_pos, uint16_t spell_line, SF_CGdResourceSpell *spell_data)