[merge commit]
This commit is contained in:
@@ -114,7 +114,7 @@ HRESULT CGameInstance::Initialize_Engine(const ENGINE_DESC& EngineDesc, ID3D11De
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
m_pResource_Manager = CResource_Manager::Create(*ppDevice, 500);
|
||||
m_pResource_Manager = CResource_Manager::Create(*ppDevice, 1000);
|
||||
if (nullptr == m_pResource_Manager) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ HRESULT CMaterial::Initialize(const _char* pModelFilePath, const aiMaterial* pAI
|
||||
if (FAILED(hr)) {
|
||||
return E_FAIL;
|
||||
}
|
||||
m_strPath[i].push_back(szSaveDir);
|
||||
//m_strPath[i].push_back(szSaveDir);
|
||||
m_SRVs[i].push_back(pSRV);
|
||||
}
|
||||
}
|
||||
@@ -353,32 +353,6 @@ HRESULT CMaterial::Add_Texture(const _char* pTextureFolderPath, string& FileType
|
||||
strTexturePath = CMyTools::ToString(szTextureFilePath);
|
||||
}
|
||||
|
||||
//_string strPrefix = "C:";
|
||||
//_string strSearchString = "MeshTable";
|
||||
//_string strResultPath = {};
|
||||
|
||||
//size_t mapRePos = strTexturePath.find(strSearchString);
|
||||
|
||||
//if (mapRePos != std::string::npos)
|
||||
//{
|
||||
// size_t startPos = mapRePos + strSearchString.length();
|
||||
|
||||
// // 'MapRe' 뒤에 오는 경로 건너뛰기
|
||||
// if (startPos < strTexturePath.length() &&
|
||||
// (strTexturePath[startPos] == '\\' || strTexturePath[startPos] == '/')) {
|
||||
// startPos++;
|
||||
// }
|
||||
|
||||
// // 'MapRe' 이후의 나머지 경로를 추출
|
||||
// strResultPath = strTexturePath;//.substr(startPos);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// MSG_BOX("FAILED to Find Path");
|
||||
//}
|
||||
|
||||
//replace(strResultPath.begin(), strResultPath.end(), '\\', '/');
|
||||
|
||||
m_SaveMaterial.Path[ENUM_CLASS(eTexture)].push_back(strTexturePath);
|
||||
m_SRVs[ENUM_CLASS(eTexture)].push_back(pSRV);
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ ID3D11ShaderResourceView* CResource_Manager::Load_SRV(const _char* pFilePath)
|
||||
|
||||
HRESULT hr = {};
|
||||
|
||||
hr = CreateDDSTextureFromFile(m_pDevice, CMyTools::ToWstring(szTextureFilePath).c_str(), nullptr, &pSRV, 1024); // 일단 dds로 시도하고
|
||||
hr = CreateDDSTextureFromFile(m_pDevice, CMyTools::ToWstring(szTextureFilePath).c_str(), nullptr, &pSRV); // 일단 dds로 시도하고
|
||||
if (FAILED(hr)) {
|
||||
memset(szTextureFilePath, 0, sizeof(_char) * MAX_PATH); // 실패하면 원래 확장자로 다시 시도
|
||||
strcat_s(szTextureFilePath, szTextureFileName);
|
||||
@@ -87,7 +87,9 @@ ID3D11ShaderResourceView* CResource_Manager::Load_SRV(const _char* pFilePath)
|
||||
return nullptr;
|
||||
|
||||
m_Resources.emplace(CMyTools::ToWstring(szFileName), pSRV);
|
||||
#ifdef _DEBUG
|
||||
++m_iCount;
|
||||
#endif // _DEBUG
|
||||
|
||||
return pSRV;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,9 @@ CRigidBody::CRigidBody(const CRigidBody& rhs) :
|
||||
m_ePxRigidBodyFlags(rhs.m_ePxRigidBodyFlags),
|
||||
m_ePxShapeFlags(rhs.m_ePxShapeFlags),
|
||||
m_eMatType(rhs.m_eMatType),
|
||||
m_fContactOffset(rhs.m_fContactOffset)
|
||||
m_fContactOffset(rhs.m_fContactOffset),
|
||||
m_vLocalRotQ(rhs.m_vLocalRotQ),
|
||||
m_vLocalTranslation(rhs.m_vLocalTranslation)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,67 @@ HRESULT CRigidBody_Dynamic::Render()
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
#endif
|
||||
void CRigidBody_Dynamic::Set_HalfGeometryInfo(_float3 vhalfGeometryInfo)
|
||||
{
|
||||
m_vhalfGeometryInfo = vhalfGeometryInfo;
|
||||
PSX::PxShape* pShape = { nullptr };
|
||||
m_pRigidBody->getShapes(&pShape, m_pRigidBody->getNbShapes());
|
||||
|
||||
switch (m_eActorType)
|
||||
{
|
||||
case ACTOR::BOX:
|
||||
{
|
||||
PSX::PxBoxGeometry Geometry((const PSX::PxBoxGeometry&)pShape->getGeometry());
|
||||
Geometry.halfExtents = { vhalfGeometryInfo.x, vhalfGeometryInfo.y, vhalfGeometryInfo.z };
|
||||
if (false == Geometry.isValid()) {
|
||||
assert(false);
|
||||
}
|
||||
pShape->setGeometry(Geometry);
|
||||
} break;
|
||||
case ACTOR::CAPSULE:
|
||||
{
|
||||
PSX::PxCapsuleGeometry Geometry((const PSX::PxCapsuleGeometry&)pShape->getGeometry());
|
||||
Geometry.halfHeight = { vhalfGeometryInfo.y };
|
||||
Geometry.radius = { vhalfGeometryInfo.x };
|
||||
if (false == Geometry.isValid()) {
|
||||
assert(false);
|
||||
}
|
||||
pShape->setGeometry(Geometry);
|
||||
} break;
|
||||
case ACTOR::SPHERE:
|
||||
{
|
||||
PSX::PxSphereGeometry Geometry((const PSX::PxSphereGeometry&)pShape->getGeometry());
|
||||
Geometry.radius = { vhalfGeometryInfo.x };
|
||||
if (false == Geometry.isValid()) {
|
||||
assert(false);
|
||||
}
|
||||
pShape->setGeometry(Geometry);
|
||||
} break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
if (nullptr != m_pMainShape) {
|
||||
m_pMainShape.release();
|
||||
m_pMainShape = nullptr;
|
||||
}
|
||||
if (nullptr != m_pSubShape) {
|
||||
m_pSubShape.release();
|
||||
m_pSubShape = nullptr;
|
||||
}
|
||||
Add_DebugShape();
|
||||
#endif // _DEBUG
|
||||
}
|
||||
void CRigidBody_Dynamic::Move_LocalPos(_float4 vNewRotQ, _float3 vNewTranslation)
|
||||
{
|
||||
m_vLocalRotQ = vNewRotQ;
|
||||
m_vLocalTranslation = vNewTranslation;
|
||||
PSX::PxShape* pShape = { nullptr };
|
||||
m_pRigidBody->getShapes(&pShape, m_pRigidBody->getNbShapes());
|
||||
pShape->setLocalPose(PSX::PxTransform(vNewTranslation.x, vNewTranslation.y, vNewTranslation.z, PSX::PxQuat(vNewRotQ.x, vNewRotQ.y, vNewRotQ.z, vNewRotQ.w)));
|
||||
}
|
||||
// _DEBUG
|
||||
void CRigidBody_Dynamic::Add_Force(_fvector vForce, PSX::PxForceMode::Enum eType)
|
||||
{
|
||||
PSX::PxVec3 vPxForce = {};
|
||||
@@ -83,6 +143,35 @@ HRESULT CRigidBody_Dynamic::ConvertToCCT(CCharacter_Controller& CCTOriginal)
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
_float3 CRigidBody_Dynamic::Get_FootPosition()
|
||||
{
|
||||
PSX::PxTransform pxTransform = m_pRigidBody->getGlobalPose();
|
||||
switch (m_eActorType)
|
||||
{
|
||||
case Engine::ACTOR::BOX:
|
||||
pxTransform.p.y -= m_vhalfGeometryInfo.y;
|
||||
break;
|
||||
case Engine::ACTOR::CAPSULE:
|
||||
pxTransform.p.y -= m_vhalfGeometryInfo.y * 0.5f + m_vhalfGeometryInfo.x;
|
||||
break;
|
||||
case Engine::ACTOR::SPHERE:
|
||||
pxTransform.p.y -= m_vhalfGeometryInfo.x;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
_float3 vOut = { pxTransform.p.x , pxTransform.p.y , pxTransform.p.z };
|
||||
return vOut;
|
||||
}
|
||||
|
||||
PSX::PxTransform CRigidBody_Dynamic::Get_FootPositionPxTransform()
|
||||
{
|
||||
PSX::PxTransform pxTransform = m_pRigidBody->getGlobalPose();
|
||||
_float3 vFootPos = Get_FootPosition();
|
||||
pxTransform.p = { vFootPos.x, vFootPos.y, vFootPos.z };
|
||||
return pxTransform;
|
||||
}
|
||||
|
||||
HRESULT CRigidBody_Dynamic::Initialize_Prototype(RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc)
|
||||
{
|
||||
m_eActorType = Desc.eType;
|
||||
@@ -96,6 +185,8 @@ HRESULT CRigidBody_Dynamic::Initialize_Prototype(RIGIDBODY_PROTOTYPE_DYNAMIC_DES
|
||||
m_eLockFlag = Desc.eLockFlag;
|
||||
m_PxMassCenter = Desc.pxMassCenter;
|
||||
m_vDamping = Desc.vAutoDamping;
|
||||
m_vLocalRotQ = Desc.vLocalRotQ;
|
||||
m_vLocalTranslation = Desc.vLocalTranslation;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
@@ -121,6 +212,8 @@ HRESULT CRigidBody_Dynamic::Initialize(void* pArg)
|
||||
m_pRigidBody->setRigidDynamicLockFlags(m_eLockFlag);
|
||||
m_pRigidBody->setLinearDamping(m_vDamping.x);
|
||||
m_pRigidBody->setAngularDamping(m_vDamping.y);
|
||||
|
||||
Move_LocalPos(m_vLocalRotQ, m_vLocalTranslation);
|
||||
//m_pRigidBody->joint;
|
||||
//PSX::PxRevol
|
||||
|
||||
@@ -184,5 +277,40 @@ void CRigidBody_Dynamic::Free()
|
||||
|
||||
void CRigidBody_Dynamic::Describe_Entity()
|
||||
{
|
||||
GUI::BeginChild(("Child ID: " + to_string((size_t)(this))).c_str());
|
||||
GUI::Text("ReSize"); GUI::SameLine();
|
||||
if (GUI::DragFloat3("##Size", (_float*)&m_vhalfGeometryInfo, 0.01f, 0.01f, 10.f, "%.3f")) {
|
||||
Set_HalfGeometryInfo(m_vhalfGeometryInfo);
|
||||
}
|
||||
GUI::Text("Translation"); GUI::SameLine();
|
||||
if (GUI::DragFloat3("##LocalPos", (_float*)&m_vLocalTranslation, 0.125f, -10.f, 10.f, "%.4f")) {
|
||||
Move_LocalPos(m_vLocalRotQ, m_vLocalTranslation);
|
||||
}
|
||||
_vector q = XMLoadFloat4(&m_vLocalRotQ);
|
||||
|
||||
// 기본 방향벡터 (엔진 기준)
|
||||
_vector forward = XMVector3Rotate(XMVectorSet(0, 0, 1, 0), q);
|
||||
_vector right = XMVector3Rotate(XMVectorSet(1, 0, 0, 0), q);
|
||||
_vector up = XMVector3Rotate(XMVectorSet(0, 1, 0, 0), q);
|
||||
|
||||
// --- RPY 계산 ---
|
||||
_float fYaw = atan2f(XMVectorGetX(forward), XMVectorGetZ(forward));
|
||||
_float fPitch = asinf(-XMVectorGetY(forward));
|
||||
_float fRoll = atan2f(XMVectorGetY(right), XMVectorGetY(up)); // 수정된 Roll 계산
|
||||
|
||||
_float3 vRPY = { fRoll, fPitch, fYaw }; // Roll-Pitch-Yaw 순서 정렬
|
||||
|
||||
// --- GUI 편집 ---
|
||||
GUI::Text("Rotation (Roll Pitch Yaw)");
|
||||
GUI::SameLine();
|
||||
if (GUI::DragFloat3("##LocalRotq", (_float*)&vRPY,
|
||||
XMConvertToRadians(0.5f), -XM_2PI, XM_2PI, "%.5f"))
|
||||
{
|
||||
// XMQuaternionRotationRollPitchYaw는 (Yaw→Pitch→Roll) 순서
|
||||
_vector vRotq = XMQuaternionRotationRollPitchYaw(vRPY.z, vRPY.y, vRPY.x);
|
||||
XMStoreFloat4(&m_vLocalRotQ, vRotq);
|
||||
Move_LocalPos(m_vLocalRotQ, m_vLocalTranslation);
|
||||
}
|
||||
GUI::EndChild();
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -20,6 +20,8 @@ HRESULT CRigidBody_Static::Initialize_Prototype(RIGIDBODY_STATIC_PROTOTYPEDESC&
|
||||
m_ePxShapeFlags = Desc.ePxShapeFlags;
|
||||
m_eMatType = Desc.ePxMaterialTypes;
|
||||
m_fContactOffset = Desc.fContactOffset;
|
||||
m_vLocalRotQ = Desc.vLocalRotQ;
|
||||
m_vLocalTranslation = Desc.vLocalTranslation;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -40,11 +40,13 @@ _uint CTexture::Get_Size()
|
||||
{
|
||||
return (_uint)m_SRVs.size();
|
||||
}
|
||||
|
||||
#ifdef EDITOR_PROJECT
|
||||
_bool CTexture::Compare_GroupName(_wstring wstrGroupName)
|
||||
{
|
||||
return m_wstrPrototypeName == wstrGroupName;
|
||||
}
|
||||
#endif // EDITOR_PROJECT
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
void CTexture::HoverName()
|
||||
@@ -78,8 +80,10 @@ HRESULT CTexture::Initialize_Prototype(TEXTURE_LOAD_TYPE eType, const _tchar* pT
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef EDITOR_PROJECT
|
||||
m_wstrPrototypeName = wstrPrototypeName;
|
||||
#endif // EDITOR_PROJECT
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -152,7 +152,7 @@ void CTrail::Trail_Update(_float fDeltaTime, _fmatrix WorldMatrix)
|
||||
XMStoreFloat3(&m_PreLow[3], vLow);
|
||||
XMStoreFloat3(&m_PreHigh[3], vHigh);
|
||||
|
||||
if (m_iNumCount < 16)
|
||||
if (m_iNumCount < 12)
|
||||
{
|
||||
XMStoreFloat3(&m_pVertices[m_iNumCount++].vPosition, vLow);
|
||||
XMStoreFloat3(&m_pVertices[m_iNumCount++].vPosition, vHigh);
|
||||
@@ -166,10 +166,10 @@ void CTrail::Trail_Update(_float fDeltaTime, _fmatrix WorldMatrix)
|
||||
_vector m_PreLowVector[4] = { XMLoadFloat3(&m_PreLow[0]) , XMLoadFloat3(&m_PreLow[1]) , XMLoadFloat3(&m_PreLow[2]), XMLoadFloat3(&m_PreLow[3]) };
|
||||
_vector m_PreHighVector[4] = { XMLoadFloat3(&m_PreHigh[0]) , XMLoadFloat3(&m_PreHigh[1]),XMLoadFloat3(&m_PreHigh[2]) , XMLoadFloat3(&m_PreHigh[3]) };
|
||||
|
||||
for (size_t i = 0; i < 13; i++)
|
||||
for (size_t i = 0; i < 9; i++)
|
||||
{
|
||||
|
||||
_float iRatio = (_float)i / 12;
|
||||
_float iRatio = (_float)i / 8;
|
||||
_vector vLerpLow = XMVectorCatmullRom(m_PreLowVector[0], m_PreLowVector[1], m_PreLowVector[2], m_PreLowVector[3], iRatio); // LoW
|
||||
_vector vLerpHigh = XMVectorCatmullRom(m_PreHighVector[0], m_PreHighVector[1], m_PreHighVector[2], m_PreHighVector[3], iRatio);
|
||||
|
||||
|
||||
@@ -278,11 +278,10 @@ class ENGINE_DLL CGameInstance final : public CBase
|
||||
class CThreadHolder* m_pThreadHolder = { nullptr };
|
||||
class CFog* m_pFog = { nullptr };
|
||||
class CResource_Manager* m_pResource_Manager = { nullptr };
|
||||
|
||||
mt19937 m_Rng{ random_device{}() };
|
||||
|
||||
#ifdef _DEBUG
|
||||
private:
|
||||
|
||||
_float m_fTimer_PriorityUpdate = { 0.f };
|
||||
_float m_fTimer_Update = { 0.f };
|
||||
_float m_fTimer_LateUpdate = { 0.f };
|
||||
|
||||
@@ -12,21 +12,24 @@ class ENGINE_DLL CMaterial final : public CBase
|
||||
|
||||
public:
|
||||
HRESULT Bind_SRV(class CShader* pShader);
|
||||
SaveMaterial Get_SaveMaterial() { return m_SaveMaterial; }
|
||||
|
||||
private:
|
||||
class CGameInstance* m_pGameInstance = { nullptr };
|
||||
ID3D11Device* m_pDevice = { nullptr };
|
||||
ID3D11DeviceContext* m_pContext = { nullptr };
|
||||
class CGameInstance* m_pGameInstance = { nullptr };
|
||||
ID3D11Device* m_pDevice = { nullptr };
|
||||
ID3D11DeviceContext* m_pContext = { nullptr };
|
||||
|
||||
vector<ID3D11ShaderResourceView*> m_SRVs[AI_TEXTURE_TYPE_MAX];
|
||||
SaveMaterial m_SaveMaterial;
|
||||
|
||||
|
||||
#ifdef EDITOR_PROJECT
|
||||
public:
|
||||
SaveMaterial Get_SaveMaterial() { return m_SaveMaterial; }
|
||||
|
||||
static CMaterial* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pModelFilePath, const aiMaterial* pAIMaterial);
|
||||
static CMaterial* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pMaterialFilePath, const _char* pTextureFilePath);
|
||||
private:
|
||||
vector<string> m_strPath[AI_TEXTURE_TYPE_MAX];
|
||||
SaveMaterial m_SaveMaterial;
|
||||
|
||||
HRESULT Initialize(const _char* pModelFilePath, const aiMaterial* pAIMaterial);
|
||||
HRESULT Initialize(const _char* pMaterialFilePath, const _char* pTextureFilePath);
|
||||
HRESULT Read_MaterialFile(const _char* pMaterialFilePath, const _char* pTextureFolderPath);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// * Redistributions of source code must retain the above copyright
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// * Redistributions of source code must retain the above copyright
|
||||
|
||||
@@ -20,7 +20,10 @@ class CResource_Manager final : public CBase
|
||||
ID3D11ShaderResourceView* Load_SRV(const _char* pFilePath);
|
||||
|
||||
private:
|
||||
#ifdef _DEBUG
|
||||
_uint m_iCount = {};
|
||||
#endif // DEBUG
|
||||
|
||||
ID3D11Device* m_pDevice = { nullptr };
|
||||
|
||||
unordered_map<_wstring, ID3D11ShaderResourceView*> m_Resources;
|
||||
|
||||
@@ -16,7 +16,8 @@ class ENGINE_DLL CRigidBody abstract : public CComponent
|
||||
PXMATERIAL ePxMaterialTypes = { PXMATERIAL::DEFAULT };
|
||||
_float3 vMatInfo = { 0.5f, 0.5f, 0.6f }; // 피직스 객체의 속성 등
|
||||
_float fContactOffset = { 0.05f }; // 접촉 유격 오프셋
|
||||
|
||||
_float4 vLocalRotQ = { 0.f, 0.f, 0.f, 1.f };
|
||||
_float3 vLocalTranslation = { 0.f, 0.f, 0.f };
|
||||
}RIGIDBODY_PROTOTYPEDESC;
|
||||
|
||||
typedef struct tagRigidBody_Desc
|
||||
@@ -44,6 +45,8 @@ class ENGINE_DLL CRigidBody abstract : public CComponent
|
||||
PSX::PxShapeFlags m_ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE | PSX::PxShapeFlag::eSIMULATION_SHAPE };
|
||||
PXMATERIAL m_eMatType = { PXMATERIAL::END };
|
||||
_float m_fContactOffset = { 0.05f };
|
||||
_float4 m_vLocalRotQ = { 0.f, 0.f, 0.f, 1.f };
|
||||
_float3 m_vLocalTranslation = { 0.f, 0.f, 0.f };
|
||||
|
||||
CTransform* m_pTransform = { nullptr };
|
||||
PhsXUserData m_tagData = {};
|
||||
|
||||
@@ -34,6 +34,8 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
||||
|
||||
virtual PSX::PxRigidDynamic* Get_Actor() override { return m_pRigidBody; };
|
||||
_float3 Get_HalfGeometryInfo() const { return m_vhalfGeometryInfo; }
|
||||
void Set_HalfGeometryInfo(_float3 vhalfGeometryInfo);
|
||||
void Move_LocalPos(_float4 vNewRotQ, _float3 vNewTranslation);
|
||||
_float Get_Density() const { return m_fDensity; }
|
||||
|
||||
virtual void Add_Force(_fvector vForce, PSX::PxForceMode::Enum eType = PSX::PxForceMode::Enum::eFORCE); // 속도 + 방향
|
||||
@@ -44,6 +46,8 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
||||
_bool IsActive() const { return m_bActive; }
|
||||
void SetActive(_bool bCondition) { m_bActive = bCondition; }
|
||||
|
||||
_float3 Get_FootPosition();
|
||||
PSX::PxTransform Get_FootPositionPxTransform();
|
||||
private:
|
||||
PSX::PxRigidDynamic* m_pRigidBody = { nullptr }; // 실제 시뮬레이션을 도는 본체
|
||||
PSX::PxRigidDynamicLockFlags m_eLockFlag = { };
|
||||
|
||||
@@ -15,12 +15,13 @@ enum ESTATE
|
||||
COMBAT, LIGHT_ATTACK, SPELL, SKILL, SKILL2,
|
||||
MAPHELP,POTION,
|
||||
ACCIO,DESCENDO,DIFFINDO,DEPULSO,LUMOS,LUMOS_STOP,DISILLUSION_ENTER,DISILLUSION_EXIT, ANCIENT_THROW,
|
||||
SPELL_FAIL,
|
||||
BROOM_IDLE,BROOM_FWD,BROOM_LEFT,BROOM_RIGHT,BROOM_DOWN,BROOM_UP, BROOM_HOVER_IDLE, BROOM_HOVER_FWD, BROOM_HOVER_LEFT, BROOM_HOVER_RIGHT, BROOM_HOVER_START,BROOM_MOUNT, BROOM_MOUNT_END,BROOM_DISMOUNT,
|
||||
RUSH_START,RUSH_LOOP,RUSH_END,
|
||||
THROW_ROCK_START,THROW_ROCK,
|
||||
BACKHAND_SWING_JOG,SWING_FWD,SLAM,
|
||||
BLINK,
|
||||
HIT, HIT_FWD, HIT_BWD, HIT_BWD2, HIT_BWD3, HIT_BWD4, HIT_L, HIT_R,HIT_FACE,HIT_FACE_END,
|
||||
HIT, HIT_FWD, HIT_BWD, HIT_BWD2, HIT_BWD3, HIT_BWD4, HIT_L, HIT_R,HIT_FACE,HIT_FACE_END,HIT_LEVIOSO,
|
||||
KNOCKDOWN, KNOCKDOWN_FWD, KNOCKDOWN_FWD_SPLT, KNOCKDOWN_FWD_SPLT_HOLD, KNOCKDOWN_BWD, KNOCKDOWN_BWD_SPLT, KNOCKDOWN_BWD_SPLT_HOLD,
|
||||
GETUP, GETUP_BWD, GETUP_FWD, GETUP_L, GETUP_L_FD, GETUP_L_FU, GETUP_R, GETUP_R_FD, GETUP_R_FU, GETUP_SLOUCH,
|
||||
DEAD, DEAD_FWD, DEAD_FWD2, DEAD_BWD, DEAD_BWD2, DEAD_L, DEAD_L2, DEAD_R, DEAD_R2,
|
||||
|
||||
@@ -18,7 +18,9 @@ class ENGINE_DLL CTexture final :
|
||||
vector<ID3D11ShaderResourceView*>* Get_Texture() { return &m_SRVs; }
|
||||
ID3D11ShaderResourceView* Get_SRV(_uint iTextureIndex);
|
||||
_uint Get_Size();
|
||||
#ifdef EDITOR_PROJECT
|
||||
_bool Compare_GroupName(_wstring wstrGroupName);
|
||||
#endif //
|
||||
|
||||
#ifdef _DEBUG
|
||||
void HoverName();
|
||||
|
||||
@@ -69,8 +69,8 @@ class ENGINE_DLL CUnit abstract : public CContainerObject
|
||||
unordered_map<size_t, CState*> m_States = { };
|
||||
size_t m_iStateMask = { 0 };
|
||||
|
||||
_uint m_eSpell = { };
|
||||
_uint m_eHitSpell = {};
|
||||
_int m_eSpell = { };
|
||||
_int m_eHitSpell = {};
|
||||
|
||||
vector<PendingEvent> m_PendingEvents;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user