aboutsummaryrefslogtreecommitdiff
path: root/src/objects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects.cc')
-rw-r--r--src/objects.cc22
1 files changed, 0 insertions, 22 deletions
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){