Spellforce-Spell-framework
Loading...
Searching...
No Matches
CGdAIBattleData Struct Reference

The main structure for handling AI battle data. More...

#include <sf_ai_structures.h>

Collaboration diagram for CGdAIBattleData:

Public Attributes

SF_CGdBuildingCGdBuilding
void * CGdBuildingToolBox
void * autoclass30
SF_CGdFigureCGdFigure
SF_CGdFigureJobsCGdFigureJobs
SF_CGdFigureToolboxCGdFigureToolBox
void * autoclass34
void * CGdFormation
void * CGdDoubleLinkList
void * CGdInfluenceMap
void * CGdObject
void * CGdObjectToolBox
SF_CGdPlayerCGdPlayer
void * CGdResource
SF_CGdSpellCGdSpell
void * autoclass22
void * autoclass50
void * CGdVisibility
SF_CGdWorldCGdWorld
SF_CGdWorldToolBoxCGdWorldToolBox
void * autoclass64
EntityPriorityList ally_figures
uint16_t unkn1
EntityPriorityList enemy_figures
uint16_t unkn2
EntityPriorityList building_ally
uint16_t unkn3
EntityPriorityList building_not_ally
uint16_t unkn4
uint32_t unkn5
SF_SGtFigureAction current_action
uint16_t current_action_min_rng
uint16_t current_action_max_rng
SF_String world_name
uint32_t can_be_target_maybe
uint16_t unkn6
uint8_t current_figure_sight_range_maybe
uint8_t unkn7
uint32_t figures_missing_hp
uint32_t current_figure_is_aggroed
uint32_t current_figure_is_not_mainchar_or_hero
uint32_t current_figure_has_amok
uint32_t unkn_flag1
uint32_t current_figure_is_mainchar
uint32_t current_figure_is_hero
uint32_t current_figure_has_owner
uint32_t manual_hit_target_maybe
uint32_t current_figure_is_tower
uint32_t current_figure_is_warrior
uint32_t something_related_to_ranking
uint8_t current_figure_target_type
uint16_t current_figure_target_index
SF_Coord current_figure_target_position
uint8_t unkn8
uint32_t current_hate
uint32_t current_ranking
uint8_t unkn_list [0xfa2]
uint16_t unkn9
uint32_t current_figure_noaggroattack
uint32_t is_map_arena3
ushort_list_node some_figure_list [2000]
ushort_list_node unkn_node
ushort_list_node another_figure_list [2000]
uint32_t unkn_array [2000]
uint16_t current_figure
SF_Coord current_figure_pos
uint16_t unkn10
uint32_t current_figure_is_combat_involved_maybe
uint32_t current_figure_has_aggro
uint32_t current_figure_has_demoralization
uint32_t unkn_flag2
uint32_t figures_max_hp
SF_CGdTargetData current_source_maybe
SF_CGdTargetData current_target
uint16_t unkn11
uint32_t force_process_figure_maybe
SF_CGdTargetData unknown_target
uint8_t unkn12
uint32_t some_ranking
uint32_t current_figure_is_pet
uint16_t current_figure_master
uint8_t unkn13
uint8_t unkn14
uint32_t figure_is_charmed_summon_maybe
uint32_t unkn_flag3
uint32_t current_target_level_possibly
uint32_t action_is_siege_aura

Detailed Description

The main structure for handling AI battle data.

This structure encapsulates various components required for managing AI behavior, including information about figures, targets, spells, and world data. It is utilized within the game's AI systems to coordinate and process actions, strategies, and outcomes.

Definition at line 40 of file sf_ai_structures.h.

Member Data Documentation

◆ action_is_siege_aura

uint32_t CGdAIBattleData::action_is_siege_aura

Definition at line 128 of file sf_ai_structures.h.

◆ ally_figures

EntityPriorityList CGdAIBattleData::ally_figures

Definition at line 63 of file sf_ai_structures.h.

◆ another_figure_list

ushort_list_node CGdAIBattleData::another_figure_list[2000]

Definition at line 104 of file sf_ai_structures.h.

◆ autoclass22

void* CGdAIBattleData::autoclass22

