Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_general_structures.h File Reference

Group of Structures and Enums used throught SFSF. More...

#include <stdint.h>
#include <stdbool.h>
Include dependency graph for sf_general_structures.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SFMod
 
struct  SFLog
 
struct  SF_Coord
 
struct  SF_RGColor
 
struct  SF_SpellEffectInfo
 
struct  SF_CGdTargetData
 
struct  SF_String
 
struct  SF_Rectangle
 
struct  CGdFigureHateEntry
 
struct  SF_CGdFigureWeaponStats
 
struct  FigureStatistic
 
struct  FigureStatisticExt
 
struct  SF_SGtFigureAction
 
struct  AutoClass24
 
struct  GdFigure
 
struct  SF_CGdFigure
 A structure for the global list of figures and related statistics for them. More...
 
struct  AutoClass69
 
struct  AutoClass14
 
struct  SF_world_unkn_1
 
struct  SF_world_unkn_2
 
struct  SF_world_unkn_3
 
struct  SF_world_unkn_4
 
struct  SF_GdSpell
 
struct  SF_CGdFigureJobs
 
struct  SF_CGdFigureToolbox
 
struct  SF_CGdWorld
 
struct  SF_CGdWorldToolBox
 
struct  SF_CGdSpell
 
struct  SF_GdEffect
 
struct  SF_CGDEffect
 
struct  GdBuilding
 
struct  SF_CGdBuilding
 
struct  SF_Font
 
struct  SF_FontStruct
 
struct  SF_Color
 
struct  CMnuBase_data
 
struct  CMnuBase
 
struct  CUiOption
 
struct  CMnuLabel
 
struct  SFSF_ModlistStruct
 
struct  CUtlCallback2
 
struct  CMnuButton_data
 
struct  CMnuSmpButton
 
struct  CMnuContainer
 
struct  data_CUiStartMenu
 
struct  CUiStartMenu
 
struct  SF_UIElement
 
struct  CGdControllerClientData
 
struct  CGdControllerClient
 
struct  CUiMain_data
 
struct  SF_CUiMain
 
struct  SF_CUiVideoSequence_data
 
struct  SF_CUiVideoSequence
 
struct  SF_CUiVideo
 
struct  CAppMenu_data
 
struct  CAppMenu
 

Macros

#define DECLARE_FUNCTION(type, name, ...)
 Declares a function with the specified return type, name, and arguments.
 

Typedefs

typedef void(* log_function_ptr) (const char *)
 
typedef struct SF_CGdSpell SF_CGdSpell
 
typedef struct SF_CGdFigureToolbox SF_CGdFigureToolbox
 
typedef struct SF_GdEffect SF_GdEffect
 
typedef struct SF_CGDEffect SF_CGDEffect
 
typedef struct SF_CGdWorld SF_CGdWorld
 
typedef struct SF_CGdWorldToolBox SF_CGdWorldToolBox
 
typedef struct SF_CGdFigureJobs SF_CGdFigureJobs
 
typedef struct SF_CGdBuilding SF_CGdBuilding
 
typedef void(__thiscall * console_print_ptr) (uint32_t, const char *)
 
typedef uint16_t(__thiscall * get_spell_spell_line_ptr) (void *, uint16_t)
 
typedef uint32_t(__thiscall * figure_toolbox_get_unkn_ptr) (void *, uint16_t)
 
typedef void(__thiscall * figure_toolbox_add_spell_ptr) (void *, uint16_t, uint16_t)
 
typedef bool(__thiscall * figure_toolbox_is_targetable_ptr) (void *CGdFigureToolbox, uint16_t figure_index)
 
typedef uint32_t(__thiscall * FUN_0069eaf0_ptr) (void *ac69, void *ac69_2, void *ac69_3, void *ac69_4)
 
typedef void(* fidfree_ptr) (uint32_t *memory_ptr)
 
typedef void(__thiscall * menu_label_ptr) (CMnuLabel *_this)
 
typedef void(__thiscall * menu_label_set_string_ptr) (CMnuLabel *_this, SF_String *string)
 
typedef void(__thiscall * initialize_menu_container_ptr) (CMnuContainer *_this)
 
typedef SF_String *(__thiscall * construct_default_sf_string_ptr) (SF_String *_this)
 
typedef void(__thiscall * construct_start_menu_ptr) (CUiStartMenu *_this, uint32_t p1)
 
