Spellforce-Spell-framework
|
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "sf_wrappers.h"
#include "sf_hooks.h"
#include "hooks/sf_menu_hook.h"
#include "hooks/sf_console_hook.h"
#include "../registry/sf_mod_registry.h"
Go to the source code of this file.
Functions | |
void | initialize_wrapper_data_hooks () |
void | log_message (const char *filename, const char *message) |
void | log_warning (const char *message) |
void | log_info (const char *message) |
void | log_error (const char *message) |
SFLog * | setup_logger () |
bool __thiscall | isActionMelee (SF_SGtFigureAction *_this) |
void __thiscall | setupFigureIterator (CGdFigureIterator *iterator, SF_CGdSpell *spell) |
bool __thiscall | hasSpellTag (uint16_t spell_id, SpellTag tag) |
uint32_t | getDistance (SF_Coord *pointA, SF_Coord *pointB) |
void __thiscall | disposeFigureIterator (CGdFigureIterator *iterator) |
void __thiscall | spellEffectCallback (SF_CGdSpell *_this, uint16_t source_index, uint16_t spell_index, bool(*condition)(SF_CGdSpell *_this, uint16_t source_index, uint16_t spell_index), void(*callback)(SF_CGdSpell *_this, uint16_t source_index, uint16_t spell_index)) |
void __thiscall | addBonusMultToStatistic (SF_CGdFigure *figure, StatisticDataKey key, uint16_t target, int8_t value) |
void __thiscall | spellClearFigureFlag (SF_CGdSpell *_this, uint16_t spell_id, SpellFlagKey key) |
bool __thiscall | hasAuraActive (SF_CGdFigureToolbox *_this, uint16_t figure_id) |
CMnuLabel *__thiscall | attach_new_label (CMnuLabel *label_ptr, CMnuContainer *parent, char *label_chars, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height) |
void | wrap_text (const char *input, char *output, size_t max_width) |
void | attach_mod_labels (CMnuContainer *container, int mods_per_page, int page) |
void __fastcall | navigate_callback_left (CMnuSmpButton *button, int32_t *cui_menu_ptr_maybe) |
void __fastcall | navigate_callback_right (CMnuSmpButton *button, int32_t *cui_menu_ptr_maybe) |
void __thiscall | show_mod_list (CMnuSmpButton *button) |
void __fastcall | show_mod_list_callback (CMnuSmpButton *button, int32_t *cui_menu_ptr_maybe) |
void __thiscall | attach_new_button (CMnuContainer *parent, char *button_mesh_default, char *button_mesh_pressed, char *button_initial_load_mesh, char *button_mesh_disabled, char *label_char, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height, int button_index, uint32_t callback_func_ptr) |
CMnuLabel *__thiscall | attach_new_meshed_label (CMnuLabel *new_label, CMnuContainer *parent, char *mesh_char, char *label_char, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height) |
uint16_t __thiscall | sf_get_spell_id (SF_CGdSpell *_this, uint16_t spell_index) |
SFMod * | createModInfo (const char *mod_id, const char *mod_version, const char *mod_author, const char *mod_description) |
void | attachVideo (CAppMenu *CAppMenu_ptr, CMnuContainer *parent, char *video_loc_and_name_chars) |