Commit Graph

459 Commits

Author SHA1 Message Date
Deukhoofd f9adc1e040
Adds C interface for AngelScriptResolver::DefineWord
continuous-integration/drone/push Build is passing Details
2021-08-22 12:54:22 +02:00
Deukhoofd b3d0e8b0cf
Adds support for setting define hooks.
continuous-integration/drone/push Build is passing Details
2021-08-22 12:51:00 +02:00
Deukhoofd 592552cb72
Resolve issue with multithreading when trying to get a base type from Angelscript.
continuous-integration/drone/push Build is passing Details
2021-08-22 11:16:42 +02:00
Deukhoofd b5ea856443
Remove status handling, as its already in CreatureLib
continuous-integration/drone/push Build is passing Details
2021-07-09 15:37:44 +02:00
Deukhoofd 2e2dfbaf1d
Adds missing references for EvolutionScript
continuous-integration/drone/push Build is passing Details
2021-07-09 14:57:20 +02:00
Deukhoofd 1620d51306
Adds C Interface for EvolutionScript data.
continuous-integration/drone/push Build is failing Details
2021-07-09 14:48:25 +02:00
Deukhoofd 5a082c5995
Style Fixes
continuous-integration/drone/push Build is passing Details
2021-07-09 14:36:14 +02:00
Deukhoofd d5ef7a33f8
Adds newlines at the end of HelperFile for gcc
continuous-integration/drone/push Build is passing Details
2021-07-09 14:32:21 +02:00
Deukhoofd 4c9d472f10
Several fixes for binary stream
continuous-integration/drone/push Build is failing Details
2021-07-09 14:18:26 +02:00
Deukhoofd 9424a209ec
Adds a bunch of helpers for evolution, as well as custom script evolution methods.
continuous-integration/drone/push Build is failing Details
2021-07-09 13:54:42 +02:00
Deukhoofd 8fc29d925b
Adds C Interface for CanEvolveFromLevelUp 2021-07-02 11:11:46 +02:00
Deukhoofd 3d3bff3772
Work on evolution helpers
continuous-integration/drone/push Build is passing Details
2021-06-27 17:11:37 +02:00
Deukhoofd 4633c6beef
Adds function to set IsEgg on Pokemon
continuous-integration/drone/push Build is passing Details
2021-06-27 12:21:02 +02:00
Deukhoofd 733c1d0ce4
Fixes C Interface for GetPreEvolution function
continuous-integration/drone/push Build is passing Details
2021-06-26 17:07:09 +02:00
Deukhoofd 68e7dd5f08
Adds a bunch of new evolution methods. 2021-06-26 16:20:25 +02:00
Deukhoofd 1f298cef08
Fixes for FindPreEvolution from C Interface
continuous-integration/drone/push Build is passing Details
2021-06-26 13:36:21 +02:00
Deukhoofd 94de55f933
Adds Pokemon::IsEgg function, make eggs not usable in battle.
continuous-integration/drone/push Build is passing Details
2021-06-19 12:44:05 +02:00
Deukhoofd d779c7cbfe
Adds implicit conversion from constString -> String in angelscript.
continuous-integration/drone/push Build is passing Details
2021-05-13 14:05:14 +02:00
Deukhoofd 3fb32c33ec
Fix MoveTurnChoice.GetUser returning a const in angelscript.
continuous-integration/drone/push Build is passing Details
2021-05-13 13:51:21 +02:00
Deukhoofd 59a092a06e
Use GetUseAttack for executingmove
continuous-integration/drone/push Build is passing Details
2021-05-13 13:25:08 +02:00
Deukhoofd d8eac290cf
Fix Windows Build.
continuous-integration/drone/push Build is passing Details
2021-05-13 13:19:01 +02:00
Deukhoofd 109042ff52
Adds support for including angelscript files using #include pragma, as long as they're within a set source directory.
continuous-integration/drone/push Build is failing Details
2021-05-13 12:47:02 +02:00
Deukhoofd 5c6bbf485f
Fix Angelscript battle returning normal Party instead of BattleParty.
continuous-integration/drone/push Build is passing Details
2021-05-08 12:28:50 +02:00
Deukhoofd de82bbecf4
Adds angelscript wrappers for getting, setting, and clearing status.
continuous-integration/drone/push Build is passing Details
2021-05-08 12:21:25 +02:00
Deukhoofd 6def68cf72
Adds Angelscript wrappers for Party.
continuous-integration/drone/push Build is passing Details
2021-05-08 12:12:36 +02:00
Deukhoofd 1c66aa8696
Return optional pointer instead of raw pointers in Pokemon::GetMoves
continuous-integration/drone/push Build is passing Details
2021-04-23 11:53:00 +02:00
Deukhoofd 939cf4e328
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-18 12:56:46 +02:00
Deukhoofd a8f3e30049
Work on making Angelscript work threaded
continuous-integration/drone/push Build is passing Details
2021-04-17 13:50:43 +02:00
Deukhoofd 7dff0c90bc
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-13 22:48:38 +02:00
Deukhoofd 44c47d64bd
When cloning a battle, ensure the old battle data is always cleared from the cloned party.
continuous-integration/drone/push Build is passing Details
2021-04-13 18:33:10 +02:00
Deukhoofd 44ffadb439
Fixes for Windows build.
continuous-integration/drone/push Build is passing Details
2021-04-12 22:30:43 +02:00
Deukhoofd afe3cf0086
Set CMAKE_BUILD_WITH_INSTALL_RPATH ON
continuous-integration/drone/push Build is failing Details
2021-04-12 22:12:00 +02:00
Deukhoofd 8e69d14e17
Replace conan packages with ExternalProject_Add
continuous-integration/drone/push Build is failing Details
2021-04-12 21:55:50 +02:00
Deukhoofd 5b9bb68682
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-11 23:46:09 +02:00
Deukhoofd e8b86a20d1
Add support for creating pokemon with passed Random parameter.
continuous-integration/drone/push Build is failing Details
2021-04-11 17:50:47 +02:00
Deukhoofd a88719e2b3
Supports cloning battles for AI purposes.
continuous-integration/drone/push Build is passing Details
2021-04-11 16:27:21 +02:00
Deukhoofd 14016837d9
Adds ModifyNumberOfHits Angelscript script hook.
continuous-integration/drone/push Build is passing Details
2021-03-28 19:58:08 +02:00
Deukhoofd c89c572aa2
Adds new Angelscript script hooks.
continuous-integration/drone/push Build is passing Details
2021-03-28 18:53:08 +02:00
Deukhoofd 4e215895b7
Adds proper AddVolatile wrapper for battle.
continuous-integration/drone/push Build is passing Details
2021-03-28 17:55:45 +02:00
Deukhoofd 76053af77f
Use borrowedPtr helpers in AngelScript turn choices.
continuous-integration/drone/push Build is passing Details
2021-03-28 17:35:00 +02:00
Deukhoofd 514de9a2ba
Adds helper function for printing constString.
continuous-integration/drone/push Build is passing Details
2021-03-28 17:15:06 +02:00
Deukhoofd f8c3e92769
Fixes type causing PreventOpponentRunAway to not work.
continuous-integration/drone/push Build is passing Details
2021-03-28 16:54:41 +02:00
Deukhoofd 515446bf20
Fixes GetPokemonIndex on BattleSide, adds unit test for it.
continuous-integration/drone/push Build is passing Details
2021-03-28 16:16:47 +02:00
Deukhoofd a8e71ddd0b
The angelscript addons really need to check their unused variables.
continuous-integration/drone/push Build is passing Details
2021-03-27 23:22:10 +01:00
Deukhoofd 639d7e977f
Fixes unused variable in scripthelper.cpp.
continuous-integration/drone/push Build is failing Details
2021-03-27 23:07:31 +01:00
Deukhoofd acf7d1cc6e
Fixes unused variable in scriptdictionary.cpp
continuous-integration/drone/push Build is failing Details
2021-03-27 22:57:05 +01:00
Deukhoofd 057884b0a5
Remove unused parameter in angelscript addon.
continuous-integration/drone/push Build is failing Details
2021-03-27 22:46:47 +01:00
Deukhoofd 78268c51c0
Style fixes.
continuous-integration/drone/push Build is failing Details
2021-03-27 22:40:16 +01:00
Deukhoofd e748f6e96f
Updates Angelscript addons, adds angelscript dictionary addon.
continuous-integration/drone/push Build is failing Details
2021-03-27 22:39:25 +01:00
Deukhoofd e5b2ff5c59
Fixes memory leaks in unit test.
continuous-integration/drone/push Build is passing Details
2021-03-27 22:29:28 +01:00