|
ebe11f65aa
|
Top folder is a workspace
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-11-14 01:49:35 +01:00 |
|
|
ca4c0154e5
|
edition 2021
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-11-14 01:49:35 +01:00 |
|
|
0c0799994d
|
pkstrings: impl TryFrom<u8> for PKString
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-11-14 01:49:35 +01:00 |
|
|
19b0f3989e
|
pkstrings: Allow consuming and converting to String
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-11-14 01:49:32 +01:00 |
|
|
a82d73122d
|
pkstrings: prevent addition from overflowing
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-11-14 00:20:30 +01:00 |
|
|
cc723f7684
|
pkstrings: impl fmt::Display for Error
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-11-13 21:45:30 +01:00 |
|
|
ce155c8a40
|
savestate: Make some modules public
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-11-13 21:44:47 +01:00 |
|
|
81e02e7e4c
|
savestate: Remove now unnecessary compiler feature
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-11-13 21:44:24 +01:00 |
|
|
4e4ad1b16e
|
savestate: impl fmt::Display for Error
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2021-09-12 20:38:33 +02:00 |
|
|
11e54ded8b
|
pkstrings: rustfmt in tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-06 01:28:01 +02:00 |
|
|
b5deb06f22
|
pkstrings: add minimal tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-06 01:26:22 +02:00 |
|
|
cb93e2fae0
|
pkstrings: Use ranges to reduce match pattern sizes
Thanks ekleog!
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-06 01:26:07 +02:00 |
|
|
8c06d00a19
|
pkstrings: convert STRTOHEX to const fn
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-06 00:24:21 +02:00 |
|
|
889595a742
|
pkstrings: convert HEXTOSTR to const fn
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-06 00:18:09 +02:00 |
|
|
ed9c806096
|
pkstrings: Remove uneeded assignation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-06 00:17:34 +02:00 |
|
|
62a9e24b97
|
pkstrings: Utilize HashMap's FromIterator impl
Thanks phaazon!
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-06 00:05:09 +02:00 |
|
|
fedac8daf7
|
pkstrings: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-05 22:36:17 +02:00 |
|
|
a073ae5f74
|
savestate: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-05 22:35:57 +02:00 |
|
|
065a722ad1
|
savestate: Reorganize comments in pokemon struct
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-05 22:29:48 +02:00 |
|
|
fa556b253a
|
savestate: add Stats struct in IndividualPk
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-05 22:27:04 +02:00 |
|
|
9ec4075f62
|
savestate: Fix Party data end offset
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-05 22:25:49 +02:00 |
|
|
e88529fe90
|
savestate: Take pokemon nickname padding into account
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-05 18:53:33 +02:00 |
|
|
4593b45e2e
|
savestate: Include pokemon nickname and OT name in Debug
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-05 18:52:48 +02:00 |
|
|
0444350885
|
pkstrings: increase array size for 'index out of bounds'
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-07-05 18:22:44 +02:00 |
|
|
93d9994859
|
pkstrings: convert HEXTOSTR to Vec
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 18:30:15 +02:00 |
|
|
681813f53a
|
pkstrings: Derive Clone rather
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 18:01:40 +02:00 |
|
|
ee931b4f8c
|
savestate example: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 17:36:19 +02:00 |
|
|
e43f629b78
|
savestate: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 17:35:51 +02:00 |
|
|
2785113553
|
pkstrings: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 17:31:45 +02:00 |
|
|
d3483cc373
|
pkstrings: Implement Clone
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 17:19:36 +02:00 |
|
|
8700e56673
|
savestate: read Original Trainer names and Pokémon nicknames from party data
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 17:01:38 +02:00 |
|
|
ea93ad32cb
|
savestate: add various TryFrom impl for Moves and Move
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 15:21:44 +02:00 |
|
|
08ad8073c8
|
savestates: shift PPUp value before reading
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 02:14:13 +02:00 |
|
|
19853cec29
|
pkstrings: implement TryFrom<&str> via TryFrom<String>
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 00:54:18 +02:00 |
|
|
0ecc19a2fc
|
Add LICENSE files
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 00:50:19 +02:00 |
|
|
2dbc6f8937
|
savestate: read player name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 00:48:37 +02:00 |
|
|
9bcd27374f
|
pkstrings: convert example
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 00:47:43 +02:00 |
|
|
4cbb0c50fd
|
pkstrings: implement Display
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 00:47:33 +02:00 |
|
|
f906a69aaa
|
pkstring: implement TryFrom<String> and TryFrom<&str>
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-30 00:04:27 +02:00 |
|
|
be04cdcaa1
|
pkstring: naïve implementation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-29 23:58:17 +02:00 |
|
|
3b4d962c91
|
savestate: add example reader
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-28 22:16:41 +02:00 |
|
|
fd93736793
|
Initial save state party data parsing
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2020-06-28 22:00:21 +02:00 |
|