Commit Graph

381 Commits

Author SHA1 Message Date
Deukhoofd 6225ed19fa
Mark user in ExecutingAttack as smart pointer 2020-06-02 21:26:57 +02:00
Deukhoofd 2d3a2fc63b
Smart pointers for most library and battle classes.
continuous-integration/drone/push Build is passing Details
2020-06-02 20:37:21 +02:00
Deukhoofd 1d1dc877a0
Minor performance improvements.
continuous-integration/drone/push Build is passing Details
2020-05-27 18:39:46 +02:00
Deukhoofd 58bf1032f2
Fix PokemonParty.
continuous-integration/drone/push Build is passing Details
2020-05-27 17:40:26 +02:00
Deukhoofd f42ce8865d
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-05-27 17:26:25 +02:00
Deukhoofd 0d111739f4
Support for experience sharing.
continuous-integration/drone/push Build is passing Details
2020-05-24 13:36:45 +02:00
Deukhoofd d6792635f9
Don't calculate experience gained if the Pokemon is not allowed to receive experience.
continuous-integration/drone/push Build is passing Details
2020-05-22 14:17:19 +02:00
Deukhoofd 92135a88eb
Move experience gain from species to forme.
continuous-integration/drone/push Build is passing Details
2020-05-22 13:43:02 +02:00
Deukhoofd d3b0fc1cec
Fixed memory leak in unit tests
continuous-integration/drone/push Build is passing Details
2020-05-20 17:23:25 +02:00
Deukhoofd 6c7c460640
Support Pokemon style experience gain.
continuous-integration/drone/push Build is failing Details
2020-05-20 16:05:52 +02:00
Deukhoofd a19965c1c3
C Interface for PokemonLibrary.
continuous-integration/drone/push Build is passing Details
2020-05-04 18:07:39 +02:00
Deukhoofd 4edfb6ca85
Fixes invalid cmake
continuous-integration/drone/push Build is passing Details
2020-05-03 12:54:55 +02:00
Deukhoofd 6e12a55c92
Better handling for static c linking.
continuous-integration/drone/push Build is failing Details
2020-05-03 12:51:41 +02:00
Deukhoofd 93983bdf5b
Turns PokemonSpecies Construct C interface into Try function 2020-05-03 12:46:35 +02:00
Deukhoofd 91bd7f8670
Fixes for wrong C declarations
continuous-integration/drone/push Build is failing Details
2020-05-02 16:19:24 +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 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 9b125503ee
AngelScriptResolver C Interface
continuous-integration/drone/push Build is passing Details
2020-05-02 11:38:13 +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 846580550a
C Interface for PkmnScript.
continuous-integration/drone/push Build is passing Details
2020-04-29 20:17:18 +02:00
Deukhoofd 9206ff642b
C Interface for battle libraries.
continuous-integration/drone/push Build is passing Details
2020-04-29 19:46:24 +02:00
Deukhoofd 9f27e43de8
Re-add conan data to Valgrind step.
continuous-integration/drone/push Build is passing Details
2020-04-28 15:37:18 +02:00
Deukhoofd fc85dcb3c5
Fixed YAML config.
continuous-integration/drone/push Build is failing Details
2020-04-28 15:32:32 +02:00
Deukhoofd 106c844fce
Run style check on build. 2020-04-28 15:30:50 +02:00
Deukhoofd c4b866cb38
File formatting.
continuous-integration/drone/push Build is passing Details
2020-04-28 14:48:56 +02:00
Deukhoofd 686f898259
WeatherChangeEvent. C Interface. 2020-04-26 20:12:31 +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 e23165d489
Update to latest CreatureLib, improved DamageLibrary performance.
continuous-integration/drone/push Build is passing Details
2020-04-25 16:59:27 +02:00
Deukhoofd df802b561a
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-04-25 16:31:57 +02:00
Deukhoofd e7667cec22
Add some options to test runner for Windows build.
continuous-integration/drone/push Build is failing Details
2020-04-25 15:32:59 +02:00
Deukhoofd be3b1fcf5a
Ensure Battle passes the right script count.
continuous-integration/drone/push Build is passing Details
2020-04-25 11:43:04 +02:00
Deukhoofd 19062cfc93
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-04-25 10:55:23 +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 330a24c493
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-04-23 23:31:17 +02:00
Deukhoofd c6a4c87d47
As we're re-using the same struggle object, ensure PP is always restored before use.
continuous-integration/drone/push Build is passing Details
2020-04-22 17:06:21 +02:00
Deukhoofd 3174986796
Increase max PP for Struggle, make conan always pull the latest dependencies.
continuous-integration/drone/push Build is passing Details
2020-04-22 17:05:00 +02:00
Deukhoofd 097cda34c0
Fixes for Struggle.
continuous-integration/drone/push Build is passing Details
2020-04-22 16:35:04 +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 2e60096d57
Implements missing Script functions.
continuous-integration/drone/push Build is passing Details
2020-04-22 15:34:24 +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 babb384166
Fixed issue where you couldn't teach all moves.
continuous-integration/drone/push Build is passing Details
2020-04-22 14:29:19 +02:00
Deukhoofd bb5d9d64fe
Fixed integer size comparison issue.
continuous-integration/drone/push Build is passing Details
2020-04-22 14:16:53 +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 984088f7a9
Rework TryGet on MoveLibrary to be less ugly.
continuous-integration/drone/push Build is passing Details
2020-04-22 10:34:09 +02:00
Deukhoofd 9ac60dfa42
Ensure no invalid move pointer is passed to LearnMove. 2020-04-22 10:32:28 +02:00
Deukhoofd a470d11b25
Update to latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-04-21 14:56:42 +02:00
Deukhoofd 374bb8fd5d
Removed unused conan option to fix Windows build.
continuous-integration/drone/push Build is passing Details
2020-04-21 10:34:09 +02:00
Deukhoofd 5a6d1d13f9
Make PokemonParty use List instead of vector.
continuous-integration/drone/push Build is failing Details
2020-04-19 18:12:42 +02:00