Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_registration_structures.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include "../sf_general_structures.h"
Include dependency graph for sf_registration_structures.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SFSpell
struct  SFBuilding

Typedefs

typedef uint16_t(__thiscall * damage_handler_ptr) (SF_CGdFigureToolbox *_toolbox, uint16_t source, uint16_t target, uint16_t current_damage, uint16_t is_spell_damage, uint32_t is_ranged_damage, uint16_t spell_id)
typedef void(__thiscall * handler_ptr) (SF_CGdSpell *, uint16_t)
typedef uint32_t(__thiscall * ai_aoe_handler_ptr) (SF_CGdBattleDevelopment *_this, SF_Coord *position, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
typedef uint32_t(__thiscall * ai_single_handler_ptr) (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)
typedef uint32_t(__thiscall * ai_avoidance_handler_ptr) (CGdAIBattleData *_this, uint16_t figure_index, uint16_t spell_line)
typedef uint16_t(__thiscall * onhit_handler_ptr) (SF_CGdFigureJobs *, uint16_t source, uint16_t target, uint16_t damage)
typedef int(__thiscall * refresh_handler_ptr) (SF_CGdSpell *, uint16_t)
typedef uint16_t(__thiscall * phys_effect_handler_ptr) (SF_CGdEffect *_this, uint16_t source, uint16_t target, bool *isSpellDamage, uint16_t damage)
typedef uint16_t(__thiscall * enchant_handler_ptr) (SF_CGdFigure *_this, uint16_t figure_id)
typedef void(__thiscall * building_done_handler_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_index)
typedef void(__thiscall * building_entry_handler_ptr) (SF_CGdFigureJobs *_this, uint16_t figure_id, uint16_t building_id)

Typedef Documentation

◆ ai_aoe_handler_ptr

typedef uint32_t(__thiscall * ai_aoe_handler_ptr) (SF_CGdBattleDevelopment *_this, SF_Coord *position, uint16_t spell_line, SF_CGdResourceSpell *spell_data)

Definition at line 11 of file sf_registration_structures.h.

◆ ai_avoidance_handler_ptr

typedef uint32_t(__thiscall * ai_avoidance_handler_ptr) (CGdAIBattleData *_this, uint16_t figure_index, uint16_t spell_line)

Definition at line 15 of file sf_registration_structures.h.

◆ ai_single_handler_ptr

typedef uint32_t(__thiscall * ai_single_handler_ptr) (SF_CGdBattleDevelopment *_this, uint16_t target_index, uint16_t spell_line, SF_CGdResourceSpell *spell_data)

Definition at line 13 of file sf_registration_structures.h.

◆ building_done_handler_ptr

typedef void(__thiscall * building_done_handler_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_index)

Definition at line 25 of file sf_registration_structures.h.

◆ building_entry_handler_ptr

typedef void(__thiscall * building_entry_handler_ptr) (SF_CGdFigureJobs *_this, uint16_t figure_id, uint16_t building_id)

Definition at line 26 of file sf_registration_structures.h.

◆ damage_handler_ptr

typedef uint16_t(__thiscall * damage_handler_ptr) (SF_CGdFigureToolbox *_toolbox, uint16_t source, uint16_t target, uint16_t current_damage, uint16_t is_spell_damage, uint32_t is_ranged_damage, uint16_t spell_id)

Definition at line 6 of file sf_registration_structures.h.

◆ enchant_handler_ptr

typedef uint16_t(__thiscall * enchant_handler_ptr) (SF_CGdFigure *_this, uint16_t figure_id)

Definition at line 23 of file sf_registration_structures.h.

◆ handler_ptr

typedef void(__thiscall * handler_ptr) (SF_CGdSpell *, uint16_t)

Definition at line 10 of file sf_registration_structures.h.

◆ onhit_handler_ptr

typedef uint16_t(__thiscall * onhit_handler_ptr) (SF_CGdFigureJobs *, uint16_t source, uint16_t target, uint16_t damage)

Definition at line 17 of file sf_registration_structures.h.

◆ phys_effect_handler_ptr

typedef uint16_t(__thiscall * phys_effect_handler_ptr) (SF_CGdEffect *_this, uint16_t source, uint16_t target, bool *isSpellDamage, uint16_t damage)

Definition at line 20 of file sf_registration_structures.h.

◆ refresh_handler_ptr

typedef int(__thiscall * refresh_handler_ptr) (SF_CGdSpell *, uint16_t)

Definition at line 18 of file sf_registration_structures.h.