From 81a5d53bc566fe2c678577cb3f3e5cadd0711753 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Tue, 10 Jun 2025 19:19:09 -0300 Subject: finish `info.cc` --- src/common.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/common.hh') 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 void RandomShuffle(T *Buffer, int Size){ if(Buffer == NULL){ -- cgit v1.2.3