Spellforce-Spell-framework
Loading...
Searching...
No Matches
src
internal
core
hooks
sf_damage_hook.h
Go to the documentation of this file.
1
#ifndef SF_DAMAGE_HOOK_H
2
#define SF_DAMAGE_HOOK_H
3
4
#include "
../../../api/sfsf.h
"
5
#include "
../../../asi/sf_asi.h
"
6
7
extern
uint32_t
g_damage_return_addr
;
8
void
__declspec(naked)
sf_damage_hook
();
9
10
#endif
g_damage_return_addr
uint32_t g_damage_return_addr
Definition
sf_damage_hook.c:21
sf_damage_hook
void sf_damage_hook()
Hook function for damage handling in the game. This function intercepts the call to deal damage and r...
Definition
sf_damage_hook.c:131
sf_asi.h
sfsf.h
Generated by
1.12.0