forked from derandark/DungeonViewerAC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Physics.h
45 lines (35 loc) · 973 Bytes
/
Physics.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#pragma once
#include "SmartArray.h"
#include "HashData.h"
class SmartBox;
class CObjectMaint;
class CPhysicsObj;
class CPhysics
{
public:
static SmartArray<CPhysicsObj *> static_animating_objects;
static void AddStaticAnimatingObject(CPhysicsObj *pObject);
static void RemoveStaticAnimatingObject(CPhysicsObj *pObject);
CPhysics(CObjectMaint *_ObjMaint, SmartBox *_SmartBox);
~CPhysics();
void SetPlayer(CPhysicsObj *Player);
void UseTime();
void UpdateTexVelocity(float FrameTime);
CObjectMaint * m_ObjMaint; // 0x00
SmartBox * m_SmartBox; // 0x04
CPhysicsObj * m_Player; // 0x08
HashBaseIter<CPhysicsObj *>* m_Iter; // 0x0C
DWORD m_10; // 0x10
};
class PhysicsTimer
{
public:
static double curr_time;
};
class PhysicsGlobals
{
public:
static double floor_z;
static double ceiling_z;
static double gravity;
};