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.

Classes

struct  SFMod
struct  SFLog
struct  SFSF_ModlistStruct
struct  GdFigureAbility
struct  ushort_list_node
 Represents a node in a list of unsigned short values. More...
struct  uint_list_node
struct  SF_Coord
struct  SF_RGColor
struct  SF_CGdTargetData
struct  SF_String
struct  SF_Rectangle
struct  SF_Font
struct  SF_FontStruct
struct  SF_Color
struct  AutoClass69
struct  AutoClass14
struct  GdPlayer
struct  AutoClass101
struct  CGdResourceWeaponData
struct  SF_CGdPlayer
struct  SF_world_unkn_1
struct  SF_world_unkn_2
struct  SF_world_unkn_3
struct  SF_world_unkn_4
struct  SF_CGdWorld
struct  AutoClass46
struct  GdObject
struct  SF_CGdObject
struct  CGdMain_data
struct  SF_CGdMain
struct  CMnuBase_data
struct  CMnuBase
struct  CUiOption
struct  CMnuLabel
struct  CUtlCallback2
struct  CMnuButton_data
struct  CMnuSmpButton
struct  CMnuContainer
struct  data_CUiStartMenu
struct  CUiStartMenu
struct  SF_UIElement
struct  GdAvatarInternal
struct  GdAvatarData
struct  GdAvatar
struct  AutoClass82
struct  SF_GameInfo
struct  CGdControllerClientData
struct  CGdControllerClient
struct  CUiMain_data
struct  SF_CUiMain
struct  SF_CUiVideoSequence_data
struct  SF_CUiVideoSequence
struct  SF_CUiVideo
struct  CAppSession_data
struct  CAppSession
struct  CMnuScreen
struct  CAppMenu_data
struct  CAppMenu
struct  CAppMain_data
struct  CAppMain
struct  CUtlConfigFile
struct  CUiMenuPreLoad_data
struct  CUiMenuPreLoad

Macros

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