Definition at line 57 of file sf_ai_structures.h.

◆ autoclass30

void* CGdAIBattleData::autoclass30

Unidentified component

Definition at line 44 of file sf_ai_structures.h.

◆ autoclass34

void* CGdAIBattleData::autoclass34

Unidentified component

Definition at line 48 of file sf_ai_structures.h.

◆ autoclass50

void* CGdAIBattleData::autoclass50

Definition at line 58 of file sf_ai_structures.h.

◆ autoclass64

void* CGdAIBattleData::autoclass64

Definition at line 62 of file sf_ai_structures.h.

◆ building_ally

EntityPriorityList CGdAIBattleData::building_ally

Definition at line 67 of file sf_ai_structures.h.

◆ building_not_ally

EntityPriorityList CGdAIBattleData::building_not_ally

Definition at line 69 of file sf_ai_structures.h.

◆ can_be_target_maybe

uint32_t CGdAIBattleData::can_be_target_maybe

Definition at line 76 of file sf_ai_structures.h.

◆ CGdBuilding

SF_CGdBuilding* CGdAIBattleData::CGdBuilding

Pointer to the building data.

Definition at line 42 of file sf_ai_structures.h.

◆ CGdBuildingToolBox

void* CGdAIBattleData::CGdBuildingToolBox

ToolBox for managing building-related operations.

Definition at line 43 of file sf_ai_structures.h.

◆ CGdDoubleLinkList

void* CGdAIBattleData::CGdDoubleLinkList

Definition at line 50 of file sf_ai_structures.h.

◆ CGdFigure

SF_CGdFigure* CGdAIBattleData::CGdFigure

Pointer to the Global Figure data structure .

Definition at line 45 of file sf_ai_structures.h.

◆ CGdFigureJobs

SF_CGdFigureJobs* CGdAIBattleData::CGdFigureJobs

Pointer to the Global Figure Job data structure.

Definition at line 46 of file sf_ai_structures.h.

◆ CGdFigureToolBox

SF_CGdFigureToolbox* CGdAIBattleData::CGdFigureToolBox

Toolbox for figure-related operations.

Definition at line 47 of file sf_ai_structures.h.

◆ CGdFormation

void* CGdAIBattleData::CGdFormation

Definition at line 49 of file sf_ai_structures.h.

◆ CGdInfluenceMap

void* CGdAIBattleData::CGdInfluenceMap

Definition at line 51 of file sf_ai_structures.h.

◆ CGdObject

void* CGdAIBattleData::CGdObject

Definition at line 52 of file sf_ai_structures.h.

◆ CGdObjectToolBox

void* CGdAIBattleData::CGdObjectToolBox

Definition at line 53 of file sf_ai_structures.h.

◆ CGdPlayer

SF_CGdPlayer* CGdAIBattleData::CGdPlayer

Definition at line 54 of file sf_ai_structures.h.

◆ CGdResource

void* CGdAIBattleData::CGdResource

Definition at line 55 of file sf_ai_structures.h.

◆ CGdSpell

SF_CGdSpell* CGdAIBattleData::CGdSpell

Definition at line 56 of file sf_ai_structures.h.

◆ CGdVisibility

void* CGdAIBattleData::CGdVisibility

Definition at line 59 of file sf_ai_structures.h.

◆ CGdWorld

SF_CGdWorld* CGdAIBattleData::CGdWorld

Pointer to the game world data.

Definition at line 60 of file sf_ai_structures.h.

◆ CGdWorldToolBox

SF_CGdWorldToolBox* CGdAIBattleData::CGdWorldToolBox

Toolbox for managing world-related operations.

Definition at line 61 of file sf_ai_structures.h.

◆ current_action

SF_SGtFigureAction CGdAIBattleData::current_action

Definition at line 72 of file sf_ai_structures.h.

◆ current_action_max_rng

uint16_t CGdAIBattleData::current_action_max_rng

Definition at line 74 of file sf_ai_structures.h.

◆ current_action_min_rng

uint16_t CGdAIBattleData::current_action_min_rng

Definition at line 73 of file sf_ai_structures.h.

◆ current_figure

