tali
|
0d52d6b1b5
|
Rename a lot of stuff related to piece types
- srs::Shape => srs::PieceType
- Piece.shape => Piece.ty
- Piece<S> => Piece<T>
|
2022-12-15 14:53:06 -05:00 |
tali
|
41df73bafc
|
Export Movement and some useful Movement aliases
|
2022-12-14 15:55:27 -05:00 |
tali
|
af682d88ff
|
Custom Loc debug formatter
|
2022-12-14 15:55:27 -05:00 |
tali
|
8291a07ee4
|
Derive Hash for many data types
|
2022-12-14 15:55:27 -05:00 |
tali
|
096189373c
|
impl From<(x,y,r)> for Loc
|
2022-12-14 15:55:27 -05:00 |
tali
|
b3d9e3c476
|
Add test that cells() can be equal for different rotation states
|
2022-12-14 15:55:27 -05:00 |
tali
|
1dcf36ef6f
|
impl Debug for Cells
|
2022-12-14 15:55:27 -05:00 |
tali
|
583b6b64f8
|
Code gen SRS spawn location constant
|
2022-12-14 15:03:37 -05:00 |
tali
|
aefa1deb6a
|
Add Piece::spawn() function, Spawn trait
|
2022-12-14 13:36:13 -05:00 |
tali
|
614c183234
|
Add input::Movement enum
|
2022-12-14 13:34:46 -05:00 |
tali
|
4b9d10699f
|
Implement SRS kicks code gen
|
2022-12-14 13:34:46 -05:00 |
tali
|
6726326ec8
|
Add input::rotate(), Kicks trait
|
2022-12-14 13:34:46 -05:00 |
tali
|
c5f7d9d622
|
Add input::drop(), shift() operations
|
2022-12-14 13:34:46 -05:00 |
tali
|
eebbde71b9
|
Make Cells::translate a pure function
|
2022-12-14 13:34:46 -05:00 |
tali
|
1075546dd8
|
Add back Spin type in new submodule 'input'
|
2022-12-14 13:34:46 -05:00 |
tali
|
2dc972c756
|
Move Loc, Rot types to inside piece.rs
|
2022-12-14 12:59:45 -05:00 |
tali
|
c5ca155ad2
|
Add SRS shape implementations via build time code-gen
|
2022-12-14 12:59:45 -05:00 |
tali
|
f33a60d24d
|
Make extern crate alloc centralized
|
2022-12-14 12:58:43 -05:00 |
tali
|
2c4afe54a0
|
Add Shape trait, Piece, Cells types
|
2022-12-14 12:58:43 -05:00 |
tali
|
fa6aac86f6
|
Rename types in location.rs
|
2022-12-14 09:59:05 -05:00 |
tali
|
0597b3b538
|
Add Location, Orientation, Rotation types
|
2022-12-13 14:20:21 -05:00 |
tali
|
91ee995c71
|
Add ascii matrix macro
|
2022-12-13 14:20:21 -05:00 |
tali
|
908fa77d8a
|
Add matrix datastructure
|
2022-12-13 14:19:32 -05:00 |
tali
|
58956c1983
|
Initialize `mino` crate
|
2022-12-13 14:15:39 -05:00 |