Typedefs

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 struct SF_CGdBuildingToolbox SF_CGdBuildingToolbox
typedef struct AutoClass46 AutoClass46
typedef struct SF_CGdFigure SF_CGdFigure
typedef struct SF_SpellEffectInfo SF_SpellEffectInfo
typedef struct SF_CGdResource SF_CGdResource
typedef struct SF_CGdPlayer SF_CGdPlayer
typedef struct SF_CGdObject SF_CGdObject
typedef struct CMnuLabel CMnuLabel
typedef struct CGdControllerClient CGdControllerClient
typedef void(* log_function_ptr) (const char *format,...)
typedef void(* log_debug_ptr) (DebugLevel level, const char *format,...)
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 *(* 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  DebugLevel {
  DEBUG_INFO = 0 , DEBUG_LOW = 1 , DEBUG_MED = 2 , DEBUG_HIGH = 3 ,
  DEBUG_ALL = 4
}
enum  SpellFlagKey : uint8_t { CHECK_SPELLS_BEFORE_CHECK_BATTLE = 0x04 , CHECK_SPELLS_BEFORE_JOB2 = 0x02 , UNFREEZE = 0x1 }
enum  GdSpellLine : uint16_t {
  kGdSpellLineFireBurst = 1 , kGdSpellLineHealing = 2 , kGdSpellLineDeath = 3 , kGdSpellLineSlowness = 4 ,
  kGdSpellLinePoison = 5 , kGdSpellLineInvulnerability = 6 , kGdSpellLineCurePoison = 7 , kGdSpellLineFreeze = 9 ,
  kGdSpellLineFog = 10 , kGdSpellLineIlluminate = 11 , kGdSpellLineFireShield = 12 , kGdSpellLineFireBall = 13 ,
  kGdSpellLineIceBurst = 14 , kGdSpellLineIceShield = 15 , kGdSpellLineDecay = 16 , kGdSpellLineDecayArea = 17 ,
  kGdSpellLinePain = 18 , kGdSpellLineLifeTap = 19 , kGdSpellLineSummonGoblin = 20 , kGdSpellLineHypnotize = 21 ,
  kGdSpellLineIceShieldStun = 22 , kGdSpellLinePestilence = 23 , kGdSpellLineCureDisease = 24 , kGdSpellLinePetrify = 25 ,
  kGdSpellLinePainArea = 28 , kGdSpellLineSummonSkeleton = 29 , kGdSpellLineRaiseDead = 30 , kGdSpellLineSummonDemon = 31 ,
  kGdSpellLineDeathGrasp = 32 , kGdSpellLineSummonChanneler = 33 , kGdSpellLineInflexibility = 34 , kGdSpellLineWeaken = 35 ,
  kGdSpellLineDarkBanishing = 36 , kGdSpellLineSlownessArea = 37 , kGdSpellLineInflexibilityArea = 38 , kGdSpellLineWeakenArea = 39 ,
  kGdSpellLinePlagueArea = 40 , kGdSpellLineRemediless = 41 , kGdSpellLineDarkMight = 42 , kGdSpellLineHealingArea = 43 ,
  kGdSpellLineSentinelHealing = 44 , kGdSpellLineGreaterHealing = 45 , kGdSpellLineCharmAnimal = 46 , kGdSpellLineThornShield = 47 ,
  kGdSpellLineQuickness = 48 , kGdSpellLineQuicknessArea = 49 , kGdSpellLineFlexibility = 50 , kGdSpellLineFlexibilityArea = 51 ,
  kGdSpellLineStrengthen = 52 , kGdSpellLineStrengthenArea = 53 , kGdSpellLineGuard = 54 , kGdSpellLineRemoveCurse = 55 ,
  kGdSpellLineRegenerate = 56 , kGdSpellLineHolyMight = 57 , kGdSpellLineHallow = 58 , kGdSpellLineFireShieldDamage = 60 ,
  kGdSpellLineThornShieldDamage = 61 , kGdSpellLineForget = 62 , kGdSpellLineSelfIllusion = 63 , kGdSpellLineRetention = 64 ,
  kGdSpellLineBrilliance = 65 , kGdSpellLineSacrificeMana = 66 , kGdSpellLineManaTap = 67 , kGdSpellLineManaDrain = 68 ,
  kGdSpellLineShock = 69 , kGdSpellLineDisrupt = 70 , kGdSpellLineFear = 71 , kGdSpellLineConfuse = 72 ,
  kGdSpellLineRainOfFire = 73 , kGdSpellLineBlizzard = 74 , kGdSpellLineAcidCloud = 75 , kGdSpellLineStoneRain = 76 ,
  kGdSpellLineWallOfRocks = 77 , kGdSpellLineRingOfRocks = 78 , kGdSpellLineAmok = 79 , kGdSpellLineExtinct = 81 ,
  kGdSpellLineDetectMetal = 82 , kGdSpellLineDetectMagic = 83 , kGdSpellLineArrow = 84 , kGdSpellLineBerserk = 85 ,
  kGdSpellLineInvisibility = 86 , kGdSpellLineStone = 87 , kGdSpellLineAuraWeakness = 88 , kGdSpellLineAuraSuffocation = 89 ,
  kGdSpellLineSuicideDeath = 90 , kGdSpellLineAuraLifeTap = 91 , kGdSpellLineSummonSpectre = 92 , kGdSpellLineFeignDeath = 93 ,
  kGdSpellLineAuraSlowFighting = 94 , kGdSpellLineAuraInflexibility = 95 , kGdSpellLineDispelWhiteAura = 96 , kGdSpellLineAuraSlowWalking = 97 ,
  kGdSpellLineAuraInability = 98 , kGdSpellLineSuffocation = 99 , kGdSpellLineInability = 100 , kGdSpellLineSlowFighting = 101 ,
  kGdSpellLineAuraStrength = 102 , kGdSpellLineAuraHealing = 103 , kGdSpellLineAuraEndurance = 104 , kGdSpellLineSuicideHeal = 105 ,
  kGdSpellLineSummonWolf = 106 , kGdSpellLineAuraRegeneration = 107 , kGdSpellLineDominateAnimal = 108 , kGdSpellLineSummonBear = 109 ,
  kGdSpellLineAuraFastFighting = 110 , kGdSpellLineAuraFlexibility = 111 , kGdSpellLineDispelBlackAura = 112 , kGdSpellLineAuraFastWalking = 113 ,
  kGdSpellLineAuraLight = 114 , kGdSpellLineAuraDexterity = 115 , kGdSpellLineDexterity = 116 , kGdSpellLineEndurance = 117 ,
  kGdSpellLineFastFighting = 118 , kGdSpellLineDistract = 119 , kGdSpellLineDominate = 120 , kGdSpellLineObjectIllusion = 121 ,
  kGdSpellLineCharm = 122 , kGdSpellLineBefriend = 123 , kGdSpellLineDisenchant = 124 , kGdSpellLineCharisma = 125 ,
  kGdSpellLineShockwave = 126 , kGdSpellLineAuraHypnotization = 127 , kGdSpellLineDemoralization = 128 , kGdSpellLineAuraBrilliance = 129 ,
  kGdSpellLineEnlightenment = 130 , kGdSpellLineAuraManaTap = 131 , kGdSpellLineMeditation = 132 , kGdSpellLineFireElemental = 133 ,
  kGdSpellLineWaveOfFire = 134 , kGdSpellLineMeltResistance = 135 , kGdSpellLineIceElemental = 136 , kGdSpellLineWaveOfIce = 137 ,
  kGdSpellLineChillResistance = 138 , kGdSpellLineRockBullet = 139 , kGdSpellLineConservation = 140 , kGdSpellLineEarthElemental = 141 ,
  kGdSpellLineWaveOfRocks = 142 , kGdSpellLineArrowTower = 143 , kGdSpellLineHealingTower = 144 , kGdSpellLineIceburstTower = 145 ,
  kGdSpellLineLifeTapAura = 146 , kGdSpellLineFireBallEffect = 147 , kGdSpellLineAbilityWarCry = 148 , kGdSpellLineAbilityBenefactions = 149 ,
  kGdSpellLineAbilityPatronize = 150 , kGdSpellLineAbilityEndurance = 151 , kGdSpellLineAbilityBerserk = 152 , kGdSpellLineAbilityBlessing = 153 ,
  kGdSpellLineAbilityShelter = 154 , kGdSpellLineAbilityDurability = 155 , kGdSpellLineAbilityTrueShot = 156 , kGdSpellLineAbilitySteelSkin = 157 ,
  kGdSpellLineAbilitySalvo = 158 , kGdSpellLineFireBurstTower = 159 , kGdSpellLineSpark = 160 , kGdSpellLineHypnotizeTower = 161 ,
  kGdSpellLinePainTower = 162 , kGdSpellLineStoneTower = 163 , kGdSpellLineProtectionBlack = 164 , kGdSpellLineDoNotTouchMe = 165 ,
  kGdSpellLineHealingAura = 166 , kGdSpellLineHypnotizeTwo = 167 , kGdSpellLineIceArrowEffect = 168 , kGdSpellLineIceBlockEffect = 169 ,
  kGdSpellLineFireBlockEffect = 170 , kGdSpellLineExtinctTower = 171 , kGdSpellLineManaTapAura = 172 , kGdSpellLineFireResistance = 173 ,
  kGdSpellLineEssenceBlack = 174 , kGdSpellLineEssenceWhite = 175 , kGdSpellLineEssenceElemental = 176 , kGdSpellLineEssenceMental = 177 ,
  kGdSpellLineAlmightinessBlack = 178 , kGdSpellLineAlmightinessWhite = 179 , kGdSpellLineAlmightinessElemental = 180 , kGdSpellLineAlmightinessMental = 181 ,
  kGdSpellLineAlmightinessElementalEffect = 182 , kGdSpellLineEssenceElementalEffect = 183 , kGdSpellLineAssistance = 184 , kGdSpellLineHolyTouch = 185 ,
  kGdSpellLineRevenge = 186 , kGdSpellLineRootsArea = 187 , kGdSpellLineSummonTreeWraith = 188 , kGdSpellLineRoots = 189 ,
  kGdSpellLineChainHallow = 190 , kGdSpellLineReinforcement = 191 , kGdSpellLineAuraEternity = 192 , kGdSpellLineChainPain = 193 ,
  kGdSpellLineCannibalize = 194 , kGdSpellLineTorture = 195 , kGdSpellLineChainLifetap = 196 , kGdSpellLineDominateUndead = 197 ,
  kGdSpellLineSummonBlade = 198 , kGdSpellLineMutation = 199 , kGdSpellLineDarknessArea = 200 , kGdSpellLineChainMutation = 201 ,
  kGdSpellLineChainFireburst = 202 , kGdSpellLineSummonFireGolem = 203 , kGdSpellLineChainFireball = 204 , kGdSpellLineChainIceburst = 205 ,
  kGdSpellLineSummonIceGolem = 206 , kGdSpellLineFreezeArea = 207 , kGdSpellLineChainRockBullet = 208 , kGdSpellLineSummonEarthGolem = 209 ,
  kGdSpellLineFeetClay = 210 , kGdSpellLineMirrorImage = 211 , kGdSpellLineChainCharm = 212 , kGdSpellLineVoodoo = 213 ,
  kGdSpellLineChainShock = 214 , kGdSpellLineHypnotizeArea = 215 , kGdSpellLineConfuseArea = 216 , kGdSpellLineChainManatap = 217 ,
  kGdSpellLineManaShield = 218 , kGdSpellLineShiftMana = 219 , kGdSpellLineAbilityShiftLife = 220 , kGdSpellLineAbilityRiposte = 221 ,
  kGdSpellLineAbilityCriticalHits = 222 , kGdSpellLineAuraSiegeHuman = 223 , kGdSpellLineAuraSiegeElf = 225 , kGdSpellLineAuraSiegeOrc = 226 ,
  kGdSpellLineAuraSiegeTroll = 227 , kGdSpellLineAuraSiegeDarkElf = 228 , kGdSpellLineEternity = 229 , kGdSpellLineHallowChained = 230 ,
  kGdSpellLineLifeTapChained = 231 , kGdSpellLineManaTapChained = 232 , kGdSpellLineMutationChained = 233 , kGdSpellLineFireBurstChained = 234 ,
  kGdSpellLineIceBurstChained = 235 , kGdSpellLineRockBulletChained = 236 , kGdSpellLineCharmChained = 237 , kGdSpellLineShockChained = 238 ,
  kGdSpellLineFireBallChained = 239 , kGdSpellLinePainChained = 240 , kGdSpellLineFakeSpellOneFigure = 241
}
enum  GdSpellJob : uint16_t {
  kGdSpellJobFireburst =1 , kGdSpellJobHealing =2 , kGdSpellJobDeath =3 , kGdSpellJobPoison =4 ,
  kGdSpellJobCurePoison =5 , kGdSpellJobInvulerability =6 , kGdSpellJobUnknown1 =7 , kGdSpellJobIcestrike1 =8 ,
  kGdSpellJobFog =9 , kGdSpellJobStone =10 , kGdSpellJobSlowness =11 , kGdSpellJobFreeze =12 ,
  kGdSpellJobDecay =13 , kGdSpellJobPain =14 , kGdSpellJobIceShield =15 , kGdSpellJobIlluminate =16 ,
  kGdSpellJobFireBall1 =17 , kGdSpellJobFireShield1 =18 , kGdSpellJobIceShield2 =19 , kGdSpellJobLifetap =20 ,
  kGdSpellJobDecay2 =21 , kGdSpellJobIceshield3 =22 , kGdSpellJobSummon =23 , kGdSpellJobPetrify =24 ,
  kGdSpellJobPestilence =25 , kGdSpellJobCureDisease =26 , kGdSpellJobPainArea =27 , kGdSpellJobDeathGrasp =28 ,
  kGdSpellJobInflexibility =29 , kGdSpellJobDetectMagic =30 , kGdSpellJobWeaken =31 , kGdSpellJobDarkBanishing =32 ,
  kGdSpellJobSlownessArea =33 , kGdSpellJobInflexibilityArea =34 , kGdSpellJobWeakenArea =35 , kGdSpellJobPlaugeArea =36 ,
  kGdSpellJobRemediless =37 , kGdSpellJobHealingArea =38 , kGdSpellJobSentinelHealing =39 , kGdSpellJobQuickness =40 ,
  kGdSpellJobQuicknessArea =41 , kGdSpellJobThornshield =42 , kGdSpellJobFlexibility =43 , kGdSpellJobFlexibilityArea =44 ,
  kGdSpellJobStrength =45 , kGdSpellJobStrengthArea =46 , kGdSpellJobGuard =47 , kGdSpellJobRegenerate =48 ,
  kGdSpellJobHallow =49 , kGdSpellJobFireshield2 =50 , kGdSpellJobThorns =51 , kGdSpellJobRaiseDead =52 ,
  Job0x35 =53 , Job0x36 =54 , kGdSpellJobForget =55 , kGdSpellJobRetention =56 ,
  kGdSpellJobBrilliance =57 , kGdSpellJobSacrificeMana =58 , kGdSpellJobManaTap =59 , kGdSpellJobManaDrain =60 ,
  kGdSpellJobAmok =61 , kGdSpellJobConfuse =62 , kGdSpellJobDisrupt =63 , kGdSpellJobAcidCloud =64 ,
  kGdSpellJobRainOfFire =65 , kGdSpellJobShock =66 , kGdSpellJobBlizzard =67 , kGdSpellJobRainOfStone =68 ,
  kGdSpellJobCharmAnimal =69 , kGdSpellJobInvisibility =70 , kGdSpellJobExtinct =71 , kGdSpellJobRemoveCurse =72 ,
  kGdSpellJobAura =73 , kGdSpellJobSuffocation =74 , kGdSpellJobSlowFighting =75 , kGdSpellJobInability =76 ,
  kGdSpellJobSuicideDeath =77 , kGdSpellJobEndurance =78 , kGdSpellJobFastFighting =79 , kGdSpellJobDexterity =80 ,
  kGdSpellJobSuicideHeal =81 , kGdSpellJobDispelWhiteAura =82 , kGdSpellJobDispelBlackAura =83 , kGdSpellJobDominateAnimal =84 ,
  kGdSpellJobWave =85 , kGdSpellJobRockBullet =86 , kGdSpellJobMeltResistance =87 , kGdSpellJobChillResistance =88 ,
  kGdSpellJobCharisma =89 , kGdSpellJobEnlightement =90 , kGdSpellJobMeditation =91 , kGdSpellJobShockwave =92 ,
  kGdSpellJobBefriend =93 , kGdSpellJobDominate =94 , kGdSpellJobCharm =95 , kGdSpellJobTowerArrow =96 ,
  kGdSpellJobHealingAura =97 , kGdSpellJobIceStrike2 =98 , kGdSpellJobDistract =99 , kGdSpellJobDetectMetal =100 ,
  kGdSpellJobConservation =101 , kGdSpellJobLifeTapAura =102 , kGdSpellJobFireball2 =103 , kGdSpellJobSelfIllusion =104 ,
  kGdSpellJobAbilityWarCry =105 , kGdSpellJobAbilityBenefactions =106 , kGdSpellJobAbilityPatronize =107 , kGdSpellJobAbilityEndurance =108 ,
  kGdSpellJobAbilityBerserk =109 , kGdSpellJobAbilityBoons =110 , kGdSpellJobAbilityShelter =111 , kGdSpellJobAbilityDurability =112 ,
  kGdSpellJobAbilityTrueShot =113 , kGdSpellJobAbilitySteelskin =114 , kGdSpellJobAbilitySalvo =115 , kGdSpellJobSpark =116 ,
  kGdSpellJobDemoralization =117 , kGdSpellJobHypnotize =118 , kGdSpellJobTowerPain =119 , kGdSpellJobTowerStone =120 ,
  kGdSpellJobCloakOfNor =121 , kGdSpellJobFeignDeath =122 , kGdSpellJobDominateBreak =123 , kGdSpellJobDisenchant =124 ,
  Unknown2_0x7d =125 , kGdSpellJobIce1 =126 , kGdSpellJobIce2 =127 , kGdSpellJobFireBullet =128 ,
  kGdSpellJobTowerExtinct =129 , kGdSpellJobManaTapAura =130 , kGdSpellJobFireResistance =131 , kGdSpellJobEssenceBlack =132 ,
  kGdSpellJobAlmightinessBlack =133 , kGdSpellJobEssenceWhite =134 , kGdSpellJobAlmightinessWhite =135 , kGdSpellJobEssenceElemental =136 ,
  kGdSpellJobAlmightinessElemental =137 , kGdSpellJobEssenceMental =138 , kGdSpellJobAlmightinessMental =139 , kGdSpellJobEssenceElemental2 =140 ,
  kGdSpellJobAlmightinessMental2 =141 , kGdSpellJobAssistance =142 , kGdSpellJobHolyTouch =143 , kGdSpellJobRootsArea =144 ,
  kGdSpellJobEternity =145 , kGdSpellJobCannibalize =146 , kGdSpellJobDominateUndead =147 , kGdSpellJobDarknessArea =148 ,
  kGdSpellJobFreezeArea =149 , kGdSpellJobShiftMana =150 , kGdSpellJobRevenge =151 , kGdSpellJobTorture =152 ,
  kGdSpellJobReinforcement =153 , kGdSpellJobHypnotizeArea =154 , kGdSpellJobFeetOfClay =155 , kGdSpellJobConfuseArea =156 ,
  kGdSpellJobMutation =157 , kGdSpellJobAbilityShiftLife =158 , kGdSpellJobAbilityRiposte =159 , kGdSpellJobAbilityCriticalHits =160 ,
  kGdSpellJobAbilityManashield =161 , kGdSpellJobChain =162 , kGdSpellJobRoots =163 , kGdSpellJobMirage =164 ,
  kGdSpellJobFakeSpellOneFigure =165 , kGdSpellJobFeedback =166 , kGdSpellJobSiegeAura =167
}
enum  SpellDataKey {
  BUILDING_POSITION_X = 0x01 , BUILDING_POSITION_Y = 0x02 , WORKER_HOST_BUILDING_POS_X = 0x3 , WORKER_HOST_BUILDING_POS_Y = 0x4 ,
  SPELL_TICK_COUNT_AUX = 0x05 , EFFECT_EFFECT_INDEX = 0x06 , EFFECT_SPELL_ID = 0x09 , SPELL_STAT_MUL_MODIFIER = 0x0A ,
  SPELL_CONSERVATION_SHIELD = 0x0B , SPELL_PESTILENCE_DAMAGE = 0x0E , WORKER_DELIVERY_BUILDING = 0x10 , EFFECT_SPELL_INDEX = 0x11 ,
  SPELL_TICK_COUNT = 0x12 , EFFECT_ENTITY_TYPE2 = 0x13 , BUILDING_EFFECT_ID = 0x16 , EFFECT_ENTITY_INDEX2 = 0x1A ,
  EFFECT_SUBSPELL_ID = 0x1C , EFFECT_EFFECT_TYPE = 0x1D , EFFECT_PHYSICAL_DAMAGE = 0x1E , BUILDING_ANIM_LENGTH = 0x20 ,
  EFFECT_MANA_COST = 0x21 , EFFECT_SPELL_LINE = 0x24 , BUILDING_ANIM_START = 0x25 , SPELL_DOUBLE_DAMAGE = 0x26 ,
  BUILDING_QUEUE_COUNT = 0x28 , SPELL_STAT_MUL_MODIFIER2 = 0x27 , SPELL_STAT_MUL_MODIFIER3 = 0x2B , SPELL_STAT_MUL_MODIFIER4 = 0x2C ,
  EFFECT_ENTITY_INDEX3 = 0x2D , EFFECT_ENTITY_INDEX = 0x2F , EFFECT_ENTITY_TYPE = 0x30 , EFFECT_ADD_SUBSPELL = 0x33
}
enum  CGdEffectType : uint16_t {
  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
}
enum  StatisticDataKey {
  ARMOR , AGILITY , CHARISMA , DEXTERITY ,
  HEALTH , INTELLIGENCE , MANA , STAMINA ,
  STRENGTH , WISDOM , RESISTANCE_FIRE , RESISTANCE_ICE ,
  RESISTANCE_MENTAL , RESISTANCE_BLACK , WALK_SPEED , FIGHT_SPEED ,
  CAST_SPEED
}
enum  FigureJobs {
  kGdJobDefault = 0 , kGdJobNone = 0 , kGdJobGroupNothing = 1 , kGdJobNothing = 1 ,
  kGdJobStepAside = 2 , kGdJobGroupWalk = 2 , kGdJobOfferMe = 3 , kGdJobShrineWorkerCheckDrop = 4 ,
  kGdJobCarpenterWork = 5 , kGdJobWalkToBasePoint = 6 , kGdJobCastPreResolve = 7 , kGdJobWalkToAttackMonument = 8 ,
  kGdJobCattleBreederWalkToDeliverGood = 9 , kGdJobWoodCutterStoopToDropLog = 10 , kGdJobCattleBreederCheckDrop = 11 , kGdJobWoodCutterCheckDrop = 12 ,
  kGdJobGotoBuildingForWork = 13 , kGdJobStartWorkAtBuilding = 14 , kGdJobCattleBreederWalkHome = 15 , kGdJobCorpseCollectorWalkToCorpse = 16 ,
  kGdJobBuilderWalkToBuildPos = 17 , kGdJobBuilderBuild = 18 , kGdJobCorpseCollectorSearchForWork = 19 , kGdJobStoneMinerCheckDrop = 20 ,
  kGdJobMinerCheckResource = 21 , kGdJobFarmerWalkToDeliverGood = 22 , kGdJobWoodCutterSearchTree = 23 , kGdJobWoodCutterWalkToTree = 24 ,
  kGdJobWoodCutterCheckTree = 25 , kGdJobWoodCutterCutTree = 26 , kGdJobWoodCutterWalkHome = 27 , kGdJobClubMakerSearchForWork = 28 ,
  kGdJobMinerWalkToWork = 29 , kGdJobStoneMinerStoopToDropStone = 30 , kGdJobCorpseCollectorCheckCorpse = 31 , kGdJobStoneMinerSearchStone = 32 ,
  kGdJobStoneMinerWalkToStone = 33 , kGdJobStoneMinerCheckStone = 34 , kGdJobStoneMinerCrushStone = 35 , kGdJobStoneMinerWalkHome = 36 ,
  kGdJobClubMakerWork = 37 , kGdJobGoto = 38 , kGdJobWalkToTarget = 39 , kGdJobHitTarget = 40 ,
  kGdJobDie = 41 , kGdJobWarriorNothing = 42 , kGdJobCast = 43 , kGdJobCarpenterSearchForWork = 44 ,
  kGdJobMinerWalkHome = 45 , kGdJobMinerCheckDrop = 46 , kGdJobSmelterSearchForWork = 47 , kGdJobSmelterWork = 48 ,
  kGdJobMinerWalkToDeliverGood = 49 , kGdJobCarrierCheckDrop = 50 , kGdJobGathererSearchResource = 51 , kGdJobShrineWorkerSearchForWork = 52 ,
  kGdJobShrineWorkerWalkToMana = 53 , kGdJobShrineWorkerTakeMana = 54 , kGdJobShrineWorkerWalkHome = 55 , kGdJobFoodWorkerSearchForWork = 56 ,
  kGdJobFoodWorkerWork = 57 , kGdJobGathererWalkToResource = 58 , kGdJobGathererCheckResource = 59 , kGdJobGathererWork = 60 ,
  kGdJobGathererWalkHome = 61 , kGdJobPriestSearchForWork = 62 , kGdJobPriestWork = 63 , kGdJobFarmerCheckDrop = 64 ,
  kGdJobFarmerCheckHarvest = 65 , kGdJobGathererWalkToDeliverGood = 66 , kGdJobGathererCheckDrop = 67 , kGdJobEnterBuilding = 68 ,
  kGdJobExitBuilding = 69 , kGdJobHunterCheckTarget = 70 , kGdJobHitTargetRange1 = 71 , kGdJobStoneMinerWalkToDeliverGood = 72 ,
  kGdJobWalkToObject = 73 , kGdJobHitTargetRange2 = 74 , kGdJobForesterCheckPlant = 75 , kGdJobForesterSearchForWork = 76 ,
  kGdJobForesterWalkToWork = 77 , kGdJobForesterPlant = 78 , kGdJobForesterWalkHome = 79 , kGdJobCorpseCollectorWalkHome = 80 ,
  kGdJobMeleeAbility = 81 , kGdJobFarmerWaitForWork = 82 , kGdJobOrcRegenerate = 83 , kGdJobFarmerWalkToSow = 84 ,
  kGdJobFarmerSow = 85 , kGdJobFarmerWalkHomeSow = 86 , kGdJobCorpseCollectorCutCorpse = 87 , kGdJobCorpseCollectorWalkToDeliverGood = 88 ,
  kGdJobFarmerWalkToHarvest = 89 , kGdJobFarmerHarvest = 90 , kGdJobFarmerWalkHomeHarvest = 91 , kGdJobCorpseCollectorCheckDrop = 92 ,
  kGdJobWoodCutterWalkToDeliverGood = 93 , kGdJobShrineWorkerCheckMana = 94 , kGdJobFisherSearchForWork = 95 , kGdJobFisherWalkToWork = 96 ,
  kGdJobFisherCheckResource = 97 , kGdJobFisherWork = 98 , kGdJobFisherWalkHome = 99 , kGdJobFisherWalkToDeliverGood = 100 ,
  kGdJobFisherCheckDrop = 101 , kGdJobWalkToPortal = 102 , kGdJobPreCast = 103 , kGdJobBuilderSearchForWork = 104 ,
  kGdJobReleaseDelay = 105 , kGdJobPetIdle = 106 , kGdJobPetWalkToMaster = 107 , kGdJobAnimalIdle = 108 ,
  kGdJobAnimalWalkToNewPlace = 109 , kGdJobWalkToNPC = 110 , kGdJobCriticalHit = 111 , kGdJobMinerSearchResource = 112 ,
  kGdJobMinerWork = 113 , kGdJobMinerStoopToDropGood = 114 , kGdJobFeignDeath = 115 , kGdJob116 = 116 ,
  kGdJob117 = 117 , kGdJob118 = 118 , kGdJobSmithSearchForWork = 119 , kGdJobSmithWork = 120 ,
  kGdJobHunterCheckCorpse = 121 , kGdJobHunterCutCorpse = 122 , kGdJobHunterCheckDrop = 123 , kGdJobCorpseRot = 124 ,
  kGdJobManualWalkToTarget = 125 , kGdJobHunterSearchForWork = 126 , kGdJobHunterWalkToTarget = 127 , kGdJobHunterHitTarget = 128 ,
  kGdJobHunterWalkToCorpse = 129 , kGdJob130 = 130 , kGdJob131 = 131 , kGdJobHunterWalkHome = 132 ,
  kGdJobHunterWalkToDeliverGood = 133 , kGdJobCattleBreederSearchForWork = 134 , kGdJobCattleBreederFeed = 135 , kGdJob136 = 136 ,
  kGdJobCorpseRotWithLoot = 137 , kGdJobCastResolve = 138 , kGdJobWalkToMaster = 139 , kGdJobCheckBattleSleep = 140 ,
  kGdJobWalkToAttackBuilding = 141 , kGdJobWarTowerIdle = 142 , kGdJobGotHit = 143 , kGdJobWalkBack = 144 ,
  kGdJobStrafeLeft = 145 , kGdJobStrafeRight = 146 , kGdJobStoop = 147 , kGdJobStandup = 148 ,
  kGdJobStrike = 149 , kGdJobStab = 150 , kGdJobPunch = 151
}
enum  CGdFigureTask : uint8_t {
  TASK_WORKER = 2 , TASK_WOODCUTTER = 3 , TASK_QUARRY = 4 , TASK_MINE = 5 ,
  TASK_FORGE = 6 , TASK_CARPENTER = 7 , TASK_HERO = 9 , TASK_MAINCHAR = 10 ,
  TASK_NPC = 11 , TASK_PET = 12 , TASK_HUNTER = 13 , TASK_HUNTING_LODGE = 14 ,
  TASK_CATTLE_BREEDER = 15 , TASK_FISHER = 16 , TASK_MERCHANT = 17 , TASK_MASTER_WOODCUTTER = 18 ,
  TASK_SHRINE = 21 , TASK_PRIEST = 22 , TASK_SMELTER = 23 , TASK_STOREKEEPER = 24 ,
  TASK_GATHERER = 25 , TASK_FARMER = 26 , TASK_FORESTER = 27 , TASK_SCAVENGER =29 ,
  TASK_MACE_CARVER = 30 , TASK_MASTER_FISHER = 32
}
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  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 , SIEGE_AURA_SPELL = 0x100 , AURA_SPELL = 0x200 , STACKABLE_SPELL = 0x400 ,
  SPELL_TAG_COUNT = 12
}
enum  BuildingTag : uint32_t {
  HQ_BUILDING = 0x1 , WOODCUTTER_BUILDING = 0x2 , BREEDER_BUILDING = 0x4 , QUARRY_BUILDING = 0x8 ,
  FOODSTORE_BUILDING = 0x10 , HUNTER_BUILDING = 0x20 , FISHER_BUILDING = 0x40 , FARM_BUILDING = 0x80 ,
  MINER_BUILDING = 0x100 , SMELTER_BUILDING = 0x200 , SHRINE_BUILDING = 0x400 , TEMPLE_BUILDING = 0x800 ,
  FORESTER_BUILDING = 0x1000 , GATHERER_BUILDING = 0x2000 , FORGE_BUILDING = 0x4000 , MACE_CARVER_BUILDING = 0x8000 ,
  TOWER_BUILDING = 0x10000 , MASTER_BUILDING = 0x20000 , MOONSILVER_BUILDING = 0x40000 , SAWMILL_BUILDING = 0x80000 ,
  SCAVENGER_BUILDING = 0x100000 , STONEMASON_BUILDING = 0x200000 , HABITABLE_BUILDING = 0x400000 , HABITABLE_SINGLE_BUILDING = 0x800000
}
enum  OnHitPhase {
  PHASE_0 = 0 , PHASE_1 , PHASE_2 , PHASE_3 ,
  PHASE_4 , PHASE_5 , OnHitEnd
}
enum  SpellDamagePhase { PRE , DEFAULT , POST , COUNT }

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)
CMnuSmpButton *__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)

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 1845 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 1748 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 1752 of file sf_general_structures.h.

