aboutsummaryrefslogtreecommitdiff
path: root/src/common.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-10 19:19:09 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-10 19:19:09 -0300
commit81a5d53bc566fe2c678577cb3f3e5cadd0711753 (patch)
tree6423174670804c4ff6660753c9eb826527df2b97 /src/common.hh
parent699341773dda3ae14a5025b9285bdd05c99bc234 (diff)
downloadgame-81a5d53bc566fe2c678577cb3f3e5cadd0711753.tar.gz
game-81a5d53bc566fe2c678577cb3f3e5cadd0711753.zip
finish `info.cc`
Diffstat (limited to 'src/common.hh')
-rw-r--r--src/common.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.hh b/src/common.hh
index ded9079..9800e6a 100644
--- a/src/common.hh
+++ b/src/common.hh
@@ -169,6 +169,11 @@ int stricmp(const char *s1, const char *s2, int Max = INT_MAX);
char *findFirst(char *s, char c);
char *findLast(char *s, char c);
+bool CheckBitIndex(int BitSetBytes, int Index);
+bool CheckBit(uint8 *BitSet, int Index);
+void SetBit(uint8 *BitSet, int Index);
+void ClearBit(uint8 *BitSet, int Index);
+
template<typename T>
void RandomShuffle(T *Buffer, int Size){
if(Buffer == NULL){