Commit Graph

48 Commits

Author SHA1 Message Date
46195d3042 Major rework of extern ref system for WASM, fixes most possible panics in WASM handling
All checks were successful
continuous-integration/drone Build is passing
2023-06-22 15:43:41 +02:00
6a2353df4c Major work on WASM results 2023-06-17 19:05:27 +02:00
eb68977290 Support for errors from scripts through separate script error handling.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-21 10:35:46 +02:00
c0e4702e45 Replace most panics in the core library with results
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-19 18:44:11 +02:00
00d596d656 A bunch more work on replacing every potential panic with results
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-16 19:57:21 +02:00
6f1880c768 Loads of work to replace panics with results.
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-15 19:33:29 +02:00
feffb5f030 Support for new error handling.
Some checks failed
continuous-integration/drone/push Build is failing
2023-04-15 14:34:42 +02:00
aae41b93bb Clippy fixes
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-02 11:25:36 +01:00
27b0a460ad Fixes for newer Rust nightly
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-02 10:41:57 +01:00
47df85e8d3 Moves a bunch of libraries to traits
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-24 12:00:50 +01:00
bce636b97e Move Form and Species to traits, implement a bunch of mocks
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-28 21:34:28 +01:00
e04f61d9e6 Make Ability a trait
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-27 17:47:51 +01:00
996a35ffa4 Make Nature a trait
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-27 17:36:42 +01:00
efd1acdfa5 Loads of cleanup
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-27 17:29:29 +01:00
d1ed14119d A bunch of work on unit testing
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-26 15:33:50 +01:00
691bf7c12e Style and Clippy fixes.
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-14 16:53:30 +02:00
9efe1b4e22 FFI for Pokemon class 2022-10-14 13:59:04 +02:00
7bcfd92d45 Registration fixes and improvements.
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-16 11:01:37 +02:00
b1890681a1 A lot more work on WASM script execution
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-07 18:01:26 +02:00
c5fb81c179 Clippy fixes, additional WASM registration work
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-26 18:23:35 +02:00
1e43c07d43 Fixes unit tests
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-20 13:26:06 +02:00
55cc0906c9 Remove lifetime mess, replace a lot of code with Arc instead of borrows.
Some checks failed
continuous-integration/drone/push Build is failing
This cleans up the codebase massively, and allows me to maintain some semblance of sanity.
2022-08-20 13:17:20 +02:00
2d4253e155 More work on WASM handling.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-20 12:22:12 +02:00
703fd2c147 Major fixes for WebAssembly
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 15:36:03 +02:00
cfabd7c790 Removes atomic dependency
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-01 18:44:09 +02:00
0d95dcf618 Fixes all clippy warnings
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-01 18:20:16 +02:00
3c8d633be7 Changes for Statistic Sets, use a new way for Atomic traits.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-01 17:30:36 +02:00
8f6ecdd4ad More documentation.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-01 17:07:22 +02:00
03f5e3bb5a A lot more documentation, some initial work on the script resolver.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-30 17:34:57 +02:00
cf4d74d898 More documentation for script hooks, reworks stat changes to only be changeable through a function that allows for script hooks, and events.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-27 18:26:27 +02:00
314e9dbe1a Initial work on adding documentation, reorganises modules
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-19 21:34:08 +02:00
715f16e2b8 More work on switching battle data to interior mutability, instead of exterior mutability.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-19 12:07:54 +02:00
dd535b30af Rework setting while active to be slightly less hacky.
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-06-18 18:41:23 +02:00
a1051d059e We need to be able to remove and change scripts while they're currently being active.
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-18 18:08:25 +02:00
5576bc8b80 More work on using interior mutability instead of exterior mutability for dynamic types (Battle, Pokemon, etc).
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 15:52:39 +02:00
c45c7538bf More removal of RwLocks and replace it with Atomics, to prevent locks.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-18 14:17:29 +02:00
b6ddd1ee13 First chunk of battling is now fully working, along with integration tests! 🎉
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-17 19:53:33 +02:00
ff541b0696 Loads more work on battling, initial stretch to run a turn done.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-16 17:59:33 +02:00
a33369afcc Some more functionality for battling, check if choice is valid, implement target resolvers.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-14 19:11:24 +02:00
00f66bbf59 Implements the script source methods on all current structs that implement it.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-12 18:41:49 +02:00
2aadab5a42 A lot more work on handling scripts properly.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-12 17:57:39 +02:00
6e8f4dd4a5 A lot more work on a bunch of different parts of the system. 2022-06-11 17:22:46 +02:00
10e93949e4 Cleaner handling of tracking seen opponents.
Instead of keeping track of unique identifiers, keep track of weak pointers to the pokemon, so we can just try and upgrade them later.
2022-06-06 16:24:13 +02:00
c27ea0ae1e Removes derive-getters, as it was incredibly annoying in IDEs, and couldn't figure out borrow lifetimes. 2022-06-06 14:43:41 +02:00
ce33ec0649 Further massive amounts of work 2022-06-06 13:54:59 +02:00
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
310bf857d2 Major amounts of progress 2022-06-03 16:35:18 +02:00
c194c5d209 Initial work on outlining the dynamic side of the library. 2021-01-31 17:31:22 +01:00