◆ AutoClass46

typedef struct AutoClass46 AutoClass46

Definition at line 23 of file sf_general_structures.h.

◆ CGdControllerClient

typedef struct CGdControllerClient CGdControllerClient

Definition at line 31 of file sf_general_structures.h.

◆ CMnuLabel

typedef struct CMnuLabel CMnuLabel

Definition at line 30 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 1801 of file sf_general_structures.h.

◆ console_print_ptr

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

Definition at line 1694 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 1708 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 1711 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 1730 of file sf_general_structures.h.

◆ create_option_ptr

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

Definition at line 1745 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 1799 of file sf_general_structures.h.

◆ fidfree_ptr

typedef void(* fidfree_ptr) (uint32_t *memory_ptr)

Definition at line 1703 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 1697 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 1696 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 1699 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 1701 of file sf_general_structures.h.

◆ fun_0069f8d0_ptr

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

Definition at line 1774 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 1775 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 1769 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 1788 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 1750 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 1796 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 1783 of file sf_general_structures.h.

◆ fun_009a0750_ptr

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

Definition at line 1781 of file sf_general_structures.h.

◆ fun_009a1fd0_ptr

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

Definition at line 1787 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 1772 of file sf_general_structures.h.

◆ fun_009a4020_ptr

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

Definition at line 1763 of file sf_general_structures.h.

