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
uint32_t g_menu_return_addr
uint32_t g_ui_hook_fix_addr
uint32_t g_ui_hook_fix_addr2
uint32_t g_sf_enchant_addr
uint32_t g_sf_enchant_addr2
set_label_flags_ptr g_set_label_flags
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
CMnuSmpButtonshow_mod_list_button
CMnuSmpButtonopen_campaign_screen
SFSF_ModlistStruct mod_struct
CMnuLabelsfsf_version_label

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 192 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 66 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 286 of file sf_menu_hook.c.

Here is the call 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 216 of file sf_menu_hook.c.

Here is the call graph for this function:

◆ sf_menu_hook()

void sf_menu_hook ( uint32_t _CAppMenu)

Definition at line 121 of file sf_menu_hook.c.

Here is the call graph for this function:
Here is the caller 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 273 of file sf_menu_hook.c.

Variable Documentation

◆ CMnuScreen_attach_control

CMnuScreen_attach_control_ptr CMnuScreen_attach_control

Definition at line 32 of file sf_menu_hook.c.

◆ cuiVideoSequence_constructor

cuiVideoSequence_constructor_ptr cuiVideoSequence_constructor

Definition at line 31 of file sf_menu_hook.c.

◆ f_create_menu_option

create_option_ptr f_create_menu_option

Definition at line 33 of file sf_menu_hook.c.

◆ fun_0069f8d0

fun_0069f8d0_ptr fun_0069f8d0

Definition at line 47 of file sf_menu_hook.c.

◆ fun_0069fb90

fun_0069fb90_ptr fun_0069fb90

Definition at line 48 of file sf_menu_hook.c.

◆ fun_006a0140

fun_006a0140_ptr fun_006a0140

Definition at line 45 of file sf_menu_hook.c.

◆ fun_006f8c06

fun_006f8c06_ptr fun_006f8c06

Definition at line 62 of file sf_menu_hook.c.

◆ fun_0086dd60

fun_0086dd60_ptr fun_0086dd60

Definition at line 42 of file sf_menu_hook.c.

◆ fun_00910de0

fun_00910de0_ptr fun_00910de0

Definition at line 63 of file sf_menu_hook.c.

◆ fun_0099f610

fun_0099f610_ptr fun_0099f610

Definition at line 58 of file sf_menu_hook.c.

◆ fun_009a0750

fun_009a0750_ptr fun_009a0750

Definition at line 56 of file sf_menu_hook.c.

◆ fun_009a1fd0

fun_009a1fd0_ptr fun_009a1fd0

Definition at line 61 of file sf_menu_hook.c.

◆ fun_009a2790

fun_009a2790_ptr fun_009a2790

Definition at line 46 of file sf_menu_hook.c.

◆ fun_009a4020

fun_009a4020_ptr fun_009a4020

Definition at line 51 of file sf_menu_hook.c.

◆ fun_009cd1f0

fun_009cd1f0_ptr fun_009cd1f0

Definition at line 60 of file sf_menu_hook.c.

◆ fun_009de190

fun_009de190_ptr fun_009de190

Definition at line 57 of file sf_menu_hook.c.

◆ fun_00a27530

Definition at line 41 of file sf_menu_hook.c.

◆ fun_00a278c0

Definition at line 43 of file sf_menu_hook.c.

◆ fun_00a28d60

fun_00a28d60_ptr fun_00a28d60

Definition at line 50 of file sf_menu_hook.c.

◆ fun_00a2ald0

fun_00a2a1d0_ptr fun_00a2ald0

Definition at line 44 of file sf_menu_hook.c.

◆ fun_00a49b10

fun_00a49b10_ptr fun_00a49b10

Definition at line 49 of file sf_menu_hook.c.

◆ g_menu_return_addr

uint32_t g_menu_return_addr

Definition at line 34 of file sf_menu_hook.c.

◆ g_set_label_flags

set_label_flags_ptr g_set_label_flags

Definition at line 39 of file sf_menu_hook.c.

◆ g_sf_enchant_addr

uint32_t g_sf_enchant_addr

Definition at line 37 of file sf_menu_hook.c.

◆ g_sf_enchant_addr2

uint32_t g_sf_enchant_addr2

Definition at line 38 of file sf_menu_hook.c.

◆ g_ui_hook_fix_addr

uint32_t g_ui_hook_fix_addr

Definition at line 35 of file sf_menu_hook.c.

◆ g_ui_hook_fix_addr2

uint32_t g_ui_hook_fix_addr2

Definition at line 36 of file sf_menu_hook.c.

◆ getSpellLineIsTargetSelf

getSpellLineIsTargetSelf_ptr getSpellLineIsTargetSelf

Definition at line 55 of file sf_menu_hook.c.

◆ mod_struct

SFSF_ModlistStruct mod_struct

Definition at line 117 of file sf_menu_hook.c.

◆ open_campaign_screen

CMnuSmpButton* open_campaign_screen

Definition at line 115 of file sf_menu_hook.c.

◆ sfsf_version_label

CMnuLabel* sfsf_version_label

Definition at line 118 of file sf_menu_hook.c.

◆ show_mod_list_button

CMnuSmpButton* show_mod_list_button

Definition at line 114 of file sf_menu_hook.c.

◆ vfun163

vfun163_ptr vfun163

Definition at line 53 of file sf_menu_hook.c.

◆ vfun164

vfun164_ptr vfun164

Definition at line 52 of file sf_menu_hook.c.

◆ vfun41

vfun41_ptr vfun41

Definition at line 54 of file sf_menu_hook.c.