Commit Graph

70 Commits

Author SHA1 Message Date
Deukhoofd 6c7c460640
Support Pokemon style experience gain.
continuous-integration/drone/push Build is failing Details
2020-05-20 16:05:52 +02:00
Deukhoofd e17a8e016b
Implements support for registering types and functions in AngelScript externally.
continuous-integration/drone/push Build is passing Details
2020-05-02 11:53:12 +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 718c146ebe
Battle C Interface. 2020-04-26 20:01:11 +02:00
Deukhoofd ec1685aa14
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-04-25 20:30:44 +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 1d5c6d696e
Improve OnInitialize performance in AngelScript by caching type of parameter array.
continuous-integration/drone/push Build is passing Details
2020-04-24 00:02:10 +02:00
Deukhoofd 2e60096d57
Implements missing Script functions.
continuous-integration/drone/push Build is passing Details
2020-04-22 15:34:24 +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 95209e51a4
Implements pokemon specific damage source handling.
continuous-integration/drone/push Build is passing Details
2020-04-19 13:20:14 +02:00
Deukhoofd af737cf8b8
Make AngelScript effect attributes case insensitive.
continuous-integration/drone/push Build is passing Details
2020-04-19 12:17:58 +02:00
Deukhoofd 6955c2c69f
Ensure AngelScript allows resolving PkmnScriptCategory categories.
continuous-integration/drone/push Build is passing Details
2020-04-18 16:04:48 +02:00
Deukhoofd c6d31e09a1
Implements Weather
continuous-integration/drone/push Build is passing Details
2020-04-18 15:35:01 +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 229850257b
Attempt at fixing memory issue on Windows build.
continuous-integration/drone/push Build is failing Details
2020-04-11 15:03:44 +02:00
Deukhoofd 09c71487be
Fixed mismatched integer types.
continuous-integration/drone/push Build is failing Details
2020-04-11 14:48:43 +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 10f7f38c2d
Implements float Effect Parameter.
continuous-integration/drone/push Build is failing Details
2020-04-10 21:18:18 +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 d2573fe959
Fixed size_t that should be asUINT.
continuous-integration/drone/push Build is passing Details
2020-04-10 15:15:46 +02:00
Deukhoofd bbb01ae458
Fixed ints for vector counts. Should be size_t.
continuous-integration/drone/push Build is failing Details
2020-04-10 15:10:22 +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 aa8915b314
Angelscript support for ConstString.
continuous-integration/drone/push Build is passing Details
2020-04-07 12:04:23 +02:00
Deukhoofd 1046eceacf
Clean up AngelScript context on exception.
continuous-integration/drone/push Build is passing Details
2020-04-06 20:06:43 +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 98e17a1eb8
Move script name to type.
continuous-integration/drone/push Build is passing Details
2020-02-23 16:02:27 +01:00
Deukhoofd e27cc2270d
Update CreatureLib, added RemoveVolatile function to AngelScript. 2020-02-23 12:46:44 +01:00
Deukhoofd 6a3df344da
Fixed invalid AngelScript declaration.
continuous-integration/drone/push Build is passing Details
2020-02-22 16:14:20 +01:00
Deukhoofd ed287f93db
Update CreatureLib, added AddVolatile function to AngelScript.
continuous-integration/drone/push Build is failing Details
2020-02-22 16:10:22 +01:00
Deukhoofd 1f07ddc428
Fix build.
continuous-integration/drone/push Build is passing Details
2020-02-22 15:26:16 +01:00
Deukhoofd 904af99022
Update to newest version of CreatureLib, added ChoiceQueue in AngelScript.
continuous-integration/drone/push Build is failing Details
2020-02-22 15:22:13 +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 19cfcc9e32
Support for specific PkmnLib functions in Scripts, added ModifyCriticalStage function. 2020-02-20 13:28:31 +01:00
Deukhoofd 83a49eee6c
Add new damage library script hooks to AngelScript.
continuous-integration/drone/push Build is passing Details
2020-02-19 10:25:27 +01:00
Deukhoofd a6e1726dc5
Include extern directory in conan.
continuous-integration/drone/push Build is passing Details
2020-02-19 09:59:46 +01:00
Deukhoofd 6fc6dbd05f
Added ScriptBuilder that gives us access to conditional compilation and metadata attributes.
continuous-integration/drone/push Build is passing Details
2020-02-19 09:07:44 +01:00
Deukhoofd 93be2ee8a1
Add Held Item functions to AngelScript.
continuous-integration/drone/push Build is passing Details
2020-02-17 17:35:14 +01:00
Deukhoofd f9f83f892d
Fixed ModifyEffectChance function having uint16 instead of float as chance.
continuous-integration/drone/push Build is passing Details
2020-02-17 10:55:42 +01:00
Deukhoofd 3446412c0d
Fix EffectChance using uint16 instead of float.
continuous-integration/drone/push Build is passing Details
2020-02-17 10:34:11 +01:00
Deukhoofd 40f3b24bed
Change battle.Random from address to handle..
continuous-integration/drone/push Build is passing Details
2020-02-16 17:57:51 +01:00
Deukhoofd 30c3c5f405
Upgrade CreatureLib, added basic Battle class, as we'll use it later on/
continuous-integration/drone/push Build is passing Details
2020-02-16 17:50:16 +01:00
Deukhoofd 62eaf24f31
Fix ChangeStatBoost using the wrong underlying function
continuous-integration/drone/push Build is passing Details
2020-02-16 17:00:52 +01:00
Deukhoofd 57c142a11a
Add Stat boost change script function in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-02-16 16:55:46 +01:00