◆ fun_009cd1f0_ptr

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

Definition at line 1786 of file sf_general_structures.h.

◆ fun_009de190_ptr

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

Definition at line 1782 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 1761 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 1756 of file sf_general_structures.h.

◆ fun_00a49b10_ptr

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

Definition at line 1758 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 1742 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 1739 of file sf_general_structures.h.

◆ get_smth_fonts_ptr

typedef SF_FontStruct *(* get_smth_fonts_ptr) (void)

Definition at line 1741 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 1695 of file sf_general_structures.h.

◆ getSpellLineIsTargetSelf_ptr

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

Definition at line 1779 of file sf_general_structures.h.

◆ initialize_menu_container_ptr

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

Definition at line 1707 of file sf_general_structures.h.

◆ log_debug_ptr

typedef void(* log_debug_ptr) (DebugLevel level, const char *format,...)

Definition at line 820 of file sf_general_structures.h.

◆ log_function_ptr

typedef void(* log_function_ptr) (const char *format,...)

Definition at line 819 of file sf_general_structures.h.

◆ menu_label_constructor_ptr

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

Definition at line 1723 of file sf_general_structures.h.

◆ menu_label_ptr

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

Definition at line 1704 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 1734 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 1744 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 1705 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 1718 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 1714 of file sf_general_structures.h.

