Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_menu_hook.h
Go to the documentation of this file.
1#ifndef SF_MENU_HOOK_H
2#define SF_MENU_HOOK_H
3
4#include "../../../api/sfsf.h"
6
7extern uint32_t g_menu_return_addr;
8extern uint32_t g_ui_hook_fix_addr;
9extern uint32_t g_ui_hook_fix_addr2;
10
11extern uint32_t g_sf_enchant_addr;
12extern uint32_t g_sf_enchant_addr2;
13
18
20
21void __thiscall sf_menu_hook(uint32_t _CAppMenu);
22uint16_t __thiscall sf_ui_overlay_fix(SF_CGdFigure *_this, void *CGdResource, uint16_t spell_id, uint16_t figure_id);
23
25void __thiscall sf_click_vertical_button(SF_CUiMain *_this, uint16_t figure_id, uint8_t entity_type, uint16_t target_id,
26 SF_UIElement *element) __attribute__((optimize("-O0")));
27void __thiscall sf_click_horizontal_button(SF_CUiMain *_this, uint_list_node *param1,
28 SF_UIElement *param2) __attribute__((optimize("-O0")));
29void __thiscall sf_handle_button_flashing_maybe(SF_CUiMain *_this) __attribute__((optimize("-O0")));
30#endif
uint32_t g_menu_return_addr
cuiVideoSequence_constructor_ptr cuiVideoSequence_constructor
uint32_t g_ui_hook_fix_addr
uint32_t g_ui_hook_fix_addr2
void __thiscall sf_click_horizontal_button(SF_CUiMain *_this, uint_list_node *param1, SF_UIElement *param2)
CMnuScreen_attach_control_ptr CMnuScreen_attach_control
void __thiscall sf_menu_hook(uint32_t _CAppMenu)
void initialize_menu_data_hooks()
CMnuLabel * sfsf_version_label
uint32_t g_sf_enchant_addr2
uint16_t __thiscall sf_ui_overlay_fix(SF_CGdFigure *_this, void *CGdResource, uint16_t spell_id, uint16_t figure_id)
uint32_t g_sf_enchant_addr
create_option_ptr f_create_menu_option
void __thiscall sf_click_vertical_button(SF_CUiMain *_this, uint16_t figure_id, uint8_t entity_type, uint16_t target_id, SF_UIElement *element)
set_label_flags_ptr g_set_label_flags
void(__thiscall * CMnuScreen_attach_control_ptr)(void *_CMnuScreen_ptr, CMnuBase *base, char flag)
void(__thiscall * set_label_flags_ptr)(CMnuLabel *_this, uint32_t flags)
CUiOption *(__thiscall * create_option_ptr)(CUiOption *_this)
uint32_t(__thiscall * cuiVideoSequence_constructor_ptr)(SF_CUiVideo *_this, SF_String *p1)
void __thiscall sf_handle_button_flashing_maybe(SF_CUiMain *_this)
A structure for the global list of figures and related statistics for them.