Commit Graph

246 Commits

Author SHA1 Message Date
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 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 acf7d1cc6e
Fixes unused variable in scriptdictionary.cpp
continuous-integration/drone/push Build is failing Details
2021-03-27 22:57:05 +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 e361507ec9
Adds support for modifying volatile scripts after adding them.
continuous-integration/drone/push Build is failing Details
2021-03-27 22:19:18 +01:00
Deukhoofd 5cfa174396
Adds new run prevention script hooks.
continuous-integration/drone/push Build is passing Details
2021-03-27 15:34:04 +01:00
Deukhoofd 793daeae80
Adds missing scripts.
continuous-integration/drone/push Build is passing Details
2021-03-27 13:51:06 +01:00
Deukhoofd 9b4cb06641
Style fixes.
continuous-integration/drone/push Build was killed Details
2021-03-27 13:46:34 +01:00
Deukhoofd af559f757c
Support for new move fail handling.
continuous-integration/drone/push Build is passing Details
2021-03-27 13:33:56 +01:00
Deukhoofd 301c28d7a7
Make Battle and Battleside getters on Pokemon in Angelscript not const.
continuous-integration/drone/push Build is passing Details
2021-03-27 10:06:23 +01:00
Deukhoofd bee9170603
Adds some more Angelscript functionality for the BattleSide.
continuous-integration/drone/push Build is passing Details
2021-03-26 23:05:51 +01:00
Deukhoofd 41475fcb2f
Style fixes.
continuous-integration/drone/push Build is passing Details
2021-03-26 19:14:22 +01:00
Deukhoofd 4ade8f0dca
Adds Angelscript functions for getting a battle side, and swapping positions on it.
continuous-integration/drone/push Build is failing Details
2021-03-26 15:28:24 +01:00
Deukhoofd 9f973c53df
Fixes IsUseValidForCreature Angelscript function calling wrong function.
continuous-integration/drone/push Build is passing Details
2021-03-13 14:22:56 +01:00
Deukhoofd 1540009912
Adds initialization from parameters to ItemUseScript.
continuous-integration/drone/push Build is passing Details
2021-03-07 20:03:07 +01:00
Deukhoofd 090b77ff2b
Fixes error on reading compiled scripts.
continuous-integration/drone/push Build is passing Details
2021-03-07 19:35:38 +01:00
Deukhoofd 20f90222d1
Fix memory issues.
continuous-integration/drone/push Build is passing Details
2021-03-07 18:20:42 +01:00
Deukhoofd 7216d9d71b
Support serializing item use scripts.
continuous-integration/drone/push Build is failing Details
2021-03-07 18:11:18 +01:00
Deukhoofd 27dd8a8202
Initial support for item use scripts in angelscript.
continuous-integration/drone/push Build is failing Details
2021-03-07 17:09:30 +01:00
Deukhoofd 18cebe842a
Updates to newer CreatureLib. 2021-03-07 11:12:18 +01:00
Deukhoofd f8427fa594
Many fixes for script handling.
continuous-integration/drone/push Build is passing Details
2021-01-22 14:11:03 +01:00
Deukhoofd 5e6892ac58
Clearer code for resolving to nullptr script.
continuous-integration/drone/push Build is passing Details
2021-01-16 18:14:08 +01:00
Deukhoofd 03c364765e
Fixes issue where resolving script could segfault.
continuous-integration/drone/push Build is passing Details
2020-12-28 18:04:04 +01:00
Deukhoofd 31008c0107
Several fixes and improvements.
continuous-integration/drone/push Build is passing Details
2020-12-28 15:11:06 +01:00
Deukhoofd bbb2691b91
Update to latest Arbutils.
continuous-integration/drone/push Build is passing Details
2020-12-13 12:32:52 +01:00
Deukhoofd ecf8582c59
Fixes ItemLibrary compilation error in GCC.
continuous-integration/drone/push Build is passing Details
2020-12-12 14:46:27 +01:00
Deukhoofd 53bd6e7a94
Update to new Arbutils memory model.
continuous-integration/drone/push Build is failing Details
2020-12-12 14:25:27 +01:00
Deukhoofd b6a5e41b51
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-12-11 14:08:13 +01:00
Deukhoofd fff926b617
Mark several classes as final for devirtualization performance benefits.
continuous-integration/drone/push Build is passing Details
2020-10-15 18:13:00 +02:00
Deukhoofd f816975b63
Fix for Pokemon::ClearStatus crashing when a Pokemon does not have a status. Now will just do nothing.
continuous-integration/drone/push Build is passing Details
2020-10-02 17:43:16 +02:00
Deukhoofd 1686434440
Use lld for Clang.
continuous-integration/drone/push Build is passing Details
2020-09-29 18:28:54 +02:00