aboutsummaryrefslogtreecommitdiff
path: root/src/basic/defs.hpp
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-10-01 14:08:24 +0200
committerfschildt <florian.schildt@protonmail.com>2025-10-01 14:09:13 +0200
commitc775ca6133d93ed97359a6a50bd94a5563c740de (patch)
tree9d3efb1c7e7538ff9d5cae408d2c29f9dd3daeab /src/basic/defs.hpp
parent41c2e2ecfcccf62b3c646980dd283848e33a8134 (diff)
general refactoring, prepare breakout game
Diffstat (limited to 'src/basic/defs.hpp')
-rw-r--r--src/basic/defs.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/basic/defs.hpp b/src/basic/defs.hpp
deleted file mode 100644
index 858bdd7..0000000
--- a/src/basic/defs.hpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#pragma once
-
-#include <cassert>
-
-#define ARRAY_COUNT(x) (sizeof(x) / sizeof(x[0]))
-
-#define InvalidDefaultCase assert(0)
-
-#define KIBIBYTES(x) ((x)*1024)
-#define MEBIBYTES(x) ((x)*KIBIBYTES(1024))
-#define GIBIBYTES(x) ((x)*MEBIBYTES(1024))
-