Fixes as to make including AngelScript actually possible.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-01-09 19:03:38 +01:00
parent c8f85a8556
commit 497acc1311
3 changed files with 8 additions and 5 deletions

View File

@@ -1,8 +1,13 @@
#include "../Battling/Library/PokemonScriptResolver.hpp"
#define ANGELSCRIPT_DLL_LIBRARY_IMPORT
#define GetPropertyCache
#undef GetProperty
#include <angelscript.h>
#define GetProperty GetPropertyCache
using namespace PkmnLib::Battling;
void PokemonScriptResolver::Initialize(const PkmnLib::Battling::BattleLibrary* library){
}
CreatureLib::Battling::Script* PokemonScriptResolver::LoadScript(ScriptCategory category, const std::string& scriptName){