Commit Graph

125 Commits

Author SHA1 Message Date
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 bbb2691b91
Update to latest Arbutils.
continuous-integration/drone/push Build is passing Details
2020-12-13 12:32:52 +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 2ce766f589
Adds precompiled header.
continuous-integration/drone/push Build is passing Details
2020-09-29 17:51:11 +02:00
Deukhoofd fda3c8f86d
Support not including standard angelscript libraries such as string and array.
continuous-integration/drone/push Build is passing Details
2020-09-19 15:57:20 +02:00
Deukhoofd f073e951b1
Removed invalid angelscript registering.
continuous-integration/drone/push Build is passing Details
2020-09-19 14:10:46 +02:00
Deukhoofd 6f17cb046e
Add getter for as module in angelscriptresolver.
continuous-integration/drone/push Build is passing Details
2020-09-19 13:53:56 +02:00
Deukhoofd 9e507d5c3f
Handling for Library being passed to AngelscriptResolver being nullptr, for testing purposes.
continuous-integration/drone/push Build is passing Details
2020-09-19 13:33:17 +02:00
Deukhoofd c6e2de6156
Use level_int_t for levels.
continuous-integration/drone/push Build is passing Details
2020-08-22 12:24:52 +02:00
Deukhoofd 3baabe6d79
Update tp latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-08-17 12:36:21 +02:00
Deukhoofd b5a1d74bdb
Update to latest CreatureLib
continuous-integration/drone/push Build is passing Details
2020-08-16 11:12:04 +02:00
Deukhoofd 77eae12326
Fixes for new CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-08-12 18:09:24 +02:00
Deukhoofd 2fa59b9ea9
Update to new CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-08-08 13:06:08 +02:00
Deukhoofd 683f3ad08b
Add Pokemon Status.
continuous-integration/drone/push Build is passing Details
2020-08-08 12:01:05 +02:00
Deukhoofd 6ffcd4dcbc
Fixed Angelscript ExecutingAttack::GetHitData function.
continuous-integration/drone/push Build is passing Details
2020-08-04 13:08:43 +02:00
Deukhoofd 723eb953a1
Fixed gcc still erroring on warning, added newline after macro file.
continuous-integration/drone/push Build is failing Details
2020-07-18 14:08:08 +02:00
Deukhoofd 3235a99ff6
Fixed issue on build with gcc.
continuous-integration/drone/push Build is failing Details
2020-07-18 13:19:35 +02:00
Deukhoofd dc3630b171
Cleanup cmake file.
continuous-integration/drone/push Build is failing Details
2020-07-18 12:42:54 +02:00
Deukhoofd 7c65bd084a
Fixes issue with constString in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-07-04 19:17:45 +02:00
Deukhoofd 45f80444b9
Fixed issue where using operator->() function directly in Angelscript threw an exception if the pointer was null.
continuous-integration/drone/push Build is passing Details
2020-07-04 18:56:49 +02:00
Deukhoofd 665c47aa91
Add angelscript implicit conversion from string to constString.
continuous-integration/drone/push Build is passing Details
2020-07-04 16:13:26 +02:00
Deukhoofd 7f1bc252ba
Update to newer CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-07-04 15:50:30 +02:00
Deukhoofd 34fb528da4
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-06-05 16:54:57 +02:00
Deukhoofd 12066e1dfe
Implements most of the Damage Modifier calculation.
continuous-integration/drone/push Build is failing Details
2020-06-05 13:49:12 +02:00
Deukhoofd ce54861966
Fix Angelscript mishandling several smart pointers.
continuous-integration/drone/push Build is passing Details
2020-06-02 21:52:34 +02:00