aboutsummaryrefslogtreecommitdiff
path: root/src/games/tetris
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-12-10 19:19:32 +0100
committerfschildt <florian.schildt@protonmail.com>2025-12-10 19:19:32 +0100
commit69f46d34e9c6a25c63668423fd984d07c1f099a3 (patch)
treec796130ca3911e5cf8f3257acde210a6f5ad7234 /src/games/tetris
parent3f95bc6b463f629c620ba5811ca3ce53ed9c03a2 (diff)
use "" include over <> include for own code
Diffstat (limited to 'src/games/tetris')
-rw-r--r--src/games/tetris/Board.cpp8
-rw-r--r--src/games/tetris/Board.hpp2
-rw-r--r--src/games/tetris/Tetris.cpp10
-rw-r--r--src/games/tetris/Tetris.hpp9
-rw-r--r--src/games/tetris/Tetromino.cpp6
-rw-r--r--src/games/tetris/Tetromino.hpp5
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 {