-
92ff5bd0a1
Update to rune 0.14, more tests
rune_impl
Deukhoofd
2024-05-19 16:37:19 +02:00
-
535f6bf79b
Unit tests for basic Rune registration
Deukhoofd
2024-05-18 19:24:47 +02:00
-
42bee5e37c
Large amounts of work on Rune
Deukhoofd
2024-05-11 16:01:04 +02:00
-
4ec07ca049
Large amounts of work on Rune
Deukhoofd
2024-05-08 15:46:09 +02:00
-
4bc76b0ee4
More work on Rune
Deukhoofd
2024-04-13 10:47:40 +02:00
-
67b0abe59f
Initial work on rune as scripting library
Deukhoofd
2024-04-07 18:55:41 +02:00
-
6379abf446
Update deps, fixes deprecation, update license date
master
Deukhoofd
2023-10-29 17:05:45 +01:00
-
a92b9c096a
Fixes dumb perf overhead for Vec getting extensions
Deukhoofd
2023-10-29 15:18:37 +01:00
-
e666bb5a0e
Fixes for newer clippy
Deukhoofd
2023-09-24 18:24:02 +02:00
-
d8b8559c2e
Basic implementation of evolutions
Deukhoofd
2023-07-29 12:57:52 +02:00
-
3f91f80982
Adds support for item use scripts
Deukhoofd
2023-07-22 21:17:06 +02:00
-
0c6a0cadfe
Adds ability to get the current time of day
Deukhoofd
2023-07-22 13:22:47 +02:00
-
c75541720b
Update wasmer to 4.0
Deukhoofd
2023-07-22 12:32:44 +02:00
-
df5d73c753
Update indexmap and hashbrown dependencies
Deukhoofd
2023-07-22 12:31:42 +02:00
-
12802ce542
Support for serializing and deserializing a Pokemon
Deukhoofd
2023-07-22 12:23:33 +02:00
-
f23fc43405
Fixes for comments
Deukhoofd
2023-07-15 14:22:48 +02:00
-
f6df95a824
Rename unique_identifier --> personality_value, minor fixes
Deukhoofd
2023-07-09 11:17:43 +02:00
-
bc9b3ed964
Implements event batch id to events to display multiple events at the same time
Deukhoofd
2023-06-30 11:32:00 +02:00
-
0163c7a105
Fixes for FFI, refactor FFI Error to be easier to implement
Deukhoofd
2023-06-25 16:28:51 +02:00
-
8d49e44e94
Adds FFI function to release a handle
Deukhoofd
2023-06-24 15:22:49 +02:00
-
3400d9ec1e
Clippy fixes and documentation
Deukhoofd
2023-06-24 15:05:58 +02:00
-
78bb91093b
Complete refactor of the FFI to use handles instead of pointers.
Deukhoofd
2023-06-24 14:44:23 +02:00
-
4c222cb753
Linter fixes
Deukhoofd
2023-06-22 15:50:37 +02:00
-
46195d3042
Major rework of extern ref system for WASM, fixes most possible panics in WASM handling
Deukhoofd
2023-06-22 15:43:41 +02:00
-
6a2353df4c
Major work on WASM results
Deukhoofd
2023-06-17 19:05:27 +02:00
-
0d3d5bcbe7
Initial setup for results for wasm
Deukhoofd
2023-04-23 10:10:06 +02:00
-
eb68977290
Support for errors from scripts through separate script error handling.
Deukhoofd
2023-04-21 10:35:46 +02:00
-
a6f4b1d5c5
Minor fix, add unused_must_use as deny linter
Deukhoofd
2023-04-21 09:39:20 +02:00
-
db88d31394
Fix strange new compile errors
Deukhoofd
2023-04-21 09:07:26 +02:00
-
c0e4702e45
Replace most panics in the core library with results
Deukhoofd
2023-04-19 18:44:11 +02:00
-
00d596d656
A bunch more work on replacing every potential panic with results
Deukhoofd
2023-04-16 19:57:21 +02:00
-
1b8403ecda
Fix clippy issue
Deukhoofd
2023-04-15 19:47:30 +02:00
-
d493a191a0
Fix for older nightly rust builds
Deukhoofd
2023-04-15 19:39:44 +02:00
-
6f1880c768
Loads of work to replace panics with results.
Deukhoofd
2023-04-15 19:33:29 +02:00
-
2849cad57b
Re-add feature that is still unstable on the build server
Deukhoofd
2023-04-15 14:36:23 +02:00
-
feffb5f030
Support for new error handling.
Deukhoofd
2023-04-15 14:34:42 +02:00
-
3058739ea0
Add function to get random nature, add shiny rate to library settings
Deukhoofd
2023-04-14 10:36:38 +02:00
-
d7b3c0cd8d
More FFI work
Deukhoofd
2023-04-02 14:17:30 +02:00
-
eec85bb9ed
Clippy fixes
Deukhoofd
2023-04-02 12:35:49 +02:00
-
b4847d2a2c
Style fixes in generated code
Deukhoofd
2023-04-02 12:32:54 +02:00
-
af29abdb1e
Fix datatests to be properly working in newer nightly rust
Deukhoofd
2023-04-02 12:07:08 +02:00
-
ca54820483
Adds a large amount of the WASM interface
Deukhoofd
2023-01-14 13:25:21 +01:00
-
7511f56b1a
Initial work on DynamicLibrary up to and including the Pokemon model.
Deukhoofd
2023-01-03 16:53:58 +01:00
-
62a3ffb2bf
Various fixes for FFI
Deukhoofd
2023-01-03 13:56:20 +01:00
-
bd804ea280
Fix build without wasm feature enabled
Deukhoofd
2023-01-03 12:58:23 +01:00
-
df47976d97
Fix FFI for EffectParameters to return IdentifiablePointers
Deukhoofd
2023-01-03 12:54:38 +01:00
-
aae41b93bb
Clippy fixes
Deukhoofd
2023-01-02 11:25:36 +01:00
-
f2b0d3b9f3
Remove miri CI tests
Deukhoofd
2023-01-02 10:52:44 +01:00
-
27b0a460ad
Fixes for newer Rust nightly
Deukhoofd
2023-01-02 10:41:57 +01:00
-
0a4d44646c
Fix unit test
Deukhoofd
2022-12-26 13:19:39 +01:00
-
43bc811704
Minor performance tweaks
Deukhoofd
2022-12-25 12:55:09 +01:00
-
055fbfba78
Update Wasmer, log load times, some minor performance tweaks
Deukhoofd
2022-12-25 11:26:14 +01:00
-
f4d09a8915
Clippy fixes
Deukhoofd
2022-12-24 14:03:47 +01:00
-
efdaf730e6
Reworks static library initialiser
Deukhoofd
2022-12-24 12:48:00 +01:00
-
02e3d7ecc7
Adds MIT License
Deukhoofd
2022-12-24 12:06:06 +01:00
-
47df85e8d3
Moves a bunch of libraries to traits
Deukhoofd
2022-12-24 12:00:50 +01:00
-
bce636b97e
Move Form and Species to traits, implement a bunch of mocks
Deukhoofd
2022-11-28 21:34:28 +01:00
-
c1e09c654b
Make LearnableMoves a trait
Deukhoofd
2022-11-28 20:20:46 +01:00
-
d4b1cadad0
Implements mocking for MoveData
Deukhoofd
2022-11-27 23:00:56 +01:00
-
ad9f17ccf1
Make MoveData a trait
Deukhoofd
2022-11-27 22:29:11 +01:00
-
27164616e9
Update dependencies
Deukhoofd
2022-11-27 18:35:49 +01:00
-
1c0b953d9a
Make SecondaryEffect a trait
Deukhoofd
2022-11-27 18:22:57 +01:00
-
e04f61d9e6
Make Ability a trait
Deukhoofd
2022-11-27 17:47:51 +01:00
-
996a35ffa4
Make Nature a trait
Deukhoofd
2022-11-27 17:36:42 +01:00
-
efd1acdfa5
Loads of cleanup
Deukhoofd
2022-11-27 17:29:29 +01:00
-
aa3ceaed3e
Clippy fix in unit test
Deukhoofd
2022-11-26 15:55:01 +01:00
-
d1ed14119d
A bunch of work on unit testing
Deukhoofd
2022-11-26 15:33:50 +01:00
-
a6a9cb573f
Work on FFI, fixes for learned_move::restore_uses
Deukhoofd
2022-11-26 11:25:56 +01:00
-
1b627378f6
FFI for Turn Choices
Deukhoofd
2022-10-22 12:08:58 +02:00
-
ddfb00d36b
FFI for Battle
Deukhoofd
2022-10-15 17:21:24 +02:00
-
6c976216b8
FFI for Battle Party
Deukhoofd
2022-10-15 11:51:44 +02:00
-
554a665b8f
FFI for Pokemon Party, make Pokemon Party use interior mutability.
Deukhoofd
2022-10-15 11:16:41 +02:00
-
c7b5bb7d12
FFI for Learned Move
Deukhoofd
2022-10-15 10:25:40 +02:00
-
691bf7c12e
Style and Clippy fixes.
Deukhoofd
2022-10-14 16:53:30 +02:00
-
9efe1b4e22
FFI for Pokemon class
Deukhoofd
2022-10-14 13:59:04 +02:00
-
a840605bf7
FFI for dynamic libraries
Deukhoofd
2022-10-14 10:33:19 +02:00
-
41b40ef98e
Rework of FFI, adding a value identifier, so we can keep knowledge of data even when data moves.
Deukhoofd
2022-10-08 13:15:04 +02:00
-
84ddf0307d
Fixes for FFI.
Deukhoofd
2022-10-01 15:40:15 +02:00
-
78fde698ca
Adds species_drop FFI method.
Deukhoofd
2022-09-22 17:33:45 +02:00
-
1070753be7
Fixes for growth rate FFI
Deukhoofd
2022-09-20 18:04:19 +02:00
-
726e294f11
Initial work on FFI
Deukhoofd
2022-09-18 18:02:13 +02:00
-
39497891e9
Re-add miri ignore flag to things that load WASM to prevent my build agents from dying.
Deukhoofd
2022-09-17 12:11:09 +02:00
-
a4fd112a07
A bunch of fixes and improvements
Deukhoofd
2022-09-17 09:38:02 +02:00
-
7bcfd92d45
Registration fixes and improvements.
Deukhoofd
2022-09-16 11:01:37 +02:00
-
b1890681a1
A lot more work on WASM script execution
Deukhoofd
2022-09-07 18:01:26 +02:00
-
f9761f61da
make ChoiceQueue::move_pokemon_choice_next return a bool for success
Deukhoofd
2022-08-28 15:50:39 +02:00
-
4c06dc17e2
Implements ChoiceQueue::move_pokemon_choice_next, micro optimization for BattleRandom::EffectChance.
Deukhoofd
2022-08-28 15:34:40 +02:00
-
ba5992e925
Implements every script function
Deukhoofd
2022-08-27 18:04:56 +02:00
-
bd62c1ac62
Update to Wasmer 3.0 beta
Deukhoofd
2022-08-27 14:14:58 +02:00
-
c5fb81c179
Clippy fixes, additional WASM registration work
Deukhoofd
2022-08-26 18:23:35 +02:00
-
1e43c07d43
Fixes unit tests
Deukhoofd
2022-08-20 13:26:06 +02:00
-
55cc0906c9
Remove lifetime mess, replace a lot of code with Arc instead of borrows.
Deukhoofd
2022-08-20 13:17:20 +02:00
-
2d4253e155
More work on WASM handling.
Deukhoofd
2022-08-20 12:22:12 +02:00
-
703fd2c147
Major fixes for WebAssembly
Deukhoofd
2022-07-18 15:36:03 +02:00
-
0961b199ff
Cleans up the WASM environment handling.
Deukhoofd
2022-07-18 13:18:11 +02:00
-
9472c1cec2
Fixes memory issue
Deukhoofd
2022-07-18 10:49:58 +02:00
-
7682704945
Initial work on wasm scripting backend
Deukhoofd
2022-07-18 10:16:47 +02:00
-
8eb1159d64
Fixes clippy warning.
Deukhoofd
2022-07-01 18:49:09 +02:00
-
cfabd7c790
Removes atomic dependency
Deukhoofd
2022-07-01 18:44:09 +02:00
-
37f0cf8c35
Only use assert_approx_eq in dev
Deukhoofd
2022-07-01 18:27:56 +02:00