|
Spellforce-Spell-framework
|
#include "../../api/sfsf.h"#include "../core/sf_modloader.h"#include "../core/sf_wrappers.h"#include "../core/sf_hooks.h"#include <list>

Go to the source code of this file.
Functions | |
| void | register_mod_spells () |
| Registers the mod spells and performs basic conflict checking. | |
| void | register_mod_buildings () |
| uint16_t __thiscall | getSpellTags (uint16_t spell_line_id) |
| uint32_t __thiscall | getBuildingTags (uint8_t building_type) |
| uint8_t __thiscall | getRacialFoodstore (uint8_t race) |
| uint8_t __thiscall | getRacialSmelter (uint8_t race) |
| uint8_t __thiscall | getRacialSawmill (uint8_t race) |
| uint8_t __thiscall | getRacialStonecutter (uint8_t race) |
| uint8_t __thiscall | getRacialWoodcutter (uint8_t race) |
| uint8_t __thiscall | getRacialIronMine (uint8_t race) |
| uint8_t __thiscall | getRacialQuarry (uint8_t race) |
Variables | |
| std::list< SFSpell * > | g_internal_spell_list |
| std::list< SFBuilding * > | g_internal_building_list |
| uint32_t __thiscall getBuildingTags | ( | uint8_t | building_type | ) |
| uint8_t __thiscall getRacialFoodstore | ( | uint8_t | race | ) |
| uint8_t __thiscall getRacialIronMine | ( | uint8_t | race | ) |
| uint8_t __thiscall getRacialQuarry | ( | uint8_t | race | ) |
| uint8_t __thiscall getRacialSawmill | ( | uint8_t | race | ) |
| uint8_t __thiscall getRacialSmelter | ( | uint8_t | race | ) |
| uint8_t __thiscall getRacialStonecutter | ( | uint8_t | race | ) |
| uint8_t __thiscall getRacialWoodcutter | ( | uint8_t | race | ) |
| uint16_t __thiscall getSpellTags | ( | uint16_t | spell_line_id | ) |
| void register_mod_buildings | ( | ) |
Definition at line 607 of file sf_mod_registry.cpp.


| void register_mod_spells | ( | ) |
Registers the mod spells and performs basic conflict checking.
This function iterates over the g_internal_spell_list and claims each spell's spell_id and spell_effect_id through the shared conflict registry, which logs and attributes any clash with a mod that registered the same ID earlier.
Additionally, it registers the spell type handler, spell effect handler, and spell end handler if the SFSpell struct has a non-null handler pointer.
Definition at line 331 of file sf_mod_registry.cpp.


|
extern |
Definition at line 33 of file sf_mod_registry.cpp.
|
extern |
Definition at line 70 of file sf_mod_registry.cpp.