Spellforce-Spell-framework
Loading...
Searching...
No Matches

Only Used internally to inject text onto the Main Menu of Spellforce. More...

Collaboration diagram for Menu Hook:

Functions

void initialize_menu_data_hooks ()
 
void sf_menu_hook (uint32_t _CAppMenu)
 
bool hasThisAuraRunning (SF_CGdFigureToolbox *_this, uint16_t aura_spell_id, uint16_t figure_id)
 
void sf_click_vertical_button (SF_CUiMain *_this, uint16_t figure_id, uint8_t entity_type, uint16_t target_id, SF_UIElement *element)
 
uint16_t sf_ui_overlay_fix (SF_CGdFigure *_this, void *CGdResource, uint16_t spell_id, uint16_t figure_id)
 
void sf_click_horizontal_button (SF_CUiMain *_this, uint_list_node *param1, SF_UIElement *param2)
 

Variables

cuiVideoSequence_constructor_ptr cuiVideoSequence_constructor
 
CMnuScreen_attach_control_ptr CMnuScreen_attach_control
 
create_option_ptr f_create_menu_option
 
container_add_control_ptr g_container_add_control
 
uint32_t g_menu_return_addr
 
uint32_t g_ui_hook_fix_addr
 
uint32_t g_ui_hook_fix_addr2
 
new_operator_ptr g_new_operator
 
menu_label_constructor_ptr g_menu_label_constructor
 
set_label_flags_ptr g_set_label_flags
 
mnu_label_init_data_ptr g_init_menu_element
 
get_smth_fonts_ptr g_get_smth_fonts
 
menu_label_set_font_ptr g_menu_label_set_font
 
get_font_ptr g_get_font
 
menu_label_set_string_ptr g_menu_label_set_string
 
autoclass113_fun_00a27530_ptr fun_00a27530
 
fun_0086dd60_ptr fun_0086dd60
 
autoclass113_fun_00a278c0_ptr fun_00a278c0
 
fun_00a2a1d0_ptr fun_00a2ald0
 
fun_006a0140_ptr fun_006a0140
 
fun_009a2790_ptr fun_009a2790
 
fun_0069f8d0_ptr fun_0069f8d0
 
fun_0069fb90_ptr fun_0069fb90
 
fun_00a49b10_ptr fun_00a49b10
 
fun_00a28d60_ptr fun_00a28d60
 
fun_009a4020_ptr fun_009a4020
 
vfun164_ptr vfun164
 
vfun163_ptr vfun163
 
vfun41_ptr vfun41
 
getSpellLineIsTargetSelf_ptr getSpellLineIsTargetSelf
 
fun_009a0750_ptr fun_009a0750
 
fun_009de190_ptr fun_009de190
 
fun_0099f610_ptr fun_0099f610
 
fun_009cd1f0_ptr fun_009cd1f0
 
fun_009a1fd0_ptr fun_009a1fd0
 
fun_006f8c06_ptr fun_006f8c06
 
fun_00910de0_ptr fun_00910de0
 
SFSF_ModlistStruct mod_struct
 

Detailed Description

Only Used internally to inject text onto the Main Menu of Spellforce.

Note
The menu functions and general UI elements of Spellforce are poorly understood and may have unknown consequences

Function Documentation

◆ hasThisAuraRunning()

bool hasThisAuraRunning ( SF_CGdFigureToolbox * _this,
uint16_t aura_spell_id,
uint16_t figure_id )

Definition at line 184 of file sf_menu_hook.c.

Here is the caller graph for this function:

◆ initialize_menu_data_hooks()

void initialize_menu_data_hooks ( )

Definition at line 68 of file sf_menu_hook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sf_click_horizontal_button()

void sf_click_horizontal_button ( SF_CUiMain * _this,
uint_list_node * param1,
SF_UIElement * param2 )

Definition at line 291 of file sf_menu_hook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sf_click_vertical_button()

void sf_click_vertical_button ( SF_CUiMain * _this,
uint16_t figure_id,
uint8_t entity_type,
uint16_t target_id,
SF_UIElement * element )

Definition at line 213 of file sf_menu_hook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sf_menu_hook()

void sf_menu_hook ( uint32_t _CAppMenu)

Definition at line 136 of file sf_menu_hook.c.

Here is the call graph for this function:

◆ sf_ui_overlay_fix()

uint16_t sf_ui_overlay_fix ( SF_CGdFigure * _this,
void * CGdResource,
uint16_t spell_id,
uint16_t figure_id )

Definition at line 278 of file sf_menu_hook.c.

Variable Documentation

◆ CMnuScreen_attach_control

CMnuScreen_attach_control_ptr CMnuScreen_attach_control

Definition at line 29 of file sf_menu_hook.c.

◆ cuiVideoSequence_constructor

cuiVideoSequence_constructor_ptr cuiVideoSequence_constructor

