Commit Graph

69 Commits

Author SHA1 Message Date
Deukhoofd ede314ef39
A bunch of work on the concept of script owners.
continuous-integration/drone/push Build is failing Details
2021-10-29 23:54:44 +02:00
Deukhoofd 1e10d25dbd
Fixes narray::Length not being a property in angelscript.
continuous-integration/drone/push Build is failing Details
2021-09-25 18:33:12 +02:00
Deukhoofd 8005ad1232
Large cleanup of type registration, added new "NativeArray" (or narray in angelscript) type that simply holds a pointer to a native list, to prevent copies we don't need
continuous-integration/drone/push Build is failing Details
2021-09-25 17:56:45 +02:00
Deukhoofd e5ea2bbc90
Adds caching for expensive type resolution.
continuous-integration/drone/push Build is passing Details
2021-09-22 19:02:01 +02:00
Deukhoofd 2e8cf4379b
Implements new standard macro/function for registering getters in Angelscript, to reduce the amount of errors there.
continuous-integration/drone/push Build is passing Details
2021-09-21 22:37:13 +02:00
Deukhoofd 3a5fa268dd
Fixes Pokemon::get_Nickname in angelscript.
continuous-integration/drone/push Build is passing Details
2021-09-19 12:57:11 +02:00
Deukhoofd 7fe7c8becf
Add support for turning off the random damage modifier.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:57:45 +02:00
Deukhoofd dfcdfd8343
Further fixes for setting pokemon held items from angelscript.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:43:01 +02:00
Deukhoofd 8919ae4b02
Rework metadata to have a standard handling.
continuous-integration/drone/push Build is passing Details
2021-08-22 15:01:51 +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 939cf4e328
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-18 12:56:46 +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 78268c51c0
Style fixes.
continuous-integration/drone/push Build is failing Details
2021-03-27 22:40:16 +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
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 20f90222d1
Fix memory issues.
continuous-integration/drone/push Build is passing Details
2021-03-07 18:20:42 +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 f8427fa594
Many fixes for script handling.
continuous-integration/drone/push Build is passing Details
2021-01-22 14:11:03 +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 9a91d356e0
Switch to doctest over Catch for unit tests.
continuous-integration/drone/push Build is passing Details
2020-09-29 18:04:06 +02:00
Deukhoofd cd4893936e
Link to library we use for stacktraces.
continuous-integration/drone/push Build is passing Details
2020-08-16 11:22:43 +02:00
Deukhoofd d9badefb07
Update to latest CreatureLib.
continuous-integration/drone/push Build is failing Details
2020-08-15 15:21:02 +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 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 f42ce8865d
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-05-27 17:26:25 +02:00
Deukhoofd 3015133076
Remove test file after test run.
continuous-integration/drone/push Build is passing Details
2020-05-02 11:55:04 +02:00
Deukhoofd bd77b58743
Rework of ScriptResolver to binary handling. Now also serialises the type database to the stream, simplifying it's api.
continuous-integration/drone/push Build is passing Details
2020-05-02 11:13:04 +02:00
Deukhoofd c4b866cb38
File formatting.
continuous-integration/drone/push Build is passing Details
2020-04-28 14:48:56 +02:00
Deukhoofd 42ea76cf53
Fixed spelling error in AngelScriptResolver name.
continuous-integration/drone/push Build is passing Details
2020-04-24 00:05:43 +02:00
Deukhoofd b1442f25fb
Rework CreatePokemon to not return a pointer to self every time, but return by value instead.
continuous-integration/drone/push Build is passing Details
2020-04-22 14:41:20 +02:00
Deukhoofd 6abef0ddc8
Implements Change Effectiveness script hook in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-04-19 13:41:41 +02:00
Deukhoofd caa353191d
C Interface for Pokemon.
continuous-integration/drone/push Build is passing Details
2020-04-18 13:43:05 +02:00
Deukhoofd c11da2d966
Changes for EffectParameter type in AngelScript, fixes for ConstString memory leak in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-04-16 14:25:20 +02:00
Deukhoofd 499f942104
Slight tweaks to writing byte code to file.
continuous-integration/drone/push Build is passing Details
2020-04-12 10:17:15 +02:00
Deukhoofd bf36103c11
Support for saving compiled AngelScript to either file or RAM, so we can reuse it.
continuous-integration/drone/push Build is failing Details
2020-04-11 14:42:49 +02:00
Deukhoofd 0b045db811
Removed OnStatusMove hook.
continuous-integration/drone/push Build is passing Details
2020-04-10 23:21:43 +02:00
Deukhoofd d12267c695
Implements new Effect Parameters in AngelScript/
continuous-integration/drone/push Build is passing Details
2020-04-10 20:39:11 +02:00
Deukhoofd 0700f7cfbd
Fix for Pokemon.HasHeldItem in AngelScript, added tests.
continuous-integration/drone/push Build is passing Details
2020-04-10 16:03:15 +02:00
Deukhoofd 149b0f08f6
Rework AngelScript effect names to be not based on script names, but on attributes instead.
continuous-integration/drone/push Build is failing Details
2020-04-10 14:57:20 +02:00
Deukhoofd 72ef9599ed
Add conststring to several tests.
continuous-integration/drone/push Build is passing Details
2020-04-07 12:05:37 +02:00
Deukhoofd aa8915b314
Angelscript support for ConstString.
continuous-integration/drone/push Build is passing Details
2020-04-07 12:04:23 +02:00
Deukhoofd 48ef465c82
Update to the latest CreatureLib version. 2020-04-06 20:03:44 +02:00
Deukhoofd 29a82a5e75
Support for new version of CreatureLib.
continuous-integration/drone/push Build is failing Details
2020-02-28 19:51:50 +01:00
Deukhoofd 40a003429e
Updates CreatureLib, implements ConstStrings.
continuous-integration/drone/push Build is failing Details
2020-02-27 18:59:15 +01:00
Deukhoofd b1f101d646
Update to newest version of CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-02-20 13:32:13 +01:00
Deukhoofd 321afbebe4
Use namespaces to differentiate between different categories of scripts.
continuous-integration/drone/push Build is passing Details
2020-02-16 14:38:05 +01:00
Deukhoofd 5bbb880700
Improve script exception error message.
continuous-integration/drone/push Build is passing Details
2020-02-16 11:44:50 +01:00
Deukhoofd 45662cb29b
Update to new CreatureLib version, updated libraries in accordance.
continuous-integration/drone/push Build is passing Details
2020-02-15 19:04:06 +01:00
Deukhoofd b83cefce11
Register Heal Method in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-02-13 15:15:07 +01:00