Commit Graph

541 Commits

Author SHA1 Message Date
Deukhoofd 9af68fa773
Update to latest Arbutils
continuous-integration/drone/push Build is passing Details
2022-03-23 18:49:01 +01:00
Deukhoofd de26a41fcf
Bring back suppression for valgrind
continuous-integration/drone/push Build is passing Details
2022-03-22 19:10:02 +01:00
Deukhoofd eb2907c9a2
Support Address Sanitizer in the CI
continuous-integration/drone/push Build is failing Details
2022-03-22 18:36:29 +01:00
Deukhoofd 91596d8ab4
Support Address Sanitizer 2022-03-22 18:35:00 +01:00
Deukhoofd aba538d351
Ensure( == ) --> EnsureEquals(,) 2022-03-22 18:34:48 +01:00
Deukhoofd 43488283cb
Set angelscript link directory on pkmnlib target, instead of general.
continuous-integration/drone/push Build is passing Details
2022-03-20 13:37:47 +01:00
Deukhoofd e346f5ffb4
Make CreateScript use std::string to help prevent issues.
continuous-integration/drone/push Build is passing Details
2022-03-20 11:18:32 +01:00
Deukhoofd 3bd5bb3fe6
Fixes potential error being ignored.
continuous-integration/drone/push Build is passing Details
2022-03-20 11:11:43 +01:00
Deukhoofd cb2f902194
Initial work on capturing of Pokemon
continuous-integration/drone/push Build is passing Details
2022-03-13 14:16:28 +01:00
Deukhoofd b6f539b1f7
Add angelscript getter for number of hits on an executingmove
continuous-integration/drone/push Build is passing Details
2022-03-12 13:01:48 +01:00
Deukhoofd b8f790cb61
Adds SetType to angelscript
continuous-integration/drone/push Build is passing Details
2022-03-12 12:46:05 +01:00
Deukhoofd 175f3dfd81
Fixes changestatboost interface in angelscript
continuous-integration/drone/push Build is passing Details
2022-03-12 11:41:52 +01:00
Deukhoofd d4c6ba372e
Changes prevent statboostchange interface in angelscript in line with creaturelib update
continuous-integration/drone/push Build is passing Details
2022-03-12 11:37:06 +01:00
Deukhoofd 2c678756c7
Update doctest
continuous-integration/drone/push Build is passing Details
2022-03-11 12:13:15 +01:00
Deukhoofd 4a8b3e13a1
Hopefully fixes the issue with ref counting in angelscript
continuous-integration/drone/push Build is failing Details
2022-03-06 15:57:25 +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 66c742e225
Fixes segfault
continuous-integration/drone/push Build is failing Details
2022-03-05 14:44:48 +01:00
Deukhoofd 54ef297826
Public link pkmnlib
continuous-integration/drone/push Build is failing Details
2022-03-05 11:03:51 +01:00
Deukhoofd cf358c75a4
Fix(?) strange behaviour in angelcode clone
continuous-integration/drone/push Build is failing Details
2022-02-26 20:53:28 +01:00
Deukhoofd fcc9988c3e
Lock guards for Angelscript ContextPool
continuous-integration/drone/push Build is failing Details
2022-02-26 20:22:00 +01:00
Deukhoofd 6146a2b22e
Improvements for Angelscript ContextPool 2022-02-26 19:25:22 +01:00
Deukhoofd d4a080714c
Release Script owner references before setting it. This hopefully prevents extremely high reference counts.
continuous-integration/drone/push Build is failing Details
2022-02-26 17:04:27 +01:00
Deukhoofd 817bf387ac
Adds ChangeSpeed script hook to Angelscript
continuous-integration/drone/push Build is passing Details
2022-02-19 16:21:29 +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 c0bdc73606
Update for item use scripts to be used in battle
continuous-integration/drone/push Build is passing Details
2022-02-13 13:47:30 +01:00
Deukhoofd 0d87e480d1
Fixes the passing of enums in PreventStatBoostChange and ModifyStatBoostChange
continuous-integration/drone/push Build is passing Details
I kind of forgot how enums work in Angelscript, whoops
2022-02-12 19:13:05 +01:00
Deukhoofd a03769e9bf
Fixes TypeLibrary::GetTypeId segfaulting
continuous-integration/drone/push Build is passing Details
2022-02-12 19:02:17 +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 48da191dfb
Adds a bunch of script hooks to the damage library calculations
continuous-integration/drone/push Build is passing Details
2022-02-12 17:00:37 +01:00
Deukhoofd d1efde4328
Adds Angelscript hook to prevent stat boost changes
continuous-integration/drone/push Build is passing Details
2022-02-12 15:59:16 +01:00
Deukhoofd 8983ba7251
Adds Angelscript script hook to modify stat boost changes
continuous-integration/drone/push Build is passing Details
2022-02-12 15:24:50 +01:00
Deukhoofd a7e582a712
Fixes for Windows
continuous-integration/drone/push Build is passing Details
2022-02-12 14:32:15 +01:00
Deukhoofd 55f90728bf
Remove explicit bfd and dl links
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2022-02-12 13:36:00 +01:00
Deukhoofd 8522b93b7f
Adds new script hook to prevent incoming critical hits
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2022-02-12 13:03:40 +01:00
Deukhoofd 6444a8ce1c
threaded fixes 2022-02-12 12:55:58 +01:00
Deukhoofd 214e75b992
Link pthread statically again
continuous-integration/drone/push Build is passing Details
2022-02-11 14:36:39 +01:00
Deukhoofd 50feb94ca1
Adds math functions to Angelscript
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2022-02-11 12:22:58 +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 c960f3fa0b
Remove pthread dependency by default, adds ability to turn off angelscript debugger
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2022-02-05 17:48:47 +01:00
Deukhoofd b438e36a63
Allow angelscript to change rpath during build
continuous-integration/drone/push Build was killed Details
continuous-integration/drone Build is failing Details
2022-02-05 16:26:53 +01:00
Deukhoofd b4d492f2af
Change cmake option TESTS --> PKMNLIB_TESTS
continuous-integration/drone/push Build is failing Details
2022-02-05 16:01:19 +01:00
Deukhoofd 537ae93294
Switch to CPM for dependency management
continuous-integration/drone/push Build was killed Details
2022-02-05 15:31:10 +01:00
Deukhoofd af450dceb4
Adds OnDamage parameters for old and new health.
continuous-integration/drone/push Build is passing Details
2021-11-21 14:16:57 +01:00
Deukhoofd 0b8ebcc778
Adds OnDamage script hook to Angelscript.
continuous-integration/drone/push Build is failing Details
2021-11-21 14:06:36 +01:00
Deukhoofd 95e1e32abe
Fixes SetStatus and ChangeForme Angelscript functions.
continuous-integration/drone/push Build is passing Details
2021-11-21 13:49:48 +01:00
Deukhoofd 55cebc4802
Adds Angelscript function to change forme.
continuous-integration/drone/push Build is passing Details
2021-11-21 13:46:49 +01:00
Deukhoofd 67df06ef04
Adds OnFaintingOpponent script hook to Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-21 13:37:26 +01:00
Deukhoofd b0f9daef60
Fixes invalid set up of ChangeAttack.
continuous-integration/drone/push Build is passing Details
2021-11-21 13:17:25 +01:00
Deukhoofd 2396615d4a
Fixes MoveData::HasFlag using OBJLAST instead of OBJFIRST, causing memory corruption.
continuous-integration/drone/push Build is passing Details
2021-11-21 12:59:11 +01:00
Deukhoofd 4d81ca1d08
Fixes for OnFaint in Angelscript.
continuous-integration/drone/push Build is passing Details
2021-11-21 12:49:10 +01:00