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/objects.cc | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/objects.cc') diff --git a/src/objects.cc b/src/objects.cc index 198a11d..5231fc8 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -254,28 +254,6 @@ static const char InstanceAttributeNames[18][30] = { "RemainingUses", // REMAININGUSES }; -// - -// BITSET Helpers -// ============================================================================= -static inline bool CheckBit(uint8 *Set, int Index){ - int ByteIndex = (int)(Index / 8); - uint8 BitMask = (uint8)(1 << (Index % 8)); - return (Set[ByteIndex] & BitMask) != 0; -} - -static inline void SetBit(uint8 *Set, int Index){ - int ByteIndex = (int)(Index / 8); - uint8 BitMask = (uint8)(1 << (Index % 8)); - Set[ByteIndex] |= BitMask; -} - -static inline void ClearBit(uint8 *Set, int Index){ - int ByteIndex = (int)(Index / 8); - uint8 BitMask = (uint8)(1 << (Index % 8)); - Set[ByteIndex] &= ~BitMask; -} - // ObjectType // ============================================================================= void ObjectType::setTypeID(int TypeID){ -- cgit v1.2.3