typedef void(__thiscall * mnu_label_init_data_ptr) (void *_this, float xpos, float ypos, float width, float height, SF_String *string)
 
typedef void(__thiscall * message_box_ptr) (uint32_t CAppMenu, uint16_t description_id, SF_String *string_ptr, uint16_t hasOffset)
 
typedef void(__thiscall * menu_label_constructor_ptr) (CMnuLabel *_this)
 
typedef void(__thiscall * set_label_flags_ptr) (CMnuLabel *_this, uint32_t flags)
 
typedef void(__fastcall * original_menu_func_ptr) (uint32_t param1)
 
typedef void *(__cdecl * new_operator_ptr) (uint32_t param_1)
 
typedef void(__thiscall * container_add_control_ptr) (CMnuContainer *_this, CMnuBase *CMnubase, char c1, char c2, uint32_t p4)
 
typedef void(__thiscall * menu_label_set_data_ptr) (CMnuLabel *_this, uint32_t color_red, uint32_t color_green, uint32_t color_blue, uint8_t unknchar)
 
typedef void(__thiscall * get_sf_color_ptr) (SF_String *_this, uint32_t color_id)
 
typedef SF_FontStruct *(__thiscall * get_smth_fonts_ptr) (void)
 
typedef SF_Font *(__thiscall * get_font_ptr) (SF_FontStruct *_this, uint32_t font_id)
 
typedef void(__thiscall * menu_label_set_font_ptr) (void *_this, SF_Font *font)
 
typedef CUiOption *(__thiscall * create_option_ptr) (CUiOption *_this)
 
typedef void(__thiscall * autoclass113_fun_00a27530_ptr) (void *_this_autoclass113)
 
typedef uint32_t *(__thiscall * fun_0086dd60_ptr) (void *_this, uint8_t p1, uint32_t p2)
 
typedef void(__thiscall * autoclass113_fun_00a278c0_ptr) (void *_this_autoclass113, uint32_t p1)
 
typedef uint16_t(__cdecl * fun_00a2a1d0_ptr) (void *some_ptr, void *some_ptr_2)
 
typedef void(__thiscall * fun_00a49b10_ptr) (CGdControllerClient *_this, uint8_t param1)
 
typedef uint32_t *(__thiscall * fun_00a28d60_ptr) (void *_this, void *param1, uint32_t param2)
 
typedef void(__thiscall * fun_009a4020_ptr) (void *_this, uint32_t param1)
 
typedef void(__thiscall * vfun164_ptr) (void *CMnuContainer)
 
typedef void(__thiscall * vfun163_ptr) (void *CMnuContainer, uint8_t param1)
 
typedef void *(__thiscall * vfun41_ptr) (void *CMnuContainer)
 
typedef uint32_t(__thiscall * fun_006a0140_ptr) (void *_this, uint16_t p1, SF_CGdTargetData *p2_ptr, uint8_t p3, uint8_t p4)
 
typedef void(__thiscall * fun_009a2790_ptr) (void *_this, void *_p1, uint32_t p2)
 
typedef uint32_t(__thiscall * fun_0069f8d0_ptr) (void *_this, uint32_t p1)
 
typedef uint32_t(__thiscall * fun_0069fb90_ptr) (void *_this, uint16_t figure_id, uint8_t po2, uint16_t unkn_p3, SF_CGdTargetData *data, uint32_t p5, uint32_t p6)
 
typedef bool(__thiscall * getSpellLineIsTargetSelf_ptr) (void *_this, uint16_t spell_line_id)
 
typedef void *(__thiscall * fun_009a0750_ptr) (void *_this)
 
typedef void *(__thiscall * fun_009de190_ptr) (void *_this, void *param_1)
 
typedef void(__thiscall * fun_0099f610_ptr) (void *_this, uint16_t param1, uint16_t param2, uint8_t param3, uint16_t param4)
 
typedef void(__thiscall * fun_009cd1f0_ptr) (void *SF_CUiBottom, uint8_t param1)
 
typedef void(__thiscall * fun_009a1fd0_ptr) (void *SF_CUiGame, uint32_t param1)
 
typedef uint32_t(__thiscall * fun_006f8c06_ptr) (SF_CGdFigureToolbox *_this, uint16_t figure_id, uint16_t spell_id, uint32_t target_id, uint8_t param4, uint32_t param5, uint32_t param6, uint32_t param7, uint32_t param8)
 
typedef void(__thiscall * fun_00910de0_ptr) (void *_this, void *param1, uint32_t param2)
 
