|
8 | 8 |
|
9 | 9 | #include "bag.hpp" |
10 | 10 | #include "grid.hpp" |
| 11 | +#include "helper/windows.hpp" |
11 | 12 | #include "input/game_input.hpp" |
12 | 13 | #include "manager/service_provider.hpp" |
13 | 14 | #include "tetromino.hpp" |
14 | 15 | #include "ui/layouts/grid_layout.hpp" |
15 | 16 | #include "ui/widget.hpp" |
16 | | -#include "helper/windows.hpp" |
17 | 17 |
|
18 | 18 | #include <array> |
19 | 19 |
|
@@ -110,12 +110,15 @@ struct SimulatedTetrion { |
110 | 110 | OOPETRIS_GRAPHICS_EXPORTED void update_step(SimulationStep simulation_step_index); |
111 | 111 |
|
112 | 112 | // returns if the input event lead to a movement |
113 | | - OOPETRIS_GRAPHICS_EXPORTED bool handle_input_command(input::GameInputCommand command, SimulationStep simulation_step_index); |
| 113 | + OOPETRIS_GRAPHICS_EXPORTED bool |
| 114 | + handle_input_command(input::GameInputCommand command, SimulationStep simulation_step_index); |
114 | 115 | OOPETRIS_GRAPHICS_EXPORTED void spawn_next_tetromino(SimulationStep simulation_step_index); |
115 | | - OOPETRIS_GRAPHICS_EXPORTED void spawn_next_tetromino(helper::TetrominoType type, SimulationStep simulation_step_index); |
| 116 | + OOPETRIS_GRAPHICS_EXPORTED void |
| 117 | + spawn_next_tetromino(helper::TetrominoType type, SimulationStep simulation_step_index); |
116 | 118 | OOPETRIS_GRAPHICS_EXPORTED bool rotate_tetromino_right(); |
117 | 119 | OOPETRIS_GRAPHICS_EXPORTED bool rotate_tetromino_left(); |
118 | | - OOPETRIS_GRAPHICS_EXPORTED bool move_tetromino_down(MovementType movement_type, SimulationStep simulation_step_index); |
| 120 | + OOPETRIS_GRAPHICS_EXPORTED bool |
| 121 | + move_tetromino_down(MovementType movement_type, SimulationStep simulation_step_index); |
119 | 122 | OOPETRIS_GRAPHICS_EXPORTED bool move_tetromino_left(); |
120 | 123 | OOPETRIS_GRAPHICS_EXPORTED bool move_tetromino_right(); |
121 | 124 | OOPETRIS_GRAPHICS_EXPORTED bool drop_tetromino(SimulationStep simulation_step_index); |
|
0 commit comments