aboutsummaryrefslogtreecommitdiff
path: root/src/gameCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gameCommon.h')
-rw-r--r--src/gameCommon.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gameCommon.h b/src/gameCommon.h
index 0d18d32..08ce5fe 100644
--- a/src/gameCommon.h
+++ b/src/gameCommon.h
@@ -22,13 +22,6 @@ typedef struct Entity Entity;
#define WINDOW_WIDTH 960
#define WINDOW_HEIGHT 540
-// Bit shit.
-#define SET_BIT(b, n) (b | (0x1 << n))
-#define CLEAR_BIT(b, n) (b & ~(0x1 << n))
-#define IS_BIT_SET(b, n) ((b >> n) & 0x1)
-#define TOGGLE_BIT(b, n) (b ^ (0x1 << n))
-#define HAS_FLAG(v, f) ((v & f) == f)
-
// Memory management.
#define KF_MALLOC(size) malloc(size)
#define KF_CALLOC(nmemb, size) calloc(nmemb, size)