Spellforce-Spell-framework
Toggle main menu visibility
Loading...
Searching...
No Matches
sf_spell_structures.h
Go to the documentation of this file.
1
#pragma once
2
#include <stdint.h>
3
#include <stdbool.h>
4
#include "
../sf_general_structures.h
"
5
6
struct
__attribute__((packed))
SF_SpellEffectInfo
7
{
8
uint16_t
spell_id
;
9
uint16_t
job_id
;
10
};
11
12
typedef
struct
__attribute__((packed))
13
{
14
uint16_t
to_do_count
;
15
uint16_t
spell_id
;
16
uint16_t
spell_line
;
17
uint16_t
spell_job
;
18
SF_CGdTargetData
source
;
19
SF_CGdTargetData
target
;
20
uint16_t
xdata_key
;
21
uint16_t
DLLNode
;
22
uint8_t
flags
;
23
}
SF_GdSpell
;
24
25
struct
__attribute__((packed))
SF_CGdSpell
26
{
27
void
*
SF_CGdAiMain
;
28
AutoClass14
*
OpaqueClass
;
// For Random (Rename to Global Tick?)
29
SF_CGdBuilding
*
CGdBuilding
;
30
SF_CGdBuildingToolbox
*
SF_CGdBuildingToolbox
;
31
void
*
SF_CGdDoubleLinkedList
;
32
SF_CGdEffect
*
SF_CGdEffect
;
33
void
*
AC30
;
34
SF_CGdFigure
*
SF_CGdFigure
;
35
SF_CGdFigureJobs
*
SF_CGdFigureJobs
;
36
SF_CGdFigureToolbox
*
SF_CGdFigureToolBox
;
37
void
*
SF_CGdFormation
;
38
void
*
AutoClass34
;
// Seems to be used as first param for GetChanceToResistSpell
39
SF_CGdObject
*
SF_CGdObject
;
40
void
*
SF_CGdObjectToolBox
;
41
SF_CGdPlayer
*
CGdPlayer
;
42
void
*
SF_CGdResource
;
43
void
*
SF_CGdTile
;
44
void
*
AC50
;
45
SF_CGdWorld
*
SF_CGdWorld
;
46
SF_CGdWorldToolBox
*
SF_CGdWorldToolBox
;
47
void
*
SF_CGdXDataList
;
48
uint16_t
max_used
;
49
SF_GdSpell
active_spell_list
[800];
50
void
*
unkn5
;
51
uint32_t
unkn6
;
52
};
sf_general_structures.h
Group of Structures and Enums used throught SFSF.
AutoClass14
Definition
sf_general_structures.h:1003
SF_CGdBuilding
Definition
sf_building_structures.h:58
SF_CGdFigureToolbox
Definition
sf_toolbox_structures.h:7
SF_CGdPlayer
Definition
sf_general_structures.h:1071
SF_CGdSpell
Definition
sf_spell_structures.h:26
SF_CGdSpell::unkn5
void * unkn5
Definition
sf_spell_structures.h:50
SF_CGdSpell::SF_CGdResource
void * SF_CGdResource
Definition
sf_spell_structures.h:42
SF_CGdSpell::AC30
void * AC30
Definition
sf_spell_structures.h:33
SF_CGdSpell::SF_CGdDoubleLinkedList
void * SF_CGdDoubleLinkedList
Definition
sf_spell_structures.h:31
SF_CGdSpell::SF_CGdObjectToolBox
void * SF_CGdObjectToolBox
Definition
sf_spell_structures.h:40
SF_CGdSpell::SF_CGdFigureJobs
SF_CGdFigureJobs * SF_CGdFigureJobs
Definition
sf_spell_structures.h:35
SF_CGdSpell::SF_CGdTile
void * SF_CGdTile
Definition
sf_spell_structures.h:43
SF_CGdSpell::SF_CGdFigure
SF_CGdFigure * SF_CGdFigure
Definition
sf_spell_structures.h:34
SF_CGdSpell::SF_CGdAiMain
void * SF_CGdAiMain
Definition
sf_spell_structures.h:27
SF_CGdSpell::AC50
void * AC50
Definition
sf_spell_structures.h:44
SF_CGdSpell::AutoClass34
void * AutoClass34
Definition
sf_spell_structures.h:38
SF_CGdSpell::SF_CGdWorldToolBox
SF_CGdWorldToolBox * SF_CGdWorldToolBox
Definition
sf_spell_structures.h:46
SF_CGdSpell::CGdPlayer
SF_CGdPlayer * CGdPlayer
Definition
sf_spell_structures.h:41
SF_CGdSpell::SF_CGdWorld
SF_CGdWorld * SF_CGdWorld
Definition
sf_spell_structures.h:45
SF_CGdSpell::OpaqueClass
AutoClass14 * OpaqueClass
Definition
sf_spell_structures.h:28
SF_CGdSpell::SF_CGdObject
SF_CGdObject * SF_CGdObject
Definition
sf_spell_structures.h:39
SF_CGdSpell::SF_CGdFormation
void * SF_CGdFormation
Definition
sf_spell_structures.h:37
SF_CGdSpell::SF_CGdFigureToolBox
SF_CGdFigureToolbox * SF_CGdFigureToolBox
Definition
sf_spell_structures.h:36
SF_CGdSpell::CGdBuilding
SF_CGdBuilding * CGdBuilding
Definition
sf_spell_structures.h:29
SF_CGdSpell::active_spell_list
SF_GdSpell active_spell_list[800]
Definition
sf_spell_structures.h:49
SF_CGdSpell::max_used
uint16_t max_used
Definition
sf_spell_structures.h:48
SF_CGdSpell::SF_CGdEffect
SF_CGdEffect * SF_CGdEffect
Definition
sf_spell_structures.h:32
SF_CGdSpell::SF_CGdXDataList
void * SF_CGdXDataList
Definition
sf_spell_structures.h:47
SF_CGdSpell::SF_CGdBuildingToolbox
SF_CGdBuildingToolbox * SF_CGdBuildingToolbox
Definition
sf_spell_structures.h:30
SF_CGdSpell::unkn6
uint32_t unkn6
Definition
sf_spell_structures.h:51
SF_CGdTargetData
Definition
sf_general_structures.h:948
SF_GdSpell
Definition
sf_spell_structures.h:13
SF_GdSpell::source
SF_CGdTargetData source
Definition
sf_spell_structures.h:18
SF_GdSpell::xdata_key
uint16_t xdata_key
Definition
sf_spell_structures.h:20
SF_GdSpell::flags
uint8_t flags
Definition
sf_spell_structures.h:22
SF_GdSpell::to_do_count
uint16_t to_do_count
Definition
sf_spell_structures.h:14
SF_GdSpell::target
SF_CGdTargetData target
Definition
sf_spell_structures.h:19
SF_GdSpell::spell_line
uint16_t spell_line
Definition
sf_spell_structures.h:16
SF_GdSpell::DLLNode
uint16_t DLLNode
Definition
sf_spell_structures.h:21
SF_GdSpell::spell_job
uint16_t spell_job
Definition
sf_spell_structures.h:17
SF_GdSpell::spell_id
uint16_t spell_id
Definition
sf_spell_structures.h:15
SF_SpellEffectInfo
Definition
sf_spell_structures.h:7
SF_SpellEffectInfo::job_id
uint16_t job_id
Definition
sf_spell_structures.h:9
SF_SpellEffectInfo::spell_id
uint16_t spell_id
Definition
sf_spell_structures.h:8
src
api
structures
sf_spell_structures.h
Generated by
1.17.0