Revert commited out battlelibrary changes.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1e0d00d3b7
commit
937071df59
|
@ -8,9 +8,7 @@ export const BattleLibrary* CreatureLib_BattleLibrary_Construct(const CreatureLi
|
||||||
ExperienceLibrary* experienceLibrary,
|
ExperienceLibrary* experienceLibrary,
|
||||||
ScriptResolver* scriptResolver,
|
ScriptResolver* scriptResolver,
|
||||||
MiscLibrary* miscLibrary) {
|
MiscLibrary* miscLibrary) {
|
||||||
return nullptr;
|
return new BattleLibrary(staticLib, statCalculator, damageLibrary, experienceLibrary, scriptResolver, miscLibrary);
|
||||||
// return new BattleLibrary(staticLib, statCalculator, damageLibrary, experienceLibrary, scriptResolver,
|
|
||||||
// miscLibrary);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export void CreatureLib_BattleLibrary_Destruct(const BattleLibrary* p) { delete p; }
|
export void CreatureLib_BattleLibrary_Destruct(const BattleLibrary* p) { delete p; }
|
||||||
|
@ -19,9 +17,9 @@ export void CreatureLib_BattleLibrary_Destruct(const BattleLibrary* p) { delete
|
||||||
export returnType CreatureLib_##type##_##name(const type* p) { return p->name(); }
|
export returnType CreatureLib_##type##_##name(const type* p) { return p->name(); }
|
||||||
|
|
||||||
SIMPLE_GET_FUNC(BattleLibrary, GetStaticLib, const CreatureLib::Library::DataLibrary*);
|
SIMPLE_GET_FUNC(BattleLibrary, GetStaticLib, const CreatureLib::Library::DataLibrary*);
|
||||||
// SIMPLE_GET_FUNC(BattleLibrary, GetStatCalculator, const BattleStatCalculator*);
|
SIMPLE_GET_FUNC(BattleLibrary, GetStatCalculator, const BattleStatCalculator*);
|
||||||
// SIMPLE_GET_FUNC(BattleLibrary, GetDamageLibrary, const DamageLibrary*);
|
SIMPLE_GET_FUNC(BattleLibrary, GetDamageLibrary, const DamageLibrary*);
|
||||||
// SIMPLE_GET_FUNC(BattleLibrary, GetMiscLibrary, const MiscLibrary*);
|
SIMPLE_GET_FUNC(BattleLibrary, GetMiscLibrary, const MiscLibrary*);
|
||||||
// SIMPLE_GET_FUNC(BattleLibrary, GetExperienceLibrary, const ExperienceLibrary*);
|
SIMPLE_GET_FUNC(BattleLibrary, GetExperienceLibrary, const ExperienceLibrary*);
|
||||||
|
|
||||||
#undef SIMPLE_GET_FUNC
|
#undef SIMPLE_GET_FUNC
|
Loading…
Reference in New Issue