change everything to use a common types file

This commit is contained in:
Elijah Thomas
2023-12-24 09:59:13 -05:00
parent d8362c1004
commit e32db6f07a
213 changed files with 3516 additions and 3277 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
#include "types.h"
#include "toBeSorted/bitwise_flag_helper.h"
#include <common.h>
bool BitwiseFlagHelper::checkFlag(u16 slot, u16 shift, const u16 *pData, u16 flagCount) {
return (pData[slot] >> shift) & 1;
@@ -9,4 +10,4 @@ void BitwiseFlagHelper::setFlag(u16 slot, u16 shift, u16 *pData, u16 flagCount)
}
void BitwiseFlagHelper::unsetFlag(u16 slot, u16 shift, u16 *pData, u16 flagCount) {
pData[slot] &= ~(1 << shift);
}
}