mirror of
https://github.com/EricPlayZ/EGameTools.git
synced 2026-10-10 04:43:03 +08:00
0ee417db70
- Improved CPU performance at game startup when using the mod
21 lines
411 B
C++
21 lines
411 B
C++
#pragma once
|
|
#include "..\Vector3.h"
|
|
#include "..\buffer.h"
|
|
|
|
namespace Engine {
|
|
class CBulletPhysicsCharacter {
|
|
public:
|
|
union {
|
|
buffer<0xA08, Vector3> playerPos2;
|
|
buffer<0xA20, Vector3> playerPos;
|
|
buffer<0xDA0, float> playerDownwardVelocity;
|
|
};
|
|
|
|
static Vector3 posBeforeFreeze;
|
|
|
|
void FreezeCharacter();
|
|
void MoveCharacter(const Vector3& pos);
|
|
|
|
static CBulletPhysicsCharacter* Get();
|
|
};
|
|
} |