|
Spellforce-Spell-framework
|
#include "./structures/sf_building_structures.h"

Go to the source code of this file.
Classes | |
| struct | BuildingFunctions |
Typedefs | |
| typedef void(__thiscall * | setBuildingXData_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_index, uint8_t key_type, uint32_t value) |
| typedef uint32_t(__thiscall * | getBuildingXData_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_index, uint8_t key_type) |
| typedef void(__thiscall * | attachTowerUnit_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_index, uint16_t unit_id) |
| typedef void(__thiscall * | buildingDealDamage_ptr) (SF_CGdBuildingToolbox *_this, uint16_t figure_id, uint16_t building_id, uint16_t damage, uint32_t is_spell_damage) |
| typedef bool(__thiscall * | buildingCheckAllied_ptr) (SF_CGdBuildingToolbox *_this, uint16_t figure_index, uint16_t building_index) |
| typedef bool(__thiscall * | buildingCheckHostile_ptr) (SF_CGdBuildingToolbox *_this, uint16_t figure_index, uint16_t building_index) |
| typedef SF_Coord *(__thiscall * | getBuildingClosestVertex_ptr) (SF_CGdBuildingToolbox *_this, SF_Coord *out_position, uint16_t building_index, uint16_t figure_index, uint32_t unknown) |
| typedef uint8_t(__thiscall * | releaseWorkers_ptr) (SF_CGdBuilding *_this, uint16_t building_id, uint8_t count) |
| typedef void(__thiscall * | freeAssignedWorker_ptr) (SF_CGdBuildingToolbox *_this, uint16_t figure_id) |
| typedef uint8_t(__thiscall * | updateProduction_ptr) (SF_CGdPlayer *_this, uint16_t owner, uint8_t race, uint8_t production_type, uint8_t increase) |
| typedef bool(__thiscall * | hasBuildingTag_ptr) (uint8_t building_type, BuildingTag tag) |
| typedef uint32_t(__thiscall * | getBuildingTags_ptr) (uint8_t building_type) |
| typedef uint16_t(__thiscall * | findClosestBuilding_ptr) (SF_CGdBuildingToolbox *_this, SF_Coord position, uint8_t type, uint16_t owner, uint32_t radius) |
| typedef void(__thiscall * | addFigureToBuilding_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_id, uint16_t figure_id, bool updateFlag) |
| typedef bool(__thiscall * | buildingIsScavenger_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsFisher_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsFoodstore_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsForge_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsGatherer_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsHQ_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsHunter_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsIronMine_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsMaceCarver_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsMoonsilverMine_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsQuarry_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsSawmill_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsSmelter_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsStonecutter_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsTemple_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsTower_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsWoodcutter_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsShrine_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsHabitable_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef bool(__thiscall * | buildingIsHabitableSingle_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
| typedef uint8_t(__thiscall * | getRacialFoodstore_ptr) (uint8_t race) |
| typedef uint8_t(__thiscall * | getRacialSmelter_ptr) (uint8_t race) |
| typedef uint8_t(__thiscall * | getRacialSawmill_ptr) (uint8_t race) |
| typedef uint8_t(__thiscall * | getRacialStonecutter_ptr) (uint8_t race) |
| typedef uint8_t(__thiscall * | getRacialWoodcutter_ptr) (uint8_t race) |
| typedef uint8_t(__thiscall * | getRacialIronMine_ptr) (uint8_t race) |
| typedef uint8_t(__thiscall * | getRacialQuarry_ptr) (uint8_t race) |
| typedef void(__thiscall * addFigureToBuilding_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_id, uint16_t figure_id, bool updateFlag) |
Definition at line 25 of file sf_building_functions.h.
| typedef void(__thiscall * attachTowerUnit_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_index, uint16_t unit_id) |
Definition at line 7 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingCheckAllied_ptr) (SF_CGdBuildingToolbox *_this, uint16_t figure_index, uint16_t building_index) |
Definition at line 11 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingCheckHostile_ptr) (SF_CGdBuildingToolbox *_this, uint16_t figure_index, uint16_t building_index) |
Definition at line 13 of file sf_building_functions.h.
| typedef void(__thiscall * buildingDealDamage_ptr) (SF_CGdBuildingToolbox *_this, uint16_t figure_id, uint16_t building_id, uint16_t damage, uint32_t is_spell_damage) |
Definition at line 9 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsFisher_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 28 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsFoodstore_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 29 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsForge_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 30 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsGatherer_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 31 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsHabitable_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 45 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsHabitableSingle_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 46 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsHQ_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 32 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsHunter_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 33 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsIronMine_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 34 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsMaceCarver_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 35 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsMoonsilverMine_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 36 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsQuarry_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 37 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsSawmill_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 38 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsScavenger_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 27 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsShrine_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 44 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsSmelter_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 39 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsStonecutter_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 40 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsTemple_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 41 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsTower_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 42 of file sf_building_functions.h.
| typedef bool(__thiscall * buildingIsWoodcutter_ptr) (SF_CGdBuilding *_this, uint16_t building_index) |
Definition at line 43 of file sf_building_functions.h.
| typedef uint16_t(__thiscall * findClosestBuilding_ptr) (SF_CGdBuildingToolbox *_this, SF_Coord position, uint8_t type, uint16_t owner, uint32_t radius) |
Definition at line 23 of file sf_building_functions.h.
| typedef void(__thiscall * freeAssignedWorker_ptr) (SF_CGdBuildingToolbox *_this, uint16_t figure_id) |
Definition at line 17 of file sf_building_functions.h.
| typedef SF_Coord *(__thiscall * getBuildingClosestVertex_ptr) (SF_CGdBuildingToolbox *_this, SF_Coord *out_position, uint16_t building_index, uint16_t figure_index, uint32_t unknown) |
Definition at line 15 of file sf_building_functions.h.
| typedef uint32_t(__thiscall * getBuildingTags_ptr) (uint8_t building_type) |
Definition at line 21 of file sf_building_functions.h.
| typedef uint32_t(__thiscall * getBuildingXData_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_index, uint8_t key_type) |
Definition at line 6 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * getRacialFoodstore_ptr) (uint8_t race) |
Definition at line 48 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * getRacialIronMine_ptr) (uint8_t race) |
Definition at line 53 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * getRacialQuarry_ptr) (uint8_t race) |
Definition at line 54 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * getRacialSawmill_ptr) (uint8_t race) |
Definition at line 50 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * getRacialSmelter_ptr) (uint8_t race) |
Definition at line 49 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * getRacialStonecutter_ptr) (uint8_t race) |
Definition at line 51 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * getRacialWoodcutter_ptr) (uint8_t race) |
Definition at line 52 of file sf_building_functions.h.
| typedef bool(__thiscall * hasBuildingTag_ptr) (uint8_t building_type, BuildingTag tag) |
Definition at line 20 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * releaseWorkers_ptr) (SF_CGdBuilding *_this, uint16_t building_id, uint8_t count) |
Definition at line 16 of file sf_building_functions.h.
| typedef void(__thiscall * setBuildingXData_ptr) (SF_CGdBuildingToolbox *_this, uint16_t building_index, uint8_t key_type, uint32_t value) |
Definition at line 5 of file sf_building_functions.h.
| typedef uint8_t(__thiscall * updateProduction_ptr) (SF_CGdPlayer *_this, uint16_t owner, uint8_t race, uint8_t production_type, uint8_t increase) |
Definition at line 19 of file sf_building_functions.h.