Mercurial > touhou
comparison formats/src/th06/t6rp.rs @ 795:2d60a14f4816 default tip
python: Rewrite the main entrypoint in Rust
This lets us progressively replace Python modules with Rust ones.
Currently missing features include:
- Saving replays
- Networking code for cooperative mode
- Reading a configuration file for options
- Maybe more.
But the base game is working, so yay!
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Tue, 02 Jun 2026 19:06:16 +0200 |
| parents | 8c2ef2d503c9 |
| children |
comparison
equal
deleted
inserted
replaced
| 794:8c2ef2d503c9 | 795:2d60a14f4816 |
|---|---|
| 36 pub bombs: i8, | 36 pub bombs: i8, |
| 37 | 37 |
| 38 /// The hidden difficulty at the beginning of this level. | 38 /// The hidden difficulty at the beginning of this level. |
| 39 pub difficulty: u8, | 39 pub difficulty: u8, |
| 40 | 40 |
| 41 unknown: u32, | 41 /// XXX |
| 42 // TODO: Make non-pub. | |
| 43 pub unknown: u32, | |
| 42 | 44 |
| 43 /// The list of keys pressed during this level. | 45 /// The list of keys pressed during this level. |
| 44 pub keys: Vec<(u32, u16, u16)>, | 46 pub keys: Vec<(u32, u16, u16)>, |
| 45 } | 47 } |
| 46 | 48 |
