Commit Graph

119 Commits

Author SHA1 Message Date
Deukhoofd 8290bf546a
Pass back CreatePokemon by reference.
continuous-integration/drone/push Build is passing Details
2020-08-04 17:19:14 +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 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 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 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 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 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 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 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 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 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 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 95209e51a4
Implements pokemon specific damage source handling.
continuous-integration/drone/push Build is passing Details
2020-04-19 13:20:14 +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 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 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 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 48ef465c82
Update to the latest CreatureLib version. 2020-04-06 20:03:44 +02:00
Deukhoofd 40a003429e
Updates CreatureLib, implements ConstStrings.
continuous-integration/drone/push Build is failing Details
2020-02-27 18:59:15 +01:00
Deukhoofd 98e17a1eb8
Move script name to type.
continuous-integration/drone/push Build is passing Details
2020-02-23 16:02:27 +01:00
Deukhoofd 19cfcc9e32
Support for specific PkmnLib functions in Scripts, added ModifyCriticalStage function. 2020-02-20 13:28:31 +01:00
Deukhoofd f507d76432
Make Pokemon battle class inherit publicly.
continuous-integration/drone/push Build is passing Details
2020-02-17 16:56:44 +01:00
Deukhoofd 6fff01a994
Add PokemonParty class.
continuous-integration/drone/push Build is passing Details
2020-02-17 16:05:03 +01:00
Deukhoofd 30c3c5f405
Upgrade CreatureLib, added basic Battle class, as we'll use it later on/
continuous-integration/drone/push Build is passing Details
2020-02-16 17:50:16 +01:00
Deukhoofd 85d402c2c1
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-02-16 12:19:14 +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 7aa29e4543
Update CreatureLib, handle getting formes cleaner.
continuous-integration/drone/push Build is passing Details
2020-02-13 18:00:23 +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 82eee58455
Potential fix for Windows build.
continuous-integration/drone/push Build is failing Details
2020-02-02 15:34:38 +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 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 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 72c2e38ea8
Fixes for Windows ;_;
continuous-integration/drone/push Build is passing Details
2020-01-12 18:20:59 +01:00
Deukhoofd c716992f12
Layout work on an AngelScript implementation.
continuous-integration/drone/push Build is failing Details
2020-01-11 22:30:23 +01:00
Deukhoofd 2a39467899
Initial layout work for allowing multiple script providers, but defaulting to AngelScript.
continuous-integration/drone/push Build is failing Details
2020-01-09 17:03:34 +01:00
Deukhoofd 191b128125
Implements Pokemon stat calculation.
continuous-integration/drone/push Build is passing Details
2020-01-05 15:18:30 +01:00
Deukhoofd 02ab4b3272
Support natures for Pokemon.
continuous-integration/drone/push Build is passing Details
2020-01-02 20:26:01 +01:00
Deukhoofd 800147c339
Started working on getting Battling side done.
continuous-integration/drone/push Build is passing Details
2020-01-02 18:02:40 +01:00