uint16_t CGdAIBattleData::current_figure

Definition at line 106 of file sf_ai_structures.h.

◆ current_figure_has_aggro

uint32_t CGdAIBattleData::current_figure_has_aggro

Definition at line 110 of file sf_ai_structures.h.

◆ current_figure_has_amok

uint32_t CGdAIBattleData::current_figure_has_amok

Definition at line 83 of file sf_ai_structures.h.

◆ current_figure_has_demoralization

uint32_t CGdAIBattleData::current_figure_has_demoralization

Definition at line 111 of file sf_ai_structures.h.

◆ current_figure_has_owner

uint32_t CGdAIBattleData::current_figure_has_owner

Definition at line 87 of file sf_ai_structures.h.

◆ current_figure_is_aggroed

uint32_t CGdAIBattleData::current_figure_is_aggroed

Definition at line 81 of file sf_ai_structures.h.

◆ current_figure_is_combat_involved_maybe

uint32_t CGdAIBattleData::current_figure_is_combat_involved_maybe

Definition at line 109 of file sf_ai_structures.h.

◆ current_figure_is_hero

uint32_t CGdAIBattleData::current_figure_is_hero

Definition at line 86 of file sf_ai_structures.h.

◆ current_figure_is_mainchar

uint32_t CGdAIBattleData::current_figure_is_mainchar

Definition at line 85 of file sf_ai_structures.h.

◆ current_figure_is_not_mainchar_or_hero

uint32_t CGdAIBattleData::current_figure_is_not_mainchar_or_hero

Definition at line 82 of file sf_ai_structures.h.

◆ current_figure_is_pet

uint32_t CGdAIBattleData::current_figure_is_pet

Definition at line 121 of file sf_ai_structures.h.

◆ current_figure_is_tower

uint32_t CGdAIBattleData::current_figure_is_tower

Definition at line 89 of file sf_ai_structures.h.

◆ current_figure_is_warrior

uint32_t CGdAIBattleData::current_figure_is_warrior

Definition at line 90 of file sf_ai_structures.h.

◆ current_figure_master

uint16_t CGdAIBattleData::current_figure_master

Definition at line 122 of file sf_ai_structures.h.

◆ current_figure_noaggroattack

uint32_t CGdAIBattleData::current_figure_noaggroattack

Definition at line 100 of file sf_ai_structures.h.

◆ current_figure_pos

SF_Coord CGdAIBattleData::current_figure_pos

Definition at line 107 of file sf_ai_structures.h.

◆ current_figure_sight_range_maybe

uint8_t CGdAIBattleData::current_figure_sight_range_maybe

Definition at line 78 of file sf_ai_structures.h.

◆ current_figure_target_index

uint16_t CGdAIBattleData::current_figure_target_index

Definition at line 93 of file sf_ai_structures.h.

◆ current_figure_target_position

SF_Coord CGdAIBattleData::current_figure_target_position

Definition at line 94 of file sf_ai_structures.h.

◆ current_figure_target_type

uint8_t CGdAIBattleData::current_figure_target_type

Definition at line 92 of file sf_ai_structures.h.

◆ current_hate

uint32_t CGdAIBattleData::current_hate

Definition at line 96 of file sf_ai_structures.h.

◆ current_ranking

uint32_t CGdAIBattleData::current_ranking

Definition at line 97 of file sf_ai_structures.h.

◆ current_source_maybe

SF_CGdTargetData CGdAIBattleData::current_source_maybe

Definition at line 114 of file sf_ai_structures.h.

◆ current_target

SF_CGdTargetData CGdAIBattleData::current_target

Definition at line 115 of file sf_ai_structures.h.

◆ current_target_level_possibly

uint32_t CGdAIBattleData::current_target_level_possibly

Definition at line 127 of file sf_ai_structures.h.

◆ enemy_figures

EntityPriorityList CGdAIBattleData::enemy_figures

Definition at line 65 of file sf_ai_structures.h.

◆ figure_is_charmed_summon_maybe

uint32_t CGdAIBattleData::figure_is_charmed_summon_maybe

Definition at line 125 of file sf_ai_structures.h.