◆ new_operator_ptr

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

Definition at line 1729 of file sf_general_structures.h.

◆ original_menu_func_ptr

typedef void(__fastcall * original_menu_func_ptr) (uint32_t param1)

Definition at line 1727 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 1724 of file sf_general_structures.h.

◆ SF_CGdBuilding

typedef struct SF_CGdBuilding SF_CGdBuilding

Definition at line 21 of file sf_general_structures.h.

◆ SF_CGdBuildingToolbox

typedef struct SF_CGdBuildingToolbox SF_CGdBuildingToolbox

Definition at line 22 of file sf_general_structures.h.

◆ SF_CGdEffect

typedef struct SF_CGdEffect SF_CGdEffect

Definition at line 17 of file sf_general_structures.h.

◆ SF_CGdFigure

typedef struct SF_CGdFigure SF_CGdFigure

Definition at line 24 of file sf_general_structures.h.

◆ SF_CGdFigureJobs

typedef struct SF_CGdFigureJobs SF_CGdFigureJobs

Definition at line 20 of file sf_general_structures.h.

◆ SF_CGdFigureToolbox

typedef struct SF_CGdFigureToolbox SF_CGdFigureToolbox

Definition at line 15 of file sf_general_structures.h.

◆ SF_CGdObject

typedef struct SF_CGdObject SF_CGdObject

Definition at line 28 of file sf_general_structures.h.

◆ SF_CGdPlayer

typedef struct SF_CGdPlayer SF_CGdPlayer

Definition at line 27 of file sf_general_structures.h.

◆ SF_CGdResource

typedef struct SF_CGdResource SF_CGdResource

Definition at line 26 of file sf_general_structures.h.

◆ SF_CGdSpell

typedef struct SF_CGdSpell SF_CGdSpell

Definition at line 14 of file sf_general_structures.h.

◆ SF_CGdWorld

typedef struct SF_CGdWorld SF_CGdWorld

Definition at line 18 of file sf_general_structures.h.

◆ SF_CGdWorldToolBox

typedef struct SF_CGdWorldToolBox SF_CGdWorldToolBox

Definition at line 19 of file sf_general_structures.h.

◆ SF_GdEffect

typedef struct SF_GdEffect SF_GdEffect

Definition at line 16 of file sf_general_structures.h.

◆ SF_SpellEffectInfo

typedef struct SF_SpellEffectInfo SF_SpellEffectInfo

Definition at line 25 of file sf_general_structures.h.

◆ vfun163_ptr

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

Definition at line 1766 of file sf_general_structures.h.

◆ vfun164_ptr

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

Definition at line 1765 of file sf_general_structures.h.

◆ vfun41_ptr

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

Definition at line 1767 of file sf_general_structures.h.

Enumeration Type Documentation

◆ BuildingTag

enum BuildingTag : uint32_t
Enumerator
HQ_BUILDING 
WOODCUTTER_BUILDING 
BREEDER_BUILDING 
QUARRY_BUILDING 
FOODSTORE_BUILDING 
HUNTER_BUILDING 
FISHER_BUILDING 
FARM_BUILDING 
MINER_BUILDING 
SMELTER_BUILDING 
SHRINE_BUILDING 
TEMPLE_BUILDING 
FORESTER_BUILDING 
GATHERER_BUILDING 
FORGE_BUILDING 
MACE_CARVER_BUILDING 
TOWER_BUILDING 
MASTER_BUILDING 
MOONSILVER_BUILDING 
SAWMILL_BUILDING 
SCAVENGER_BUILDING 
STONEMASON_BUILDING 
HABITABLE_BUILDING 
HABITABLE_SINGLE_BUILDING 

Definition at line 846 of file sf_general_structures.h.

◆ CGdEffectType

enum CGdEffectType : uint16_t
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 497 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 789 of file sf_general_structures.h.

◆ CGdFigureTask

enum CGdFigureTask : uint8_t
Enumerator
TASK_WORKER 
TASK_WOODCUTTER 
TASK_QUARRY 
TASK_MINE 
TASK_FORGE 
TASK_CARPENTER 
TASK_HERO 
TASK_MAINCHAR 
TASK_NPC 
TASK_PET 
TASK_HUNTER 
TASK_HUNTING_LODGE 
TASK_CATTLE_BREEDER 
TASK_FISHER 
TASK_MERCHANT 
TASK_MASTER_WOODCUTTER 
TASK_SHRINE 
TASK_PRIEST 
TASK_SMELTER 
TASK_STOREKEEPER 
TASK_GATHERER 
TASK_FARMER 
TASK_FORESTER 
TASK_SCAVENGER 
TASK_MACE_CARVER 
TASK_MASTER_FISHER 

Definition at line 723 of file sf_general_structures.h.

