|
Spellforce-Spell-framework
|
#include "sf_onhit_hook.h"
Go to the source code of this file.
Typedefs | |
| typedef uint16_t(__thiscall * | get_reduced_damage_ptr) (void *AutoClass34, uint16_t source_index, uint16_t target_index, uint16_t unkn) |
| typedef uint16_t(__thiscall * | get_reduced_building_damage_ptr) (void *AutoClass32, uint16_t source_index, uint16_t target_index, uint16_t damage) |
| typedef uint16_t(__thiscall * | get_hit_chance_ptr) (void *AutoClass34, uint16_t source_index, uint16_t target_index) |
| typedef void(__thiscall * | FUN_006c3a60_ptr) (void *AutoClass30, uint16_t source_index, uint16_t target_index, uint8_t unkn, uint32_t unkn2) |
| typedef uint32_t(__thiscall * | FUN_0071d7b0_ptr) (void *CGdObject, uint16_t object_index) |
| typedef uint32_t(__thiscall * | FUN_00755180_ptr) (uint32_t param1) |
| typedef uint32_t(__thiscall * | objectDealDamage_ptr) (void *CGdObjectToolBox, uint16_t source_index, uint16_t target_index, uint16_t damage, uint32_t unknown) |
| typedef uint32_t(__thiscall * | getWeaponEffects_ptr) (void *CGdResource, uint32_t *param1, uint16_t weapon_id) |
Functions | |
| uint16_t __thiscall | getCurrentDex (SF_CGdFigure *_this, uint16_t figure_index) |
| uint16_t __thiscall | getCurrentInt (SF_CGdFigure *_this, uint16_t figure_index) |
| uint16_t | get_effect_chance (uint16_t dex_val, uint16_t int_val, uint16_t spell_line) |
| void | initialize_onhit_data_hooks () |
| void __thiscall | getTargetData (FigureJobData *_this, SF_CGdTargetData *target) |
| bool | isJobDoNothing (uint16_t job_id) |
| bool __thiscall | isFigureJobSpell (SF_CGdFigureJobs *_this, uint16_t figure_id) |
| bool __thiscall | canJobBeInterrupted (FigureJobs job_id) |
| uint16_t __thiscall | getAttackInterruptionChance (SF_CGdFigure *_this, uint16_t source_index, uint16_t target_index) |
| uint16_t __thiscall | handle_riposte_set (SF_CGdFigureJobs *_this, uint16_t source_index, uint16_t target_index, uint16_t weapon_damage) |
| uint16_t __thiscall | handle_berserk_set (SF_CGdFigureJobs *_this, uint16_t source_index, uint16_t target_index, uint16_t weapon_damage) |
| uint16_t __thiscall | handle_trueshot_set (SF_CGdFigureJobs *_this, uint16_t source_index, uint16_t target_index, uint16_t weapon_damage) |
| void __thiscall | sf_onhit_hook (SF_CGdFigureJobs *_this, uint16_t source_index, uint32_t param_2, uint8_t param_3) |
| typedef void(__thiscall * FUN_006c3a60_ptr) (void *AutoClass30, uint16_t source_index, uint16_t target_index, uint8_t unkn, uint32_t unkn2) |
Definition at line 54 of file sf_onhit_hook.c.
| typedef uint32_t(__thiscall * FUN_0071d7b0_ptr) (void *CGdObject, uint16_t object_index) |
Definition at line 58 of file sf_onhit_hook.c.
| typedef uint32_t(__thiscall * FUN_00755180_ptr) (uint32_t param1) |
Definition at line 60 of file sf_onhit_hook.c.
| typedef uint16_t(__thiscall * get_hit_chance_ptr) (void *AutoClass34, uint16_t source_index, uint16_t target_index) |
Definition at line 51 of file sf_onhit_hook.c.
| typedef uint16_t(__thiscall * get_reduced_building_damage_ptr) (void *AutoClass32, uint16_t source_index, uint16_t target_index, uint16_t damage) |
Definition at line 48 of file sf_onhit_hook.c.
| typedef uint16_t(__thiscall * get_reduced_damage_ptr) (void *AutoClass34, uint16_t source_index, uint16_t target_index, uint16_t unkn) |
Definition at line 44 of file sf_onhit_hook.c.
| typedef uint32_t(__thiscall * getWeaponEffects_ptr) (void *CGdResource, uint32_t *param1, uint16_t weapon_id) |
Definition at line 66 of file sf_onhit_hook.c.
| typedef uint32_t(__thiscall * objectDealDamage_ptr) (void *CGdObjectToolBox, uint16_t source_index, uint16_t target_index, uint16_t damage, uint32_t unknown) |
Definition at line 61 of file sf_onhit_hook.c.
| bool __thiscall canJobBeInterrupted | ( | FigureJobs | job_id | ) |
| uint16_t get_effect_chance | ( | uint16_t | dex_val, |
| uint16_t | int_val, | ||
| uint16_t | spell_line ) |
Definition at line 108 of file sf_onhit_hook.c.
| uint16_t __thiscall getAttackInterruptionChance | ( | SF_CGdFigure * | _this, |
| uint16_t | source_index, | ||
| uint16_t | target_index ) |
| uint16_t __thiscall getCurrentDex | ( | SF_CGdFigure * | _this, |
| uint16_t | figure_index ) |
Definition at line 81 of file sf_onhit_hook.c.
| uint16_t __thiscall getCurrentInt | ( | SF_CGdFigure * | _this, |
| uint16_t | figure_index ) |
Definition at line 94 of file sf_onhit_hook.c.
| void __thiscall getTargetData | ( | FigureJobData * | _this, |
| SF_CGdTargetData * | target ) |
| uint16_t __thiscall handle_berserk_set | ( | SF_CGdFigureJobs * | _this, |
| uint16_t | source_index, | ||
| uint16_t | target_index, | ||
| uint16_t | weapon_damage ) |
| uint16_t __thiscall handle_riposte_set | ( | SF_CGdFigureJobs * | _this, |
| uint16_t | source_index, | ||
| uint16_t | target_index, | ||
| uint16_t | weapon_damage ) |
| uint16_t __thiscall handle_trueshot_set | ( | SF_CGdFigureJobs * | _this, |
| uint16_t | source_index, | ||
| uint16_t | target_index, | ||
| uint16_t | weapon_damage ) |
| void initialize_onhit_data_hooks | ( | ) |
Definition at line 118 of file sf_onhit_hook.c.


