Commit Graph

246 Commits

Author SHA1 Message Date
Deukhoofd 2ce766f589
Adds precompiled header.
continuous-integration/drone/push Build is passing Details
2020-09-29 17:51:11 +02:00
Deukhoofd fda3c8f86d
Support not including standard angelscript libraries such as string and array.
continuous-integration/drone/push Build is passing Details
2020-09-19 15:57:20 +02:00
Deukhoofd f073e951b1
Removed invalid angelscript registering.
continuous-integration/drone/push Build is passing Details
2020-09-19 14:10:46 +02:00
Deukhoofd 6f17cb046e
Add getter for as module in angelscriptresolver.
continuous-integration/drone/push Build is passing Details
2020-09-19 13:53:56 +02:00
Deukhoofd 9e507d5c3f
Handling for Library being passed to AngelscriptResolver being nullptr, for testing purposes.
continuous-integration/drone/push Build is passing Details
2020-09-19 13:33:17 +02:00
Deukhoofd 8f73a9a43a
Several fixes.
continuous-integration/drone/push Build is passing Details
2020-08-30 13:53:15 +02:00
Deukhoofd c6e2de6156
Use level_int_t for levels.
continuous-integration/drone/push Build is passing Details
2020-08-22 12:24:52 +02:00
Deukhoofd cc92cf1491
Defensive programming.
continuous-integration/drone/push Build is passing Details
2020-08-17 18:23:25 +02:00
Deukhoofd f3721ad2a5
Fixes damage calculation, 2020-08-17 18:23:13 +02:00
Deukhoofd 3baabe6d79
Update tp latest CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-08-17 12:36:21 +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 b5a1d74bdb
Update to latest CreatureLib
continuous-integration/drone/push Build is passing Details
2020-08-16 11:12:04 +02:00
Deukhoofd 3477de14cb
Update to latest CreatureLib.
continuous-integration/drone/push Build is failing Details
2020-08-14 15:26:44 +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 ece07f5648
Defensive programming in DamageLibrary, ensuring the final damage is between 0 and uint32 max.
continuous-integration/drone/push Build is passing Details
2020-08-11 21:47:05 +02:00
Deukhoofd 5e917b7047
Support for finding the previous evolution step of a Pokemon. 2020-08-11 21:46:22 +02:00
Deukhoofd 9274b675e9
SUpport for EggMoves
continuous-integration/drone/push Build is passing Details
2020-08-11 19:36:18 +02:00
Deukhoofd badfccf440
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-08-10 18:09:32 +02:00
Deukhoofd 88971dce37
Support flags for species and formes.
continuous-integration/drone/push Build is passing Details
2020-08-10 18:03:01 +02:00
Deukhoofd de3ad4a9c8
Support for getting natures by index for iterating purposes. 2020-08-09 11:31:22 +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 2a884a0a8b
Setters for IVs and EVs.
continuous-integration/drone/push Build is passing Details
2020-08-08 17:52:57 +02:00
Deukhoofd 2fa59b9ea9
Update to new CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-08-08 13:06:08 +02:00
Deukhoofd 0ace5798f8
Update to new Arbutils.
continuous-integration/drone/push Build is passing Details
2020-08-08 12:35:57 +02:00
Deukhoofd 683f3ad08b
Add Pokemon Status.
continuous-integration/drone/push Build is passing Details
2020-08-08 12:01:05 +02:00
Deukhoofd 8290bf546a
Pass back CreatePokemon by reference.
continuous-integration/drone/push Build is passing Details
2020-08-04 17:19:14 +02:00
Deukhoofd 6ffcd4dcbc
Fixed Angelscript ExecutingAttack::GetHitData function.
continuous-integration/drone/push Build is passing Details
2020-08-04 13:08:43 +02:00
Deukhoofd efbb9429d7
Update to CreatureLib changes in event triggers.
continuous-integration/drone/push Build is passing Details
2020-07-31 16:30:06 +02:00
Deukhoofd 15db2b4ea0
Make nickname string instead of string_view.
continuous-integration/drone/push Build is passing Details
2020-07-26 10:50:52 +02:00
Deukhoofd c86d35619e
Added random seed to battle constructor 2020-07-26 10:50:39 +02:00
Deukhoofd 723eb953a1
Fixed gcc still erroring on warning, added newline after macro file.
continuous-integration/drone/push Build is failing Details
2020-07-18 14:08:08 +02:00
Deukhoofd 3235a99ff6
Fixed issue on build with gcc.
continuous-integration/drone/push Build is failing Details
2020-07-18 13:19:35 +02:00
Deukhoofd dc3630b171
Cleanup cmake file.
continuous-integration/drone/push Build is failing Details
2020-07-18 12:42:54 +02:00
Deukhoofd 41b15dc693
Update to newer CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-07-12 15:53:27 +02:00
Deukhoofd 1f81d857ac
Make LearnedMove->GetMoveData use a ForceAs, to reduce overhead.
continuous-integration/drone/push Build is passing Details
2020-07-04 19:33:26 +02:00
Deukhoofd 7c65bd084a
Fixes issue with constString in AngelScript.
continuous-integration/drone/push Build is passing Details
2020-07-04 19:17:45 +02:00
Deukhoofd 45f80444b9
Fixed issue where using operator->() function directly in Angelscript threw an exception if the pointer was null.
continuous-integration/drone/push Build is passing Details
2020-07-04 18:56:49 +02:00
Deukhoofd 665c47aa91
Add angelscript implicit conversion from string to constString.
continuous-integration/drone/push Build is passing Details
2020-07-04 16:13:26 +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 698bc62b47
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-06-10 14:53:03 +02:00
Deukhoofd 9e587b3d0b
Support for evolving a mon.
continuous-integration/drone/push Build is passing Details
2020-06-10 12:33:51 +02:00
Deukhoofd bb90d3db87
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-06-05 18:19:28 +02:00
Deukhoofd 34fb528da4
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-06-05 16:54:57 +02:00
Deukhoofd 12066e1dfe
Implements most of the Damage Modifier calculation.
continuous-integration/drone/push Build is failing Details
2020-06-05 13:49:12 +02:00
Deukhoofd ce54861966
Fix Angelscript mishandling several smart pointers.
continuous-integration/drone/push Build is passing Details
2020-06-02 21:52:34 +02:00
Deukhoofd 64a22324c7
Mark LearnedAttack in ExecutingAttack as smart pointer
continuous-integration/drone/push Build is passing Details
2020-06-02 21:29:01 +02:00
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 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 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 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 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 5a6d1d13f9
Make PokemonParty use List instead of vector.
continuous-integration/drone/push Build is failing Details
2020-04-19 18:12:42 +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 aa1e6ae5b3
Trigger event hook on weather change/
continuous-integration/drone/push Build is passing Details
2020-04-18 16:21:38 +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 66060c68c0
Item C Interface.
continuous-integration/drone/push Build is passing Details
2020-04-17 21:02:17 +02:00
Deukhoofd bd3e274d3d
Nature Library C Interface.
continuous-integration/drone/push Build is passing Details
2020-04-17 20:03:01 +02:00
Deukhoofd a9075d7ef3
Cleanup natures.
continuous-integration/drone/push Build is passing Details
2020-04-17 18:50:26 +02:00
Deukhoofd c5df576dde
Inline nature functions.
continuous-integration/drone/push Build is failing Details
2020-04-17 18:45:00 +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 94980ef7ab
Implements struggle.
continuous-integration/drone/push Build is passing Details
2020-04-17 17:56:41 +02:00
Deukhoofd 82e0774b40
C Interface for EvolutionData
continuous-integration/drone/push Build is passing Details
2020-04-16 16:18:09 +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 2ab9445b71
Implements CInterface core, C Interface for LibrarySettings.
continuous-integration/drone/push Build is passing Details
2020-04-14 16:36:54 +02:00