◆ DebugLevel

enum DebugLevel
Enumerator
DEBUG_INFO 
DEBUG_LOW 
DEBUG_MED 
DEBUG_HIGH 
DEBUG_ALL 

Definition at line 35 of file sf_general_structures.h.

◆ FigureJobs

enum FigureJobs
Enumerator
kGdJobDefault 
kGdJobNone 
kGdJobGroupNothing 
kGdJobNothing 
kGdJobStepAside 
kGdJobGroupWalk 
kGdJobOfferMe 
kGdJobShrineWorkerCheckDrop 
kGdJobCarpenterWork 
kGdJobWalkToBasePoint 
kGdJobCastPreResolve 
kGdJobWalkToAttackMonument 
kGdJobCattleBreederWalkToDeliverGood 
kGdJobWoodCutterStoopToDropLog 
kGdJobCattleBreederCheckDrop 
kGdJobWoodCutterCheckDrop 
kGdJobGotoBuildingForWork 
kGdJobStartWorkAtBuilding 
kGdJobCattleBreederWalkHome 
kGdJobCorpseCollectorWalkToCorpse 
kGdJobBuilderWalkToBuildPos 
kGdJobBuilderBuild 
kGdJobCorpseCollectorSearchForWork 
kGdJobStoneMinerCheckDrop 
kGdJobMinerCheckResource 
kGdJobFarmerWalkToDeliverGood 
kGdJobWoodCutterSearchTree 
kGdJobWoodCutterWalkToTree 
kGdJobWoodCutterCheckTree 
kGdJobWoodCutterCutTree 
kGdJobWoodCutterWalkHome 
kGdJobClubMakerSearchForWork 
kGdJobMinerWalkToWork 
kGdJobStoneMinerStoopToDropStone 
kGdJobCorpseCollectorCheckCorpse 
kGdJobStoneMinerSearchStone 
kGdJobStoneMinerWalkToStone 
kGdJobStoneMinerCheckStone 
kGdJobStoneMinerCrushStone 
kGdJobStoneMinerWalkHome 
kGdJobClubMakerWork 
kGdJobGoto 
kGdJobWalkToTarget 
kGdJobHitTarget 
kGdJobDie 
kGdJobWarriorNothing 
kGdJobCast 
kGdJobCarpenterSearchForWork 
kGdJobMinerWalkHome 
kGdJobMinerCheckDrop 
kGdJobSmelterSearchForWork 
kGdJobSmelterWork 
kGdJobMinerWalkToDeliverGood 
kGdJobCarrierCheckDrop 
kGdJobGathererSearchResource 
kGdJobShrineWorkerSearchForWork 
kGdJobShrineWorkerWalkToMana 
kGdJobShrineWorkerTakeMana 
kGdJobShrineWorkerWalkHome 
kGdJobFoodWorkerSearchForWork 
kGdJobFoodWorkerWork 
kGdJobGathererWalkToResource 
kGdJobGathererCheckResource 
kGdJobGathererWork 
kGdJobGathererWalkHome 
kGdJobPriestSearchForWork 
kGdJobPriestWork 
kGdJobFarmerCheckDrop 
kGdJobFarmerCheckHarvest 
kGdJobGathererWalkToDeliverGood 
kGdJobGathererCheckDrop 
kGdJobEnterBuilding 
kGdJobExitBuilding 
kGdJobHunterCheckTarget 
kGdJobHitTargetRange1 
kGdJobStoneMinerWalkToDeliverGood 
kGdJobWalkToObject 
kGdJobHitTargetRange2 
kGdJobForesterCheckPlant 
kGdJobForesterSearchForWork 
kGdJobForesterWalkToWork 
kGdJobForesterPlant 
kGdJobForesterWalkHome 
kGdJobCorpseCollectorWalkHome 
kGdJobMeleeAbility 
kGdJobFarmerWaitForWork 
kGdJobOrcRegenerate 
kGdJobFarmerWalkToSow 
kGdJobFarmerSow 
kGdJobFarmerWalkHomeSow 
kGdJobCorpseCollectorCutCorpse 
kGdJobCorpseCollectorWalkToDeliverGood 
kGdJobFarmerWalkToHarvest 
kGdJobFarmerHarvest 
kGdJobFarmerWalkHomeHarvest 
kGdJobCorpseCollectorCheckDrop 
kGdJobWoodCutterWalkToDeliverGood 
kGdJobShrineWorkerCheckMana 
kGdJobFisherSearchForWork 
kGdJobFisherWalkToWork 
kGdJobFisherCheckResource 
kGdJobFisherWork 
kGdJobFisherWalkHome 
kGdJobFisherWalkToDeliverGood 
kGdJobFisherCheckDrop 
kGdJobWalkToPortal 
kGdJobPreCast 
kGdJobBuilderSearchForWork 
kGdJobReleaseDelay 
kGdJobPetIdle 
kGdJobPetWalkToMaster 
kGdJobAnimalIdle 
kGdJobAnimalWalkToNewPlace 
kGdJobWalkToNPC 
kGdJobCriticalHit 
kGdJobMinerSearchResource 
kGdJobMinerWork 
kGdJobMinerStoopToDropGood 
kGdJobFeignDeath 
kGdJob116 
kGdJob117 
kGdJob118 
kGdJobSmithSearchForWork 
kGdJobSmithWork 
kGdJobHunterCheckCorpse 
kGdJobHunterCutCorpse 
kGdJobHunterCheckDrop 
kGdJobCorpseRot 
kGdJobManualWalkToTarget 
kGdJobHunterSearchForWork 
kGdJobHunterWalkToTarget 
kGdJobHunterHitTarget 
kGdJobHunterWalkToCorpse 
kGdJob130 
kGdJob131 
kGdJobHunterWalkHome 
kGdJobHunterWalkToDeliverGood 
kGdJobCattleBreederSearchForWork 
kGdJobCattleBreederFeed 
kGdJob136 
kGdJobCorpseRotWithLoot 
kGdJobCastResolve 
kGdJobWalkToMaster 
kGdJobCheckBattleSleep 
kGdJobWalkToAttackBuilding 
kGdJobWarTowerIdle 
kGdJobGotHit 
kGdJobWalkBack 
kGdJobStrafeLeft 
kGdJobStrafeRight 
kGdJobStoop 
kGdJobStandup 
kGdJobStrike 
kGdJobStab 
kGdJobPunch 

Definition at line 563 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 753 of file sf_general_structures.h.

◆ GdSpellJob

