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
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
56e1237c22
Adds more unit tests
continuous-integration/drone/push Build is passing
Details
2022-06-11 20:51:37 +02:00
Deukhoofd
0c076dd711
Force colour in CI
continuous-integration/drone/push Build is passing
Details
2022-06-11 19:27:47 +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
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
Deukhoofd
2a08fb2645
Initial commit, implements most of the static_data side.
2021-01-30 22:29:59 +01:00