Commit Graph

94 Commits

Author SHA1 Message Date
Deukhoofd 75d6100689
Fixes memory leak in unit tests
continuous-integration/drone/push Build is passing Details
2021-08-29 16:28:21 +02:00
Deukhoofd aee0f04d9c
Further fixes for rounding errors in damage calculations.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:16:01 +02:00
Deukhoofd 037ff590f0
Fixes for damage calculation: Adds missing + 2, and handles rounding correctly.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:04:18 +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 1c66aa8696
Return optional pointer instead of raw pointers in Pokemon::GetMoves
continuous-integration/drone/push Build is passing Details
2021-04-23 11:53:00 +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 31008c0107
Several fixes and improvements.
continuous-integration/drone/push Build is passing Details
2020-12-28 15:11:06 +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 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 8f73a9a43a
Several fixes.
continuous-integration/drone/push Build is passing Details
2020-08-30 13:53:15 +02:00
Deukhoofd cc92cf1491
Defensive programming.
continuous-integration/drone/push Build is passing Details
2020-08-17 18:23:25 +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 ca087a7ed8
Add support for Egg Groups.
continuous-integration/drone/push Build is passing Details
2020-08-08 18:41:27 +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 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 f42ce8865d
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-05-27 17:26:25 +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 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 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