Commit Graph

45 Commits

Author SHA1 Message Date
Deukhoofd 12802ce542
Support for serializing and deserializing a Pokemon
continuous-integration/drone/push Build is passing Details
2023-07-22 12:23:33 +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 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 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 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 feffb5f030
Support for new error handling.
continuous-integration/drone/push Build is failing Details
2023-04-15 14:34:42 +02:00
Deukhoofd aae41b93bb
Clippy fixes
continuous-integration/drone/push Build is passing Details
2023-01-02 11:25:36 +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 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 efd1acdfa5
Loads of cleanup
continuous-integration/drone/push Build was killed Details
2022-11-27 17:29:29 +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 691bf7c12e
Style and Clippy fixes.
continuous-integration/drone/push Build is passing Details
2022-10-14 16:53:30 +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 ba5992e925
Implements every script function
continuous-integration/drone/push Build is passing Details
2022-08-27 18:04:56 +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 1e43c07d43
Fixes unit tests
continuous-integration/drone/push Build is failing Details
2022-08-20 13:26:06 +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 703fd2c147
Major fixes for WebAssembly
continuous-integration/drone/push Build is passing Details
2022-07-18 15:36:03 +02:00
Deukhoofd 0d95dcf618
Fixes all clippy warnings
continuous-integration/drone/push Build is passing Details
2022-07-01 18:20:16 +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 25e2a0dda1
Documents the ScriptContainer.
continuous-integration/drone/push Build is passing Details
2022-06-27 19:21:50 +02:00
Deukhoofd cf4d74d898
More documentation for script hooks, reworks stat changes to only be changeable through a function that allows for script hooks, and events.
continuous-integration/drone/push Build is passing Details
2022-06-27 18:26:27 +02:00
Deukhoofd 1c9edd4d9c
Adds more comments.
continuous-integration/drone/push Build is passing Details
2022-06-20 19:26:33 +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 2e19005a30
Even more work to create a sane way to replace scripts while they're active. This adds a way to await changes, to ensure they were actually made if we quickly need to use them.
continuous-integration/drone/push Build is passing Details
2022-06-18 19:44:13 +02:00
Deukhoofd dd535b30af
Rework setting while active to be slightly less hacky.
continuous-integration/drone/push Build was killed Details
2022-06-18 18:41:23 +02:00
Deukhoofd a1051d059e
We need to be able to remove and change scripts while they're currently being active.
continuous-integration/drone/push Build is failing Details
2022-06-18 18:08:25 +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 5576bc8b80
More work on using interior mutability instead of exterior mutability for dynamic types (Battle, Pokemon, etc).
continuous-integration/drone/push Build is passing Details
2022-06-18 15:52:39 +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
Deukhoofd ff541b0696
Loads more work on battling, initial stretch to run a turn done.
continuous-integration/drone/push Build is passing Details
2022-06-16 17:59:33 +02:00
Deukhoofd 8746f03500
Adds a bunch of script functions, adds parameters to the existing ones.
continuous-integration/drone/push Build is passing Details
2022-06-13 21:25:30 +02:00
Deukhoofd ca75177354
Fixes build, style fixes.
continuous-integration/drone/push Build is passing Details
2022-06-12 19:09:07 +02:00
Deukhoofd 880ea55a67
Some work on script function parameters.
continuous-integration/drone/push Build is failing Details
2022-06-12 19:04:22 +02:00
Deukhoofd 00f66bbf59
Implements the script source methods on all current structs that implement it.
continuous-integration/drone/push Build is passing Details
2022-06-12 18:41:49 +02:00
Deukhoofd 2aadab5a42
A lot more work on handling scripts properly.
continuous-integration/drone/push Build is passing Details
2022-06-12 17:57:39 +02:00
Deukhoofd 6e8f4dd4a5
A lot more work on a bunch of different parts of the system. 2022-06-11 17:22:46 +02:00
Deukhoofd ce33ec0649
Further massive amounts of work 2022-06-06 13:54:59 +02:00
Deukhoofd 310bf857d2
Major amounts of progress 2022-06-03 16:35:18 +02:00
Deukhoofd c194c5d209
Initial work on outlining the dynamic side of the library. 2021-01-31 17:31:22 +01:00