Spellforce-Spell-framework
Loading...
Searching...
No Matches
Assembly Hooks
Collaboration diagram for Assembly Hooks:

Topics

 Console Hook
 Used for hooking into the Ingame Console.
 
 End Spell Hook
 Used to inject 'endspell' handlers registered by mods and sfsf into spellforce.
 
 AI Hooks
 Hooks and Functions related to AI functionality.
 
 Damage Hook
 
 Menu Hook
 Only Used internally to inject text onto the Main Menu of Spellforce.
 
 On Hit Hook
 Used to inject Onhit Handlers into Spellforce.
 
 Refresh Hook
 Used to inject Spell Refresh Handlers into Spellforce.
 
 Effect Hook
 Used to inject Spell Effect Handlers into Spellforce.
 
 Spell Type Hook
 Used to inject new Spell Types into Spellforce.
 
 SubEffect Hook
 Used to inject sub effects into spellforce.
 
 Utility Hooks
 Hooks for Utility functions not directly related to each other; but not large enough to support their own hook type.
 

Functions

void initialize_data_hooks ()
 Used to initialize all disparate hooks in one place.
 
void initialize_spell_buttons_hooks ()
 
void initialize_beta_hooks ()
 

Variables

SpellFunctions spellAPI
 
EffectFunctions effectAPI
 
ToolboxFunctions toolboxAPI
 
FigureFunctions figureAPI
 
IteratorFunctions iteratorAPI
 
AiFunctions aiAPI
 
RegistrationFunctions registrationAPI
 

Detailed Description

This group contains all the hooks used in SFSF.

See also
initialize_data_hooks()

Function Documentation

◆ initialize_beta_hooks()

void initialize_beta_hooks ( )

Definition at line 502 of file sf_hooks.c.

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

◆ initialize_data_hooks()

void initialize_data_hooks ( )

Used to initialize all disparate hooks in one place.

This function is also used to initalize indiviual function hooks. Individual Function hooks are simply storing a pointer to a function that's within Spellforce. Wrapper Functions grab a pointer from our own codebase.

See also
sf_wrappers.c

Definition at line 51 of file sf_hooks.c.

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

◆ initialize_spell_buttons_hooks()

void initialize_spell_buttons_hooks ( )

Definition at line 477 of file sf_hooks.c.

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

Variable Documentation

◆ aiAPI

AiFunctions aiAPI

Definition at line 41 of file sf_hooks.c.

◆ effectAPI

EffectFunctions effectAPI

Definition at line 37 of file sf_hooks.c.

◆ figureAPI

FigureFunctions figureAPI

Definition at line 39 of file sf_hooks.c.

◆ iteratorAPI

IteratorFunctions iteratorAPI

Definition at line 40 of file sf_hooks.c.

◆ registrationAPI

RegistrationFunctions registrationAPI

Definition at line 42 of file sf_hooks.c.

◆ spellAPI

SpellFunctions spellAPI

Definition at line 36 of file sf_hooks.c.

◆ toolboxAPI

ToolboxFunctions toolboxAPI

Definition at line 38 of file sf_hooks.c.