This website requires JavaScript.
d8e166e49a
Adds explicit destructor for AngelscriptScript.
Deukhoofd
2020-08-04 18:33:27 +02:00
8290bf546a
Pass back CreatePokemon by reference.
Deukhoofd
2020-08-04 17:19:14 +02:00
6ffcd4dcbc
Fixed Angelscript ExecutingAttack::GetHitData function.
Deukhoofd
2020-08-04 13:08:43 +02:00
4c48085840
Set shared library if so requested.
Deukhoofd
2020-07-31 17:38:28 +02:00
f6a958b85a
Link conan libs as shared libraries.
Deukhoofd
2020-07-31 17:13:26 +02:00
efbb9429d7
Update to CreatureLib changes in event triggers.
Deukhoofd
2020-07-31 16:30:06 +02:00
f55033b8a2
Update to CreatureLib merging into one library.
Deukhoofd
2020-07-31 10:57:48 +02:00
770d3be466
Changes PkmnLibException.
Deukhoofd
2020-07-30 20:06:41 +02:00
90c33bfef0
Add C Interface for random seed.
Deukhoofd
2020-07-26 11:02:54 +02:00
15db2b4ea0
Make nickname string instead of string_view.
Deukhoofd
2020-07-26 10:50:52 +02:00
c86d35619e
Added random seed to battle constructor
Deukhoofd
2020-07-26 10:50:39 +02:00
ae0a364504
Make GetRandomNature CInterface be wrapped in a try, as it can throw.
Deukhoofd
2020-07-19 11:41:39 +02:00
190157564c
Fix style thing.
Deukhoofd
2020-07-18 15:23:12 +02:00
9a6e7e2aa2
Fixes for Windows build.
Deukhoofd
2020-07-18 14:42:03 +02:00
e8f3f93806
Further fixes for GCC throwing warnings in external files.
Deukhoofd
2020-07-18 14:28:59 +02:00
dfc6371522
Further fixes for GCC throwing warnings in external files.
Deukhoofd
2020-07-18 14:21:41 +02:00
1c92b3d7b9
Further fixes for GCC throwing warnings in external files.
Deukhoofd
2020-07-18 14:15:39 +02:00
723eb953a1
Fixed gcc still erroring on warning, added newline after macro file.
Deukhoofd
2020-07-18 14:08:08 +02:00
f1164f11a8
Remove type limit check for GCC.
Deukhoofd
2020-07-18 13:53:30 +02:00
37cf940001
Only remove previous warning for gcc.
Deukhoofd
2020-07-18 13:46:55 +02:00
178aea2224
Only remove previous warning for gcc.
Deukhoofd
2020-07-18 13:44:52 +02:00
f629c5fb81
Remove error cast function type warning.
Deukhoofd
2020-07-18 13:41:51 +02:00
3235a99ff6
Fixed issue on build with gcc.
Deukhoofd
2020-07-18 13:19:35 +02:00
7827b8bb2b
Fix paths.
Deukhoofd
2020-07-18 12:59:59 +02:00
41ec913de5
Fix paths.
Deukhoofd
2020-07-18 12:57:17 +02:00
62747ddcf2
Have CI build a test build.
Deukhoofd
2020-07-18 12:52:43 +02:00
1954d42a47
Fix for build.
Deukhoofd
2020-07-18 12:48:41 +02:00
dc3630b171
Cleanup cmake file.
Deukhoofd
2020-07-18 12:42:54 +02:00
41b15dc693
Update to newer CreatureLib.
Deukhoofd
2020-07-12 15:53:27 +02:00
d50926afba
Cleanup of CInterface, removed operator-> on BorrowedPtr, as it throws when null.
Deukhoofd
2020-07-07 15:54:25 +02:00
e0821c1a68
Force coloured output in build.
Deukhoofd
2020-07-06 08:30:29 +02:00
1f81d857ac
Make LearnedMove->GetMoveData use a ForceAs, to reduce overhead.
Deukhoofd
2020-07-04 19:33:26 +02:00
7c65bd084a
Fixes issue with constString in AngelScript.
Deukhoofd
2020-07-04 19:17:45 +02:00
45f80444b9
Fixed issue where using operator->() function directly in Angelscript threw an exception if the pointer was null.
Deukhoofd
2020-07-04 18:56:49 +02:00
665c47aa91
Add angelscript implicit conversion from string to constString.
Deukhoofd
2020-07-04 16:13:26 +02:00
7f1bc252ba
Update to newer CreatureLib.
Deukhoofd
2020-07-04 15:50:30 +02:00
698bc62b47
Update CreatureLib.
Deukhoofd
2020-06-10 14:53:03 +02:00
9e587b3d0b
Support for evolving a mon.
Deukhoofd
2020-06-10 12:33:51 +02:00
bb90d3db87
Update CreatureLib.
Deukhoofd
2020-06-05 18:19:28 +02:00
34fb528da4
Update CreatureLib.
Deukhoofd
2020-06-05 16:54:57 +02:00
12066e1dfe
Implements most of the Damage Modifier calculation.
Deukhoofd
2020-06-05 13:49:12 +02:00
ce54861966
Fix Angelscript mishandling several smart pointers.
Deukhoofd
2020-06-02 21:52:34 +02:00
64a22324c7
Mark LearnedAttack in ExecutingAttack as smart pointer
Deukhoofd
2020-06-02 21:29:01 +02:00
6225ed19fa
Mark user in ExecutingAttack as smart pointer
Deukhoofd
2020-06-02 21:26:57 +02:00
2d3a2fc63b
Smart pointers for most library and battle classes.
Deukhoofd
2020-06-02 20:37:21 +02:00
1d1dc877a0
Minor performance improvements.
Deukhoofd
2020-05-27 18:39:46 +02:00
58bf1032f2
Fix PokemonParty.
Deukhoofd
2020-05-27 17:40:26 +02:00
f42ce8865d
Update CreatureLib.
Deukhoofd
2020-05-27 17:26:25 +02:00
0d111739f4
Support for experience sharing.
Deukhoofd
2020-05-24 13:36:45 +02:00
d6792635f9
Don't calculate experience gained if the Pokemon is not allowed to receive experience.
Deukhoofd
2020-05-22 14:17:19 +02:00
92135a88eb
Move experience gain from species to forme.
Deukhoofd
2020-05-22 13:43:02 +02:00
d3b0fc1cec
Fixed memory leak in unit tests
Deukhoofd
2020-05-20 17:23:25 +02:00
6c7c460640
Support Pokemon style experience gain.
Deukhoofd
2020-05-20 16:05:52 +02:00
a19965c1c3
C Interface for PokemonLibrary.
Deukhoofd
2020-05-04 18:07:39 +02:00
4edfb6ca85
Fixes invalid cmake
Deukhoofd
2020-05-03 12:54:55 +02:00
6e12a55c92
Better handling for static c linking.
Deukhoofd
2020-05-03 12:51:41 +02:00
93983bdf5b
Turns PokemonSpecies Construct C interface into Try function
Deukhoofd
2020-05-03 12:46:35 +02:00
91bd7f8670
Fixes for wrong C declarations
Deukhoofd
2020-05-02 16:19:24 +02:00
3015133076
Remove test file after test run.
Deukhoofd
2020-05-02 11:55:04 +02:00
e17a8e016b
Implements support for registering types and functions in AngelScript externally.
Deukhoofd
2020-05-02 11:53:12 +02:00
9b125503ee
AngelScriptResolver C Interface
Deukhoofd
2020-05-02 11:38:13 +02:00
bd77b58743
Rework of ScriptResolver to binary handling. Now also serialises the type database to the stream, simplifying it's api.
Deukhoofd
2020-05-02 11:13:04 +02:00
846580550a
C Interface for PkmnScript.
Deukhoofd
2020-04-29 20:17:18 +02:00
9206ff642b
C Interface for battle libraries.
Deukhoofd
2020-04-29 19:46:24 +02:00
9f27e43de8
Re-add conan data to Valgrind step.
Deukhoofd
2020-04-28 15:37:18 +02:00
fc85dcb3c5
Fixed YAML config.
Deukhoofd
2020-04-28 15:32:32 +02:00
106c844fce
Run style check on build.
Deukhoofd
2020-04-28 15:30:50 +02:00
c4b866cb38
File formatting.
Deukhoofd
2020-04-28 14:48:56 +02:00
686f898259
WeatherChangeEvent. C Interface.
Deukhoofd
2020-04-26 20:12:31 +02:00
718c146ebe
Battle C Interface.
Deukhoofd
2020-04-26 20:01:11 +02:00
ec1685aa14
Update to latest CreatureLib.
Deukhoofd
2020-04-25 20:30:44 +02:00
e23165d489
Update to latest CreatureLib, improved DamageLibrary performance.
Deukhoofd
2020-04-25 16:59:27 +02:00
df802b561a
Update to latest CreatureLib.
Deukhoofd
2020-04-25 16:31:57 +02:00
e7667cec22
Add some options to test runner for Windows build.
Deukhoofd
2020-04-25 15:32:59 +02:00
be3b1fcf5a
Ensure Battle passes the right script count.
Deukhoofd
2020-04-25 11:43:04 +02:00
19062cfc93
Update to latest CreatureLib.
Deukhoofd
2020-04-25 10:55:23 +02:00
42ea76cf53
Fixed spelling error in AngelScriptResolver name.
Deukhoofd
2020-04-24 00:05:43 +02:00
1d5c6d696e
Improve OnInitialize performance in AngelScript by caching type of parameter array.
Deukhoofd
2020-04-24 00:02:10 +02:00
330a24c493
Update to latest CreatureLib.
Deukhoofd
2020-04-23 23:31:17 +02:00
c6a4c87d47
As we're re-using the same struggle object, ensure PP is always restored before use.
Deukhoofd
2020-04-22 17:06:21 +02:00
3174986796
Increase max PP for Struggle, make conan always pull the latest dependencies.
Deukhoofd
2020-04-22 17:05:00 +02:00
097cda34c0
Fixes for Struggle.
Deukhoofd
2020-04-22 16:35:04 +02:00
0f440a8a63
Enforce PkmnLib MiscLibrary in Library constructor.
Deukhoofd
2020-04-22 16:10:13 +02:00
2e60096d57
Implements missing Script functions.
Deukhoofd
2020-04-22 15:34:24 +02:00
b1442f25fb
Rework CreatePokemon to not return a pointer to self every time, but return by value instead.
Deukhoofd
2020-04-22 14:41:20 +02:00
babb384166
Fixed issue where you couldn't teach all moves.
Deukhoofd
2020-04-22 14:29:19 +02:00
bb5d9d64fe
Fixed integer size comparison issue.
Deukhoofd
2020-04-22 14:16:53 +02:00
0cce1fdda2
Rework for LearnMove method on CreatePokemon.
Deukhoofd
2020-04-22 14:02:53 +02:00
984088f7a9
Rework TryGet on MoveLibrary to be less ugly.
Deukhoofd
2020-04-22 10:34:09 +02:00
9ac60dfa42
Ensure no invalid move pointer is passed to LearnMove.
Deukhoofd
2020-04-22 10:32:28 +02:00
a470d11b25
Update to latest CreatureLib.
Deukhoofd
2020-04-21 14:56:42 +02:00
374bb8fd5d
Removed unused conan option to fix Windows build.
Deukhoofd
2020-04-21 10:34:09 +02:00
5a6d1d13f9
Make PokemonParty use List instead of vector.
Deukhoofd
2020-04-19 18:12:42 +02:00
6abef0ddc8
Implements Change Effectiveness script hook in AngelScript.
Deukhoofd
2020-04-19 13:41:41 +02:00
95209e51a4
Implements pokemon specific damage source handling.
Deukhoofd
2020-04-19 13:20:14 +02:00
af737cf8b8
Make AngelScript effect attributes case insensitive.
Deukhoofd
2020-04-19 12:17:58 +02:00
aa1e6ae5b3
Trigger event hook on weather change/
Deukhoofd
2020-04-18 16:21:38 +02:00
6955c2c69f
Ensure AngelScript allows resolving PkmnScriptCategory categories.
Deukhoofd
2020-04-18 16:04:48 +02:00
c6d31e09a1
Implements Weather
Deukhoofd
2020-04-18 15:35:01 +02:00
caa353191d
C Interface for Pokemon.
Deukhoofd
2020-04-18 13:43:05 +02:00