mirror of https://github.com/zeldaret/botw.git
Havok: Add Physics2012 world listener interfaces
This commit is contained in:
parent
d7e49f5fb3
commit
7c3bf4a382
|
@ -134,6 +134,13 @@ add_library(hkStubs OBJECT
|
|||
Havok/Physics2012/Dynamics/World/hkpWorldCinfo.cpp
|
||||
Havok/Physics2012/Dynamics/World/hkpWorldCinfo.h
|
||||
Havok/Physics2012/Dynamics/World/hkpWorldObject.h
|
||||
Havok/Physics2012/Dynamics/World/Listener/hkpIslandActivationListener.h
|
||||
Havok/Physics2012/Dynamics/World/Listener/hkpIslandPostCollideListener.h
|
||||
Havok/Physics2012/Dynamics/World/Listener/hkpIslandPostIntegrateListener.h
|
||||
Havok/Physics2012/Dynamics/World/Listener/hkpWorldDeletionListener.h
|
||||
Havok/Physics2012/Dynamics/World/Listener/hkpWorldPostCollideListener.h
|
||||
Havok/Physics2012/Dynamics/World/Listener/hkpWorldPostIntegrateListener.h
|
||||
Havok/Physics2012/Dynamics/World/Listener/hkpWorldPostSimulationListener.h
|
||||
Havok/Physics2012/Dynamics/World/Memory/hkpWorldMemoryAvailableWatchDog.h
|
||||
Havok/Physics2012/Dynamics/World/Memory/Default/hkpDefaultWorldMemoryWatchDog.h
|
||||
Havok/Physics2012/Dynamics/World/Simulation/hkpSimulation.h
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
class hkpSimulationIsland;
|
||||
|
||||
class hkpIslandActivationListener {
|
||||
public:
|
||||
virtual ~hkpIslandActivationListener() = default;
|
||||
|
||||
virtual void islandActivatedCallback(hkpSimulationIsland* island) = 0;
|
||||
virtual void islandDeactivatedCallback(hkpSimulationIsland* island) = 0;
|
||||
};
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
class hkpSimulationIsland;
|
||||
class hkStepInfo;
|
||||
|
||||
class hkpIslandPostCollideListener {
|
||||
public:
|
||||
virtual ~hkpIslandPostCollideListener() = default;
|
||||
|
||||
virtual void postCollideCallback(hkpSimulationIsland* Island, const hkStepInfo& stepInfo) = 0;
|
||||
};
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
class hkpSimulationIsland;
|
||||
class hkStepInfo;
|
||||
|
||||
class hkpIslandPostIntegrateListener {
|
||||
public:
|
||||
virtual ~hkpIslandPostIntegrateListener() = default;
|
||||
|
||||
virtual void postIntegrateCallback(hkpSimulationIsland* island, const hkStepInfo& stepInfo) = 0;
|
||||
};
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
class hkpWorld;
|
||||
|
||||
class hkpWorldDeletionListener {
|
||||
public:
|
||||
virtual ~hkpWorldDeletionListener() = default;
|
||||
|
||||
virtual void worldDeletedCallback(hkpWorld* world) = 0;
|
||||
virtual void worldRemoveAllCallback(hkpWorld* world) {}
|
||||
};
|
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
class hkpWorld;
|
||||
class hkStepInfo;
|
||||
|
||||
class hkpWorldPostCollideListener {
|
||||
public:
|
||||
virtual ~hkpWorldPostCollideListener() = default;
|
||||
|
||||
virtual void postCollideCallback(hkpWorld* world, const hkStepInfo& stepInfo) = 0;
|
||||
};
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
class hkpWorld;
|
||||
class hkpEntity;
|
||||
class hkStepInfo;
|
||||
|
||||
class hkpWorldPostIntegrateListener {
|
||||
public:
|
||||
virtual ~hkpWorldPostIntegrateListener() = default;
|
||||
|
||||
virtual void postIntegrateCallback(hkpWorld* world, const hkStepInfo& stepInfo) = 0;
|
||||
};
|
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
class hkpWorld;
|
||||
class hkpEntity;
|
||||
class hkStepInfo;
|
||||
|
||||
class hkpWorldPostSimulationListener {
|
||||
public:
|
||||
virtual ~hkpWorldPostSimulationListener() = default;
|
||||
|
||||
virtual void postSimulationCallback(hkpWorld* world) = 0;
|
||||
virtual void inactiveEntityMovedCallback(hkpEntity* entity) {}
|
||||
};
|
Loading…
Reference in New Issue