◆ figures_max_hp

uint32_t CGdAIBattleData::figures_max_hp

Definition at line 113 of file sf_ai_structures.h.

◆ figures_missing_hp

uint32_t CGdAIBattleData::figures_missing_hp

Definition at line 80 of file sf_ai_structures.h.

◆ force_process_figure_maybe

uint32_t CGdAIBattleData::force_process_figure_maybe

Definition at line 117 of file sf_ai_structures.h.

◆ is_map_arena3

uint32_t CGdAIBattleData::is_map_arena3

Definition at line 101 of file sf_ai_structures.h.

◆ manual_hit_target_maybe

uint32_t CGdAIBattleData::manual_hit_target_maybe

Definition at line 88 of file sf_ai_structures.h.

◆ some_figure_list

ushort_list_node CGdAIBattleData::some_figure_list[2000]

Definition at line 102 of file sf_ai_structures.h.

◆ some_ranking

uint32_t CGdAIBattleData::some_ranking

Definition at line 120 of file sf_ai_structures.h.

◆ something_related_to_ranking

uint32_t CGdAIBattleData::something_related_to_ranking

Definition at line 91 of file sf_ai_structures.h.

◆ unkn1

uint16_t CGdAIBattleData::unkn1

Definition at line 64 of file sf_ai_structures.h.

◆ unkn10

uint16_t CGdAIBattleData::unkn10

Definition at line 108 of file sf_ai_structures.h.

◆ unkn11

uint16_t CGdAIBattleData::unkn11

Definition at line 116 of file sf_ai_structures.h.

◆ unkn12

uint8_t CGdAIBattleData::unkn12

Definition at line 119 of file sf_ai_structures.h.

◆ unkn13

uint8_t CGdAIBattleData::unkn13

Definition at line 123 of file sf_ai_structures.h.

◆ unkn14

uint8_t CGdAIBattleData::unkn14

Definition at line 124 of file sf_ai_structures.h.

◆ unkn2

uint16_t CGdAIBattleData::unkn2

Definition at line 66 of file sf_ai_structures.h.

◆ unkn3

uint16_t CGdAIBattleData::unkn3

Definition at line 68 of file sf_ai_structures.h.

◆ unkn4

uint16_t CGdAIBattleData::unkn4

Definition at line 70 of file sf_ai_structures.h.

◆ unkn5

uint32_t CGdAIBattleData::unkn5

Definition at line 71 of file sf_ai_structures.h.

◆ unkn6

uint16_t CGdAIBattleData::unkn6

Definition at line 77 of file sf_ai_structures.h.

◆ unkn7

uint8_t CGdAIBattleData::unkn7

Definition at line 79 of file sf_ai_structures.h.

◆ unkn8

uint8_t CGdAIBattleData::unkn8

Definition at line 95 of file sf_ai_structures.h.

◆ unkn9

uint16_t CGdAIBattleData::unkn9

Definition at line 99 of file sf_ai_structures.h.

◆ unkn_array

uint32_t CGdAIBattleData::unkn_array[2000]

Definition at line 105 of file sf_ai_structures.h.

◆ unkn_flag1

uint32_t CGdAIBattleData::unkn_flag1

Definition at line 84 of file sf_ai_structures.h.

◆ unkn_flag2

uint32_t CGdAIBattleData::unkn_flag2

Definition at line 112 of file sf_ai_structures.h.

◆ unkn_flag3

uint32_t CGdAIBattleData::unkn_flag3

Definition at line 126 of file sf_ai_structures.h.

◆ unkn_list

uint8_t CGdAIBattleData::unkn_list[0xfa2]

Large array for unknown purposes

Definition at line 98 of file sf_ai_structures.h.

◆ unkn_node

ushort_list_node CGdAIBattleData::unkn_node

Definition at line 103 of file sf_ai_structures.h.

◆ unknown_target

SF_CGdTargetData CGdAIBattleData::unknown_target

Definition at line 118 of file sf_ai_structures.h.

◆ world_name

SF_String CGdAIBattleData::world_name

Definition at line 75 of file sf_ai_structures.h.


The documentation for this struct was generated from the following file: