Commit Graph

69 Commits

Author SHA1 Message Date
Deukhoofd c45c7538bf
More removal of RwLocks and replace it with Atomics, to prevent locks.
continuous-integration/drone/push Build is passing Details
2022-06-18 14:17:29 +02:00
Deukhoofd 59d7344729
Don't store the ChoiceQueue as an Arc<RwLock> to prevent locking issues.
continuous-integration/drone/push Build is passing Details
2022-06-18 10:41:42 +02:00
Deukhoofd 09c2533bf5
Don't store the TurnChoices as Arc<RwLock>>, to prevent locking issues.
continuous-integration/drone/push Build is passing Details
2022-06-18 09:49:17 +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 59cc150643
Adds style checking to CI, remove debug code
continuous-integration/drone/push Build is passing Details
2022-06-16 19:05:54 +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 a33369afcc
Some more functionality for battling, check if choice is valid, implement target resolvers.
continuous-integration/drone/push Build is passing Details
2022-06-14 19:11:24 +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 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
Deukhoofd 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
Deukhoofd ce33ec0649
Further massive amounts of work 2022-06-06 13:54:59 +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 c194c5d209
Initial work on outlining the dynamic side of the library. 2021-01-31 17:31:22 +01:00