-
09773be617
Style fixes for tests
master
Deukhoofd
2022-06-07 23:35:28 +0200
-
a05a9ac76d
Style fixes
Deukhoofd
2022-06-07 23:23:40 +0200
-
e4b818c799
Fixes angelscript build with new stat getter changes on Pokemon class.
Deukhoofd
2022-06-07 23:12:55 +0200
-
fd4eb77dc9
Removes WASM hack used for circumventing a wasmer 2.2.1 bug, as it's now resolved in 2.3.0
Deukhoofd
2022-06-07 22:49:37 +0200
-
66fb9f5bd6
Adds Pokemon class registry for WASM
Deukhoofd
2022-05-28 12:35:31 +0200
-
bc975aba53
Fixes for standard library changes
Deukhoofd
2022-05-26 10:36:02 +0200
-
a4ac678154
Adds a lot more WASM type registry
Deukhoofd
2022-05-22 13:00:53 +0200
-
9adbd27358
Adds WASM type registry for species and formes.
Deukhoofd
2022-05-21 20:46:04 +0200
-
5a545aaa98
Force LTO for mold
Deukhoofd
2022-05-18 18:26:07 +0200
-
f4e2837b92
Use mold as linker if available for clang.
Deukhoofd
2022-05-18 17:22:19 +0200
-
634ffce5f8
Adds Item registry to WASM.
Deukhoofd
2022-05-17 20:28:20 +0200
-
4d06a1cd04
Fixes Angelscript build.
Deukhoofd
2022-05-16 21:27:37 +0200
-
99e805dc8e
Remove Valgrind build step for now, as Clang 14 does not support it.
Deukhoofd
2022-05-16 19:10:52 +0200
-
aac6c83bcf
Loads of WASM type registry.
Deukhoofd
2022-05-16 18:16:15 +0200
-
82bc816151
Fixes annoying issue in wasmer, removes pointer type validation for now
Deukhoofd
2022-05-16 11:12:38 +0200
-
3aa6e28a62
Fixes battle not ending on capture of last pokemon
Deukhoofd
2022-05-15 11:31:39 +0200
-
812ef65ea0
Pass back capture attempt event result over FFI through a pointer, instead of by value.
Deukhoofd
2022-05-15 11:15:38 +0200
-
ad733d92c6
Fixes item use scripts not being properly initialised, and not setting its owner
Deukhoofd
2022-05-15 11:15:13 +0200
-
1639a132a9
Fixes for use after free
Deukhoofd
2022-05-15 10:08:15 +0200
-
39a163a1aa
Fixes angelscript item use script function being wrong
Deukhoofd
2022-05-14 17:40:40 +0200
-
cf34563a56
Update to latest CreatureLib
Deukhoofd
2022-05-14 16:50:20 +0200
-
50c58a9fd3
Fixes build failures in Angelscript
Deukhoofd
2022-05-14 11:59:54 +0200
-
e32d655d80
Initial work on WebAssembly script provider
Deukhoofd
2022-05-14 11:48:27 +0200
-
c6775d7089
Investigate drone parallelism
Deukhoofd
2022-04-10 12:49:30 +0200
-
2cac37d814
Fixes C Interface using wrong macro for exporting when using debugger
Deukhoofd
2022-04-10 12:15:02 +0200
-
a6b1c8a8ec
Enable pedantic errors
Deukhoofd
2022-04-02 13:03:11 +0200
-
3739b0bb66
Disable alignment sanitizer in undefined behaviour sanitizer
Deukhoofd
2022-04-01 12:33:28 +0200
-
673bd58b88
Reverts memory alignment thing in ConstString, as it appears to cause issues down the line
Deukhoofd
2022-04-01 12:09:35 +0200
-
da5fe90601
Adds Angelscript registration for AttemptCapture
Deukhoofd
2022-03-27 13:18:39 +0200
-
c0e7f905a9
Adds a GetOwner pattern to ItemUseScript
Deukhoofd
2022-03-27 13:07:58 +0200
-
09638c8d14
Loads of work on capturing pokemon
Deukhoofd
2022-03-26 16:23:24 +0100
-
1b14f31bd7
More aggressive sanitization. Loads of integer definition fixes
Deukhoofd
2022-03-25 19:08:42 +0100
-
f6625a0bdf
Fixes annoying memory offset issue :)
Deukhoofd
2022-03-23 19:16:27 +0100
-
9af68fa773
Update to latest Arbutils
Deukhoofd
2022-03-23 18:49:01 +0100
-
de26a41fcf
Bring back suppression for valgrind
Deukhoofd
2022-03-22 19:10:02 +0100
-
eb2907c9a2
Support Address Sanitizer in the CI
Deukhoofd
2022-03-22 18:36:29 +0100
-
91596d8ab4
Support Address Sanitizer
Deukhoofd
2022-03-22 18:35:00 +0100
-
aba538d351
Ensure( == ) --> EnsureEquals(,)
Deukhoofd
2022-03-22 18:34:48 +0100
-
43488283cb
Set angelscript link directory on pkmnlib target, instead of general.
Deukhoofd
2022-03-20 13:37:47 +0100
-
e346f5ffb4
Make CreateScript use std::string to help prevent issues.
Deukhoofd
2022-03-20 11:18:32 +0100
-
3bd5bb3fe6
Fixes potential error being ignored.
Deukhoofd
2022-03-20 11:11:43 +0100
-
cb2f902194
Initial work on capturing of Pokemon
Deukhoofd
2022-03-13 14:16:28 +0100
-
b6f539b1f7
Add angelscript getter for number of hits on an executingmove
Deukhoofd
2022-03-12 13:01:48 +0100
-
b8f790cb61
Adds SetType to angelscript
Deukhoofd
2022-03-12 12:46:05 +0100
-
175f3dfd81
Fixes changestatboost interface in angelscript
Deukhoofd
2022-03-12 11:41:52 +0100
-
d4c6ba372e
Changes prevent statboostchange interface in angelscript in line with creaturelib update
Deukhoofd
2022-03-12 11:37:06 +0100
-
2c678756c7
Update doctest
Deukhoofd
2022-03-11 12:13:15 +0100
-
4a8b3e13a1
Hopefully fixes the issue with ref counting in angelscript
Deukhoofd
2022-03-06 15:57:25 +0100
-
e18767995c
Reworks setting script owner to something a lot more clean
Deukhoofd
2022-03-06 12:04:21 +0100
-
66c742e225
Fixes segfault
Deukhoofd
2022-03-05 14:44:48 +0100
-
54ef297826
Public link pkmnlib
Deukhoofd
2022-03-05 11:03:51 +0100
-
cf358c75a4
Fix(?) strange behaviour in angelcode clone
Deukhoofd
2022-02-26 20:53:28 +0100
-
fcc9988c3e
Lock guards for Angelscript ContextPool
Deukhoofd
2022-02-26 20:22:00 +0100
-
6146a2b22e
Improvements for Angelscript ContextPool
Deukhoofd
2022-02-26 19:25:22 +0100
-
d4a080714c
Release Script owner references before setting it. This hopefully prevents extremely high reference counts.
Deukhoofd
2022-02-26 17:04:27 +0100
-
817bf387ac
Adds ChangeSpeed script hook to Angelscript
Deukhoofd
2022-02-19 16:21:29 +0100
-
f7c881b4e7
Implement held item scripts
Deukhoofd
2022-02-19 14:04:43 +0100
-
c0bdc73606
Update for item use scripts to be used in battle
Deukhoofd
2022-02-13 13:47:30 +0100
-
0d87e480d1
Fixes the passing of enums in PreventStatBoostChange and ModifyStatBoostChange
Deukhoofd
2022-02-12 19:13:05 +0100
-
a03769e9bf
Fixes TypeLibrary::GetTypeId segfaulting
Deukhoofd
2022-02-12 19:02:17 +0100
-
e1d5a12ce0
Reworks OnInitialize to have battlelibrary as parameter
Deukhoofd
2022-02-12 17:27:39 +0100
-
48da191dfb
Adds a bunch of script hooks to the damage library calculations
Deukhoofd
2022-02-12 17:00:37 +0100
-
d1efde4328
Adds Angelscript hook to prevent stat boost changes
Deukhoofd
2022-02-12 15:59:16 +0100
-
8983ba7251
Adds Angelscript script hook to modify stat boost changes
Deukhoofd
2022-02-12 15:24:50 +0100
-
a7e582a712
Fixes for Windows
Deukhoofd
2022-02-12 14:32:15 +0100
-
55f90728bf
Remove explicit bfd and dl links
Deukhoofd
2022-02-12 13:36:00 +0100
-
8522b93b7f
Adds new script hook to prevent incoming critical hits
Deukhoofd
2022-02-12 13:03:40 +0100
-
6444a8ce1c
threaded fixes
Deukhoofd
2022-02-12 12:55:58 +0100
-
214e75b992
Link pthread statically again
Deukhoofd
2022-02-11 14:36:39 +0100
-
50feb94ca1
Adds math functions to Angelscript
Deukhoofd
2022-02-11 12:22:58 +0100
-
b7c27cb1f8
Move all dependencies over to CPM
Deukhoofd
2022-02-11 12:17:27 +0100
-
c960f3fa0b
Remove pthread dependency by default, adds ability to turn off angelscript debugger
Deukhoofd
2022-02-05 17:48:47 +0100
-
b438e36a63
Allow angelscript to change rpath during build
Deukhoofd
2022-02-05 16:26:53 +0100
-
b4d492f2af
Change cmake option TESTS --> PKMNLIB_TESTS
Deukhoofd
2022-02-05 16:01:19 +0100
-
537ae93294
Switch to CPM for dependency management
Deukhoofd
2022-02-05 15:31:10 +0100
-
af450dceb4
Adds OnDamage parameters for old and new health.
Deukhoofd
2021-11-21 14:16:57 +0100
-
0b8ebcc778
Adds OnDamage script hook to Angelscript.
Deukhoofd
2021-11-21 14:06:36 +0100
-
95e1e32abe
Fixes SetStatus and ChangeForme Angelscript functions.
Deukhoofd
2021-11-21 13:49:48 +0100
-
55cebc4802
Adds Angelscript function to change forme.
Deukhoofd
2021-11-21 13:46:49 +0100
-
67df06ef04
Adds OnFaintingOpponent script hook to Angelscript.
Deukhoofd
2021-11-21 13:37:26 +0100
-
b0f9daef60
Fixes invalid set up of ChangeAttack.
Deukhoofd
2021-11-21 13:17:25 +0100
-
2396615d4a
Fixes MoveData::HasFlag using OBJLAST instead of OBJFIRST, causing memory corruption.
Deukhoofd
2021-11-21 12:59:11 +0100
-
4d81ca1d08
Fixes for OnFaint in Angelscript.
Deukhoofd
2021-11-21 12:49:10 +0100
-
6d3c027a08
Update to new THROW message.
Deukhoofd
2021-11-21 12:40:25 +0100
-
50e2f39919
Adds BlockCritical script hook to angelscript.
Deukhoofd
2021-11-21 10:55:54 +0100
-
6480d97915
NativeArray does not need to return const pointers in Angelscript.
Deukhoofd
2021-11-20 15:30:03 +0100
-
b40e004724
Make Pokemon::HasVolatile const in Angelscript.
Deukhoofd
2021-11-20 14:42:06 +0100
-
62d7793944
Fixes HasType declaration in angelscript.
Deukhoofd
2021-11-20 11:08:51 +0100
-
4d1b3448ba
Adds angelscript helper function to check if Pokemon has a type by the types string name.
Deukhoofd
2021-11-20 11:06:39 +0100
-
8de1d4d635
Adds const marker to new GetEffectiveness helper in Angelscript.
Deukhoofd
2021-11-20 10:59:18 +0100
-
d94d1287ef
Adds angelscript helper to easily get effectiveness of a type against a Pokemon.
Deukhoofd
2021-11-20 10:56:32 +0100
-
e39056d3d6
Adds angelscript interface to get types of a Pokemon.
Deukhoofd
2021-11-20 10:48:46 +0100
-
95457d9701
Adds Angelscript getter on BattleSide for getting an narray of Pokemon.
Deukhoofd
2021-11-20 10:24:03 +0100
-
1d90360efe
Adds OnIncomingHit hook to Angelscript.
Deukhoofd
2021-11-19 18:07:21 +0100
-
d59ee9d869
Adds ChoiceQueue::HasNext() to Angelscript.
Deukhoofd
2021-11-19 16:18:40 +0100
-
d1ba703f76
Adds OnSwitchIn script hook to Angelscript.
Deukhoofd
2021-11-19 15:55:48 +0100
-
496ebfdfa1
Add BlockWeather hook to Angelscript as well.
Deukhoofd
2021-11-19 15:06:13 +0100
-
b2accd720e
Support for (un)suppressing weather, adds hook to block weather changes.
Deukhoofd
2021-11-19 14:56:29 +0100
-
ea3bc7ee33
Adds GetLastUsedAttackOnTargetWrapper wrapper function to Angelscript.
Deukhoofd
2021-11-19 13:10:30 +0100
-
47e3919734
Adds OnFaint script hook to Angelscript.
Deukhoofd
2021-11-19 12:40:31 +0100