Solution refactoring and restructuring, removed Boost dependency, removed unused tools

This commit is contained in:
2022-11-21 23:42:01 +02:00
parent 33f19f9ff6
commit 9ef9f39e88
817 changed files with 326 additions and 59698 deletions

View File

@ -0,0 +1,29 @@
#pragma once
class CAffectFlagContainer
{
public:
enum
{
BIT_SIZE = 64,
BYTE_SIZE = BIT_SIZE/8+(1*((BIT_SIZE&7) ? 1 : 0)),
};
public:
CAffectFlagContainer();
~CAffectFlagContainer();
void Clear();
void CopyInstance(const CAffectFlagContainer& c_rkAffectContainer);
void Set(UINT uPos, bool isSet);
bool IsSet(UINT uPos) const;
void CopyData(UINT uPos, UINT uByteSize, const void* c_pvData);
void ConvertToPosition(unsigned* uRetX, unsigned* uRetY) const;
private:
typedef unsigned char Element;
Element m_aElement[BYTE_SIZE];
};