Spellforce-Spell-framework
Toggle main menu visibility
Loading...
Searching...
No Matches
sf_ai_hook.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
../../../api/sfsf.h
"
4
#include "
../../../asi/sf_asi.h
"
5
#include "
../../../api/sf_ai_functions.h
"
6
#include "
../../../api/sf_general_structures.h
"
7
#include "
../sf_hooks.h
"
8
#include "
../sf_wrappers.h
"
9
#include "
../../registry/ai_data_registries/sf_ai_single_target_registry.h
"
10
11
12
uint32_t __thiscall
rank_support_spell_hook
(
SF_CGdBattleDevelopment
*_this,
13
uint16_t target_index,
14
uint16_t spell_line,
15
SF_CGdResourceSpell
*spell_data);
16
uint32_t __thiscall
rank_offensive_spell_hook
(
SF_CGdBattleDevelopment
*_this,
17
uint16_t target_index,
18
uint16_t spell_line,
19
SF_CGdResourceSpell
*spell_data);
20
uint32_t __thiscall
avoidance_penalty_hook
(
SF_CGdBattleDevelopment
*_this,
21
uint16_t figure_index);
22
//AoE Offesnsive spells DO use POSITION(!) ~UnSchtalch
23
uint32_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
27
uint32_t __thiscall
ai_AOE2_hook
(
SF_CGdBattleDevelopment
*_this,
28
SF_Coord
*cast_pos, uint16_t spell_line,
29
SF_CGdResourceSpell
*spell_data);
rank_support_spell_hook
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
avoidance_penalty_hook
uint32_t __thiscall avoidance_penalty_hook(SF_CGdBattleDevelopment *_this, uint16_t figure_index)
Definition
sf_ai_hook.c:107
rank_offensive_spell_hook
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
ai_AOE2_hook
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
ai_AOE_hook
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
sf_ai_functions.h
Header file for defining AI-related battle functions for managing spellcasting, NPC behavior,...
sf_ai_single_target_registry.h
sf_asi.h
sf_general_structures.h
Group of Structures and Enums used throught SFSF.
sf_hooks.h
sf_wrappers.h
sfsf.h
SF_CGdBattleDevelopment
High-level structure managing AI battle development.
Definition
sf_ai_structures.h:136
SF_CGdResourceSpell
Definition
sf_spell_functions.h:7
SF_Coord
Definition
sf_general_structures.h:936
src
internal
core
hooks
sf_ai_hook.h
Generated by
1.17.0