Commit Graph

565 Commits

Author SHA1 Message Date
Deukhoofd f4e2837b92
Use mold as linker if available for clang.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build was killed Details
2022-05-18 17:22:19 +02:00
Deukhoofd 634ffce5f8
Adds Item registry to WASM.
continuous-integration/drone/push Build is passing Details
2022-05-17 20:28:20 +02:00
Deukhoofd 4d06a1cd04
Fixes Angelscript build.
continuous-integration/drone/push Build is passing Details
2022-05-16 21:27:37 +02:00
Deukhoofd 99e805dc8e
Remove Valgrind build step for now, as Clang 14 does not support it.
continuous-integration/drone/push Build is failing Details
2022-05-16 19:10:52 +02:00
Deukhoofd aac6c83bcf
Loads of WASM type registry.
continuous-integration/drone/push Build is failing Details
2022-05-16 18:16:15 +02:00
Deukhoofd 82bc816151
Fixes annoying issue in wasmer, removes pointer type validation for now
continuous-integration/drone/push Build is passing Details
2022-05-16 11:12:38 +02:00
Deukhoofd 3aa6e28a62
Fixes battle not ending on capture of last pokemon
continuous-integration/drone/push Build is passing Details
2022-05-15 11:31:39 +02:00
Deukhoofd 812ef65ea0
Pass back capture attempt event result over FFI through a pointer, instead of by value. 2022-05-15 11:15:38 +02:00
Deukhoofd ad733d92c6
Fixes item use scripts not being properly initialised, and not setting its owner 2022-05-15 11:15:13 +02:00
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 c6775d7089
Investigate drone parallelism
continuous-integration/drone/push Build is passing Details
2022-04-10 12:49:30 +02:00
Deukhoofd 2cac37d814
Fixes C Interface using wrong macro for exporting when using debugger
continuous-integration/drone/push Build was killed Details
continuous-integration/drone Build is passing Details
2022-04-10 12:15:02 +02:00
Deukhoofd a6b1c8a8ec
Enable pedantic errors
continuous-integration/drone/push Build is passing Details
2022-04-02 13:03:11 +02:00
Deukhoofd 3739b0bb66
Disable alignment sanitizer in undefined behaviour sanitizer
continuous-integration/drone/push Build is passing Details
2022-04-01 12:33:28 +02:00
Deukhoofd 673bd58b88
Reverts memory alignment thing in ConstString, as it appears to cause issues down the line
continuous-integration/drone/push Build is failing Details
2022-04-01 12:09:35 +02:00
Deukhoofd da5fe90601
Adds Angelscript registration for AttemptCapture
continuous-integration/drone/push Build is passing Details
2022-03-27 13:18:39 +02:00
Deukhoofd c0e7f905a9
Adds a GetOwner pattern to ItemUseScript
continuous-integration/drone/push Build is passing Details
2022-03-27 13:07:58 +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 1b14f31bd7
More aggressive sanitization. Loads of integer definition fixes
continuous-integration/drone/push Build is passing Details
2022-03-25 19:08:42 +01:00
Deukhoofd f6625a0bdf
Fixes annoying memory offset issue :)
continuous-integration/drone/push Build is passing Details
2022-03-23 19:16:27 +01:00
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