Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_ai_hook.h
Go to the documentation of this file.
1#pragma once
2
3#include "../../../api/sfsf.h"
7#include "../sf_hooks.h"
8#include "../sf_wrappers.h"
10
11
12uint32_t __thiscall rank_support_spell_hook(SF_CGdBattleDevelopment *_this,
13 uint16_t target_index,
14 uint16_t spell_line,
15 SF_CGdResourceSpell *spell_data);
16uint32_t __thiscall rank_offensive_spell_hook(SF_CGdBattleDevelopment *_this,
17 uint16_t target_index,
18 uint16_t spell_line,
19 SF_CGdResourceSpell *spell_data);
20uint32_t __thiscall avoidance_penalty_hook(SF_CGdBattleDevelopment *_this,
21 uint16_t figure_index);
22//AoE Offesnsive spells DO use POSITION(!) ~UnSchtalch
23uint32_t __thiscall ai_AOE_hook(SF_CGdBattleDevelopment *_this,
24 SF_Coord cast_pos, uint16_t spell_line,
25 SF_CGdResourceSpell *spell_data);
26//AoE support spells DO use POSITION POINTER ~UnSchtalch
27uint32_t __thiscall ai_AOE2_hook(SF_CGdBattleDevelopment *_this,
28 SF_Coord *cast_pos, uint16_t spell_line,
29 SF_CGdResourceSpell *spell_data);
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.
Definition sf_ai_hook.c:69
uint32_t __thiscall avoidance_penalty_hook(SF_CGdBattleDevelopment *_this, uint16_t figure_index)
Definition sf_ai_hook.c:107
uint32_t __thiscall rank_offensive_spell_hook(SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
Definition sf_ai_hook.c:86
uint32_t __thiscall ai_AOE2_hook(SF_CGdBattleDevelopment *_this, SF_Coord *cast_pos, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
Definition sf_ai_hook.c:135
uint32_t __thiscall ai_AOE_hook(SF_CGdBattleDevelopment *_this, SF_Coord cast_pos, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
Definition sf_ai_hook.c:143
Header file for defining AI-related battle functions for managing spellcasting, NPC behavior,...
Group of Structures and Enums used throught SFSF.
High-level structure managing AI battle development.