typedef uint32_t(__thiscall * cuiVideoSequence_constructor_ptr) (SF_CUiVideo *_this, SF_String *p1)
 
typedef void(__thiscall * CMnuScreen_attach_control_ptr) (void *_CMnuScreen_ptr, CMnuBase *base, char flag)
 

Enumerations

enum  SpellTag : uint16_t {
  NONE = 0x0 , SUMMON_SPELL = 0x1 , DOMINATION_SPELL = 0x2 , CHAIN_SPELL = 0x4 ,
  WHITE_AURA_SPELL = 0x8 , BLACK_AURA_SPELL = 0x10 , TARGET_ONHIT_SPELL = 0x20 , COMBAT_ABILITY_SPELL = 0x40 ,
  AOE_SPELL = 0x80 , SEIGE_AURA_SPELL = 0x100 , AURA_SPELL = 0x200 , STACKABLE_SPELL = 0x400 ,
  SPELL_TAG_COUNT = 12
}
 
enum  CGdFigureTask : uint8_t {
  TASK_WORKER = 2 , TASK_WOODCUTTER = 3 , TASK_QUARRY = 4 , TASK_MINE = 5 ,
  TASK_FORGE = 6 , TASK_HERO = 9 , TASK_MAINCHAR = 10 , TASK_NPC = 11 ,
  TASK_PET = 12 , TASK_HUNTING_LODGE = 14 , TASK_MERCHANT = 17
}
 
enum  OnHitPhase {
  PHASE_0 = 0 , PHASE_1 , PHASE_2 , PHASE_3 ,
  PHASE_4 , PHASE_5 , OnHitEnd
}
 
enum  GdFigureFlags {
  UNDEAD = 0x1 , RESESRVED_ONLY = 0x2 , AGGROED = 0x4 , IS_DEAD = 0x8 ,
  REDO = 0x10 , F_CHECK_SPELLS_BEFORE_JOB = 0x20 , F_CHECK_SPELLS_BEFORE_CHECK_BATTLE = 0x40 , WALK_JOB_WAIT = 0x80 ,
  FREEZED = 0x100 , HAS_LOOT = 0x200 , HAS_DIALOG = 0x400 , FEMALE = 0x800 ,
  GOT_AGGRO = 0x1000 , RETREAT = 0x2000 , NO_WAY_TO_TARGET = 0x4000 , AURA_RUNNING = 0x8000 ,
  AI_BLOCKED = 0x10000 , TOWER = 0x20000 , IS_SWAPPING = 0x40000 , CUR_ACTIVE_DIALOG = 0x80000 ,
  IS_IN_FIGHT = 0x100000 , VIEW_MODE_1ST_3RD = 0x200000 , IS_TALKING = 0x400000 , IS_IMPORTANT_DIALOG = 0x800000 ,
  UNKILLABLE = 0x1000000 , FOLLOW_MODE = 0x2000000 , HIT_LEFT_HAND_NEXT = 0x4000000 , FOREST_SPIRIT = 0x8000000 ,
  VIP = 0x10000000 , ILLUSION = 0x20000000 , SPAWN = 0x40000000 , USED_FOR_REVENGE = 0x80000000
}
 
enum  CGdFigureJobFlags : uint16_t {
  MANUAL_JOB_CHANGE = 1 , SKIP_ONCE = 2 , MANUAL_HIT_TARGET = 4 , CORPSE_CANT_ROT = 8 ,
  START_WALK = 16 , RUN_MODE = 32 , WAR = 64 , CHECK_BATTLE = 128 ,
  PATROL_MODE = 256 , WAY_POINTS_READ_REVERSE = 512 , SUPERIOR_PATHING = 1024 , ROUND_HIT = 2048 ,
  DEATH_BLOW = 4096 , START_WORK_AT_BUILDING_FORCE_JOB = 8192
}
 
