Commit Graph

574 Commits

Author SHA1 Message Date
Deukhoofd 92135a88eb
Move experience gain from species to forme. 2020-05-22 13:43:02 +02:00
Deukhoofd d3b0fc1cec
Fixed memory leak in unit tests 2020-05-20 17:23:25 +02:00
Deukhoofd 6c7c460640
Support Pokemon style experience gain. 2020-05-20 16:05:52 +02:00
Deukhoofd a19965c1c3
C Interface for PokemonLibrary. 2020-05-04 18:07:39 +02:00
Deukhoofd 4edfb6ca85
Fixes invalid cmake 2020-05-03 12:54:55 +02:00
Deukhoofd 6e12a55c92
Better handling for static c linking. 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 2020-05-02 16:19:24 +02:00
Deukhoofd 3015133076
Remove test file after test run. 2020-05-02 11:55:04 +02:00
Deukhoofd e17a8e016b
Implements support for registering types and functions in AngelScript externally. 2020-05-02 11:53:12 +02:00
Deukhoofd 9b125503ee
AngelScriptResolver C Interface 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. 2020-05-02 11:13:04 +02:00
Deukhoofd 846580550a
C Interface for PkmnScript. 2020-04-29 20:17:18 +02:00
Deukhoofd 9206ff642b
C Interface for battle libraries. 2020-04-29 19:46:24 +02:00
Deukhoofd 9f27e43de8
Re-add conan data to Valgrind step. 2020-04-28 15:37:18 +02:00
Deukhoofd fc85dcb3c5
Fixed YAML config. 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. 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. 2020-04-25 20:30:44 +02:00
Deukhoofd e23165d489
Update to latest CreatureLib, improved DamageLibrary performance. 2020-04-25 16:59:27 +02:00
Deukhoofd df802b561a
Update to latest CreatureLib. 2020-04-25 16:31:57 +02:00
Deukhoofd e7667cec22
Add some options to test runner for Windows build. 2020-04-25 15:32:59 +02:00
Deukhoofd be3b1fcf5a
Ensure Battle passes the right script count. 2020-04-25 11:43:04 +02:00
Deukhoofd 19062cfc93
Update to latest CreatureLib. 2020-04-25 10:55:23 +02:00
Deukhoofd 42ea76cf53
Fixed spelling error in AngelScriptResolver name. 2020-04-24 00:05:43 +02:00
Deukhoofd 1d5c6d696e
Improve OnInitialize performance in AngelScript by caching type of parameter array. 2020-04-24 00:02:10 +02:00
Deukhoofd 330a24c493
Update to latest CreatureLib. 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. 2020-04-22 17:06:21 +02:00
Deukhoofd 3174986796
Increase max PP for Struggle, make conan always pull the latest dependencies. 2020-04-22 17:05:00 +02:00
Deukhoofd 097cda34c0
Fixes for Struggle. 2020-04-22 16:35:04 +02:00
Deukhoofd 0f440a8a63
Enforce PkmnLib MiscLibrary in Library constructor. 2020-04-22 16:10:13 +02:00
Deukhoofd 2e60096d57
Implements missing Script functions. 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. 2020-04-22 14:41:20 +02:00
Deukhoofd babb384166
Fixed issue where you couldn't teach all moves. 2020-04-22 14:29:19 +02:00
Deukhoofd bb5d9d64fe
Fixed integer size comparison issue. 2020-04-22 14:16:53 +02:00
Deukhoofd 0cce1fdda2
Rework for LearnMove method on CreatePokemon. 2020-04-22 14:02:53 +02:00
Deukhoofd 984088f7a9
Rework TryGet on MoveLibrary to be less ugly. 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. 2020-04-21 14:56:42 +02:00
Deukhoofd 374bb8fd5d
Removed unused conan option to fix Windows build. 2020-04-21 10:34:09 +02:00
Deukhoofd 5a6d1d13f9
Make PokemonParty use List instead of vector. 2020-04-19 18:12:42 +02:00
Deukhoofd 6abef0ddc8
Implements Change Effectiveness script hook in AngelScript. 2020-04-19 13:41:41 +02:00
Deukhoofd 95209e51a4
Implements pokemon specific damage source handling. 2020-04-19 13:20:14 +02:00
Deukhoofd af737cf8b8
Make AngelScript effect attributes case insensitive. 2020-04-19 12:17:58 +02:00
Deukhoofd aa1e6ae5b3
Trigger event hook on weather change/ 2020-04-18 16:21:38 +02:00
Deukhoofd 6955c2c69f
Ensure AngelScript allows resolving PkmnScriptCategory categories. 2020-04-18 16:04:48 +02:00
Deukhoofd c6d31e09a1
Implements Weather 2020-04-18 15:35:01 +02:00
Deukhoofd caa353191d
C Interface for Pokemon. 2020-04-18 13:43:05 +02:00