Commit Graph

370 Commits

Author SHA1 Message Date
Deukhoofd fff926b617
Mark several classes as final for devirtualization performance benefits.
continuous-integration/drone/push Build is passing Details
2020-10-15 18:13:00 +02:00
Deukhoofd f816975b63
Fix for Pokemon::ClearStatus crashing when a Pokemon does not have a status. Now will just do nothing.
continuous-integration/drone/push Build is passing Details
2020-10-02 17:43:16 +02:00
Deukhoofd 64c5a94800
Revert "Link pthreads when linking statically."
continuous-integration/drone/push Build is passing Details
This reverts commit 2c7082a7
2020-09-30 19:09:10 +02:00
Deukhoofd b1d9add9a7
Fixes sign build.
continuous-integration/drone/push Build is failing Details
2020-09-30 18:55:35 +02:00
Deukhoofd feff992e59
Sign build.
continuous-integration/drone/push Build was killed Details
2020-09-30 18:55:02 +02:00
Deukhoofd d15f4b333e
Revert "Remove libwinpthread copy action from drone, as we should no longer depend on it."
continuous-integration/drone/push Build is failing Details
This reverts commit 545a220f
2020-09-30 18:54:15 +02:00
Deukhoofd 545a220fd6
Remove libwinpthread copy action from drone, as we should no longer depend on it.
continuous-integration/drone/push Build is failing Details
2020-09-29 20:03:31 +02:00
Deukhoofd 2c7082a728
Link pthreads when linking statically.
continuous-integration/drone/push Build is failing Details
2020-09-29 18:52:58 +02:00
Deukhoofd 1686434440
Use lld for Clang.
continuous-integration/drone/push Build is passing Details
2020-09-29 18:28:54 +02: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 f9eade32db
Use Ninja as generator.
continuous-integration/drone/push Build is passing Details
2020-09-29 17:54:26 +02:00
Deukhoofd c3f8c2dc53
Adds clang-tidy file. 2020-09-29 17:53:45 +02:00
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 1568c561d0
Remove unused defines for now.
continuous-integration/drone/push Build is passing Details
2020-09-19 12:22:52 +02:00
Deukhoofd eb25221b90
Remove thinlto, causes more issues than it helps.
continuous-integration/drone/push Build is passing Details
2020-09-18 19:54:50 +02:00
Deukhoofd ffc2819913
Use ThinLTO for shared library building.
continuous-integration/drone/push Build is passing Details
2020-09-12 17:22:27 +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 0983658913
Add debug symbols.
continuous-integration/drone/push Build is passing Details
2020-08-16 18:03:26 +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 d9badefb07
Update to latest CreatureLib.
continuous-integration/drone/push Build is failing Details
2020-08-15 15:21:02 +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 ca53676b6d
Fixes C Interface naming. 2020-08-12 17:13:03 +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 66aea09e80
Add C Interface function to get all evolutions.
continuous-integration/drone/push Build is passing Details
2020-08-08 15:10:15 +02:00
Deukhoofd 593aadbda5
Fix wrong C Interface naming.
continuous-integration/drone/push Build is passing Details
2020-08-08 14:55:26 +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 7e84b6cf04
Fixed C Interface naming.
continuous-integration/drone/push Build is passing Details
2020-08-08 12:40:33 +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 d8e166e49a
Adds explicit destructor for AngelscriptScript.
continuous-integration/drone/push Build is passing Details
2020-08-04 18:33:27 +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 4c48085840
Set shared library if so requested.
continuous-integration/drone/push Build is passing Details
2020-07-31 17:38:28 +02:00