enum  SpellDataKey {
  EFFECT_EFFECT_INDEX = 0x06 , EFFECT_SPELL_INDEX = 0x11 , EFFECT_SPELL_ID = 0x09 , EFFECT_ENTITY_INDEX2 = 0x1A ,
  EFFECT_SUBSPELL_ID = 0x1C , EFFECT_PHYSICAL_DAMAGE = 0x1E , EFFECT_ENTITY_INDEX = 0x2F , EFFECT_ENTITY_INDEX3 = 0x2D ,
  EFFECT_ENTITY_TYPE = 0x30 , EFFECT_ENTITY_TYPE2 = 0x13 , EFFECT_DO_NOT_ADD_SUBSPELL = 0x33 , SPELL_TICK_COUNT_AUX = 0x05 ,
  SPELL_TICK_COUNT = 0x12 , SPELL_DOUBLE_DAMAGE = 0x26 , SPELL_TARGET = 0x33 , SPELL_PESTILENCE_DAMAGE = 0x0E ,
  SPELL_STAT_MUL_MODIFIER = 0x0A , SPELL_STAT_MUL_MODIFIER2 = 0x27 , SPELL_STAT_MUL_MODIFIER3 = 0x2B , SPELL_STAT_MUL_MODIFIER4 = 0x2C ,
  SPELL_CONSERVATION_SHIELD = 0x0B
}
 
enum  SpellDamagePhase { PRE , DEFAULT , POST , COUNT }
 
enum  CGdEffectType {
  kGdEffectNone = 0 , kGdEffectSpellCast = 1 , kGdEffectSpellHitWorld = 2 , kGdEffectSpellHitTarget = 3 ,
  kGdEffectSpellDOTHitTarget = 4 , kGdEffectSpellMissTarget = 5 , kGdEffectSpellResolve = 6 , kGdEffectSummonWorker = 7 ,
  kGdEffectWorkerAppears = 8 , kGdEffectSummonHero = 9 , kGdEffectHeroAppears = 10 , kGdEffectSpellTargetResisted = 11 ,
  kGdEffectSpellResolveSelf = 12 , kGdEffectMeteorFall = 13 , kGdEffectMeteorHit = 14 , kGdEffectBlizzardFall = 15 ,
  kGdEffectBlizzardHit = 16 , kGdEffectStoneFall = 17 , kGdEffectStoneHit = 18 , kGdEffectPetAppears = 19 ,
  kGdEffectTest = 20 , kGdEffectMonumentClaimed = 21 , kGdEffectMonumentWorking = 22 , kGdEffectAuraResolve = 23 ,
  kGdEffectProjectile = 24 , kGdEffectBuilding = 25 , kGdEffectPlayerBind = 26 , kGdEffectSummonMainChar = 27 ,
  kGdEffectMainCharAppears = 28 , kGdEffectTitanProduction = 29 , kGdEffectTitanAppears = 30 , kGdEffectMentalTowerCast = 31 ,
  kGdEffectMentalTowerIdle = 32 , kGdEffectMonumentBullet = 33 , kGdEffectMonumentHitFigure = 34 , kGdEffectSpellAssistanceHitFigure = 35 ,
  kGdEffectChainResolve = 36 , kGdEffectSpellVoodooHitFigure = 37 , kGdEffectSpellManaShieldHitFigure = 38 , kGdEffectMax = 39
}
 

Functions

void attachVideo (CAppMenu *CAppMenu_ptr, CMnuContainer *parent, char *video_loc_and_name_charsC)
 
CMnuLabel *__thiscall attach_new_meshed_label (CMnuLabel *label_ptr, CMnuContainer *parent, char *mesh_name, char *label_text, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height)
 
CMnuLabel *__thiscall attach_new_label (CMnuLabel *label_ptr, CMnuContainer *parent, char *label_text, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height)
 
void __thiscall attach_new_button (CMnuContainer *parent, char *button_mesh_default, char *button_mesh_pressed, char *button_mesh_highlight, char *button_mesh_disabled, char *label_char, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height, int button_index, uint32_t callback_function_pointer)
 
void __fastcall show_mod_list_callback (CMnuSmpButton *button, int32_t *cui_menu_ptr_maybe)
 

Variables

SFSF_ModlistStruct mod_struct
 

Detailed Description

Group of Structures and Enums used throught SFSF.

Definition in file sf_general_structures.h.

Macro Definition Documentation

◆ DECLARE_FUNCTION

