Spellforce-Spell-framework
Loading...
Searching...
No Matches
sfsf.h
Go to the documentation of this file.
1
5#pragma once
10#include "sf_effect_functions.h"
13#include "sf_ai_functions.h"
14
15#include <stdint.h>
16
17typedef void (*initializeModule_ptr)(void *);
18typedef SFMod *(*registerMod_ptr)(void *);
19typedef SFMod *(*createModInfo_ptr)(const char *mod_id, const char *mod_version,
20 const char *mod_author,
21 const char *mod_description);
22
23typedef void (*logInfoFunc)(const char *);
24typedef void (__thiscall *handler_ptr)(SF_CGdSpell *, uint16_t);
25typedef int (__thiscall *refresh_handler_ptr)(SF_CGdSpell *, uint16_t);
26
95
96
Header file for defining AI-related battle functions for managing spellcasting, NPC behavior,...
Group of Structures and Enums used throught SFSF.
void(* logInfoFunc)(const char *)
Definition sfsf.h:23
void(* initializeModule_ptr)(void *)
Definition sfsf.h:17
struct SpellforceSpellFramework * pFrameworkAPI
Definition sfsf.h:98
int(__thiscall * refresh_handler_ptr)(SF_CGdSpell *, uint16_t)
Definition sfsf.h:25
SFMod *(* createModInfo_ptr)(const char *mod_id, const char *mod_version, const char *mod_author, const char *mod_description)
Definition sfsf.h:19
void(__thiscall * handler_ptr)(SF_CGdSpell *, uint16_t)
Definition sfsf.h:24
Group of functions related to AI manipulation.
Group of functions related to Effect manipulation.
Group of functions to manipulate the behavior and statistics of the game figures (units)
Group of functions related to Iteration, Often used for AOE or Chain Like Spells.
A structure dedicated to the registration of spells This structure holds functions that are used to c...
Represents a collection of function pointers for managing spell-related operations.
Represents the Spellforce Spell Framework API.This structure serves as the central interface for inte...
Definition sfsf.h:36
RegistrationFunctions * registrationAPI
Interface for registration-related functions.
Definition sfsf.h:74
ToolboxFunctions * toolboxAPI
Interface for toolbox-related functions.
Definition sfsf.h:54
SFLog * logAPI
Interface for logging functionality. Enables logging of information, warnings, and errors to assist i...
Definition sfsf.h:93
IteratorFunctions * iteratorAPI
Interface for iterator-related functions.
Definition sfsf.h:67
FigureFunctions * figureAPI
Interface for figure-related functions. Facilitates interactions with figures (e.g....
Definition sfsf.h:60
EffectFunctions * effectAPI
Interface for spell effect-related functions. Provides access to functions that allow setting effect ...
Definition sfsf.h:80
AiFunctions * aiAPI
Interface for AI-related functions.
Definition sfsf.h:87
SpellFunctions * spellAPI
Interface for spell-related functions.
Definition sfsf.h:47
createModInfo_ptr createModInfo
Pointer to the function responsible for creating mod information.
Definition sfsf.h:40
Holds most of the Toolbox Functions relevent for custom spells. Includes functions for the manipulati...