Commit Graph

564 Commits

Author SHA1 Message Date
Deukhoofd c86d35619e
Added random seed to battle constructor 2020-07-26 10:50:39 +02:00
Deukhoofd ae0a364504
Make GetRandomNature CInterface be wrapped in a try, as it can throw.
continuous-integration/drone/push Build is passing Details
2020-07-19 11:41:39 +02:00
Deukhoofd 190157564c
Fix style thing.
continuous-integration/drone/push Build is passing Details
2020-07-18 15:23:12 +02:00
Deukhoofd 9a6e7e2aa2
Fixes for Windows build.
continuous-integration/drone/push Build is passing Details
2020-07-18 14:42:03 +02:00
Deukhoofd e8f3f93806
Further fixes for GCC throwing warnings in external files.
continuous-integration/drone/push Build is failing Details
2020-07-18 14:28:59 +02:00
Deukhoofd dfc6371522
Further fixes for GCC throwing warnings in external files.
continuous-integration/drone/push Build is failing Details
2020-07-18 14:21:41 +02:00
Deukhoofd 1c92b3d7b9
Further fixes for GCC throwing warnings in external files.
continuous-integration/drone/push Build is failing Details
2020-07-18 14:15: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 f1164f11a8
Remove type limit check for GCC.
continuous-integration/drone/push Build is failing Details
2020-07-18 13:53:30 +02:00
Deukhoofd 37cf940001
Only remove previous warning for gcc.
continuous-integration/drone/push Build is failing Details
2020-07-18 13:46:55 +02:00
Deukhoofd 178aea2224
Only remove previous warning for gcc.
continuous-integration/drone/push Build is failing Details
2020-07-18 13:44:52 +02:00
Deukhoofd f629c5fb81
Remove error cast function type warning.
continuous-integration/drone/push Build is failing Details
2020-07-18 13:41:51 +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 7827b8bb2b
Fix paths.
continuous-integration/drone/push Build is failing Details
2020-07-18 12:59:59 +02:00
Deukhoofd 41ec913de5
Fix paths.
continuous-integration/drone/push Build is failing Details
2020-07-18 12:57:17 +02:00
Deukhoofd 62747ddcf2
Have CI build a test build.
continuous-integration/drone/push Build is failing Details
2020-07-18 12:52:43 +02:00
Deukhoofd 1954d42a47
Fix for build.
continuous-integration/drone/push Build is failing Details
2020-07-18 12:48:41 +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 d50926afba
Cleanup of CInterface, removed operator-> on BorrowedPtr, as it throws when null.
continuous-integration/drone/push Build is failing Details
2020-07-07 15:54:25 +02:00
Deukhoofd e0821c1a68
Force coloured output in build.
continuous-integration/drone/push Build is passing Details
2020-07-06 08:30:29 +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 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 a19965c1c3
C Interface for PokemonLibrary.
continuous-integration/drone/push Build is passing Details
2020-05-04 18:07:39 +02:00
Deukhoofd 4edfb6ca85
Fixes invalid cmake
continuous-integration/drone/push Build is passing Details
2020-05-03 12:54:55 +02:00
Deukhoofd 6e12a55c92
Better handling for static c linking.
continuous-integration/drone/push Build is failing Details
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
continuous-integration/drone/push Build is failing Details
2020-05-02 16:19:24 +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 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