Spellforce-Spell-framework
Loading...
Searching...
No Matches
sfsf.h
Go to the documentation of this file.
1
4
5#pragma once
10#include "sf_effect_functions.h"
13#include "sf_ai_functions.h"
14#include "sf_ui_functions.h"
16#include <stdint.h>
17
18#define SPELLFRAMEWORK_VERSION_MAJOR 5
19#define SPELLFRAMEWORK_VERSION_MINOR 0
20#define SPELLFRAMEWORK_VERSION_PATCH 0
21#define CONFIG_FILE "sfsf.ini"
22typedef void (*initializeModule_ptr)(void *);
23typedef SFMod *(*registerMod_ptr)(void *);
24typedef SFMod *(*createModInfo_ptr)(const char *mod_id,
25 const char *mod_version,
26 const char *mod_author,
27 const char *mod_description);
28
29typedef void (*logInfoFunc)(const char *);
30typedef void (__thiscall *handler_ptr)(SF_CGdSpell *, uint16_t);
31typedef int (__thiscall *refresh_handler_ptr)(SF_CGdSpell *, uint16_t);
32
110
111
Header file for defining AI-related battle functions for managing spellcasting, NPC behavior,...
Header file for defining Visual Effects.
Group of Structures and Enums used throught SFSF.
Header file for defining User Interface.
void(* logInfoFunc)(const char *)
Definition sfsf.h:29
struct SpellforceSpellFramework FrameworkAPI
Definition sfsf.h:112
void(* initializeModule_ptr)(void *)
Definition sfsf.h:22
struct SpellforceSpellFramework * pFrameworkAPI
Definition sfsf.h:113
int(__thiscall * refresh_handler_ptr)(SF_CGdSpell *, uint16_t)
Definition sfsf.h:31
SFMod *(* createModInfo_ptr)(const char *mod_id, const char *mod_version, const char *mod_author, const char *mod_description)
Definition sfsf.h:24
void(__thiscall * handler_ptr)(SF_CGdSpell *, uint16_t)
Definition sfsf.h:30
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:42
RegistrationFunctions * registrationAPI
Interface for registration-related functions.
Definition sfsf.h:87
ToolboxFunctions * toolboxAPI
Interface for toolbox-related functions.
Definition sfsf.h:67
SFLog * logAPI
Interface for logging functionality. Enables logging of information, warnings, and errors to assist i...
Definition sfsf.h:106
IteratorFunctions * iteratorAPI
Interface for iterator-related functions.
Definition sfsf.h:80
UiFunctions * uiAPI
Interface for UI related functions. Provides functions for manipulating user interface,...
Definition sfsf.h:60
BuildingFunctions * buildingAPI
Definition sfsf.h:108
FigureFunctions * figureAPI
Interface for figure-related functions. Facilitates interactions with figures (e.g....
Definition sfsf.h:73
EffectFunctions * effectAPI
Interface for spell effect-related functions. Provides access to functions that allow setting effect ...
Definition sfsf.h:93
AiFunctions * aiAPI
Interface for AI-related functions.
Definition sfsf.h:100
SpellFunctions * spellAPI
Interface for spell-related functions.
Definition sfsf.h:53
createModInfo_ptr createModInfo
Pointer to the function responsible for creating mod information.
Definition sfsf.h:46
Holds most of the Toolbox Functions relevent for custom spells. Includes functions for the manipulati...
Group of functions related to UI manipulation.