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
23
25void __thiscall sf_menu_hook(uint32_t _CAppMenu);
26uint16_t __thiscall sf_ui_overlay_fix(SF_CGdFigure *_this, void *CGdResource, uint16_t spell_id, uint16_t figure_id);
27
29void __thiscall sf_click_vertical_button(SF_CUiMain *_this, uint16_t figure_id,
30 uint8_t entity_type,
31 uint16_t target_id,
32 SF_UIElement *element);
33void __thiscall sf_click_horizontal_button(SF_CUiMain *_this,
34 uint_list_node *param1,
35 SF_UIElement *param2);
37#endif
new_operator_ptr g_new_operator
uint32_t g_menu_return_addr
get_smth_fonts_ptr g_get_smth_fonts
cuiVideoSequence_constructor_ptr cuiVideoSequence_constructor
uint32_t g_ui_hook_fix_addr
uint32_t g_ui_hook_fix_addr2
get_font_ptr g_get_font
menu_label_set_font_ptr g_menu_label_set_font
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()
uint16_t __thiscall sf_ui_overlay_fix(SF_CGdFigure *_this, void *CGdResource, uint16_t spell_id, uint16_t figure_id)
mnu_label_init_data_ptr g_init_menu_element
create_option_ptr f_create_menu_option
menu_label_set_string_ptr g_menu_label_set_string
menu_label_constructor_ptr g_menu_label_constructor
container_add_control_ptr g_container_add_control
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 * menu_label_constructor_ptr)(CMnuLabel *_this)
void(__thiscall * menu_label_set_string_ptr)(CMnuLabel *_this, SF_String *string)
void(__thiscall * mnu_label_init_data_ptr)(void *_this, float xpos, float ypos, float width, float height, SF_String *string)
SF_FontStruct *(__thiscall * get_smth_fonts_ptr)(void)
SF_Font *(__thiscall * get_font_ptr)(SF_FontStruct *_this, uint32_t font_id)
void(__thiscall * menu_label_set_font_ptr)(void *_this, SF_Font *font)
void *(__cdecl * new_operator_ptr)(uint32_t param_1)
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 * container_add_control_ptr)(CMnuContainer *_this, CMnuBase *CMnubase, char c1, char c2, uint32_t p4)
CMnuLabel * sfsf_version_label
void __thiscall sf_handle_button_flashing_maybe(SF_CUiMain *_this)
A structure for the global list of figures and related statistics for them.