Deukhoofd
78bb91093b
Complete refactor of the FFI to use handles instead of pointers.
continuous-integration/drone/push Build is passing
Details
2023-06-24 14:44:23 +02:00
Deukhoofd
46195d3042
Major rework of extern ref system for WASM, fixes most possible panics in WASM handling
continuous-integration/drone Build is passing
Details
2023-06-22 15:43:41 +02:00
Deukhoofd
0d3d5bcbe7
Initial setup for results for wasm
2023-04-23 10:10:06 +02:00
Deukhoofd
c0e4702e45
Replace most panics in the core library with results
continuous-integration/drone/push Build is failing
Details
2023-04-19 18:44:11 +02:00
Deukhoofd
feffb5f030
Support for new error handling.
continuous-integration/drone/push Build is failing
Details
2023-04-15 14:34:42 +02:00
Deukhoofd
3058739ea0
Add function to get random nature, add shiny rate to library settings
continuous-integration/drone/push Build is passing
Details
2023-04-14 10:36:38 +02:00
Deukhoofd
62a3ffb2bf
Various fixes for FFI
continuous-integration/drone/push Build is passing
Details
2023-01-03 13:56:20 +01:00
Deukhoofd
bd804ea280
Fix build without wasm feature enabled
2023-01-03 12:58:23 +01:00
Deukhoofd
43bc811704
Minor performance tweaks
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone Build is failing
Details
2022-12-25 12:55:20 +01:00
Deukhoofd
055fbfba78
Update Wasmer, log load times, some minor performance tweaks
continuous-integration/drone/push Build is failing
Details
2022-12-25 11:26:14 +01:00
Deukhoofd
f4d09a8915
Clippy fixes
continuous-integration/drone/push Build is passing
Details
2022-12-24 14:03:47 +01:00
Deukhoofd
efdaf730e6
Reworks static library initialiser
continuous-integration/drone/push Build is passing
Details
2022-12-24 12:48:00 +01:00
Deukhoofd
47df85e8d3
Moves a bunch of libraries to traits
continuous-integration/drone/push Build is passing
Details
2022-12-24 12:00:50 +01:00
Deukhoofd
bce636b97e
Move Form and Species to traits, implement a bunch of mocks
continuous-integration/drone/push Build is passing
Details
2022-11-28 21:34:28 +01:00
Deukhoofd
c1e09c654b
Make LearnableMoves a trait
continuous-integration/drone/push Build is passing
Details
2022-11-28 20:20:46 +01:00
Deukhoofd
ad9f17ccf1
Make MoveData a trait
continuous-integration/drone/push Build is passing
Details
2022-11-27 22:29:11 +01:00
Deukhoofd
1c0b953d9a
Make SecondaryEffect a trait
continuous-integration/drone/push Build is passing
Details
2022-11-27 18:22:57 +01:00
Deukhoofd
e04f61d9e6
Make Ability a trait
continuous-integration/drone/push Build is passing
Details
2022-11-27 17:47:51 +01:00
Deukhoofd
996a35ffa4
Make Nature a trait
continuous-integration/drone/push Build is passing
Details
2022-11-27 17:36:42 +01:00
Deukhoofd
efd1acdfa5
Loads of cleanup
continuous-integration/drone/push Build was killed
Details
2022-11-27 17:29:29 +01:00
Deukhoofd
691bf7c12e
Style and Clippy fixes.
continuous-integration/drone/push Build is passing
Details
2022-10-14 16:53:30 +02:00
Deukhoofd
a840605bf7
FFI for dynamic libraries
2022-10-14 10:33:19 +02:00
Deukhoofd
41b40ef98e
Rework of FFI, adding a value identifier, so we can keep knowledge of data even when data moves.
continuous-integration/drone/push Build is passing
Details
2022-10-08 13:15:04 +02:00
Deukhoofd
84ddf0307d
Fixes for FFI.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone Build is passing
Details
2022-10-01 15:40:15 +02:00
Deukhoofd
a4fd112a07
A bunch of fixes and improvements
continuous-integration/drone/push Build is failing
Details
2022-09-17 09:38:02 +02:00
Deukhoofd
b1890681a1
A lot more work on WASM script execution
continuous-integration/drone/push Build is passing
Details
2022-09-07 18:01:26 +02:00
Deukhoofd
c5fb81c179
Clippy fixes, additional WASM registration work
continuous-integration/drone/push Build is failing
Details
2022-08-26 18:23:35 +02:00
Deukhoofd
55cc0906c9
Remove lifetime mess, replace a lot of code with Arc instead of borrows.
...
continuous-integration/drone/push Build is failing
Details
This cleans up the codebase massively, and allows me to maintain some semblance of sanity.
2022-08-20 13:17:20 +02:00
Deukhoofd
2d4253e155
More work on WASM handling.
continuous-integration/drone/push Build is failing
Details
2022-08-20 12:22:12 +02:00
Deukhoofd
0961b199ff
Cleans up the WASM environment handling.
...
Instead of passing the entire script resolver as a pointer to the WebAssemblyEnv, we now have split off the data actually relevant to the environment into it's own class, which is stored inside of an Arc.
2022-07-18 13:18:11 +02:00
Deukhoofd
9472c1cec2
Fixes memory issue
continuous-integration/drone/push Build is passing
Details
2022-07-18 10:49:58 +02:00
Deukhoofd
7682704945
Initial work on wasm scripting backend
2022-07-18 10:16:47 +02:00
Deukhoofd
8f6ecdd4ad
More documentation.
continuous-integration/drone/push Build is passing
Details
2022-07-01 17:07:22 +02:00
Deukhoofd
03f5e3bb5a
A lot more documentation, some initial work on the script resolver.
continuous-integration/drone/push Build is passing
Details
2022-06-30 17:34:57 +02:00
Deukhoofd
314e9dbe1a
Initial work on adding documentation, reorganises modules
continuous-integration/drone/push Build is passing
Details
2022-06-19 21:34:08 +02:00
Deukhoofd
715f16e2b8
More work on switching battle data to interior mutability, instead of exterior mutability.
continuous-integration/drone/push Build is passing
Details
2022-06-19 12:07:54 +02:00
Deukhoofd
c99b1bf8d9
Fixes a bunch of clippy warnings, adds clippy to CI
continuous-integration/drone/push Build is passing
Details
2022-06-18 16:06:54 +02:00
Deukhoofd
c45c7538bf
More removal of RwLocks and replace it with Atomics, to prevent locks.
continuous-integration/drone/push Build is passing
Details
2022-06-18 14:17:29 +02:00
Deukhoofd
09c2533bf5
Don't store the TurnChoices as Arc<RwLock>>, to prevent locking issues.
continuous-integration/drone/push Build is passing
Details
2022-06-18 09:49:17 +02:00
Deukhoofd
b6ddd1ee13
First chunk of battling is now fully working, along with integration tests! 🎉
continuous-integration/drone/push Build is failing
Details
2022-06-17 19:53:33 +02:00