aboutsummaryrefslogtreecommitdiff
path: root/src/objects.cc
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/objects.cc
parent699341773dda3ae14a5025b9285bdd05c99bc234 (diff)
downloadgame-81a5d53bc566fe2c678577cb3f3e5cadd0711753.tar.gz
game-81a5d53bc566fe2c678577cb3f3e5cadd0711753.zip
finish `info.cc`
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){