Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_building_done_hook.c File Reference
#include "sf_building_done_hook.h"
#include <stdlib.h>
Include dependency graph for sf_building_done_hook.c:

Go to the source code of this file.

Typedefs

typedef void(__thiscall * fun006c3650_ptr) (void *autoclass30, uint16_t unkn, uint16_t index)
typedef void(__thiscall * fun0074ca30_ptr) (uint32_t *god_object, uint32_t owner, uint32_t flag)
typedef uint32_t *(__thiscall * AC65_init_ptr) (void *autoclass65)
typedef uint16_t(__thiscall * XDataListExists_ptr) (void *SF_CGdXDataList, uint16_t index, uint8_t xdata_type)
typedef uint16_t(__thiscall * XDataListZero_ptr) (void *SF_CGdXDataList, uint16_t xdata_key, uint8_t xdata_type)
typedef void(__thiscall * fun006c3ca0_ptr) (void *autoclass30, uint16_t param_1, uint16_t owner, SF_CGdTargetData *source, SF_CGdTargetData *target)
typedef uint32_t *(* getGlobalAC65_ptr) (void)

Functions

void initialize_building_done_hooks ()
void include_owner_on_map (uint16_t owner)
void __thiscall sf_building_done_hook (SF_CGdBuildingToolbox *_this, uint16_t building_index)

Variables

BuildingFunctions buildingAPI
AC65_init_ptr l_AC65_init
fun006c3650_ptr l_fun006c3650
fun0074ca30_ptr l_fun0074ca30
XDataListZero_ptr XDataListZero
XDataListExists_ptr XDataListExists
fun006c3ca0_ptr fun006c3ca0
getGlobalAC65_ptr getGlobalAC65

Typedef Documentation

◆ AC65_init_ptr

typedef uint32_t *(__thiscall * AC65_init_ptr) (void *autoclass65)

Definition at line 7 of file sf_building_done_hook.c.

◆ fun006c3650_ptr

typedef void(__thiscall * fun006c3650_ptr) (void *autoclass30, uint16_t unkn, uint16_t index)

Definition at line 5 of file sf_building_done_hook.c.

◆ fun006c3ca0_ptr

typedef void(__thiscall * fun006c3ca0_ptr) (void *autoclass30, uint16_t param_1, uint16_t owner, SF_CGdTargetData *source, SF_CGdTargetData *target)

Definition at line 11 of file sf_building_done_hook.c.

◆ fun0074ca30_ptr

typedef void(__thiscall * fun0074ca30_ptr) (uint32_t *god_object, uint32_t owner, uint32_t flag)

Definition at line 6 of file sf_building_done_hook.c.

◆ getGlobalAC65_ptr

typedef uint32_t *(* getGlobalAC65_ptr) (void)

Definition at line 13 of file sf_building_done_hook.c.

◆ XDataListExists_ptr

typedef uint16_t(__thiscall * XDataListExists_ptr) (void *SF_CGdXDataList, uint16_t index, uint8_t xdata_type)

Definition at line 9 of file sf_building_done_hook.c.

◆ XDataListZero_ptr

typedef uint16_t(__thiscall * XDataListZero_ptr) (void *SF_CGdXDataList, uint16_t xdata_key, uint8_t xdata_type)

Definition at line 10 of file sf_building_done_hook.c.

Function Documentation

◆ include_owner_on_map()

void include_owner_on_map ( uint16_t owner)

Definition at line 34 of file sf_building_done_hook.c.

Here is the caller graph for this function:

◆ initialize_building_done_hooks()

void initialize_building_done_hooks ( )

Definition at line 23 of file sf_building_done_hook.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sf_building_done_hook()

void __thiscall sf_building_done_hook ( SF_CGdBuildingToolbox * _this,
uint16_t building_index )

Definition at line 40 of file sf_building_done_hook.c.

Here is the call graph for this function:

Variable Documentation

◆ fun006c3ca0

fun006c3ca0_ptr fun006c3ca0

Definition at line 20 of file sf_building_done_hook.c.

◆ getGlobalAC65

getGlobalAC65_ptr getGlobalAC65

Definition at line 21 of file sf_building_done_hook.c.

◆ l_AC65_init

AC65_init_ptr l_AC65_init

Definition at line 15 of file sf_building_done_hook.c.

◆ l_fun006c3650

fun006c3650_ptr l_fun006c3650

Definition at line 16 of file sf_building_done_hook.c.

◆ l_fun0074ca30

fun0074ca30_ptr l_fun0074ca30

Definition at line 17 of file sf_building_done_hook.c.

◆ XDataListExists

XDataListExists_ptr XDataListExists

Definition at line 19 of file sf_building_done_hook.c.

◆ XDataListZero

XDataListZero_ptr XDataListZero

Definition at line 18 of file sf_building_done_hook.c.