Reorganized files
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include "AngelScripResolver.hpp"
|
||||
#define AS_USE_ACCESSORS
|
||||
#include "../../extern/angelscript_addons/scriptarray/scriptarray.h"
|
||||
#include "../../../extern/angelscript_addons/scriptarray/scriptarray.h"
|
||||
#undef AS_USE_ACCESSORS
|
||||
#include "../../extern/angelscript_addons/scripthelper/scripthelper.h"
|
||||
#include "../../extern/angelscript_addons/scriptstdstring/scriptstdstring.h"
|
||||
#include "../../../extern/angelscript_addons/scripthelper/scripthelper.h"
|
||||
#include "../../../extern/angelscript_addons/scriptstdstring/scriptstdstring.h"
|
||||
#include "TypeRegistry/Battling/RegisterExecutingAttack.hpp"
|
||||
#include "TypeRegistry/Battling/RegisterPokemonClass.hpp"
|
||||
#include "TypeRegistry/Library/RegisterGrowthRateTypes.hpp"
|
||||
@@ -2,7 +2,7 @@
|
||||
#define PKMNLIB_ANGELSCRIPRESOLVER_HPP
|
||||
|
||||
#include <Battling/ScriptHandling/ScriptResolver.hpp>
|
||||
#include "../Battling/Library/BattleLibrary.hpp"
|
||||
#include "../../Battling/Library/BattleLibrary.hpp"
|
||||
|
||||
#define ANGELSCRIPT_DLL_LIBRARY_IMPORT
|
||||
#include <angelscript.h>
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "RegisterBattleLibrary.hpp"
|
||||
#include <cassert>
|
||||
#include "../../../Battling/Library/DamageLibrary.hpp"
|
||||
#include "../../../../Battling/Library/DamageLibrary.hpp"
|
||||
|
||||
void RegisterBattleLibrary::Register(asIScriptEngine* engine) {
|
||||
RegisterDamageLibrary(engine);
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "RegisterPokemonClass.hpp"
|
||||
#include <Battling/Models/LearnedAttack.hpp>
|
||||
#include <cassert>
|
||||
#include "../../../../extern/angelscript_addons/scriptarray/scriptarray.h"
|
||||
#include "../../../Battling/Pokemon/Pokemon.hpp"
|
||||
#include "../../../../../extern/angelscript_addons/scriptarray/scriptarray.h"
|
||||
#include "../../../../Battling/Pokemon/Pokemon.hpp"
|
||||
|
||||
// Hack to handle AngelScript not recognizing different sized enums on fields, and returning invalid values due to it.
|
||||
#define ENUM__SIZE_WRAPPER(name, type, func) \
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "RegisterItemTypes.hpp"
|
||||
#include <cassert>
|
||||
#include "../../../Library/Items/Item.hpp"
|
||||
#include "../../../Library/Items/ItemLibrary.hpp"
|
||||
#include "../../../../Library/Items/Item.hpp"
|
||||
#include "../../../../Library/Items/ItemLibrary.hpp"
|
||||
|
||||
void RegisterItemTypes::Register(asIScriptEngine* engine) {
|
||||
RegisterItemCategoryEnum(engine);
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "RegisterMoveTypes.hpp"
|
||||
#include <cassert>
|
||||
#include "../../../Library/Moves/MoveData.hpp"
|
||||
#include "../../../Library/Moves/MoveLibrary.hpp"
|
||||
#include "../../../../Library/Moves/MoveData.hpp"
|
||||
#include "../../../../Library/Moves/MoveLibrary.hpp"
|
||||
|
||||
void RegisterMoveTypes::Register(asIScriptEngine* engine) {
|
||||
RegisterMoveCategory(engine);
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "RegisterSpeciesTypes.hpp"
|
||||
#include <cassert>
|
||||
#include "../../../Library/Species/PokemonSpecies.hpp"
|
||||
#include "../../../Library/Species/SpeciesLibrary.hpp"
|
||||
#include "../../../Library/Statistic.hpp"
|
||||
#include "../../../../Library/Species/PokemonSpecies.hpp"
|
||||
#include "../../../../Library/Species/SpeciesLibrary.hpp"
|
||||
#include "../../../../Library/Statistic.hpp"
|
||||
|
||||
void RegisterSpeciesTypes::Register(asIScriptEngine* engine) {
|
||||
RegisterGenderEnum(engine);
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "RegisterStaticLibraryTypes.hpp"
|
||||
#include <cassert>
|
||||
#include "../../../Library/PokemonLibrary.hpp"
|
||||
#include "../../../../Library/PokemonLibrary.hpp"
|
||||
|
||||
void RegisterStaticLibraryTypes::Register(asIScriptEngine* engine) {
|
||||
RegisterLibrarySettingsType(engine);
|
||||
Reference in New Issue
Block a user