diff options
Diffstat (limited to 'src/games/tetris')
| -rw-r--r-- | src/games/tetris/Board.cpp | 8 | ||||
| -rw-r--r-- | src/games/tetris/Board.hpp | 2 | ||||
| -rw-r--r-- | src/games/tetris/Tetris.cpp | 10 | ||||
| -rw-r--r-- | src/games/tetris/Tetris.hpp | 9 | ||||
| -rw-r--r-- | src/games/tetris/Tetromino.cpp | 6 | ||||
| -rw-r--r-- | src/games/tetris/Tetromino.hpp | 5 |
6 files changed, 19 insertions, 21 deletions
diff --git a/src/games/tetris/Board.cpp b/src/games/tetris/Board.cpp index a1ab72a..9018e46 100644 --- a/src/games/tetris/Board.cpp +++ b/src/games/tetris/Board.cpp @@ -1,7 +1,7 @@ -#include <games/tetris/Board.hpp> -#include <games/tetris/Tetromino.hpp> -#include <games/Game.hpp> -#include <renderer/Renderer.hpp> +#include "games/tetris/Board.hpp" +#include "games/tetris/Tetromino.hpp" +#include "games/Game.hpp" +#include "renderer/Renderer.hpp" void Board::Reset() diff --git a/src/games/tetris/Board.hpp b/src/games/tetris/Board.hpp index a91556b..ae6aa0d 100644 --- a/src/games/tetris/Board.hpp +++ b/src/games/tetris/Board.hpp @@ -1,6 +1,6 @@ #pragma once -#include <common/defs.hpp> +#include <cstdint> class Tetromino; diff --git a/src/games/tetris/Tetris.cpp b/src/games/tetris/Tetris.cpp index 8db772f..8b3c5bd 100644 --- a/src/games/tetris/Tetris.cpp +++ b/src/games/tetris/Tetris.cpp @@ -1,8 +1,8 @@ -#include <games/Game.hpp> -#include <games/tetris/Tetromino.hpp> -#include <games/tetris/Tetris.hpp> -#include <renderer/Renderer.hpp> -#include <common/MemoryManager.hpp> +#include "games/Game.hpp" +#include "games/tetris/Tetromino.hpp" +#include "games/tetris/Tetris.hpp" +#include "renderer/Renderer.hpp" +#include "common/MemoryManager.hpp" #include <SDL3/SDL_events.h> #include <SDL3/SDL_timer.h> diff --git a/src/games/tetris/Tetris.hpp b/src/games/tetris/Tetris.hpp index 44ed9ff..5864ff7 100644 --- a/src/games/tetris/Tetris.hpp +++ b/src/games/tetris/Tetris.hpp @@ -1,10 +1,9 @@ #pragma once -#include <common/defs.hpp> -#include <games/Game.hpp> -#include <games/tetris/Tetromino.hpp> -#include <games/tetris/Board.hpp> -#include <common/Font.hpp> +#include "games/Game.hpp" +#include "games/tetris/Tetromino.hpp" +#include "games/tetris/Board.hpp" +#include "common/Font.hpp" class Tetris : public Game { diff --git a/src/games/tetris/Tetromino.cpp b/src/games/tetris/Tetromino.cpp index ad75161..aa9ed59 100644 --- a/src/games/tetris/Tetromino.cpp +++ b/src/games/tetris/Tetromino.cpp @@ -1,6 +1,6 @@ -#include <games/tetris/Tetromino.hpp> -#include <games/Game.hpp> -#include <renderer/Renderer.hpp> +#include "games/tetris/Tetromino.hpp" +#include "games/Game.hpp" +#include "renderer/Renderer.hpp" #include <random> diff --git a/src/games/tetris/Tetromino.hpp b/src/games/tetris/Tetromino.hpp index 86821b9..ca4d788 100644 --- a/src/games/tetris/Tetromino.hpp +++ b/src/games/tetris/Tetromino.hpp @@ -1,8 +1,7 @@ #pragma once -#include <common/defs.hpp> -#include <common/math.hpp> -#include <games/tetris/Board.hpp> +#include "common/math.hpp" +#include "games/tetris/Board.hpp" class Tetromino { |
