Commit Graph

124 Commits

Author SHA1 Message Date
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 4c222cb753
Linter fixes
continuous-integration/drone/push Build is passing Details
2023-06-22 15:50:37 +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 6a2353df4c
Major work on WASM results 2023-06-17 19:05:27 +02:00
Deukhoofd 0d3d5bcbe7
Initial setup for results for wasm 2023-04-23 10:10:06 +02:00
Deukhoofd eb68977290
Support for errors from scripts through separate script error handling.
continuous-integration/drone/push Build is passing Details
2023-04-21 10:35:46 +02:00
Deukhoofd a6f4b1d5c5
Minor fix, add unused_must_use as deny linter
continuous-integration/drone/push Build is passing Details
2023-04-21 09:39:20 +02:00
Deukhoofd db88d31394
Fix strange new compile errors
continuous-integration/drone/push Build is passing Details
2023-04-21 09:07:26 +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 00d596d656
A bunch more work on replacing every potential panic with results
continuous-integration/drone/push Build is passing Details
2023-04-16 19:57:21 +02:00
Deukhoofd 1b8403ecda
Fix clippy issue
continuous-integration/drone/push Build is passing Details
2023-04-15 19:47:30 +02:00
Deukhoofd d493a191a0
Fix for older nightly rust builds
continuous-integration/drone/push Build is passing Details
2023-04-15 19:39:44 +02:00
Deukhoofd 6f1880c768
Loads of work to replace panics with results.
continuous-integration/drone/push Build is failing Details
2023-04-15 19:33:29 +02:00
Deukhoofd 2849cad57b
Re-add feature that is still unstable on the build server
continuous-integration/drone/push Build is passing Details
2023-04-15 14:36:23 +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 d7b3c0cd8d
More FFI work
continuous-integration/drone/push Build is passing Details
2023-04-02 14:17:30 +02:00
Deukhoofd eec85bb9ed
Clippy fixes
continuous-integration/drone/push Build is passing Details
2023-04-02 12:35:49 +02:00
Deukhoofd b4847d2a2c
Style fixes in generated code 2023-04-02 12:32:54 +02:00
Deukhoofd af29abdb1e
Fix datatests to be properly working in newer nightly rust
continuous-integration/drone Build is passing Details
2023-04-02 12:07:08 +02:00
Deukhoofd ca54820483
Adds a large amount of the WASM interface
continuous-integration/drone/push Build is passing Details
2023-01-14 13:25:21 +01:00
Deukhoofd 7511f56b1a
Initial work on DynamicLibrary up to and including the Pokemon model. 2023-01-03 16:53:58 +01: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 df47976d97
Fix FFI for EffectParameters to return IdentifiablePointers 2023-01-03 12:54:38 +01:00
Deukhoofd aae41b93bb
Clippy fixes
continuous-integration/drone/push Build is passing Details
2023-01-02 11:25:36 +01:00
Deukhoofd f2b0d3b9f3
Remove miri CI tests
continuous-integration/drone/push Build is passing Details
2023-01-02 10:52:44 +01:00
Deukhoofd 27b0a460ad
Fixes for newer Rust nightly
continuous-integration/drone/push Build is failing Details
2023-01-02 10:41:57 +01:00
Deukhoofd 0a4d44646c
Fix unit test
continuous-integration/drone/push Build is failing Details
2022-12-26 13:19:39 +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 02e3d7ecc7
Adds MIT License
continuous-integration/drone/push Build is passing Details
2022-12-24 12:06:06 +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 d4b1cadad0
Implements mocking for MoveData
continuous-integration/drone/push Build is passing Details
2022-11-27 23:00:56 +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 27164616e9
Update dependencies
continuous-integration/drone/push Build was killed Details
2022-11-27 18:35:49 +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 aa3ceaed3e
Clippy fix in unit test 2022-11-26 15:55:01 +01:00
Deukhoofd d1ed14119d
A bunch of work on unit testing
continuous-integration/drone/push Build is passing Details
2022-11-26 15:33:50 +01:00
Deukhoofd a6a9cb573f
Work on FFI, fixes for learned_move::restore_uses 2022-11-26 11:25:56 +01:00
Deukhoofd 1b627378f6
FFI for Turn Choices 2022-10-22 12:08:58 +02:00
Deukhoofd ddfb00d36b
FFI for Battle
continuous-integration/drone/push Build is passing Details
2022-10-15 17:21:24 +02:00
Deukhoofd 6c976216b8
FFI for Battle Party 2022-10-15 11:51:44 +02:00