diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-10-01 14:08:24 +0200 | 
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-01 14:09:13 +0200 | 
| commit | c775ca6133d93ed97359a6a50bd94a5563c740de (patch) | |
| tree | 9d3efb1c7e7538ff9d5cae408d2c29f9dd3daeab /src/games/tetris/Board.cpp | |
| parent | 41c2e2ecfcccf62b3c646980dd283848e33a8134 (diff) | |
general refactoring, prepare breakout game
Diffstat (limited to 'src/games/tetris/Board.cpp')
| -rw-r--r-- | src/games/tetris/Board.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/games/tetris/Board.cpp b/src/games/tetris/Board.cpp index dd83cb1..1e57b2f 100644 --- a/src/games/tetris/Board.cpp +++ b/src/games/tetris/Board.cpp @@ -100,7 +100,7 @@ void Board::Draw(int32_t level) {          tetromino_size_with_border * 10,          tetromino_size_with_border * 20      }; -    RectF32 bg_world_rect = { +    Rectangle bg_world_rect = {          bg_world_pos.x,          bg_world_pos.y,          bg_world_pos.x + bg_world_dim.x, @@ -128,7 +128,7 @@ void Board::Draw(int32_t level) {                      1.0f                  };                  V2F32 world_dim = local_dim; -                RectF32 world_rect = { +                Rectangle world_rect = {                      world_pos.x,                      world_pos.y,                      world_pos.x + world_dim.x,  | 
