2023-06-27 19:35:33 +00:00
|
|
|
#if _MSC_VER > 1000
|
|
|
|
#pragma once
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
|
|
|
#include "vector.h"
|
|
|
|
|
|
|
|
class CBit
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CBit* mPrevious;
|
|
|
|
CBit* mNext;
|
|
|
|
|
|
|
|
int unk;
|
|
|
|
|
|
|
|
CVector mPos;
|
|
|
|
CVector mVel;
|
|
|
|
CVector mAcc;
|
|
|
|
CFriction mFric;
|
2023-07-04 16:44:55 +00:00
|
|
|
unsigned char mDead;
|
|
|
|
unsigned char pad[2];
|
|
|
|
unsigned char mProtected;
|
|
|
|
|
2023-06-27 19:35:33 +00:00
|
|
|
EXPORT CBit();
|
|
|
|
virtual ~CBit();
|
2023-06-28 16:07:08 +00:00
|
|
|
EXPORT void* operator new(unsigned int size);
|
2023-07-04 16:44:55 +00:00
|
|
|
EXPORT void Die();
|
2023-07-05 15:22:05 +00:00
|
|
|
EXPORT CBit* AttachTo(CBit** to);
|
2023-07-05 22:02:35 +00:00
|
|
|
EXPORT int SetPos(const CVector &pos);
|
2023-06-27 19:35:33 +00:00
|
|
|
};
|