#define DECLARE_FUNCTION ( type,
name,
... )
Value:
typedef type (__thiscall *name ## _ptr)(__VA_ARGS__);

Declares a function with the specified return type, name, and arguments.

This macro is used to define functions that we use for hooking into the game and to expose these to the API. we use it to cut down on boilerplate code typedefs and structures.

Parameters
return_typeThe return type of the function.
function_nameThe name of the function.
...The function parameters and types.

Definition at line 1076 of file sf_general_structures.h.

Typedef Documentation

◆ autoclass113_fun_00a27530_ptr

typedef void(__thiscall * autoclass113_fun_00a27530_ptr) (void *_this_autoclass113)

Definition at line 976 of file sf_general_structures.h.

◆ autoclass113_fun_00a278c0_ptr

typedef void(__thiscall * autoclass113_fun_00a278c0_ptr) (void *_this_autoclass113, uint32_t p1)

Definition at line 980 of file sf_general_structures.h.

◆ CMnuScreen_attach_control_ptr

typedef void(__thiscall * CMnuScreen_attach_control_ptr) (void *_CMnuScreen_ptr, CMnuBase *base, char flag)

Definition at line 1029 of file sf_general_structures.h.

◆ console_print_ptr

typedef void(__thiscall * console_print_ptr) (uint32_t, const char *)

Definition at line 922 of file sf_general_structures.h.

◆ construct_default_sf_string_ptr

typedef SF_String *(__thiscall * construct_default_sf_string_ptr) (SF_String *_this)

Definition at line 936 of file sf_general_structures.h.

◆ construct_start_menu_ptr

typedef void(__thiscall * construct_start_menu_ptr) (CUiStartMenu *_this, uint32_t p1)

Definition at line 939 of file sf_general_structures.h.

◆ container_add_control_ptr

typedef void(__thiscall * container_add_control_ptr) (CMnuContainer *_this, CMnuBase *CMnubase, char c1, char c2, uint32_t p4)

Definition at line 958 of file sf_general_structures.h.

◆ create_option_ptr

typedef CUiOption *(__thiscall * create_option_ptr) (CUiOption *_this)

Definition at line 973 of file sf_general_structures.h.

◆ cuiVideoSequence_constructor_ptr

typedef uint32_t(__thiscall * cuiVideoSequence_constructor_ptr) (SF_CUiVideo *_this, SF_String *p1)

Definition at line 1027 of file sf_general_structures.h.

◆ fidfree_ptr

typedef void(* fidfree_ptr) (uint32_t *memory_ptr)

Definition at line 931 of file sf_general_structures.h.

◆ figure_toolbox_add_spell_ptr

typedef void(__thiscall * figure_toolbox_add_spell_ptr) (void *, uint16_t, uint16_t)

Definition at line 925 of file sf_general_structures.h.

◆ figure_toolbox_get_unkn_ptr

typedef uint32_t(__thiscall * figure_toolbox_get_unkn_ptr) (void *, uint16_t)

Definition at line 924 of file sf_general_structures.h.

◆ figure_toolbox_is_targetable_ptr

typedef bool(__thiscall * figure_toolbox_is_targetable_ptr) (void *CGdFigureToolbox, uint16_t figure_index)

Definition at line 927 of file sf_general_structures.h.

◆ FUN_0069eaf0_ptr

typedef uint32_t(__thiscall * FUN_0069eaf0_ptr) (void *ac69, void *ac69_2, void *ac69_3, void *ac69_4)

Definition at line 929 of file sf_general_structures.h.

◆ fun_0069f8d0_ptr

typedef uint32_t(__thiscall * fun_0069f8d0_ptr) (void *_this, uint32_t p1)

Definition at line 1002 of file sf_general_structures.h.

◆ fun_0069fb90_ptr

typedef uint32_t(__thiscall * fun_0069fb90_ptr) (void *_this, uint16_t figure_id, uint8_t po2, uint16_t unkn_p3, SF_CGdTargetData *data, uint32_t p5, uint32_t p6)

Definition at line 1003 of file sf_general_structures.h.

◆ fun_006a0140_ptr

typedef uint32_t(__thiscall * fun_006a0140_ptr) (void *_this, uint16_t p1, SF_CGdTargetData *p2_ptr, uint8_t p3, uint8_t p4)

Definition at line 997 of file sf_general_structures.h.

◆ fun_006f8c06_ptr

typedef uint32_t(__thiscall * fun_006f8c06_ptr) (SF_CGdFigureToolbox *_this, uint16_t figure_id, uint16_t spell_id, uint32_t target_id, uint8_t param4, uint32_t param5, uint32_t param6, uint32_t param7, uint32_t param8)

Definition at line 1016 of file sf_general_structures.h.

◆ fun_0086dd60_ptr

typedef uint32_t *(__thiscall * fun_0086dd60_ptr) (void *_this, uint8_t p1, uint32_t p2)

Definition at line 978 of file sf_general_structures.h.

◆ fun_00910de0_ptr

typedef void(__thiscall * fun_00910de0_ptr) (void *_this, void *param1, uint32_t param2)

Definition at line 1024 of file sf_general_structures.h.

◆ fun_0099f610_ptr

typedef void(__thiscall * fun_0099f610_ptr) (void *_this, uint16_t param1, uint16_t param2, uint8_t param3, uint16_t param4)

Definition at line 1011 of file sf_general_structures.h.

◆ fun_009a0750_ptr

typedef void *(__thiscall * fun_009a0750_ptr) (void *_this)

Definition at line 1009 of file sf_general_structures.h.

◆ fun_009a1fd0_ptr

typedef void(__thiscall * fun_009a1fd0_ptr) (void *SF_CUiGame, uint32_t param1)

Definition at line 1015 of file sf_general_structures.h.

◆ fun_009a2790_ptr

typedef void(__thiscall * fun_009a2790_ptr) (void *_this, void *_p1, uint32_t p2)

Definition at line 1000 of file sf_general_structures.h.

◆ fun_009a4020_ptr

typedef void(__thiscall * fun_009a4020_ptr) (void *_this, uint32_t param1)

Definition at line 991 of file sf_general_structures.h.

◆ fun_009cd1f0_ptr

typedef void(__thiscall * fun_009cd1f0_ptr) (void *SF_CUiBottom, uint8_t param1)

Definition at line 1014 of file sf_general_structures.h.

◆ fun_009de190_ptr

typedef void *(__thiscall * fun_009de190_ptr) (void *_this, void *param_1)

Definition at line 1010 of file sf_general_structures.h.

◆ fun_00a28d60_ptr

typedef uint32_t *(__thiscall * fun_00a28d60_ptr) (void *_this, void *param1, uint32_t param2)

Definition at line 989 of file sf_general_structures.h.

◆ fun_00a2a1d0_ptr

typedef uint16_t(__cdecl * fun_00a2a1d0_ptr) (void *some_ptr, void *some_ptr_2)

Definition at line 984 of file sf_general_structures.h.

◆ fun_00a49b10_ptr

typedef void(__thiscall * fun_00a49b10_ptr) (CGdControllerClient *_this, uint8_t param1)

Definition at line 986 of file sf_general_structures.h.

◆ get_font_ptr

typedef SF_Font *(__thiscall * get_font_ptr) (SF_FontStruct *_this, uint32_t font_id)

Definition at line 970 of file sf_general_structures.h.

◆ get_sf_color_ptr

typedef void(__thiscall * get_sf_color_ptr) (SF_String *_this, uint32_t color_id)

Definition at line 967 of file sf_general_structures.h.

◆ get_smth_fonts_ptr

typedef SF_FontStruct *(__thiscall * get_smth_fonts_ptr) (void)

Definition at line 969 of file sf_general_structures.h.

◆ get_spell_spell_line_ptr

typedef uint16_t(__thiscall * get_spell_spell_line_ptr) (void *, uint16_t)

Definition at line 923 of file sf_general_structures.h.

◆ getSpellLineIsTargetSelf_ptr

typedef bool(__thiscall * getSpellLineIsTargetSelf_ptr) (void *_this, uint16_t spell_line_id)

Definition at line 1007 of file sf_general_structures.h.

◆ initialize_menu_container_ptr

typedef void(__thiscall * initialize_menu_container_ptr) (CMnuContainer *_this)

Definition at line 935 of file sf_general_structures.h.

◆ log_function_ptr

typedef void(* log_function_ptr) (const char *)

Definition at line 22 of file sf_general_structures.h.

◆ menu_label_constructor_ptr

typedef void(__thiscall * menu_label_constructor_ptr) (CMnuLabel *_this)

Definition at line 951 of file sf_general_structures.h.

◆ menu_label_ptr

typedef void(__thiscall * menu_label_ptr) (CMnuLabel *_this)

Definition at line 932 of file sf_general_structures.h.

◆ menu_label_set_data_ptr

typedef void(__thiscall * menu_label_set_data_ptr) (CMnuLabel *_this, uint32_t color_red, uint32_t color_green, uint32_t color_blue, uint8_t unknchar)

Definition at line 962 of file sf_general_structures.h.

◆ menu_label_set_font_ptr

typedef void(__thiscall * menu_label_set_font_ptr) (void *_this, SF_Font *font)

Definition at line 972 of file sf_general_structures.h.

◆ menu_label_set_string_ptr

typedef void(__thiscall * menu_label_set_string_ptr) (CMnuLabel *_this, SF_String *string)

Definition at line 933 of file sf_general_structures.h.

◆ message_box_ptr

typedef void(__thiscall * message_box_ptr) (uint32_t CAppMenu, uint16_t description_id, SF_String *string_ptr, uint16_t hasOffset)

Definition at line 946 of file sf_general_structures.h.

◆ mnu_label_init_data_ptr

typedef void(__thiscall * mnu_label_init_data_ptr) (void *_this, float xpos, float ypos, float width, float height, SF_String *string)

Definition at line 942 of file sf_general_structures.h.

◆ new_operator_ptr

typedef void *(__cdecl * new_operator_ptr) (uint32_t param_1)

Definition at line 957 of file sf_general_structures.h.

◆ original_menu_func_ptr

typedef void(__fastcall * original_menu_func_ptr) (uint32_t param1)

Definition at line 955 of file sf_general_structures.h.

◆ set_label_flags_ptr

typedef void(__thiscall * set_label_flags_ptr) (CMnuLabel *_this, uint32_t flags)

Definition at line 952 of file sf_general_structures.h.

◆ SF_CGdBuilding

typedef struct SF_CGdBuilding SF_CGdBuilding

Definition at line 57 of file sf_general_structures.h.

◆ SF_CGDEffect

typedef struct SF_CGDEffect SF_CGDEffect

Definition at line 53 of file sf_general_structures.h.

◆ SF_CGdFigureJobs

typedef struct SF_CGdFigureJobs SF_CGdFigureJobs

Definition at line 56 of file sf_general_structures.h.

◆ SF_CGdFigureToolbox

typedef struct SF_CGdFigureToolbox SF_CGdFigureToolbox

Definition at line 51 of file sf_general_structures.h.

◆ SF_CGdSpell

typedef struct SF_CGdSpell SF_CGdSpell

Definition at line 50 of file sf_general_structures.h.

◆ SF_CGdWorld

typedef struct SF_CGdWorld SF_CGdWorld

Definition at line 54 of file sf_general_structures.h.

◆ SF_CGdWorldToolBox

typedef struct SF_CGdWorldToolBox SF_CGdWorldToolBox

Definition at line 55 of file sf_general_structures.h.

◆ SF_GdEffect

typedef struct SF_GdEffect SF_GdEffect

Definition at line 52 of file sf_general_structures.h.

◆ vfun163_ptr

typedef void(__thiscall * vfun163_ptr) (void *CMnuContainer, uint8_t param1)

Definition at line 994 of file sf_general_structures.h.

◆ vfun164_ptr

typedef void(__thiscall * vfun164_ptr) (void *CMnuContainer)

Definition at line 993 of file sf_general_structures.h.

◆ vfun41_ptr

typedef void *(__thiscall * vfun41_ptr) (void *CMnuContainer)

Definition at line 995 of file sf_general_structures.h.

Enumeration Type Documentation

◆ CGdEffectType

Enumerator
kGdEffectNone 
kGdEffectSpellCast 
kGdEffectSpellHitWorld 
kGdEffectSpellHitTarget 
kGdEffectSpellDOTHitTarget 
kGdEffectSpellMissTarget 
kGdEffectSpellResolve 
kGdEffectSummonWorker 
kGdEffectWorkerAppears 
kGdEffectSummonHero 
kGdEffectHeroAppears 
kGdEffectSpellTargetResisted 
kGdEffectSpellResolveSelf 
kGdEffectMeteorFall 
kGdEffectMeteorHit 
kGdEffectBlizzardFall 
kGdEffectBlizzardHit 
kGdEffectStoneFall 
kGdEffectStoneHit 
kGdEffectPetAppears 
kGdEffectTest 
kGdEffectMonumentClaimed 
kGdEffectMonumentWorking 
kGdEffectAuraResolve 
kGdEffectProjectile 
kGdEffectBuilding 
kGdEffectPlayerBind 
kGdEffectSummonMainChar 
kGdEffectMainCharAppears 
kGdEffectTitanProduction 
kGdEffectTitanAppears 
kGdEffectMentalTowerCast 
kGdEffectMentalTowerIdle 
kGdEffectMonumentBullet 
kGdEffectMonumentHitFigure 
kGdEffectSpellAssistanceHitFigure 
kGdEffectChainResolve 
kGdEffectSpellVoodooHitFigure 
kGdEffectSpellManaShieldHitFigure 
kGdEffectMax 

Definition at line 875 of file sf_general_structures.h.

◆ CGdFigureJobFlags

enum CGdFigureJobFlags : uint16_t
Enumerator
MANUAL_JOB_CHANGE 
SKIP_ONCE 
MANUAL_HIT_TARGET 
CORPSE_CANT_ROT 
START_WALK 
RUN_MODE 
WAR 
CHECK_BATTLE 
PATROL_MODE 
WAY_POINTS_READ_REVERSE 
SUPERIOR_PATHING 
ROUND_HIT 
DEATH_BLOW 
START_WORK_AT_BUILDING_FORCE_JOB 

Definition at line 122 of file sf_general_structures.h.

◆ CGdFigureTask

enum CGdFigureTask : uint8_t
Enumerator
TASK_WORKER 
TASK_WOODCUTTER 
TASK_QUARRY 
TASK_MINE 
TASK_FORGE 
TASK_HERO 
TASK_MAINCHAR 
TASK_NPC 
TASK_PET 
TASK_HUNTING_LODGE 
TASK_MERCHANT 

Definition at line 59 of file sf_general_structures.h.

◆ GdFigureFlags

Enumerator
UNDEAD 
RESESRVED_ONLY 
AGGROED 
IS_DEAD 
REDO 
F_CHECK_SPELLS_BEFORE_JOB 
F_CHECK_SPELLS_BEFORE_CHECK_BATTLE 
WALK_JOB_WAIT 
FREEZED 
HAS_LOOT 
HAS_DIALOG 
FEMALE 
GOT_AGGRO 
RETREAT 
NO_WAY_TO_TARGET 
AURA_RUNNING 
AI_BLOCKED 
TOWER 
IS_SWAPPING 
CUR_ACTIVE_DIALOG 
IS_IN_FIGHT 
VIEW_MODE_1ST_3RD 
IS_TALKING 
IS_IMPORTANT_DIALOG 
UNKILLABLE 
FOLLOW_MODE 
HIT_LEFT_HAND_NEXT 
FOREST_SPIRIT 
VIP 
ILLUSION 
SPAWN 
USED_FOR_REVENGE 

Definition at line 86 of file sf_general_structures.h.

◆ OnHitPhase

enum OnHitPhase
Enumerator
PHASE_0 
PHASE_1 
PHASE_2 
PHASE_3 
PHASE_4 
PHASE_5 
OnHitEnd 

Definition at line 74 of file sf_general_structures.h.

◆ SpellDamagePhase

Enumerator
PRE 
DEFAULT 
POST 
COUNT 

Definition at line 867 of file sf_general_structures.h.

◆ SpellDataKey

Enumerator
EFFECT_EFFECT_INDEX 
EFFECT_SPELL_INDEX 
EFFECT_SPELL_ID 
EFFECT_ENTITY_INDEX2 
EFFECT_SUBSPELL_ID 
EFFECT_PHYSICAL_DAMAGE 
EFFECT_ENTITY_INDEX 
EFFECT_ENTITY_INDEX3 
EFFECT_ENTITY_TYPE 
EFFECT_ENTITY_TYPE2 
EFFECT_DO_NOT_ADD_SUBSPELL 
SPELL_TICK_COUNT_AUX 
SPELL_TICK_COUNT 
SPELL_DOUBLE_DAMAGE 
SPELL_TARGET 
SPELL_PESTILENCE_DAMAGE 
SPELL_STAT_MUL_MODIFIER 
SPELL_STAT_MUL_MODIFIER2 
SPELL_STAT_MUL_MODIFIER3 
SPELL_STAT_MUL_MODIFIER4 
SPELL_CONSERVATION_SHIELD 

Definition at line 842 of file sf_general_structures.h.

◆ SpellTag

enum SpellTag : uint16_t
Enumerator
NONE 
SUMMON_SPELL 
DOMINATION_SPELL 
CHAIN_SPELL 
WHITE_AURA_SPELL 
BLACK_AURA_SPELL 
TARGET_ONHIT_SPELL 
COMBAT_ABILITY_SPELL 
AOE_SPELL 
SEIGE_AURA_SPELL 
AURA_SPELL 
STACKABLE_SPELL 
SPELL_TAG_COUNT 

Definition at line 30 of file sf_general_structures.h.