Definition at line 28 of file sf_menu_hook.c.

◆ f_create_menu_option

create_option_ptr f_create_menu_option

Definition at line 30 of file sf_menu_hook.c.

◆ fun_0069f8d0

fun_0069f8d0_ptr fun_0069f8d0

Definition at line 50 of file sf_menu_hook.c.

◆ fun_0069fb90

fun_0069fb90_ptr fun_0069fb90

Definition at line 51 of file sf_menu_hook.c.

◆ fun_006a0140

fun_006a0140_ptr fun_006a0140

Definition at line 48 of file sf_menu_hook.c.

◆ fun_006f8c06

fun_006f8c06_ptr fun_006f8c06

Definition at line 65 of file sf_menu_hook.c.

◆ fun_0086dd60

fun_0086dd60_ptr fun_0086dd60

Definition at line 45 of file sf_menu_hook.c.

◆ fun_00910de0

fun_00910de0_ptr fun_00910de0

Definition at line 66 of file sf_menu_hook.c.

◆ fun_0099f610

fun_0099f610_ptr fun_0099f610

Definition at line 61 of file sf_menu_hook.c.

◆ fun_009a0750

fun_009a0750_ptr fun_009a0750

Definition at line 59 of file sf_menu_hook.c.

◆ fun_009a1fd0

fun_009a1fd0_ptr fun_009a1fd0

Definition at line 64 of file sf_menu_hook.c.

◆ fun_009a2790

fun_009a2790_ptr fun_009a2790

Definition at line 49 of file sf_menu_hook.c.

◆ fun_009a4020

fun_009a4020_ptr fun_009a4020

Definition at line 54 of file sf_menu_hook.c.

◆ fun_009cd1f0

fun_009cd1f0_ptr fun_009cd1f0

Definition at line 63 of file sf_menu_hook.c.

◆ fun_009de190

fun_009de190_ptr fun_009de190

Definition at line 60 of file sf_menu_hook.c.

◆ fun_00a27530

Definition at line 44 of file sf_menu_hook.c.

◆ fun_00a278c0

Definition at line 46 of file sf_menu_hook.c.

◆ fun_00a28d60

fun_00a28d60_ptr fun_00a28d60

Definition at line 53 of file sf_menu_hook.c.

◆ fun_00a2ald0

fun_00a2a1d0_ptr fun_00a2ald0

Definition at line 47 of file sf_menu_hook.c.

◆ fun_00a49b10

fun_00a49b10_ptr fun_00a49b10

Definition at line 52 of file sf_menu_hook.c.

◆ g_container_add_control

container_add_control_ptr g_container_add_control

Definition at line 31 of file sf_menu_hook.c.

◆ g_get_font

get_font_ptr g_get_font

Definition at line 41 of file sf_menu_hook.c.

◆ g_get_smth_fonts

get_smth_fonts_ptr g_get_smth_fonts

Definition at line 39 of file sf_menu_hook.c.

◆ g_init_menu_element

mnu_label_init_data_ptr g_init_menu_element

Definition at line 38 of file sf_menu_hook.c.

◆ g_menu_label_constructor

menu_label_constructor_ptr g_menu_label_constructor

Definition at line 36 of file sf_menu_hook.c.

◆ g_menu_label_set_font

menu_label_set_font_ptr g_menu_label_set_font

Definition at line 40 of file sf_menu_hook.c.

◆ g_menu_label_set_string

menu_label_set_string_ptr g_menu_label_set_string

Definition at line 42 of file sf_menu_hook.c.

◆ g_menu_return_addr

uint32_t g_menu_return_addr

Definition at line 32 of file sf_menu_hook.c.

◆ g_new_operator

new_operator_ptr g_new_operator

Definition at line 35 of file sf_menu_hook.c.

◆ g_set_label_flags

set_label_flags_ptr g_set_label_flags

Definition at line 37 of file sf_menu_hook.c.

◆ g_ui_hook_fix_addr

uint32_t g_ui_hook_fix_addr

Definition at line 33 of file sf_menu_hook.c.

◆ g_ui_hook_fix_addr2

uint32_t g_ui_hook_fix_addr2

Definition at line 34 of file sf_menu_hook.c.

◆ getSpellLineIsTargetSelf

getSpellLineIsTargetSelf_ptr getSpellLineIsTargetSelf

Definition at line 58 of file sf_menu_hook.c.

◆ mod_struct

SFSF_ModlistStruct mod_struct

Definition at line 134 of file sf_menu_hook.c.

◆ vfun163

vfun163_ptr vfun163

Definition at line 56 of file sf_menu_hook.c.

◆ vfun164

vfun164_ptr vfun164

Definition at line 55 of file sf_menu_hook.c.

◆ vfun41

vfun41_ptr vfun41

Definition at line 57 of file sf_menu_hook.c.