Commit Graph

60 Commits

Author SHA1 Message Date
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 0f440a8a63
Enforce PkmnLib MiscLibrary in Library constructor.
continuous-integration/drone/push Build is passing Details
2020-04-22 16:10:13 +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 0cce1fdda2
Rework for LearnMove method on CreatePokemon.
continuous-integration/drone/push Build is failing Details
2020-04-22 14:02:53 +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 6b704224d0
Handle natures as pointers instead of values.
continuous-integration/drone/push Build is failing Details
2020-04-17 18:39:04 +02:00
Deukhoofd 086438f547
Reworks nature library to be simpler.
continuous-integration/drone/push Build is passing Details
2020-04-17 18:20:48 +02:00
Deukhoofd 8344f33e95
C Interface for PokemonSpecies
continuous-integration/drone/push Build is passing Details
2020-04-16 15:04:53 +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 2ad441debc
Update to new CreatureLib version.
continuous-integration/drone/push Build is passing Details
2020-04-10 22:27:40 +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
Deukhoofd 6032610de6
Add script category to script creation function in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-02-13 13:59:07 +01:00
Deukhoofd eeedbdac03
Minor fixes.
continuous-integration/drone/push Build is passing Details
2020-02-13 11:13:27 +01:00
Deukhoofd c91b1b0906
Fix issues with AngelScript not handling statistics enum well.
continuous-integration/drone/push Build is passing Details
2020-02-12 20:36:05 +01:00
Deukhoofd 61e9c9ba1f
Update CreatureLib headers, move header files to PkmnLib subdirectory.
continuous-integration/drone/push Build is passing Details
2020-02-08 19:22:29 +01:00
Deukhoofd 67d317e22b
Fixes for valgrind failure.
continuous-integration/drone/push Build is failing Details
2020-02-06 16:25:55 +01:00
Deukhoofd b425a7e8b9
Implements most script hooks 2020-02-05 17:06:15 +01:00
Deukhoofd bcc038b49d
Actual implementation of Angelscript hooks into battle library.
continuous-integration/drone/push Build is failing Details
2020-02-04 19:34:30 +01:00
Deukhoofd 419e573bbe
More tests for Pokemon class in AngelScript.
continuous-integration/drone/push Build is failing Details
2020-02-02 13:57:41 +01:00
Deukhoofd aae96333b1
Reorganized files 2020-02-02 12:23:50 +01:00
Deukhoofd 72df9ba01a
Make iterator in test use size_t instead of int
continuous-integration/drone/push Build is passing Details
2020-02-01 17:09:15 +01:00
Deukhoofd f33d96d922
Many tweaks and fixes relating to AngelScript, implements shininess.
continuous-integration/drone/push Build is failing Details
2020-02-01 16:56:09 +01:00
Deukhoofd cade351bc2
Register many battle classes in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-01-26 15:18:04 +01:00
Deukhoofd af9fa61245
Register Static Library types.
continuous-integration/drone/push Build is passing Details
2020-01-23 15:10:08 +01:00
Deukhoofd 47db8464a2
More Item tests
continuous-integration/drone/push Build is passing Details
2020-01-22 11:29:14 +01:00
Deukhoofd 22648e8617
Fixed different sized enums being a problem for AngelScript, minor fixes for Item class
continuous-integration/drone/push Build is passing Details
2020-01-22 10:33:10 +01:00
Deukhoofd 9372ba4b27
Adds tests for MoveData type in AngelScript.
continuous-integration/drone/push Build is failing Details
2020-01-18 14:35:08 +01:00
Deukhoofd f32db7a751
Tests for forme fields in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-01-18 13:07:56 +01:00
Deukhoofd 2c2039cdb8
Better handling of testing AngelScript types, more tests for species fields and methods
continuous-integration/drone/push Build is passing Details
2020-01-18 12:03:37 +01:00
Deukhoofd 4909205c42
Added several tests for species usage in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-01-16 14:08:11 +01:00
Deukhoofd 041bd998fa
Register more types to AngelScript interface.
continuous-integration/drone/push Build is passing Details
2020-01-12 19:30:44 +01:00
Deukhoofd 72c2e38ea8
Fixes for Windows ;_;
continuous-integration/drone/push Build is passing Details
2020-01-12 18:20:59 +01:00