| bool __thiscall isFigureJobSpell | ( | SF_CGdFigureJobs * | _this, |
| uint16_t | figure_id ) |
| bool isJobDoNothing | ( | uint16_t | job_id | ) |
| void __thiscall sf_onhit_hook | ( | SF_CGdFigureJobs * | _this, |
| uint16_t | source_index, | ||
| uint32_t | param_2, | ||
| uint8_t | param_3 ) |
| FUN_006c3a60_ptr g_FUN_006c3a60 |
Definition at line 72 of file sf_onhit_hook.c.
| FUN_0071d7b0_ptr g_FUN_0071d7b0 |
Definition at line 74 of file sf_onhit_hook.c.
| FUN_00755180_ptr g_FUN_00755180 |
Definition at line 75 of file sf_onhit_hook.c.
| get_hit_chance_ptr g_get_hit_chance |
Definition at line 71 of file sf_onhit_hook.c.
| get_reduced_building_damage_ptr g_get_reduced_building_damage |
Definition at line 73 of file sf_onhit_hook.c.
| get_reduced_damage_ptr g_get_reduced_damage |
Definition at line 70 of file sf_onhit_hook.c.
| getWeaponEffects_ptr g_getWeaponEffects |
Definition at line 77 of file sf_onhit_hook.c.
| objectDealDamage_ptr g_objectDealDamage |
Definition at line 76 of file sf_onhit_hook.c.