Commit Graph

114 Commits

Author SHA1 Message Date
Deukhoofd 1639a132a9
Fixes for use after free
continuous-integration/drone/push Build is passing Details
2022-05-15 10:08:15 +02:00
Deukhoofd 39a163a1aa
Fixes angelscript item use script function being wrong
continuous-integration/drone/push Build is passing Details
2022-05-14 17:40:40 +02:00
Deukhoofd cf34563a56
Update to latest CreatureLib
continuous-integration/drone/push Build is passing Details
2022-05-14 16:50:20 +02:00
Deukhoofd 50c58a9fd3
Fixes build failures in Angelscript
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is passing Details
2022-05-14 11:59:54 +02:00
Deukhoofd e32d655d80
Initial work on WebAssembly script provider
continuous-integration/drone/push Build is failing Details
2022-05-14 11:49:09 +02:00
Deukhoofd 09638c8d14
Loads of work on capturing pokemon
continuous-integration/drone/push Build is passing Details
2022-03-26 16:23:24 +01:00
Deukhoofd e18767995c
Reworks setting script owner to something a lot more clean
continuous-integration/drone/push Build is failing Details
2022-03-06 12:04:21 +01:00
Deukhoofd f7c881b4e7
Implement held item scripts
continuous-integration/drone/push Build is passing Details
2022-02-19 14:04:43 +01:00
Deukhoofd e1d5a12ce0
Reworks OnInitialize to have battlelibrary as parameter
continuous-integration/drone/push Build is passing Details
2022-02-12 17:27:39 +01:00
Deukhoofd b7c27cb1f8
Move all dependencies over to CPM
continuous-integration/drone/push Build is failing Details
2022-02-11 12:17:27 +01:00
Deukhoofd 545e321018
Updates needed for breaking change in how abilities work.
continuous-integration/drone/push Build is passing Details
2021-11-15 12:47:02 +01:00
Deukhoofd 5334ad14da
Fixes issue where GetAngelscriptOwner would return an invalid value.
continuous-integration/drone/push Build is passing Details
2021-11-05 13:45:51 +01:00
Deukhoofd ad3b3bebfa
Updates to new CreatureLib, with removed precompiled header.
continuous-integration/drone/push Build is failing Details
2021-10-30 14:29:57 +02:00
Deukhoofd 3732cab54b
Bunch of fixes for Owners of scripts.
continuous-integration/drone/push Build is passing Details
2021-10-30 11:44:16 +02:00
Deukhoofd ede314ef39
A bunch of work on the concept of script owners.
continuous-integration/drone/push Build is failing Details
2021-10-29 23:54:44 +02:00
Deukhoofd 1e10d25dbd
Fixes narray::Length not being a property in angelscript.
continuous-integration/drone/push Build is failing Details
2021-09-25 18:33:12 +02:00
Deukhoofd 8005ad1232
Large cleanup of type registration, added new "NativeArray" (or narray in angelscript) type that simply holds a pointer to a native list, to prevent copies we don't need
continuous-integration/drone/push Build is failing Details
2021-09-25 17:56:45 +02:00
Deukhoofd e5ea2bbc90
Adds caching for expensive type resolution.
continuous-integration/drone/push Build is passing Details
2021-09-22 19:02:01 +02:00
Deukhoofd 2e8cf4379b
Implements new standard macro/function for registering getters in Angelscript, to reduce the amount of errors there.
continuous-integration/drone/push Build is passing Details
2021-09-21 22:37:13 +02:00
Deukhoofd 3a5fa268dd
Fixes Pokemon::get_Nickname in angelscript.
continuous-integration/drone/push Build is passing Details
2021-09-19 12:57:11 +02:00
Deukhoofd 75d6100689
Fixes memory leak in unit tests
continuous-integration/drone/push Build is passing Details
2021-08-29 16:28:21 +02:00
Deukhoofd aee0f04d9c
Further fixes for rounding errors in damage calculations.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:16:01 +02:00
Deukhoofd 037ff590f0
Fixes for damage calculation: Adds missing + 2, and handles rounding correctly.
continuous-integration/drone/push Build is failing Details
2021-08-28 12:04:18 +02:00
Deukhoofd 7fe7c8becf
Add support for turning off the random damage modifier.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:57:45 +02:00
Deukhoofd dfcdfd8343
Further fixes for setting pokemon held items from angelscript.
continuous-integration/drone/push Build is passing Details
2021-08-24 20:43:01 +02:00
Deukhoofd 8919ae4b02
Rework metadata to have a standard handling.
continuous-integration/drone/push Build is passing Details
2021-08-22 15:01:51 +02:00
Deukhoofd 3d3bff3772
Work on evolution helpers
continuous-integration/drone/push Build is passing Details
2021-06-27 17:11:37 +02:00
Deukhoofd 1c66aa8696
Return optional pointer instead of raw pointers in Pokemon::GetMoves
continuous-integration/drone/push Build is passing Details
2021-04-23 11:53:00 +02:00
Deukhoofd 939cf4e328
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2021-04-18 12:56:46 +02:00
Deukhoofd 515446bf20
Fixes GetPokemonIndex on BattleSide, adds unit test for it.
continuous-integration/drone/push Build is passing Details
2021-03-28 16:16:47 +02:00
Deukhoofd 78268c51c0
Style fixes.
continuous-integration/drone/push Build is failing Details
2021-03-27 22:40:16 +01:00
Deukhoofd e5b2ff5c59
Fixes memory leaks in unit test.
continuous-integration/drone/push Build is passing Details
2021-03-27 22:29:28 +01:00
Deukhoofd e361507ec9
Adds support for modifying volatile scripts after adding them.
continuous-integration/drone/push Build is failing Details
2021-03-27 22:19:18 +01:00
Deukhoofd 20f90222d1
Fix memory issues.
continuous-integration/drone/push Build is passing Details
2021-03-07 18:20:42 +01:00
Deukhoofd 27dd8a8202
Initial support for item use scripts in angelscript.
continuous-integration/drone/push Build is failing Details
2021-03-07 17:09:30 +01:00
Deukhoofd f8427fa594
Many fixes for script handling.
continuous-integration/drone/push Build is passing Details
2021-01-22 14:11:03 +01:00
Deukhoofd 31008c0107
Several fixes and improvements.
continuous-integration/drone/push Build is passing Details
2020-12-28 15:11:06 +01:00
Deukhoofd bbb2691b91
Update to latest Arbutils.
continuous-integration/drone/push Build is passing Details
2020-12-13 12:32:52 +01:00
Deukhoofd 53bd6e7a94
Update to new Arbutils memory model.
continuous-integration/drone/push Build is failing Details
2020-12-12 14:25:27 +01: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 8f73a9a43a
Several fixes.
continuous-integration/drone/push Build is passing Details
2020-08-30 13:53:15 +02:00
Deukhoofd cc92cf1491
Defensive programming.
continuous-integration/drone/push Build is passing Details
2020-08-17 18:23:25 +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 d9badefb07
Update to latest CreatureLib.
continuous-integration/drone/push Build is failing Details
2020-08-15 15:21:02 +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 ca087a7ed8
Add support for Egg Groups.
continuous-integration/drone/push Build is passing Details
2020-08-08 18:41:27 +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 34fb528da4
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-06-05 16:54: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 f42ce8865d
Update CreatureLib.
continuous-integration/drone/push Build is passing Details
2020-05-27 17:26:25 +02:00