enum GdSpellJob : uint16_t
Enumerator
kGdSpellJobFireburst 
kGdSpellJobHealing 
kGdSpellJobDeath 
kGdSpellJobPoison 
kGdSpellJobCurePoison 
kGdSpellJobInvulerability 
kGdSpellJobUnknown1 
kGdSpellJobIcestrike1 
kGdSpellJobFog 
kGdSpellJobStone 
kGdSpellJobSlowness 
kGdSpellJobFreeze 
kGdSpellJobDecay 
kGdSpellJobPain 
kGdSpellJobIceShield 
kGdSpellJobIlluminate 
kGdSpellJobFireBall1 
kGdSpellJobFireShield1 
kGdSpellJobIceShield2 
kGdSpellJobLifetap 
kGdSpellJobDecay2 
kGdSpellJobIceshield3 
kGdSpellJobSummon 
kGdSpellJobPetrify 
kGdSpellJobPestilence 
kGdSpellJobCureDisease 
kGdSpellJobPainArea 
kGdSpellJobDeathGrasp 
kGdSpellJobInflexibility 
kGdSpellJobDetectMagic 
kGdSpellJobWeaken 
kGdSpellJobDarkBanishing 
kGdSpellJobSlownessArea 
kGdSpellJobInflexibilityArea 
kGdSpellJobWeakenArea 
kGdSpellJobPlaugeArea 
kGdSpellJobRemediless 
kGdSpellJobHealingArea 
kGdSpellJobSentinelHealing 
kGdSpellJobQuickness 
kGdSpellJobQuicknessArea 
kGdSpellJobThornshield 
kGdSpellJobFlexibility 
kGdSpellJobFlexibilityArea 
kGdSpellJobStrength 
kGdSpellJobStrengthArea 
kGdSpellJobGuard 
kGdSpellJobRegenerate 
kGdSpellJobHallow 
kGdSpellJobFireshield2 
kGdSpellJobThorns 
kGdSpellJobRaiseDead 
Job0x35 
Job0x36 
kGdSpellJobForget 
kGdSpellJobRetention 
kGdSpellJobBrilliance 
kGdSpellJobSacrificeMana 
kGdSpellJobManaTap 
kGdSpellJobManaDrain 
kGdSpellJobAmok 
kGdSpellJobConfuse 
kGdSpellJobDisrupt 
kGdSpellJobAcidCloud 
kGdSpellJobRainOfFire 
kGdSpellJobShock 
kGdSpellJobBlizzard 
kGdSpellJobRainOfStone 
kGdSpellJobCharmAnimal 
kGdSpellJobInvisibility 
kGdSpellJobExtinct 
kGdSpellJobRemoveCurse 
kGdSpellJobAura 
kGdSpellJobSuffocation 
kGdSpellJobSlowFighting 
kGdSpellJobInability 
kGdSpellJobSuicideDeath 
kGdSpellJobEndurance 
kGdSpellJobFastFighting 
kGdSpellJobDexterity 
kGdSpellJobSuicideHeal 
kGdSpellJobDispelWhiteAura 
kGdSpellJobDispelBlackAura 
kGdSpellJobDominateAnimal 
kGdSpellJobWave 
kGdSpellJobRockBullet 
kGdSpellJobMeltResistance 
kGdSpellJobChillResistance 
kGdSpellJobCharisma 
kGdSpellJobEnlightement 
kGdSpellJobMeditation 
kGdSpellJobShockwave 
kGdSpellJobBefriend 
kGdSpellJobDominate 
kGdSpellJobCharm 
kGdSpellJobTowerArrow 
kGdSpellJobHealingAura 
kGdSpellJobIceStrike2 
kGdSpellJobDistract 
kGdSpellJobDetectMetal 
kGdSpellJobConservation 
kGdSpellJobLifeTapAura 
kGdSpellJobFireball2 
kGdSpellJobSelfIllusion 
kGdSpellJobAbilityWarCry 
kGdSpellJobAbilityBenefactions 
kGdSpellJobAbilityPatronize 
kGdSpellJobAbilityEndurance 
kGdSpellJobAbilityBerserk 
kGdSpellJobAbilityBoons 
kGdSpellJobAbilityShelter 
kGdSpellJobAbilityDurability 
kGdSpellJobAbilityTrueShot 
kGdSpellJobAbilitySteelskin 
kGdSpellJobAbilitySalvo 
kGdSpellJobSpark 
kGdSpellJobDemoralization 
kGdSpellJobHypnotize 
kGdSpellJobTowerPain 
kGdSpellJobTowerStone 
kGdSpellJobCloakOfNor 
kGdSpellJobFeignDeath 
kGdSpellJobDominateBreak 
kGdSpellJobDisenchant 
Unknown2_0x7d 
kGdSpellJobIce1 
kGdSpellJobIce2 
kGdSpellJobFireBullet 
kGdSpellJobTowerExtinct 
kGdSpellJobManaTapAura 
kGdSpellJobFireResistance 
kGdSpellJobEssenceBlack 
kGdSpellJobAlmightinessBlack 
kGdSpellJobEssenceWhite 
kGdSpellJobAlmightinessWhite 
kGdSpellJobEssenceElemental 
kGdSpellJobAlmightinessElemental 
kGdSpellJobEssenceMental 
kGdSpellJobAlmightinessMental 
kGdSpellJobEssenceElemental2 
kGdSpellJobAlmightinessMental2 
kGdSpellJobAssistance 
kGdSpellJobHolyTouch 
kGdSpellJobRootsArea 
kGdSpellJobEternity 
kGdSpellJobCannibalize 
kGdSpellJobDominateUndead 
kGdSpellJobDarknessArea 
kGdSpellJobFreezeArea 
kGdSpellJobShiftMana 
kGdSpellJobRevenge 
kGdSpellJobTorture 
kGdSpellJobReinforcement 
kGdSpellJobHypnotizeArea 
kGdSpellJobFeetOfClay 
kGdSpellJobConfuseArea 
kGdSpellJobMutation 
kGdSpellJobAbilityShiftLife 
kGdSpellJobAbilityRiposte 
kGdSpellJobAbilityCriticalHits 
kGdSpellJobAbilityManashield 
kGdSpellJobChain 
kGdSpellJobRoots 
kGdSpellJobMirage 
kGdSpellJobFakeSpellOneFigure 
kGdSpellJobFeedback 
kGdSpellJobSiegeAura 

Definition at line 290 of file sf_general_structures.h.

◆ GdSpellLine

