Commit Graph

18 Commits

Author SHA1 Message Date
Deukhoofd 7bcfd92d45
Registration fixes and improvements.
continuous-integration/drone/push Build is failing Details
2022-09-16 11:01:37 +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 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 7682704945
Initial work on wasm scripting backend 2022-07-18 10:16:47 +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 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 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 f0bc62ce19
Minor optimization in StringKey, making it from an Arc<String> into an Arc<str>
continuous-integration/drone/push Build is passing Details
2022-06-12 18:18:26 +02:00
Deukhoofd 55380f631f
Rework StringKey to be able to re-use strings for a lower memory footprint.
continuous-integration/drone/push Build is passing Details
By caching strings we make sure we're using the exact same string everywhere, and creating 100 StringKeys of for example `charmander` will use the exact same memory footprint as creating only one.
2022-06-12 18:11:14 +02:00
Deukhoofd 56e1237c22
Adds more unit tests
continuous-integration/drone/push Build is passing Details
2022-06-11 20:51:37 +02:00
Deukhoofd 3c1fc4615f
Adds CI support.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is passing Details
2022-06-11 18:56:17 +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 df662ce6b5
Change to RwLock over Mutex, so we can read without locking, changes to BattleRandom to allow for cloning, and prevent race conditions. 2022-06-04 12:40:32 +02:00
Deukhoofd 310bf857d2
Major amounts of progress 2022-06-03 16:35:18 +02:00
Deukhoofd 2a08fb2645
Initial commit, implements most of the static_data side. 2021-01-30 22:29:59 +01:00