C Interface to initialize creature.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
98dacbccde
commit
ba97fa8579
|
@ -18,6 +18,8 @@ export uint8_t CreatureLib_Creature_Construct(Creature*& out, const BattleLibrar
|
||||||
|
|
||||||
export void CreatureLib_Creature_Destruct(const Creature* p) { delete p; }
|
export void CreatureLib_Creature_Destruct(const Creature* p) { delete p; }
|
||||||
|
|
||||||
|
export uint8_t CreatureLib_Creature_Initialize(Creature* p) { Try(p->Initialize();) }
|
||||||
|
|
||||||
BORROWED_GET_FUNC(Creature, GetLibrary, const CreatureLib::Battling::BattleLibrary*);
|
BORROWED_GET_FUNC(Creature, GetLibrary, const CreatureLib::Battling::BattleLibrary*);
|
||||||
BORROWED_GET_FUNC(Creature, GetSpecies, const CreatureLib::Library::CreatureSpecies*);
|
BORROWED_GET_FUNC(Creature, GetSpecies, const CreatureLib::Library::CreatureSpecies*);
|
||||||
BORROWED_GET_FUNC(Creature, GetVariant, const CreatureLib::Library::SpeciesVariant*);
|
BORROWED_GET_FUNC(Creature, GetVariant, const CreatureLib::Library::SpeciesVariant*);
|
||||||
|
|
Loading…
Reference in New Issue