enum GdSpellLine : uint16_t
Enumerator
kGdSpellLineFireBurst 
kGdSpellLineHealing 
kGdSpellLineDeath 
kGdSpellLineSlowness 
kGdSpellLinePoison 
kGdSpellLineInvulnerability 
kGdSpellLineCurePoison 
kGdSpellLineFreeze 
kGdSpellLineFog 
kGdSpellLineIlluminate 
kGdSpellLineFireShield 
kGdSpellLineFireBall 
kGdSpellLineIceBurst 
kGdSpellLineIceShield 
kGdSpellLineDecay 
kGdSpellLineDecayArea 
kGdSpellLinePain 
kGdSpellLineLifeTap 
kGdSpellLineSummonGoblin 
kGdSpellLineHypnotize 
kGdSpellLineIceShieldStun 
kGdSpellLinePestilence 
kGdSpellLineCureDisease 
kGdSpellLinePetrify 
kGdSpellLinePainArea 
kGdSpellLineSummonSkeleton 
kGdSpellLineRaiseDead 
kGdSpellLineSummonDemon 
kGdSpellLineDeathGrasp 
kGdSpellLineSummonChanneler 
kGdSpellLineInflexibility 
kGdSpellLineWeaken 
kGdSpellLineDarkBanishing 
kGdSpellLineSlownessArea 
kGdSpellLineInflexibilityArea 
kGdSpellLineWeakenArea 
kGdSpellLinePlagueArea 
kGdSpellLineRemediless 
kGdSpellLineDarkMight 
kGdSpellLineHealingArea 
kGdSpellLineSentinelHealing 
kGdSpellLineGreaterHealing 
kGdSpellLineCharmAnimal 
kGdSpellLineThornShield 
kGdSpellLineQuickness 
kGdSpellLineQuicknessArea 
kGdSpellLineFlexibility 
kGdSpellLineFlexibilityArea 
kGdSpellLineStrengthen 
kGdSpellLineStrengthenArea 
kGdSpellLineGuard 
kGdSpellLineRemoveCurse 
kGdSpellLineRegenerate 
kGdSpellLineHolyMight 
kGdSpellLineHallow 
kGdSpellLineFireShieldDamage 
kGdSpellLineThornShieldDamage 
kGdSpellLineForget 
kGdSpellLineSelfIllusion 
kGdSpellLineRetention 
kGdSpellLineBrilliance 
kGdSpellLineSacrificeMana 
kGdSpellLineManaTap 
kGdSpellLineManaDrain 
kGdSpellLineShock 
kGdSpellLineDisrupt 
kGdSpellLineFear 
kGdSpellLineConfuse 
kGdSpellLineRainOfFire 
kGdSpellLineBlizzard 
kGdSpellLineAcidCloud 
kGdSpellLineStoneRain 
kGdSpellLineWallOfRocks 
kGdSpellLineRingOfRocks 
kGdSpellLineAmok 
kGdSpellLineExtinct 
kGdSpellLineDetectMetal 
kGdSpellLineDetectMagic 
kGdSpellLineArrow 
kGdSpellLineBerserk 
kGdSpellLineInvisibility 
kGdSpellLineStone 
kGdSpellLineAuraWeakness 
kGdSpellLineAuraSuffocation 
kGdSpellLineSuicideDeath 
kGdSpellLineAuraLifeTap 
kGdSpellLineSummonSpectre 
kGdSpellLineFeignDeath 
kGdSpellLineAuraSlowFighting 
kGdSpellLineAuraInflexibility 
kGdSpellLineDispelWhiteAura 
kGdSpellLineAuraSlowWalking 
kGdSpellLineAuraInability 
kGdSpellLineSuffocation 
kGdSpellLineInability 
kGdSpellLineSlowFighting 
kGdSpellLineAuraStrength 
kGdSpellLineAuraHealing 
kGdSpellLineAuraEndurance 
kGdSpellLineSuicideHeal 
kGdSpellLineSummonWolf 
kGdSpellLineAuraRegeneration 
kGdSpellLineDominateAnimal 
kGdSpellLineSummonBear 
kGdSpellLineAuraFastFighting 
kGdSpellLineAuraFlexibility 
kGdSpellLineDispelBlackAura 
kGdSpellLineAuraFastWalking 
kGdSpellLineAuraLight 
kGdSpellLineAuraDexterity 
kGdSpellLineDexterity 
kGdSpellLineEndurance 
kGdSpellLineFastFighting 
kGdSpellLineDistract 
kGdSpellLineDominate 
kGdSpellLineObjectIllusion 
kGdSpellLineCharm 
kGdSpellLineBefriend 
kGdSpellLineDisenchant 
kGdSpellLineCharisma 
kGdSpellLineShockwave 
kGdSpellLineAuraHypnotization 
kGdSpellLineDemoralization 
kGdSpellLineAuraBrilliance 
kGdSpellLineEnlightenment 
kGdSpellLineAuraManaTap 
kGdSpellLineMeditation 
kGdSpellLineFireElemental 
kGdSpellLineWaveOfFire 
kGdSpellLineMeltResistance 
kGdSpellLineIceElemental 
kGdSpellLineWaveOfIce 
kGdSpellLineChillResistance 
kGdSpellLineRockBullet 
kGdSpellLineConservation 
kGdSpellLineEarthElemental 
kGdSpellLineWaveOfRocks 
kGdSpellLineArrowTower 
kGdSpellLineHealingTower 
kGdSpellLineIceburstTower 
kGdSpellLineLifeTapAura 
kGdSpellLineFireBallEffect 
kGdSpellLineAbilityWarCry 
kGdSpellLineAbilityBenefactions 
kGdSpellLineAbilityPatronize 
kGdSpellLineAbilityEndurance 
kGdSpellLineAbilityBerserk 
kGdSpellLineAbilityBlessing 
kGdSpellLineAbilityShelter 
kGdSpellLineAbilityDurability 
kGdSpellLineAbilityTrueShot 
kGdSpellLineAbilitySteelSkin 
kGdSpellLineAbilitySalvo 
kGdSpellLineFireBurstTower 
kGdSpellLineSpark 
kGdSpellLineHypnotizeTower 
kGdSpellLinePainTower 
kGdSpellLineStoneTower 
kGdSpellLineProtectionBlack 
kGdSpellLineDoNotTouchMe 
kGdSpellLineHealingAura 
kGdSpellLineHypnotizeTwo 
kGdSpellLineIceArrowEffect 
kGdSpellLineIceBlockEffect 
kGdSpellLineFireBlockEffect 
kGdSpellLineExtinctTower 
kGdSpellLineManaTapAura 
kGdSpellLineFireResistance 
kGdSpellLineEssenceBlack 
kGdSpellLineEssenceWhite 
kGdSpellLineEssenceElemental 
kGdSpellLineEssenceMental 
kGdSpellLineAlmightinessBlack 
kGdSpellLineAlmightinessWhite 
kGdSpellLineAlmightinessElemental 
kGdSpellLineAlmightinessMental 
kGdSpellLineAlmightinessElementalEffect 
kGdSpellLineEssenceElementalEffect 
kGdSpellLineAssistance 
kGdSpellLineHolyTouch 
kGdSpellLineRevenge 
kGdSpellLineRootsArea 
kGdSpellLineSummonTreeWraith 
kGdSpellLineRoots 
kGdSpellLineChainHallow 
kGdSpellLineReinforcement 
kGdSpellLineAuraEternity 
kGdSpellLineChainPain 
kGdSpellLineCannibalize 
kGdSpellLineTorture 
kGdSpellLineChainLifetap 
kGdSpellLineDominateUndead 
kGdSpellLineSummonBlade 
kGdSpellLineMutation 
kGdSpellLineDarknessArea 
kGdSpellLineChainMutation 
kGdSpellLineChainFireburst 
kGdSpellLineSummonFireGolem 
kGdSpellLineChainFireball 
kGdSpellLineChainIceburst 
kGdSpellLineSummonIceGolem 
kGdSpellLineFreezeArea 
kGdSpellLineChainRockBullet 
kGdSpellLineSummonEarthGolem 
kGdSpellLineFeetClay 
kGdSpellLineMirrorImage 
kGdSpellLineChainCharm 
kGdSpellLineVoodoo 
kGdSpellLineChainShock 
kGdSpellLineHypnotizeArea 
kGdSpellLineConfuseArea 
kGdSpellLineChainManatap 
kGdSpellLineManaShield 
kGdSpellLineShiftMana 
kGdSpellLineAbilityShiftLife 
kGdSpellLineAbilityRiposte 
kGdSpellLineAbilityCriticalHits 
kGdSpellLineAuraSiegeHuman 
kGdSpellLineAuraSiegeElf 
kGdSpellLineAuraSiegeOrc 
kGdSpellLineAuraSiegeTroll 
kGdSpellLineAuraSiegeDarkElf 
kGdSpellLineEternity 
kGdSpellLineHallowChained 
kGdSpellLineLifeTapChained 
kGdSpellLineManaTapChained 
kGdSpellLineMutationChained 
kGdSpellLineFireBurstChained 
kGdSpellLineIceBurstChained 
kGdSpellLineRockBulletChained 
kGdSpellLineCharmChained 
kGdSpellLineShockChained 
kGdSpellLineFireBallChained 
kGdSpellLinePainChained 
kGdSpellLineFakeSpellOneFigure 

Definition at line 51 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 874 of file sf_general_structures.h.

◆ SpellDamagePhase

Enumerator
PRE 
DEFAULT 
POST 
COUNT 

Definition at line 885 of file sf_general_structures.h.

◆ SpellDataKey

Enumerator
BUILDING_POSITION_X 
BUILDING_POSITION_Y 
WORKER_HOST_BUILDING_POS_X 
WORKER_HOST_BUILDING_POS_Y 
SPELL_TICK_COUNT_AUX 
EFFECT_EFFECT_INDEX 
EFFECT_SPELL_ID 
SPELL_STAT_MUL_MODIFIER 
SPELL_CONSERVATION_SHIELD 
SPELL_PESTILENCE_DAMAGE 
WORKER_DELIVERY_BUILDING 
EFFECT_SPELL_INDEX 
SPELL_TICK_COUNT 
EFFECT_ENTITY_TYPE2 
BUILDING_EFFECT_ID 
EFFECT_ENTITY_INDEX2 
EFFECT_SUBSPELL_ID 
EFFECT_EFFECT_TYPE 
EFFECT_PHYSICAL_DAMAGE 
BUILDING_ANIM_LENGTH 
EFFECT_MANA_COST 
EFFECT_SPELL_LINE 
BUILDING_ANIM_START 
SPELL_DOUBLE_DAMAGE 
BUILDING_QUEUE_COUNT 
SPELL_STAT_MUL_MODIFIER2 
SPELL_STAT_MUL_MODIFIER3 
SPELL_STAT_MUL_MODIFIER4 
EFFECT_ENTITY_INDEX3 
EFFECT_ENTITY_INDEX 
EFFECT_ENTITY_TYPE 
EFFECT_ADD_SUBSPELL 

Definition at line 461 of file sf_general_structures.h.

◆ SpellFlagKey

enum SpellFlagKey : uint8_t
Enumerator
CHECK_SPELLS_BEFORE_CHECK_BATTLE 
CHECK_SPELLS_BEFORE_JOB2 
UNFREEZE 

Definition at line 44 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 
SIEGE_AURA_SPELL 
AURA_SPELL 
STACKABLE_SPELL 
SPELL_TAG_COUNT 

Definition at line 829 of file sf_general_structures.h.

◆ StatisticDataKey

Enumerator
ARMOR 
AGILITY 
CHARISMA 
DEXTERITY 
HEALTH 
INTELLIGENCE 
MANA 
STAMINA 
STRENGTH 
WISDOM 
RESISTANCE_FIRE 
RESISTANCE_ICE 
RESISTANCE_MENTAL 
RESISTANCE_BLACK 
WALK_SPEED 
FIGHT_SPEED 
CAST_SPEED 

Definition at line 542 of file sf_general_structures.h.

Function Documentation

◆ attach_new_button()

CMnuSmpButton *__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 )
extern

◆ attach_new_label()

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 )
extern

◆ attach_new_meshed_label()

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 )
extern

◆ attachVideo()

void attachVideo ( CAppMenu * CAppMenu_ptr,
CMnuContainer * parent,
char * video_loc_and_name_charsC )
extern