diff --git a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl new file mode 100644 index 000000000..117084542 --- /dev/null +++ b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl @@ -0,0 +1,289 @@ +#include "Engine_Shader_Functions.hlsli" + +struct Particle +{ + float4 vRight; + float4 vUp; + float4 vLook; + float4 vTranslation; + + float2 vLifeTime; +}; + +struct ParticleValue +{ + float fSpeed; + float fRotaionSpeed; + + float4 vOriginRight; + float4 vOriginUp; + float4 vOriginLook; + float4 vOriginTranslation; + + float2 vMaskingUVMoveTime; + float2 vDiffuseUVMoveTime; + float2 vDistortionUVMoveTime; + float2 vNoiseUVMoveTime; + float2 vAniTime; + + float2 vAniIndex; + float fGravity; + + float3 vSinAmount; + float3 vDeltaAngle; + float3 vDeltaAxisAngle; + + float fDrag; + float3 vPivot; + + float fSizeDrag; + float3 vDeltaSize; +}; + + +StructuredBuffer g_ParticleBufferInput : register(t0); +StructuredBuffer g_ParticleValueBufferInput : register(t1); + +RWStructuredBuffer g_VBInstanceOutput : register(u0); +RWStructuredBuffer g_ParticleValueOutput : register(u1); + +cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐이더 바인딩할때 인덱스가 동일해야함 +{ + row_major matrix CamViewInvMatrix; + + bool isLoop; // 상수 버퍼에서 불값은 4바이트로 처리되기 때문에 반드시 클라에서는 int형으로 선언해라 + bool isDrop; + bool isMoveForward; + bool isSinWave; + + bool isTurn; + bool isAxisTurn; + bool isPivotMove; + bool isSizeMove; + + float fTimeDelta; + float fPadding1; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다. + float fPadding2; + float fPadding3; +} + +//내가 몇개의 스레드를 사용할 것인지 지정하는데 +//GPU 칩의 개수를 X * Y * Z의 개수 만큼 사용하겠다는 의미이다. +[numthreads(256, 1, 1)] +void CS_MAIN( + uint3 DispatchThreadID : SV_DispatchThreadID) +{ + int iIndex = DispatchThreadID.x; // 배열 인덱스 + + Particle particle = g_ParticleBufferInput[iIndex]; + + ParticleValue particleValue = g_ParticleValueBufferInput[iIndex]; + + // 라이프타임 움직임 + particle.vLifeTime.x += fTimeDelta; + + if (particle.vLifeTime.x >= particle.vLifeTime.y) + { + if (isLoop == false) + { + return ; + } + + //초기화 + particle.vRight = particleValue.vOriginRight; + particle.vUp = particleValue.vOriginUp; + particle.vLook = particleValue.vOriginLook; + particle.vTranslation = particleValue.vOriginTranslation; + + particle.vLifeTime.x = 0.f; + particleValue.vAniIndex.x = 0.f; + + + g_VBInstanceOutput[iIndex] = particle; + g_ParticleValueOutput[iIndex] = particleValue; + + return ; + } + + + if (isMoveForward) + { + float fTime = (particle.vLifeTime.x / particle.vLifeTime.y); + + float fRatio = 1 - (1 - fTime * fTime); + + float fDrag = particleValue.fDrag; + + if (particleValue.fDrag < FLT_EPSILON5) + fDrag = 1; + + float4 vVelocity = vector(normalize(particle.vLook.xyz) * particleValue.fSpeed, 1.f); + + particle.vTranslation += vVelocity * fTimeDelta * fDrag; + } + + if (isPivotMove) + { + float3 vDir = normalize(particleValue.vPivot - particleValue.vOriginTranslation.xyz); + + float fDrag = particleValue.fDrag; + + if (particleValue.fDrag < FLT_EPSILON5) + fDrag = 1; + + float4 vVelocity = vector(vDir * particleValue.fSpeed, 1.f); + + particle.vTranslation += vVelocity * fTimeDelta * fDrag; + + } + + if (isDrop == true) + { + particle.vTranslation.y -= 0.5f * particle.vLifeTime.x * particleValue.fGravity; + } + + /* 사인 웨이브 */ + if(isSinWave == true) + { + particle.vTranslation += vector( sin(particle.vLifeTime.x * 3.141592 * 2.f) * particleValue.vSinAmount, 0.f); + } + + if (isTurn == true) + { + /* ROTATE */ + float4x4 RotateXMat = RotateX(particleValue.vDeltaAngle.x * fTimeDelta); + float4x4 RotateYMat = RotateY(particleValue.vDeltaAngle.y * fTimeDelta); + float4x4 RotateZMat = RotateZ(particleValue.vDeltaAngle.z * fTimeDelta); + + + float4x4 CombinedRotMat = mul(RotateZMat, mul(RotateYMat, RotateXMat)); + + float4x4 CurRotatemat = {particle.vRight, particle.vUp, particle.vLook, vector(0.f , 0.f, 0.f, 1.f)}; + + + + CurRotatemat = mul(CombinedRotMat, CurRotatemat); + + particle.vRight = CurRotatemat[0].xyzw; + particle.vUp = CurRotatemat[1].xyzw; + particle.vLook = CurRotatemat[2].xyzw; + + } + + if (isAxisTurn) + { + float4x4 RotateAxisRightMat = RotateAxis(particle.vRight, particleValue.vDeltaAxisAngle.x * fTimeDelta); + float4x4 RotateAxisUpMat = RotateAxis(particle.vUp, particleValue.vDeltaAxisAngle.y * fTimeDelta); + float4x4 RotateAxisLookMat = RotateAxis(particle.vLook, particleValue.vDeltaAxisAngle.z * fTimeDelta); + + + float4x4 CombinedRotMat = mul(RotateAxisLookMat, mul(RotateAxisUpMat, RotateAxisRightMat)); + + float4x4 CurRotatemat = { particle.vRight, particle.vUp, particle.vLook, vector(0.f, 0.f, 0.f, 1.f) }; + + + CurRotatemat = mul(CurRotatemat ,CombinedRotMat); + + particle.vRight = CurRotatemat[0].xyzw; + particle.vUp = CurRotatemat[1].xyzw; + particle.vLook = CurRotatemat[2].xyzw; + + + } + + if (isSizeMove == true) + { + float3 CurLength = + { + length(particle.vRight), + length(particle.vUp), + length(particle.vLook), + }; + + float fTime = (particle.vLifeTime.x / particle.vLifeTime.y); + + float fRatio = 1 - (1 - fTime * fTime); + + float fDrag = particleValue.fSizeDrag; + + if (particleValue.fSizeDrag < FLT_EPSILON5) + fDrag = 1; + + //fDrag *= fRatio; + + CurLength += particleValue.vDeltaSize * fTimeDelta * fDrag; + + if (CurLength.x < FLT_EPSILON5) + CurLength.x = FLT_EPSILON5; + + if (CurLength.y < FLT_EPSILON5) + CurLength.y = FLT_EPSILON5; + + if (CurLength.z < FLT_EPSILON5) + CurLength.z = FLT_EPSILON5; + + particle.vRight = normalize(particle.vRight) * CurLength.x; + particle.vUp = normalize(particle.vUp) * CurLength.y; + particle.vLook = normalize(particle.vLook) * CurLength.z; + + } + + //애니메이션 속도 , 인덱스 + + particleValue.vAniTime.x += fTimeDelta; + + if (particleValue.vAniTime.x >= particleValue.vAniTime.y) + { + particleValue.vAniTime.x = 0.f; + + particleValue.vAniIndex.x += 1.f; + + if (particleValue.vAniIndex.x > particleValue.vAniIndex.y) // 애니메이션에 끝에 다다랐다면 + { + particleValue.vAniIndex.x = 0.f; // 인덱스 초기화 + + } + + } + + //마스킹 UV 움직임 시간 + + particleValue.vMaskingUVMoveTime.x += fTimeDelta; + + if (particleValue.vMaskingUVMoveTime.x >= particleValue.vMaskingUVMoveTime.y) + { + particleValue.vMaskingUVMoveTime.x = 0.f; + } + + + //디퓨즈 UV 움직임 + + particleValue.vDiffuseUVMoveTime.x += fTimeDelta; + + if (particleValue.vDiffuseUVMoveTime.x >= particleValue.vDiffuseUVMoveTime.y) + { + particleValue.vDiffuseUVMoveTime.x = 0.f; + } + + //노이즈 움직임 + particleValue.vNoiseUVMoveTime.x += fTimeDelta; + + if (particleValue.vNoiseUVMoveTime.x >= particleValue.vNoiseUVMoveTime.y) + { + particleValue.vNoiseUVMoveTime.x = 0.f; + } + + particleValue.vDistortionUVMoveTime.x += fTimeDelta; + + if (particleValue.vDistortionUVMoveTime.x >= particleValue.vDistortionUVMoveTime.y) + { + particleValue.vDistortionUVMoveTime.x = 0.f; + } + + + //아웃풋 대입 + + g_VBInstanceOutput[iIndex] = particle; + g_ParticleValueOutput[iIndex] = particleValue; + +} diff --git a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl new file mode 100644 index 000000000..e614342ce --- /dev/null +++ b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl @@ -0,0 +1,606 @@ +#include "Engine_Shader_Defines.hlsli" + +matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix; +Texture2D g_DepthTexture; + +int g_iImageCountX; +int g_iImageCountY; + +uint g_iIndexU; +uint g_iIndexV; +uint g_iQuestType; +uint g_iSpellType; + +float g_fPI; +float g_fFar; +float g_fTime; +float g_fTimeMult; +float g_fFrame; +float g_fDeltaU; +float g_fDeltaV; +float g_fAlpha; +float g_fOwnerAlpha; +float g_fCanvasAlpha; +float g_fAngle; +float g_fCoolTime; + +float2 g_fOrigin_Size; +float2 g_fCurrent_Size; + +float4 g_fNine_Slice; + +Texture2D g_Texture; +Texture2D g_Texture1; +Texture2D g_Texture2; +Texture2D g_DiffuseTexture; +Texture2D g_MaskingTexture; + + +struct VS_IN +{ + float3 vPosition : POSITION; + float2 vTexcoord : TEXCOORD0; +}; + +struct VS_OUT +{ + float4 vPosition : SV_Position; + float2 vTexcoord : TEXCOORD0; +}; + +VS_OUT VS_MAIN(VS_IN In) +{ + VS_OUT Out; + + + matrix matWV, matWVP; + matWV = mul(g_WorldMatrix, g_ViewMatrix); + matWVP = mul(matWV, g_ProjMatrix); + + Out.vPosition = mul(vector(In.vPosition, 1.f), matWVP); + Out.vTexcoord = In.vTexcoord; + + return Out; +} + +struct PS_IN +{ + float4 vPosition : SV_Position; + float2 vTexcoord : TEXCOORD0; +}; + +struct PS_OUT +{ + float4 vColor : SV_Target0; +}; + +PS_OUT PS_MAIN(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + float4 Color = g_Texture.Sample(DefaultSampler, In.vTexcoord); + + if (Color.a <= 0.1f) + discard; + + Color.a *= Alpha; + Out.vColor = Color; + return Out; +} + +PS_OUT PS_AlphaBlend(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float4 Color = g_Texture.Sample(DefaultSampler, In.vTexcoord); + + Color.a *= Alpha; + Out.vColor = Color; + + return Out; +} + +PS_OUT PS_Clamp(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float4 Color = g_Texture.Sample(DefaultSampler, In.vTexcoord); + + Color.a *= Alpha; + Out.vColor = Color; + + return Out; +} + +PS_OUT PS_Cursor(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float4 Color = float4(0.f, 0.f, 0.f, 0.f); + float4 White = float4(1.f, 1.f, 1.f, 1.f); + + float2 UV = In.vTexcoord; + float2 Center = float2(0.5f, 0.5f); + + float CW = -g_fTime; + float CCW = g_fTime; + + float2 RedCircle = UV; + float2 RedUV = UV - Center; + + RedCircle.x = RedUV.x * cos(CCW) - RedUV.y * sin(CCW); + RedCircle.y = RedUV.x * sin(CCW) + RedUV.y * cos(CCW); + RedCircle = RedCircle + Center; + + float2 BlueCircle = UV; + float2 BlueUV = UV - Center; + + BlueCircle.x = BlueUV.x * cos(CW) - BlueUV.y * sin(CW); + BlueCircle.y = BlueUV.x * sin(CW) + BlueUV.y * cos(CW); + BlueCircle = BlueCircle + Center; + + + float4 Texture1 = g_Texture.Sample(ClampSampler, RedCircle); + float4 Texture2 = g_Texture2.Sample(ClampSampler, BlueCircle); + + if (Texture1.r >= 0.7f) + Color = Texture1; + + if (Texture2.b >= 0.7f) + Color = Texture2; + + if (all(Color.rgb <= 0.5f)) + discard; + + Color = White; + + Color.a *= Alpha; + + Out.vColor = Color; + + return Out; +} + +PS_OUT PS_Key_Hold_Rotation(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float2 uv = In.vTexcoord; + + float4 tex = g_Texture.Sample(DefaultSampler, uv); + + float2 center = float2(0.5f, 0.5f); + float2 dir = uv - center; + + float angle = atan2(dir.x, -dir.y); + if (angle < 0) + angle += g_fPI; + + float rotation = saturate(g_fTime * g_fTimeMult) * g_fPI; + + tex.rgb = (angle <= rotation) ? 1.0 : tex.rgb; + + tex.a *= Alpha; + + Out.vColor = tex; + + return Out; +} + +PS_OUT PS_Mission(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float4 Color = float4(0.f, 0.f, 0.f, 0.f); + + float4 tex1 = g_Texture.Sample(DefaultSampler, In.vTexcoord); + float4 tex2 = g_Texture1.Sample(DefaultSampler, In.vTexcoord); + + tex1.a *= 0.5f; + + if (tex1.a >= 0.f) + Color = tex1; + + Color = lerp(Color, tex2, tex2.a); + + Color.a *= Alpha; + Out.vColor = Color; + return Out; +} + +PS_OUT PS_Sptire_Sheet(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + float4 Color = float4(0.f, 0.f, 0.f, 0.f); + float2 UV = In.vTexcoord; + + int iTotalFrame = g_iImageCountX * g_iImageCountY; + + uint iCurrentFrame = uint(floor(g_fTime / g_fFrame)) % iTotalFrame; + + int iFrameX = iCurrentFrame % g_iImageCountX; + int iFrameY = iCurrentFrame / g_iImageCountX; + + float fFreamWidth = 1.0 / g_iImageCountX; + float fFreamHeight = 1.0 / g_iImageCountY; + + UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth; + UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight; + + float4 Texture = g_Texture.Sample(DefaultSampler, UV); + + Color = Texture; + + if (Color.r <= 0.4f) + discard; + + Color.a *= Alpha; + + Out.vColor = Color; + + return Out; +} + +PS_OUT PS_QuestType(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + float3 Color = float3(253.f, 207.f, 11.f) / 255.f; + float4 Texture1 = g_Texture.Sample(DefaultSampler, In.vTexcoord); + + if (g_iQuestType == 0) + { + if (Texture1.r >= 0.3f) + { + Texture1.rgb = Color; + } + } + + Texture1.a *= Alpha; + Out.vColor = Texture1; + + return Out; +} + +PS_OUT PS_UVMult(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + float4 color = g_Texture.Sample(DefaultSampler, In.vTexcoord); + + + color.a *= Alpha; + Out.vColor = color; + + return Out; +} + +PS_OUT PS_NineSlice(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + float4 Color = float4(1.f, 1.f, 1.f, 1.f); + float2 uv = In.vTexcoord; + float2 CurrentPixelPosition = uv * g_fCurrent_Size; + float OriginLeft = g_fNine_Slice.x; + float OriginRight = g_fNine_Slice.y; + float OriginTop = g_fNine_Slice.z; + float OriginBottom = g_fNine_Slice.w; + + float CurrentLeft = OriginLeft; + float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight); + float CurrentTop = OriginTop; + float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom); + + float2 Finaluv = In.vTexcoord; + + if (CurrentPixelPosition.x < CurrentLeft) + { + Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x; + } + else if (CurrentPixelPosition.x > CurrentRight) + { + float dist = CurrentPixelPosition.x - CurrentRight; + Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x; + } + else + { + float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft); + Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x); + } + + if (CurrentPixelPosition.y < CurrentTop) + { + Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y; + } + else if (CurrentPixelPosition.y > CurrentBottom) + { + float dist = CurrentPixelPosition.y - CurrentBottom; + Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y; + } + else + { + float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop); + Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y); + } + + float4 tex1 = g_Texture.Sample(ClampSampler, Finaluv); + float4 tex2 = g_Texture1.Sample(ClampSampler, Finaluv); + + tex1.a *= 0.5f; + + if (tex1.a >= 0.f) + Color = tex1; + + Color = lerp(Color, tex2, tex2.a); + + Color.a *= Alpha; + Out.vColor = Color; + return Out; +} + +PS_OUT PS_Rotation(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float4 color = float4(0.f, 0.f, 0.f, 0.f); + + float2 center = float2(0.5f, 0.5f); + float2 uv = In.vTexcoord - center; + uv *= sqrt(2.0f); + float2 Rotation = In.vTexcoord; + Rotation.x = uv.x * cos(g_fAngle) - uv.y * sin(g_fAngle); + Rotation.y = uv.x * sin(g_fAngle) + uv.y * cos(g_fAngle); + Rotation += center; + + float4 tex1 = g_Texture.Sample(ClampSampler, Rotation); + float4 tex2 = g_Texture1.Sample(DefaultSampler, In.vTexcoord); + + tex1.rgb *= 0.4f; + color = tex1; + tex2.rgb *= 0.3f; + + if (tex2.a >= 0.9f) + color = tex2; + + color.a *= Alpha; + + Out.vColor = color; + return Out; + +} + +PS_OUT PS_Slot(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float2 center = float2(0.5f, 0.5f); + float2 uv = In.vTexcoord - center; + uv *= sqrt(2.0f); + float2 Rotation = In.vTexcoord; + Rotation.x = uv.x * cos(g_fAngle) - uv.y * sin(g_fAngle); + Rotation.y = uv.x * sin(g_fAngle) + uv.y * cos(g_fAngle); + Rotation += center; + + float4 color = g_Texture.Sample(ClampSampler, Rotation); + + color.a *= Alpha; + + Out.vColor = color; + + return Out; +} + +PS_OUT PS_SpellAnim(PS_IN In) +{ + PS_OUT Out; + + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float4 color = float4(1.f, 1.f, 1.f, 1.f); + + float3 BGColor = float3(1.f, 1.f, 1.f); + + switch (g_iSpellType) + { + case 0: + BGColor = float3(208.f, 179.f, 54.f) / 255.f; + break; + case 1: + BGColor = float3(89.f, 32.f, 215.f) / 255.f; + break; + case 2: + BGColor = float3(190.f, 46., 34.f) / 255.f; + break; + case 3: + BGColor = float3(37.f, 129.f, 162.f) / 255.f; + break; + case 4: + BGColor = float3(134.f, 171.f, 78.f) / 255.f; + break; + case 5: + BGColor = float3(0.f, 80.f, 55.f) / 255.f; + break; + case 6: + BGColor = float3(0.f, 0.f, 0.f); + break; + } + + float2 uv = In.vTexcoord; + float CoolTime = 1.f - g_fDeltaV; + float CoolTime2 = 1.f - g_fDeltaV + 0.05; + + float4 tex1 = g_Texture.Sample(ClampSampler, uv); + tex1.rgb *= BGColor; + float4 tex2 = g_Texture1.Sample(DefaultSampler, uv); + + if (tex2.a >= 0.9f) + tex1 = tex2; + + color = tex1; + + float wave1 = sin(uv.x * 10.f + g_fTime * 2.f) * 0.01f; + float wave2 = sin(uv.x * 10.f + g_fTime * 2.f) * 0.01f; + + float waveThreshold1 = CoolTime + wave1; + float waveThreshold2 = CoolTime2 + wave2; + + if (g_fDeltaV <= 1.f) + { + if (uv.y >= waveThreshold1 && uv.y <= waveThreshold2) + { + color.rgb = float3(1.f, 1.f, 1.f); + } + } + + if (uv.y <= CoolTime) + { + color.a = 0.f; + } + + color.a *= Alpha; + + Out.vColor = color; + return Out; +} + +technique11 PosTexTechnique11 +{ + pass Default + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_MAIN(); + } + + pass AlphaBlend + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_AlphaBlend(); + } + + pass TextureClamp + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Clamp(); + } + + pass Mouse_Cursor + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Cursor(); + } + + pass Sptire_Sheet + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_UIBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Sptire_Sheet(); + } + + pass Key_Hold_Rotation + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Key_Hold_Rotation(); + } + + pass Mission + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Mission(); + } + + pass QuestType + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_QuestType(); + } + + pass UVMult + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_UVMult(); + } + + pass NineSlice + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_NineSlice(); + } + + pass Rotation + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Rotation(); + } + + pass Slot + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Slot(); + } + + pass SpellAnim + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_SpellAnim(); + } +} diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters index 6ffd06472..d48707800 100644 --- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters +++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters @@ -64,7 +64,16 @@ 03.InfoInstance\02.MapInfo - + + 02.GameObjects\UI\GamePlay_Canvas\Loding_Panel\LoadingWidget + + + 02.GameObjects\UI\GamePlay_Canvas + + + 02.GameObjects\UI\GamePlay_Canvas\Loding_Panel + + 02.GameObjects\Player @@ -287,6 +296,27 @@ {413e6692-6e4a-4b00-8306-edf652bd876a} + + {c152f9ff-2525-4b4b-938c-5818f8d65a40} + + + {b819d017-f55f-4e1d-9c09-127a00b7ff57} + + + {7f5280a9-3955-40ab-bde5-ef52acc0512f} + + + {4791d5ef-35cd-494d-8c39-bcca14488323} + + + {9d92d05f-697c-4437-a44a-b82e54255bcc} + + + {f19404dc-7bc1-4d89-9c4a-72959db5a701} + + + {f7f22fc0-0e66-4e6e-a60a-0c612d58d802} + {be963729-ed65-4506-82f2-24213f5ecf5a} @@ -406,6 +436,15 @@ 03.InfoInstance\02.MapInfo + + 02.GameObjects\UI\GamePlay_Canvas\Loding_Panel\LoadingWidget + + + 02.GameObjects\UI\GamePlay_Canvas + + + 02.GameObjects\UI\GamePlay_Canvas\Loding_Panel + 02.GameObjects\Player diff --git a/Jusin154_Team3D/Client/Private/GamePlay_Canvas.cpp b/Jusin154_Team3D/Client/Private/GamePlay_Canvas.cpp new file mode 100644 index 000000000..32fafc0cd --- /dev/null +++ b/Jusin154_Team3D/Client/Private/GamePlay_Canvas.cpp @@ -0,0 +1,160 @@ +#include "pch.h" +#include "GamePlay_Canvas.h" +#include "GameInstance.h" +//#include "Mission_Panel.h" +//#include "MiniMap_Panel.h" +#include "Loading_Panel.h" +//#include "Action_Panel.h" +//#include "Mouse_Cursor.h" + +CGamePlay_Canvas::CGamePlay_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + :CCanvasObject(pDevice, pContext) +{ +} + +CGamePlay_Canvas::CGamePlay_Canvas(const CGamePlay_Canvas& rhs) + :CCanvasObject(rhs) +{ +} + + +HRESULT CGamePlay_Canvas::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CGamePlay_Canvas::Initialize(void* pArg) +{ + CUIObject::UIOBJECT_DESC Desc{}; + + Desc.fX = 0.f; + Desc.fY = 0.f; + Desc.fSizeX = 1920.f; + Desc.fSizeY = 1080.f; + + if (FAILED(__super::Initialize(&Desc))) + { + return E_FAIL; + } + if (FAILED(Ready_Components(pArg))) + { + return E_FAIL; + } + if (FAILED(Ready_Panel(pArg))) + { + return E_FAIL; + } + m_bVisible = true; + m_bActive = true; + return S_OK; +} + +void CGamePlay_Canvas::Priority_Update(_float fTimeDelta) +{ + __super::Priority_Update(fTimeDelta); +} + +void CGamePlay_Canvas::Update(_float fTimeDelta) +{ + __super::Update(fTimeDelta); +} + +void CGamePlay_Canvas::Late_Update(_float fTimeDelta) +{ + if (m_bVisible) { + + } + __super::Late_Update(fTimeDelta); +} + +HRESULT CGamePlay_Canvas::Render() +{ + return S_OK; +} + +_vector CGamePlay_Canvas::Get_WorldPostion() +{ + return m_pTransformCom->Get_State(STATE::POSITION); +} + +HRESULT CGamePlay_Canvas::Bind_ShaderResources() +{ + return S_OK; +} + +HRESULT CGamePlay_Canvas::Ready_Components(void* pArg) +{ + return S_OK; +} + +HRESULT CGamePlay_Canvas::Ready_Panel(void* pArg) +{ + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pLoading_Panel)))) + { + return E_FAIL; + } + Add_Panel(TEXT("LoadingPanel"), m_pLoading_Panel); + + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pMinimap_Panel)))) + //{ + // return E_FAIL; + //} + //Add_Panel(TEXT("MinimapPanel"), m_pMinimap_Panel); + + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pMission_Panel)))) + //{ + // return E_FAIL; + //} + //Add_Panel(TEXT("MissionPanel"), m_pMission_Panel); + + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pAction_Panel)))) + //{ + // return E_FAIL; + //} + //Add_Panel(TEXT("ActionPanel"), m_pAction_Panel); + + + return S_OK; +} + +void CGamePlay_Canvas::Clear_Penel() +{ +} + +CGamePlay_Canvas* CGamePlay_Canvas::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CGamePlay_Canvas* pInstance = new CGamePlay_Canvas(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CGamePlay_Canvas"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CGamePlay_Canvas::Clone(void* pArg, CGameObject* pOwner) +{ + CGamePlay_Canvas* pInstance = new CGamePlay_Canvas(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CGamePlay_Canvas"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CGamePlay_Canvas::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pLoading_Panel); + SAFE_RELEASE(m_pVIBufferCom); +} + +void CGamePlay_Canvas::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index c089be113..a3201bcad 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -5,6 +5,7 @@ #include "Light_Main.h" #include "Camera_Debug.h" #include "InfoInstance.h" +#include "GamePlay_Canvas.h" #include "Layer.h" #include "Player.h" #include "SkyBox.h" @@ -84,6 +85,10 @@ HRESULT CLevel_GamePlay::Ready_Lights() HRESULT CLevel_GamePlay::Ready_Layer_UI(const _wstring& strLayerTag) { + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::STATIC), NEXT_LEVEL, LAYER_UI))) { + // return E_FAIL; + //} + return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 5afa6f641..35efbe1b8 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -4,6 +4,9 @@ #include "MainApp.h" #include "Light_Main.h" #include "Camera_Debug.h" +//#include "GamePlay_Canvas.h" +//#include "Loading_Panel.h" +//#include "LoadingWidget.h" #include "Player.h" #include "Camera_Gaze.h" @@ -118,6 +121,11 @@ HRESULT CLoader::Loading_For_GamePlay() { m_strMessage = TEXT("텍스쳐를(을) 로딩 중 입니다."); + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("LoadingWidget"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/Loading/LoadingWidget.png"), 0)))) { + return E_FAIL; + } + m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다."); if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_MESH, @@ -134,6 +142,14 @@ HRESULT CLoader::Loading_For_GamePlay() m_strMessage = TEXT("모델를(을) 로딩 중 입니다."); + m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다."); + + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, FX_UIEDITOR, + CShader::Create(m_pDevice, m_pContext, TEXT("../Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl"), + VTXPOSTEX::Elements, VTXPOSTEX::iNumElements)))) { + return E_FAIL; + } + // Heavy Wall CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{}; { @@ -184,12 +200,20 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; - - m_strMessage = TEXT("이펙트를(을) 로딩 중 입니다."); m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다."); + //if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CGamePlay_Canvas::Create(m_pDevice, m_pContext)))) { + // return E_FAIL; + //} + //if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CLoading_Panel::Create(m_pDevice, m_pContext)))) { + // return E_FAIL; + //} + //if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CLoadingWidget::Create(m_pDevice, m_pContext)))) { + // return E_FAIL; + //} + /* For.Prototype_GameObject_SkyBox */ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CSkyBox::Create(m_pDevice, m_pContext)))) return E_FAIL; diff --git a/Jusin154_Team3D/Client/Private/LoadingWidget.cpp b/Jusin154_Team3D/Client/Private/LoadingWidget.cpp new file mode 100644 index 000000000..f1edb4509 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/LoadingWidget.cpp @@ -0,0 +1,249 @@ +#include "pch.h" +#include "LoadingWidget.h" +#include "GameInstance.h" + +CLoadingWidget::CLoadingWidget(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + :CElementObject(pDevice, pContext) +{ +} + +CLoadingWidget::CLoadingWidget(const CLoadingWidget& rhs) + :CElementObject(rhs) +{ +} + +HRESULT CLoadingWidget::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CLoadingWidget::Initialize(void* pArg) +{ + CUIObject::UIOBJECT_DESC Desc{}; + + Desc.fX = 600.f; + Desc.fY = 0.f; + Desc.fSizeX = 200.f; + Desc.fSizeY = 200.f; + + m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) }; + + if (FAILED(__super::Initialize(&Desc))) + { + return E_FAIL; + } + if (FAILED(Ready_Components(pArg))) + { + return E_FAIL; + } + + m_iImageFrameX = 6; + m_iImageFrameY = 6; + m_fFrame = 0.2f; + m_fTimeMult = 3.f; + m_fDelayTime = 1.f; + m_fEndTime = 1.8f; + m_fAlpha = 1.f; + m_fAlphaTime = 3.f; + m_fMoveSpeed = 10.f; + m_bVisible = true; + m_bActive = true; + return S_OK; +} + +void CLoadingWidget::Priority_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + __super::Priority_Update(fTimeDelta); +} + +void CLoadingWidget::Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + + if (m_bFadeIn == true) + { + if (m_fAlpha <= 1.f) + m_fAlpha += fTimeDelta * m_fAlphaTime; + + if (m_fAlpha >= 1.f) + { + m_bFadeIn = false; + m_fAlpha = 1.f; + } + } + + if (m_bFadeOut == true) + { + if (m_fAlpha >= 0.f) + m_fAlpha -= fTimeDelta; + + if (m_fAlpha <= 0.f) + { + m_bFadeOut = false; + m_fAlpha = 0.f; + } + } + if (m_bLerpOn == true) + { + Start_Lerp(m_fMoveSpeed); + } + + if (m_bLerpOff == true) + { + Reset_Pos(m_fMoveSpeed); + } + m_fTime += fTimeDelta * m_fTimeMult; + __super::Update(fTimeDelta); +} + +void CLoadingWidget::Late_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + if (m_bVisible) { + m_pGameInstance->Add_RenderGroup(RENDER::UI, this); + __super::Late_Update(fTimeDelta); + } +} + +HRESULT CLoadingWidget::Render() +{ + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::LODING)))) { + return E_FAIL; + } + if (FAILED(m_pVIBufferCom->Bind_Resources())) { + return E_FAIL; + } + if (FAILED(m_pVIBufferCom->Render())) { + return E_FAIL; + } + + return S_OK; +} + +_vector CLoadingWidget::Get_WorldPostion() +{ + return m_pTransformCom->Get_State(STATE::POSITION); +} + +HRESULT CLoadingWidget::Bind_ShaderResources() +{ + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix))) + { + return E_FAIL; + } + if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTime, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFrame", &m_fFrame, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_iImageCountX", &m_iImageFrameX, sizeof(_int)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_iImageCountY", &m_iImageFrameY, sizeof(_int)))) + { + return E_FAIL; + } + return S_OK; +} + +HRESULT CLoadingWidget::Ready_Components(void* pArg) +{ + if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::STATIC), TEXT("LoadingWidget"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr))) + { + return E_FAIL; + } + + return S_OK; +} + +CLoadingWidget* CLoadingWidget::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CLoadingWidget* pInstance = new CLoadingWidget(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CLoadingWidget"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CLoadingWidget::Clone(void* pArg, CGameObject* pOwner) +{ + CLoadingWidget* pInstance = new CLoadingWidget(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CLoadingWidget"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CLoadingWidget::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pDiffuse_TextureCom); + SAFE_RELEASE(m_pShaderCom); + SAFE_RELEASE(m_pVIBufferCom); +} + +void CLoadingWidget::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Private/Loading_Panel.cpp b/Jusin154_Team3D/Client/Private/Loading_Panel.cpp new file mode 100644 index 000000000..935aa9b33 --- /dev/null +++ b/Jusin154_Team3D/Client/Private/Loading_Panel.cpp @@ -0,0 +1,155 @@ +#include "pch.h" +#include "Loading_Panel.h" +#include "GameInstance.h" +#include "LoadingWidget.h" +//#include "LoadingWidget_Flame.h" + +CLoading_Panel::CLoading_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + :CPanelObject(pDevice, pContext) +{ +} + +CLoading_Panel::CLoading_Panel(const CLoading_Panel& rhs) + :CPanelObject(rhs) +{ +} + +HRESULT CLoading_Panel::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CLoading_Panel::Initialize(void* pArg) +{ + CUIObject::UIOBJECT_DESC Desc{}; + + Desc.fX = 1200.f; + Desc.fY = 900.f; + Desc.fSizeX = 1515.f; + Desc.fSizeY = 300.f; + + + if (FAILED(__super::Initialize(&Desc))) + { + return E_FAIL; + } + if (FAILED(Ready_Components(pArg))) + { + return E_FAIL; + } + if (FAILED(Ready_Element(pArg))) + { + return E_FAIL; + } + m_bVisible = true; + m_bActive = true; + return S_OK; +} + +void CLoading_Panel::Priority_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + __super::Priority_Update(fTimeDelta); +} + +void CLoading_Panel::Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + + __super::Update(fTimeDelta); +} + +void CLoading_Panel::Late_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + __super::Late_Update(fTimeDelta); +} + +HRESULT CLoading_Panel::Render() +{ + return S_OK; +} + +_vector CLoading_Panel::Get_WorldPostion() +{ + return m_pTransformCom->Get_State(STATE::POSITION); +} + +HRESULT CLoading_Panel::Bind_ShaderResources() +{ + + return S_OK; +} + +HRESULT CLoading_Panel::Ready_Components(void* pArg) +{ + + if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) + { + return E_FAIL; + } + + return S_OK; +} + +HRESULT CLoading_Panel::Ready_Element(void* pArg) +{ + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pLoadingWidget)))) + { + return E_FAIL; + } + Add_Element(TEXT("LoadingWidget"), m_pLoadingWidget); + //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pLoadingWidget_Flame)))) + //{ + // return E_FAIL; + //} + //Add_Element(TEXT("LoadingWidget_Flame"), m_pLoadingWidget_Flame); + + return S_OK; +} + +CLoading_Panel* CLoading_Panel::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CLoading_Panel* pInstance = new CLoading_Panel(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CLoading_Panel"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CLoading_Panel::Clone(void* pArg, CGameObject* pOwner) +{ + CLoading_Panel* pInstance = new CLoading_Panel(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CLoading_Panel"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CLoading_Panel::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pVIBufferCom); +} + +void CLoading_Panel::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Client/Public/GamePlay_Canvas.h b/Jusin154_Team3D/Client/Public/GamePlay_Canvas.h new file mode 100644 index 000000000..5a0fc94e8 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/GamePlay_Canvas.h @@ -0,0 +1,50 @@ +#pragma once + +#include "Client_Define.h" +#include "CanvasObject.h" + +NS_BEGIN(Engine) +class CGameObject; +NS_END + +NS_BEGIN(Client) + +class CGamePlay_Canvas final : public CCanvasObject +{ +private: + CGamePlay_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CGamePlay_Canvas(const CGamePlay_Canvas& rhs); + virtual ~CGamePlay_Canvas() = default; + +public: + virtual void Priority_Update(_float fTimeDelta); + virtual void Update(_float fTimeDelta); + virtual void Late_Update(_float fTimeDelta); + virtual HRESULT Render() override; + virtual _vector Get_WorldPostion() override; + +private: + virtual HRESULT Bind_ShaderResources() override; + virtual HRESULT Ready_Components(void* pArg) override; + virtual HRESULT Ready_Panel(void* pArg) override; + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + +public: + void Clear_Penel(); + +private: + CVIBuffer_Rect* m_pVIBufferCom = { nullptr }; + CGameObject* m_pMission_Panel = { nullptr }; + CGameObject* m_pMinimap_Panel = { nullptr }; + CGameObject* m_pLoading_Panel = { nullptr }; + CGameObject* m_pAction_Panel = { nullptr }; + +public: + static CGamePlay_Canvas* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; + virtual void Free() override; + void Describe_Entity() override; +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/LoadingWidget.h b/Jusin154_Team3D/Client/Public/LoadingWidget.h new file mode 100644 index 000000000..bf53b9206 --- /dev/null +++ b/Jusin154_Team3D/Client/Public/LoadingWidget.h @@ -0,0 +1,44 @@ +#pragma once + +#include "Client_Define.h" +#include "ElementObject.h" + +NS_BEGIN(Client) + +class CLoadingWidget final : public CElementObject +{ +private: + CLoadingWidget(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CLoadingWidget(const CLoadingWidget& rhs); + virtual ~CLoadingWidget() = default; + +public: + virtual void Priority_Update(_float fTimeDelta); + virtual void Update(_float fTimeDelta); + virtual void Late_Update(_float fTimeDelta); + virtual HRESULT Render() override; + virtual _vector Get_WorldPostion() override; + + +private: + virtual HRESULT Bind_ShaderResources() override; + virtual HRESULT Ready_Components(void* pArg) override; + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + +private: + CTexture* m_pDiffuse_TextureCom = { nullptr }; + CShader* m_pShaderCom = { nullptr }; + CVIBuffer_Rect* m_pVIBufferCom = { nullptr }; + + _int m_iImageFrameX{}; + _int m_iImageFrameY{}; + _float m_fFrame{}; +public: + static CLoadingWidget* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; + virtual void Free() override; + void Describe_Entity() override; +}; + +NS_END diff --git a/Jusin154_Team3D/Client/Public/Loading_Panel.h b/Jusin154_Team3D/Client/Public/Loading_Panel.h new file mode 100644 index 000000000..f1b195fde --- /dev/null +++ b/Jusin154_Team3D/Client/Public/Loading_Panel.h @@ -0,0 +1,46 @@ +#pragma once + +#include "Client_Define.h" +#include "PanelObject.h" + +NS_BEGIN(Engine) +class CGameObject; +NS_END + +NS_BEGIN(Client) + +class CLoading_Panel final : public CPanelObject +{ +private: + CLoading_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CLoading_Panel(const CLoading_Panel& rhs); + virtual ~CLoading_Panel() = default; + +public: + virtual void Priority_Update(_float fTimeDelta); + virtual void Update(_float fTimeDelta); + virtual void Late_Update(_float fTimeDelta); + virtual HRESULT Render() override; + virtual _vector Get_WorldPostion() override; + +private: + virtual HRESULT Bind_ShaderResources() override; + virtual HRESULT Ready_Components(void* pArg) override; + virtual HRESULT Ready_Element(void* pArg) override; + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + +private: + CVIBuffer_Rect* m_pVIBufferCom = { nullptr }; + CGameObject* m_pLoadingWidget = { nullptr }; + CGameObject* m_pLoadingWidget_Flame = { nullptr }; + + +public: + static CLoading_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; + virtual void Free() override; + void Describe_Entity() override; +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BasicParticle2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BasicParticle2.bin index 6183fa29e..8905548cc 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BasicParticle2.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BasicParticle2.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2555c12dba2f21a7e6665e808215b101554346d4d4188a0492e820092cb14977 -size 606 +oid sha256:0bddaec7c43953cf48b607de04044f826d0b938d3a8febd4c3412e60cdc219d3 +size 754 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BlustParticle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BlustParticle.bin index a846374c5..68c274b11 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BlustParticle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BlustParticle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:78c6852c3ec3ad9c51c2d509e16ec3304fbd98540971931caeab1f1bc68c0697 -size 606 +oid sha256:6527034abc9bec6aeb549613fe9005b652e5dc454b968fa814663439c2dc5cea +size 707 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Circle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Circle0.bin new file mode 100644 index 000000000..df3d71cf2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Circle0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00d283741ea12a585fbea22dce225faccd6387d835dcead66b2f5e3396ac5ef0 +size 807 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Circle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Circle1.bin new file mode 100644 index 000000000..fe8911802 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Circle1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6be7b1f059c23cc86d6492b9adc0e23a486c914523114bef806c6740e0439ab8 +size 756 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Explosion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Explosion.bin new file mode 100644 index 000000000..926ec86a8 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Explosion.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a805244677b5601cd024802b35b456a379c931285b6b4056231ebc1fcb511b40 +size 750 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_0.bin new file mode 100644 index 000000000..508558701 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a13f34f5fa1739da81aaa652d0aa0528c552b45739fd7a1688a3a677c26af3f +size 707 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_1.bin new file mode 100644 index 000000000..eb63deff2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8341c87c732cb69671bc7bcbc4e8d0d4173c8ab2115967144626e8b92f1650e1 +size 707 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_2.bin new file mode 100644 index 000000000..b5bfbbb96 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79b814bffb0445f8cbddddcd299673df2c15bf469175a1e47f953a711dbf5142 +size 707 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_3.bin new file mode 100644 index 000000000..e7117e0b0 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_PT_3.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45b640a0bbb2ea7b5b63fc88d9995c916897f102446c28b06f534348bd1ca80f +size 707 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Projectile.bin new file mode 100644 index 000000000..1dc1e4f83 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Projectile.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6a2393e330944b0ee49c639fe99ea6164989ceccc597e48e84551b1d64375d8 +size 788 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Smoke.bin new file mode 100644 index 000000000..be3c2b23e --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard_Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65218dbabefd07543025bba00c4bee0617bee83b98de57c9844547781372bf19 +size 705 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/FireProjectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/FireProjectile.bin deleted file mode 100644 index 200c53dfb..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/FireProjectile.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bdb7c592a817c35876780fe2dab7490ec8c5849e3e952abe27a67da358111e0e -size 636 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ice.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ice.bin deleted file mode 100644 index edd508f8f..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ice.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35cd480b8bfa4770b41f97451a691de39f33b5a985890648f18daacf4cc348c7 -size 529 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapImpact.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapImpact.bin index 105617a53..759f7f1d3 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapImpact.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapImpact.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:828c5c1282287b21341ca4cc866b70f4507da74bcfef21e80f56c1ed0c97a327 -size 659 +oid sha256:a6b892cfdd0a8aef117fb7a4afc7089653666870c2e1d23c520824963387f5bd +size 807 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapLight.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapLight.bin new file mode 100644 index 000000000..6e3ead7ee --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapLight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3213bb3a0a08e1d868afc52ec304493e5111271f7661c8db56ce9eb641cde6c4 +size 752 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapParticle1.bin new file mode 100644 index 000000000..458c4302c --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapParticle1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90dc0962c1416a37debe58bc5b44d8697872f7e9a01fe4585565354517595f3f +size 700 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapProjectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapProjectile.bin index c5fcd5952..87689f225 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapProjectile.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapProjectile.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f4a18da098b58c4f873061ac055c96293ea49b224c2399554f6b66e75fed9e8a -size 642 +oid sha256:f5839f16366a626c1e4b91b7e49c71e28e0aad4cfdf649a2e54329aa0413f087 +size 790 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapProjectile2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapProjectile2.bin new file mode 100644 index 000000000..55326b2b2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/JapProjectile2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7f3086b12947b00771ddb624c4e89b20cec830c1ddb9eafa1e74de28a5058d0 +size 747 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectile1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectile1.bin index d0836eddc..df6a48467 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectile1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectile1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0176747fde1a4de3b5993b84176737660b36aec02e85c4e17a14ce87cfd30f5e -size 595 +oid sha256:e447fb46c0fe49c8acc0061ee4b8cf68bdb59c63ee314c9b02a37d5309ac0406 +size 743 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectile2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectile2.bin index 40b1db580..2fe8b6abc 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectile2.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectile2.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:be6c55af6431d3dc243574715c75817a5e42690c33bc08fbf72f692cf0de4fb7 -size 605 +oid sha256:a6c04308bbd7dfa71570413576d4f66de96fb6269307201396c9794923c68fb2 +size 753 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectileCircle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectileCircle1.bin index 35a738020..16f0fd880 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectileCircle1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectileCircle1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:66d01cfcb231ffc12115f17e77894ddfe1cd179c5d16c7613fd689a7ddc05cb2 -size 550 +oid sha256:cfea59a237f53e73b02cb6623ab2cd0120f1f586aee6921f4bc570086fc065ef +size 698 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectileMiddle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectileMiddle.bin index 9c6a67e85..c271186f7 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectileMiddle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LightProjectileMiddle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0e75c29761f461e275e42fb74cf608a11b31c76d0e1d504cf7926a1b9211db74 -size 607 +oid sha256:bf9deea4ae9b01a688785bedf0d08a1179a32af2f0ceaa7020cf7b71749b85e5 +size 755 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MagicProjectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MagicProjectile.bin deleted file mode 100644 index 78a0bf3a2..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MagicProjectile.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a6a790f7299ea457a56c0c9a711e3b10ed2905eb86a10946be78704305a09cc -size 634 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Bombard.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Bombard.bin new file mode 100644 index 000000000..34de99318 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Bombard.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea5f0901fe1f61804ff823cc87eca481d0c8572ef56dc3d0e33fa53316b3245d +size 236 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Jap2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Jap2.bin new file mode 100644 index 000000000..4bf1f68b3 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Jap2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6091a75b6a0306f07a76699af2d033104315ec52205cdfdd3f633cd9a36ea77d +size 174 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Jap3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Jap3.bin new file mode 100644 index 000000000..20aafc905 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Jap3.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58315360932a699e60721381028c74c9e28f29dd38e8ceaf0c501ee056d7bf0c +size 228 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Smoke0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Smoke0.bin deleted file mode 100644 index 070ef03e6..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Smoke0.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:642666d3fbe73ddb73f32e1d8647b81b79d90fe2cd00fbb315f117b546194fc8 -size 606 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Smoke1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Smoke1.bin new file mode 100644 index 000000000..cdf2e890b --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Smoke1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15e844a209069d289f4e267e6045fa6887257681163d5b146c97be76fa062db8 +size 752 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin index f12d2d4ac..38bf119a0 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9e94f9b76f314c1d3b6537ac73ab2035247c6cff7cca94ba355313569eba2d3 -size 642 +oid sha256:efe9a30cc81959dd7133ce0bb6276ac5b92eb16e2f1e154832623b9bd5965b90 +size 747 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BasicParticle2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BasicParticle2.bin index d3e2ee6f1..668d54bb0 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BasicParticle2.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BasicParticle2.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a1b8dbceb9ca07dc22e4737226a682a7a8db90860fe75ee7451d90ba30941797 -size 606 +oid sha256:92d5aa0adaad0ee75c2344d15eed70744786932153fb53f219efd2835764d29e +size 746 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BlustParticle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BlustParticle.bin index 11d068b9d..7d64ccea8 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BlustParticle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/BlustParticle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:632fe36b935690a2838c92bb8be312d5d763a171423cae41e99dcfd8ba0bd445 -size 606 +oid sha256:9d4184e9553e467b77c5466e0cedd9f00168ffed4aea52c07053aa9a7ed03096 +size 699 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Circle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Circle0.bin new file mode 100644 index 000000000..7c5ef33f2 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Circle0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5706ffe31f04c0bee3e089e4f239a76fb67bd1237fb22ba8cd01a6fc7e9d17e +size 799 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Explosion.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Explosion.bin new file mode 100644 index 000000000..3774f7ca0 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Explosion.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2893656232894ac1cc91992b9c97bbba75fcb21e69bc5de935141bc147df9b4e +size 742 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_0.bin new file mode 100644 index 000000000..a9904eb23 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_0.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e01d1835e23745c543e00f24fd199d7d89732682bcdddbb23c1ed221bd5bb9eb +size 699 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_1.bin new file mode 100644 index 000000000..c01996bd6 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8336e77446690682b872e84a9b60cdcea71bbd75b808e8d31c1b02483b561d01 +size 699 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_2.bin new file mode 100644 index 000000000..34596452d --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e81d31a047678292fe9d68aabd4cb75590a1816003a8f4cc29d85b6c3ec31a3 +size 699 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_3.bin new file mode 100644 index 000000000..5a0b6a7f3 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_PT_3.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76950f5acde485735c077385f894e217dcfc30dc97d7a21711f2ee149f49b2d3 +size 699 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Projectile.bin new file mode 100644 index 000000000..cca1aabe7 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Projectile.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d41b91c21d40d0c747bf7d7ced3bb1db8a4c6b6fc31893ee7111122170bc40ff +size 780 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Smoke.bin new file mode 100644 index 000000000..1c843fca0 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Bombard_Smoke.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a00327d0f76135b565c06bbf73f38d8afc7b7469b9cf1e66dd3e3f05411f9a6e +size 697 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/FireProjectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/FireProjectile.bin deleted file mode 100644 index 382829e76..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/FireProjectile.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ded4807087aa32efaf780f2466e9bcd25dbf771c61e58eeb30b4ec1fbc9f451 -size 636 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Ice.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Ice.bin deleted file mode 100644 index 7523b1838..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Ice.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba8f4656956e753b0378a2d8f6ce2f8dfa73014e885a59e8890cdedfd28daad2 -size 529 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapImpact.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapImpact.bin index 105617a53..56796e513 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapImpact.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapImpact.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:828c5c1282287b21341ca4cc866b70f4507da74bcfef21e80f56c1ed0c97a327 -size 659 +oid sha256:e7736584a24f1972257417aebda878d3464f37f0da0f27dad48cabd21ff6eca8 +size 799 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapLight.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapLight.bin new file mode 100644 index 000000000..dc1165384 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapLight.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40fd0d79f844262822104ed5e604e072258f29ce6f2be142198273d40d23aecf +size 744 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapParticle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapParticle1.bin new file mode 100644 index 000000000..4f9d56f76 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapParticle1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d115f65e6f5e4603e16248081717cf5b3aceb1112c6368dead4eeafc8b9a16d3 +size 692 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapProjectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapProjectile.bin index 049eb352e..737dcd279 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapProjectile.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapProjectile.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b219de38477c95013742c4d3110c679380c3e147589a067ab8d2aceaeaf0c440 -size 642 +oid sha256:297b79febe8f4107fc34192a3b7ace5f0646bc5049d5c763983bca1828359ce4 +size 782 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapProjectile2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapProjectile2.bin new file mode 100644 index 000000000..bbdae3a81 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/JapProjectile2.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50ff8d62caafa01c666960e0b72737da4bfa8905cce9af90c93229a39adf1854 +size 739 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectile1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectile1.bin index c15925e85..d6d424595 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectile1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectile1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:937ae454ea27b326ccc519afd84314adab8c658009e609f8217c525d26cdfb72 -size 595 +oid sha256:8b015bbe1091e4d524d7c7c637f5a42b931cc00e218d2307b637c6bd2103baf9 +size 735 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectile2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectile2.bin index 5225655a0..9accc766d 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectile2.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectile2.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:51af73356e47c2cfed59bd5d09728335e3cee1311e0790610c68cf86d8f32f83 -size 605 +oid sha256:f1adb0b74c940aa6db942d9a71370cba3a9e095d34ea7b998c89a57e85af686e +size 745 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectileCircle1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectileCircle1.bin index 759a4f369..834552570 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectileCircle1.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectileCircle1.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d81d1f57e021bd726103dbc896bca49c1cfcadac7366ca055b1067b9361132c1 -size 550 +oid sha256:d8646e5b9f972c65252ec77a97a97306cf484918ee3a41f451ef2e33c9a37fef +size 690 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectileMiddle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectileMiddle.bin index 68b463e39..0847cebf5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectileMiddle.bin +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/LightProjectileMiddle.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:26f5717dbfd5055a0b606134b5dd343e3f77bc02c3acfb3bbf50d3ecc1015bfd -size 607 +oid sha256:e4b6c8694927adf82c81db8733687eea942c26557bad8b4c23cea43aa067c84d +size 747 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/MagicProjectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/MagicProjectile.bin deleted file mode 100644 index ce9742895..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/MagicProjectile.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7806c0cc6f06d1b5dde93aeb8da7b7e36ead2684b56d9697d445c4e1781bd975 -size 634 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Projectile0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Projectile0.bin deleted file mode 100644 index 9119bfe76..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Projectile0.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b72b06e1ce45740d09f46a051b0f99a4aaa53f057af0bc8ffbd74b78cd18b6f -size 633 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Smoke0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Smoke0.bin deleted file mode 100644 index 070ef03e6..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Smoke0.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:642666d3fbe73ddb73f32e1d8647b81b79d90fe2cd00fbb315f117b546194fc8 -size 606 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Smoke1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Smoke1.bin new file mode 100644 index 000000000..f13f07f59 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Smoke1.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f303dd4a3616b41c4a2dc5838d28579af68dab52871503cb3f90bf03e81877d +size 744 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Test.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Test.bin new file mode 100644 index 000000000..a2d043337 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/Test.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac035576a895f825fa0b0f35847cc45849d20accf2cdf7b40354da6761793b40 +size 739 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/TrailTest.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/TrailTest.bin deleted file mode 100644 index a727116fa..000000000 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/임시공간/TrailTest.bin +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a855f032a53ad0b5a1efd023bb02e4ffa10df3deeced2e5fd049a15615adfefc -size 550 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/ContainerTest.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/ContainerTest.xml index 7ef8c42bd..8a7a58cf0 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/ContainerTest.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/ContainerTest.xml @@ -3608,4 +3608,158 @@ + + + + + + Prototype_GameObject_SM_HM_Streets_Hogshead + + + + + + Prototype_GameObject_SM_HM_Streets_A + + + + + + Prototype_GameObject_SM_HM_Streets_B + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_A + Prototype_GameObject_SM_HM_Streets_SideStreet_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_B + Prototype_GameObject_SM_HM_Streets_SideStreet_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_C + Prototype_GameObject_SM_HM_Streets_SideStreet_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Stairwalls_3Broomsticks + + + + + + Prototype_GameObject_SM_HM_LowerHiStreet_Zonkos + + + + + + Prototype_GameObject_SM_HM_Streets_AA_COL + Prototype_GameObject_SM_HM_Streets_AA_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_BB_COL + Prototype_GameObject_SM_HM_Streets_BB_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_CC_COL + Prototype_GameObject_SM_HM_Streets_CC_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_DD_COL + Prototype_GameObject_SM_HM_Streets_DD_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_EE_COL + Prototype_GameObject_SM_HM_Streets_EE_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_FF_COL + Prototype_GameObject_SM_HM_Streets_FF_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_GG_COL + Prototype_GameObject_SM_HM_Streets_GG_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_HH_COL + Prototype_GameObject_SM_HM_Streets_HH_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_A_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_A_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_B_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_B_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_C_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_C_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_D_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_D_COL_Lod1 + + + + + + Prototype_GameObject_SM_HW_Streets_SideStreet_E_COL + Prototype_GameObject_SM_HW_Streets_SideStreet_E_COL_Lod1 + + + + + + Prototype_GameObject_SM_HW_Streets_SideStreet_F_COL + Prototype_GameObject_SM_HW_Streets_SideStreet_F_COL_Lod1 + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1117.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1117.xml new file mode 100644 index 000000000..42aac7cd4 --- /dev/null +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Map1117.xml @@ -0,0 +1,3604 @@ + + + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Chimney + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Chimney_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_A + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod2 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_B + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Decals + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_QR_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_Ext_Wall_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_A + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod2 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_window_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_A + + + + + + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod1 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod2 + Prototype_GameObject_SM_HM_BLDG_Ollivanders_ext_woodtrim_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_KL_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On + Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Trim + Prototype_GameObject_SM_HM_Ollivanders_Int_Trim_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_Int_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_ext_Display_Window_Blocker + Prototype_GameObject_SM_HM_Ollivanders_ext_Display_Window_Blocker_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Floors + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Counter + Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_Int_Counter_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_H_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Walls + Prototype_GameObject_SM_HM_Ollivanders_Int_Walls_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On + Prototype_GameObject_SM_HM_Ollivanders_Int_WallShelf_Add_On_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim + Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_Int_Window_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_AC_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_Bay_Windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_DJ_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_EG_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_FG_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_MN_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod2 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_P_Lod3 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WandBox_Set_S_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit + Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit_Lod1 + Prototype_GameObject_SM_HM_Ollivanders_WallShelf_Int_kit_Lod2 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_B + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A + Prototype_GameObject_SM_HM_Ollivanders_Railing_Post_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_EXT_APL_COL + Prototype_GameObject_SM_HM_Ollivanders_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_EXT_PL_COL + Prototype_GameObject_SM_HM_Ollivanders_EXT_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Ollivanders_EXT_Stairs_COL_Ramp + + + + + + Prototype_GameObject_SM_HM_Ollivanders_EXT_Stairs_COL_Steps + + + + + + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_ext_entrance + Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod1 + Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod2 + Prototype_GameObject_SM_HM_TScrolls_ext_entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_OutsideStairPlatform + Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod1 + Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod2 + Prototype_GameObject_SM_HM_OutsideStairPlatform_Lod3 + + + + + + Prototype_GameObject_SM_HM_TScrolls_ext_chimneys + Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod1 + Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod2 + Prototype_GameObject_SM_HM_TScrolls_ext_chimneys_Lod3 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds + Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Front_Door_Surrounds_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Blocker + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Display + Prototype_GameObject_SM_HM_TScrolls_Ext_Bay_Window_Display_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_ext_decals + Prototype_GameObject_SM_HM_TScrolls_ext_decals_Lod1 + Prototype_GameObject_SM_HM_TScrolls_ext_decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod2 + Prototype_GameObject_SM_HM_TScrolls_Ext_Roof_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Steps_Base + Prototype_GameObject_SM_HM_TScrolls_Ext_Steps_Base_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Trim + Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod2 + Prototype_GameObject_SM_HM_TScrolls_Ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Walls + Prototype_GameObject_SM_HM_TScrolls_Ext_Walls_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Windows + Prototype_GameObject_SM_HM_TScrolls_Ext_Windows_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_ext_window_glass + Prototype_GameObject_SM_HM_TScrolls_ext_window_glass_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Ext_Wood_Caps + Prototype_GameObject_SM_HM_TScrolls_Ext_Wood_Caps_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Sign_Base + Prototype_GameObject_SM_HM_TScrolls_Sign_Base_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Sign_Base_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor + Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor_Lod1 + Prototype_GameObject_SM_HM_TScrolls_Sign_Anchor_Lod2 + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_APL_COL + Prototype_GameObject_SM_HM_TScrolls_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_A_PL_COL + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_B_PL_COL + Prototype_GameObject_SM_HM_TScrolls_EXT_B_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_C_PL_COL + + + + + + Prototype_GameObject_SM_HM_TScrolls_EXT_Platform_PL_COL + + + + + + Prototype_GameObject_SM_HM_Tscrolls_EXT_Stairs_COL + + + + + + + + + + + Prototype_GameObject_SM_HM_LowerHiStreet_Zonkos + + + + + + Prototype_GameObject_SM_HM_Streets_Hogshead + + + + + + Prototype_GameObject_SM_HM_Streets_A + + + + + + Prototype_GameObject_SM_HM_Streets_B + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_A + Prototype_GameObject_SM_HM_Streets_SideStreet_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_B + Prototype_GameObject_SM_HM_Streets_SideStreet_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_C + Prototype_GameObject_SM_HM_Streets_SideStreet_C_Lod1 + + + + + + Prototype_GameObject_SM_HM_Stairwalls_3Broomsticks + + + + + + Prototype_GameObject_SM_HM_Streets_AA_COL + Prototype_GameObject_SM_HM_Streets_AA_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_BB_COL + Prototype_GameObject_SM_HM_Streets_BB_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_CC_COL + Prototype_GameObject_SM_HM_Streets_CC_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_DD_COL + Prototype_GameObject_SM_HM_Streets_DD_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_EE_COL + Prototype_GameObject_SM_HM_Streets_EE_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_FF_COL + Prototype_GameObject_SM_HM_Streets_FF_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_GG_COL + Prototype_GameObject_SM_HM_Streets_GG_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_HH_COL + Prototype_GameObject_SM_HM_Streets_HH_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_A_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_A_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_B_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_B_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_C_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_C_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_SideStreet_D_COL + Prototype_GameObject_SM_HM_Streets_SideStreet_D_COL_Lod1 + + + + + + Prototype_GameObject_SM_HW_Streets_SideStreet_E_COL + Prototype_GameObject_SM_HW_Streets_SideStreet_E_COL_Lod1 + + + + + + Prototype_GameObject_SM_HW_Streets_SideStreet_F_COL + Prototype_GameObject_SM_HW_Streets_SideStreet_F_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_3Broom_DoorFrame + Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod1 + Prototype_GameObject_SM_HM_3Broom_DoorFrame_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_trim_stone + Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod2 + Prototype_GameObject_SM_HM_3Broom_ext_trim_stone_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone_Lod1 + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_Stone_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_Door_L + Prototype_GameObject_SM_HM_3Broom_Door_L_Lod1 + Prototype_GameObject_SM_HM_3Broom_Door_L_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim + Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod1 + Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod2 + Prototype_GameObject_SM_HM_3Broom_Ext_Awning_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign + Prototype_GameObject_SM_HM_3Broom_ext_barrels_sign_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB_Lod1 + Prototype_GameObject_SM_HM_3Broom_RectangularWindow_StoneB_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_walls + Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B + Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod2 + Prototype_GameObject_SM_HM_3Broom_ext_chimneys_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_barrels + Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod2 + Prototype_GameObject_SM_HM_3Broom_ext_barrels_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_Door_R + Prototype_GameObject_SM_HM_3Broom_Door_R_Lod1 + Prototype_GameObject_SM_HM_3Broom_Door_R_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands + Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_barrel_stands_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_decals + Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_CrossBeam + + + + + + Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide + Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod1 + Prototype_GameObject_SM_HM_3Broom_Ext_DoorFrameSide_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_Dormer_Wood_Slats + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_roof + Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops + Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_roof_copper_tops_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_roof_decals + Prototype_GameObject_SM_HM_3Broom_ext_roof_decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box + Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_side_garden_box_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_trim + Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod1 + Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod2 + Prototype_GameObject_SM_HM_3Broom_ext_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_3Broom_RectangurWindowPlain + Prototype_GameObject_SM_HM_3Broom_RectangurWindowPlain_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels + Prototype_GameObject_SM_HM_3Broom_ext_wood_Corbels_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_Window_Glass + Prototype_GameObject_SM_HM_3Broom_Window_Glass_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_RoundedWindow + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1 + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_RoundedWindow + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1 + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_RoundedWindow + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod1 + Prototype_GameObject_SM_HM_3Broom_RoundedWindow_Lod2 + + + + + + Prototype_GameObject_SM_HM_3Broom_CrossBeam + + + + + + Prototype_GameObject_SM_HM_3Broom_EXT_APL_COL + Prototype_GameObject_SM_HM_3Broom_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_3Broom_EXT_B_PL_COL_2 + + + + + + Prototype_GameObject_SM_HM_3Broom_EXT_PL_COL + Prototype_GameObject_SM_HM_3Broom_EXT_PL_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge + Prototype_GameObject_SM_HM_Gatehouse_Bridge_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Bridge_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge_Decals + Prototype_GameObject_SM_HM_Gatehouse_Bridge_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof + Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Bridge_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge_road + Prototype_GameObject_SM_HM_Gatehouse_Bridge_road_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Columns + Prototype_GameObject_SM_HM_Gatehouse_Columns_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front + Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Wood_Trim_Front_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A + Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Wood_Railing_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A + Prototype_GameObject_SM_HM_Gatehouse_Stone_Cap_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Sign + Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod2 + Prototype_GameObject_SM_HM_Gatehouse_Sign_Lod3 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Joist_Front_Lod2 + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Finial + Prototype_GameObject_SM_HM_Gatehouse_Finial_Lod1 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Joist_Back + Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod2 + Prototype_GameObject_SM_HM_Gatehouse_Joist_Back_Lod3 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_BridgeColumnTop_A + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod1 + Prototype_GameObject_SM_HM_Gatehouse_Column_Corner_Trim_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gatehouse_Bridge_COLLISION + Prototype_GameObject_SM_HM_Gatehouse_Bridge_COLLISION_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod2 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Decals + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle + Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod2 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_PatioCircle_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_Quidditch_ext_Glass + Prototype_GameObject_SM_HM_Quidditch_ext_Glass_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Sign_Lod2 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Window_Display + Prototype_GameObject_SM_HM_BLDG_Quid_ext_Window_Display_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals + Prototype_GameObject_SM_HM_BLDG_Quid_EXT_Walls_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim + Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_ext_WoodTrim_Lod2 + + + + + + Prototype_GameObject_SM_HM_Quidditch_EXT_APL_COL + Prototype_GameObject_SM_HM_Quidditch_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Quidditch_EXT_PL_COL + Prototype_GameObject_SM_HM_Quidditch_EXT_PL_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt + Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt_Lod1 + Prototype_GameObject_SM_HM_BLDG_Quid_extSkirt_Lod2 + + + + + + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys + Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Chimneys_Lod2 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hogshead_Docks_Stairs + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_04_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Floor_Main_05_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Decals + Prototype_GameObject_SM_HM_HogsHead_ext_Decals_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Gutters + Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod2 + Prototype_GameObject_SM_HM_HogsHead_ext_Gutters_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Roof + Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod2 + Prototype_GameObject_SM_HM_HogsHead_ext_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Trim + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod2 + Prototype_GameObject_SM_HM_HogsHead_ext_Trim_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_ext_Walls + Prototype_GameObject_SM_HM_HogsHead_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_HogsHead_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_Hogshead_ext_window_glass + Prototype_GameObject_SM_HM_Hogshead_ext_window_glass_Lod1 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Ferdinand_Portrait_Outline + + + + + + Prototype_GameObject_SM_HM_HogsHead_Porch_Steps + Prototype_GameObject_SM_HM_HogsHead_Porch_Steps_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Porch_Steps_Lod2 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Large_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Sign_A + Prototype_GameObject_SM_HM_HogsHead_Sign_A_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Sign_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Beam_Round_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Wall_01_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_03_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod1 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod2 + Prototype_GameObject_SM_HM_HogsHead_Dock_Railing_02_Lod3 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Docks_COL + Prototype_GameObject_SM_HM_HogsHead_Docks_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Docks_Stairs_COL + Prototype_GameObject_SM_HM_HogsHead_Docks_Stairs_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_HogsHead_Docks_Gap_COL + + + + + + Prototype_GameObject_SM_HM_Hogshead_ext_apl_COL + Prototype_GameObject_SM_HM_Hogshead_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Hogshead_ext_pl_COL + Prototype_GameObject_SM_HM_Hogshead_ext_pl_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_PlazaMain_A + + + + + + Prototype_GameObject_SM_HM_PlazaMain_B + + + + + + Prototype_GameObject_SM_HM_PlazaMain_C + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_AA_COL + Prototype_GameObject_SM_HM_Streets_Plaza_AA_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_BB_COL + Prototype_GameObject_SM_HM_Streets_Plaza_BB_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_CC_COL + Prototype_GameObject_SM_HM_Streets_Plaza_CC_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_DD_COL + Prototype_GameObject_SM_HM_Streets_Plaza_DD_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_EE_COL + Prototype_GameObject_SM_HM_Streets_Plaza_EE_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_FF_COL + Prototype_GameObject_SM_HM_Streets_Plaza_FF_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Streets_Plaza_HH_COL + Prototype_GameObject_SM_HM_Streets_Plaza_HH_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim + Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_StoneTrim_Lod3 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Bay_Window_Blockers + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Chimneys + Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Chimneys_Lod3 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_EXT_backside_flower_bed + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Display_Window_Boxes + Prototype_GameObject_SM_HM_Honeydukes_Display_Window_Boxes_Lod1 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD + Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod1 + Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod2 + Prototype_GameObject_SM_HM_Honeydukes_Entrance_Ivy_OLD_Lod3 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Entrance + Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows + Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Trim_No_Shadows_Lod2 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Glass_A + Prototype_GameObject_SM_HM_Honeydukes_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals + Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Ext_Decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Glass_B + Prototype_GameObject_SM_HM_Honeydukes_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Honeydukes_Glass_Int_B + Prototype_GameObject_SM_HM_Honeydukes_Glass_Int_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Roofs + Prototype_GameObject_SM_HM_HoneyDukes_Roofs_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Roofs_Lod2 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Trim + Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HoneyDukes_Ext_Flags + Prototype_GameObject_SM_HoneyDukes_Ext_Flags_Lod1 + Prototype_GameObject_SM_HoneyDukes_Ext_Flags_Lod2 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Walls + Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Walls_Lod3 + + + + + + Prototype_GameObject_SM_HM_HoneyDukes_Windows + Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod1 + Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod2 + Prototype_GameObject_SM_HM_HoneyDukes_Windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_APL2_COL + Prototype_GameObject_SM_HM_BLDG_EXT_APL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_APL3_COL + Prototype_GameObject_SM_HM_BLDG_EXT_APL3_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_APL_COL + Prototype_GameObject_SM_HM_BLDG_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_PL2_COL + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_PL3_COL + + + + + + Prototype_GameObject_SM_HM_BLDG_EXT_PL_COL + Prototype_GameObject_SM_HM_BLDG_EXT_PL_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney + Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A + Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A_Lod1 + Prototype_GameObject_SM_HM_OwlPost_ext_Window_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Owl + Prototype_GameObject_SM_HM_OwlPost_Ext_Owl_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Owl_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Roof + Prototype_GameObject_SM_HM_OwlPost_Ext_Roof_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod2 + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B_Lod1 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT + Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Walls_ALT_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Owl_Cubbies + Prototype_GameObject_SM_HM_OwlPost_MERGED_Owl_Cubbies_Lod1 + + + + + + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B_Lod1 + Prototype_GameObject_SM_HM_OwlPost_Ext_Trim_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod1 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod2 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod1 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod2 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Stone_Trim_Set_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors + Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors_Lod1 + Prototype_GameObject_SM_HM_OwlPost_MERGED_Upper_Doors_Lod2 + + + + + + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_D + Prototype_GameObject_SM_HM_OwlPost_MERGED_Packages_D_Lod1 + + + + + + Prototype_GameObject_SM_HM_OwlPost_ext_apl_COL + Prototype_GameObject_SM_HM_OwlPost_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_OwlPost_ext_pl_COL + Prototype_GameObject_SM_HM_OwlPost_ext_pl_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A + Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Window_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Chimney + Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_A_ext_Chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Roof + Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod2 + Prototype_GameObject_SM_HM_GEN_A_ext_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Patch + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Trim + Prototype_GameObject_SM_HM_GEN_A_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_A_ext_Walls + Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_GEN_A_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_A_int_Floor + Prototype_GameObject_SM_HM_GEN_A_int_Floor_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_A_int_Walls + Prototype_GameObject_SM_HM_GEN_A_int_Walls_Lod1 + Prototype_GameObject_SM_HM_GEN_A_int_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_A_EXT_APL_COL + Prototype_GameObject_SM_HM_GEN_A_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_A_EXT_APL2_COL + Prototype_GameObject_SM_HM_GEN_A_EXT_APL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_A_EXT_PL2_COL + Prototype_GameObject_SM_HM_GEN_A_EXT_PL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_A_EXT_PL_COL + Prototype_GameObject_SM_HM_GEN_A_EXT_PL_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_trim + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_chimney_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_Door_Gap_Filler + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_roof + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_walls + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod2 + Prototype_GameObject_SM_HM_GEN_B_ext_stone_edge_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_B_ext_windows + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_B_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles + Prototype_GameObject_SM_HM_GEN_B_MERGED_Roof_Shingles_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_B_Ext_PL_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_Side_Steps_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_chimney + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_roof + Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_Stairs + Prototype_GameObject_SM_HM_GEN_C_ext_Stairs_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_trim + Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_walls + Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_windows + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod2 + Prototype_GameObject_SM_HM_GEN_C_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a + Prototype_GameObject_SM_HM_GEN_C_ext_windows_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler + Prototype_GameObject_SM_HM_GEN_C_Gap_Garden_Filler_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL2_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL + Prototype_GameObject_SM_HM_GEN_C_EXT_PL_Steps_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A + Prototype_GameObject_SM_HM_GEN_E_ext_Window_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_wall_TrainStation_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_chimney + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_roof + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod2 + Prototype_GameObject_SM_HM_GEN_E_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_trim + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_walls + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_E_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_E_ext_pl_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_chimney + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_F_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_side_wall + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_roof + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_trim + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a + Prototype_GameObject_SM_HM_GEN_F_ext_window_glass_a_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_walls + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_ext_windows + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_F_ext_windows_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation + Prototype_GameObject_SM_HM_GEN_F_Ext_Foundation_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL + Prototype_GameObject_SM_HM_GEN_F_Ext_PL_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A + Prototype_GameObject_SM_HM_GEN_G_ext_window_glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_chimney + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_G_ext_chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_roof + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_walls + Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_windows + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod1 + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod2 + Prototype_GameObject_SM_HM_GEN_G_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_G_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_G_ext_pl_COL + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Chimney_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_entrance_trim_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Ivy_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_decals + Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_Gen_H_window_glass_a + Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod1 + Prototype_GameObject_SM_HM_Gen_H_window_glass_a_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Roof + Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Trim + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_GEN_H_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_Walls + Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_GEN_H_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_H_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_H_ext_pl_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod2 + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Chimney + Prototype_GameObject_SM_HM_GEN_J_ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Roof + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod2 + Prototype_GameObject_SM_HM_GEN_J_ext_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Trim + Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_GEN_J_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Wall + Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Lod2 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Decals + Prototype_GameObject_SM_HM_GEN_J_ext_Wall_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_Windows + Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod1 + Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod2 + Prototype_GameObject_SM_HM_GEN_J_ext_Windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_window_glass_a + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_apl_COL + Prototype_GameObject_SM_HM_GEN_J_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_GEN_J_ext_pl_COL + Prototype_GameObject_SM_HM_GEN_J_ext_pl_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod1 + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod2 + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_shadows_Lod3 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Chimney + Prototype_GameObject_SM_HM_TeaShop_Chimney_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Decals + Prototype_GameObject_SM_HM_TeaShop_Decals_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor + Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Sign_Anchor_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Entrance_Sign + + + + + + Prototype_GameObject_SM_HM_TeaShop_Glass_A_int + Prototype_GameObject_SM_HM_TeaShop_Glass_A_int_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Roof + Prototype_GameObject_SM_HM_TeaShop_Roof_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Roof_Lod2 + Prototype_GameObject_SM_HM_TeaShop_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Patio_Floor + Prototype_GameObject_SM_HM_TeaShop_Patio_Floor_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Glass_A_ext + Prototype_GameObject_SM_HM_TeaShop_Glass_A_ext_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Sign_Base + Prototype_GameObject_SM_HM_TeaShop_Sign_Base_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Sign_Base_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Walls + Prototype_GameObject_SM_HM_TeaShop_Walls_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_TeaShop_Windows + Prototype_GameObject_SM_HM_TeaShop_Windows_Lod1 + Prototype_GameObject_SM_HM_TeaShop_Windows_Lod2 + Prototype_GameObject_SM_HM_TeaShop_Windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_TeaShop_WoodTrim + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod1 + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod2 + Prototype_GameObject_SM_HM_TeaShop_WoodTrim_Lod3 + + + + + + Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_A + Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_B + Prototype_GameObject_SM_HM_TeaShop_MERGED_Roof_Shingles_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_EXT_PL_COL + Prototype_GameObject_SM_HM_TeaShop_EXT_PL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_EXT_APL_COL + Prototype_GameObject_SM_HM_TeaShop_EXT_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_TeaShop_EXTSign_APL_COL + + + + + + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Entrance_Sign + Prototype_GameObject_SM_HM_Zonkos_Entrance_Sign_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Decals_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod2 + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Decals + Prototype_GameObject_SM_HM_Zonkos_ext_Chimneys_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign + Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign_Lod1 + Prototype_GameObject_SM_HM_Zonkos_sign_mid_sign_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_C_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Entrance_D_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_B + Prototype_GameObject_SM_HM_Zonkos_ext_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter + Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Gutter_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Roof + Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Decals + Prototype_GameObject_SM_HM_Zonkos_ext_Roof_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Trims + Prototype_GameObject_SM_HM_Zonkos_ext_Trims_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Trims_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_ext_Walls + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_Zonkos_ext_Walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod1 + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod2 + Prototype_GameObject_SM_HM_Zonkos_Ext_Windows_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_Zonkos_sign_bars + Prototype_GameObject_SM_HM_Zonkos_sign_bars_Lod1 + Prototype_GameObject_SM_HM_Zonkos_sign_bars_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign + Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign_Lod1 + Prototype_GameObject_SM_HM_Zonkos_sign_bottom_sign_Lod2 + + + + + + Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Lower_COL + Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Lower_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Upper_COL + Prototype_GameObject_SM_HM_Zonkos_EXT_APL_Upper_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Lower_COL + Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Lower_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Upper_COL + Prototype_GameObject_SM_HM_Zonkos_EXT_PL_Upper_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_Arch_Stone_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_roof + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_entrance + Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_entrance_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_A + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_Glass_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_roof_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_trim + Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_trim_B + Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_trim_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_Level_Arches_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_walls + Prototype_GameObject_SM_HM_DB_GR_ext_walls_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_walls_B + Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_walls_B_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_windows + Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod1 + Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod2 + Prototype_GameObject_SM_HM_DB_GR_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Decals + Prototype_GameObject_SM_HM_DB_GR_ext_Decals_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps + Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps_Lod1 + Prototype_GameObject_SM_HM_DB_GR_MERGED_WoodTrim_Caps_Lod2 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Lower_A_COL + Prototype_GameObject_SM_HM_DB_GR_ext_Lower_A_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Lower_B_COL + Prototype_GameObject_SM_HM_DB_GR_ext_Lower_B_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_A_COL + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_A_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_B_COL + Prototype_GameObject_SM_HM_DB_GR_ext_Upper_B_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_Potions_ext_chimney_base + Prototype_GameObject_SM_HM_Potions_ext_chimney_base_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_chimney_base_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_construction + Prototype_GameObject_SM_HM_Potions_ext_construction_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_construction_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_construction_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_EXT_Glass_A + Prototype_GameObject_SM_HM_Potions_EXT_Glass_A_Lod1 + + + + + + Prototype_GameObject_SM_HM_Potions_EXT_Glass_B + Prototype_GameObject_SM_HM_Potions_EXT_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_walls + Prototype_GameObject_SM_HM_Potions_ext_walls_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_walls_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_roof + Prototype_GameObject_SM_HM_Potions_ext_roof_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_roof_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_stairs + Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_stairs_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_trim + Prototype_GameObject_SM_HM_Potions_ext_trim_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_trim_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_windows + Prototype_GameObject_SM_HM_Potions_ext_windows_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_windows_Lod2 + Prototype_GameObject_SM_HM_Potions_ext_windows_Lod3 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_window_02 + Prototype_GameObject_SM_HM_Potions_ext_window_02_Lod1 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_window_01 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_window_01 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_Store_Sign + Prototype_GameObject_SM_HM_Potions_Store_Sign_Lod1 + Prototype_GameObject_SM_HM_Potions_Store_Sign_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_Store_Sign_Base + Prototype_GameObject_SM_HM_Potions_Store_Sign_Base_Lod1 + Prototype_GameObject_SM_HM_Potions_Store_Sign_Base_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_window_01 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod1 + Prototype_GameObject_SM_HM_Potions_ext_window_01_Lod2 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_apl_COL + Prototype_GameObject_SM_HM_Potions_ext_apl_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Potions_ext_pl_COL + Prototype_GameObject_SM_HM_Potions_ext_pl_COL_Lod1 + + + + + + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Branches + Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Branches_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Fountain + Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Fountain_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Statue + Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Statue_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A_Lod1 + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_A_Lod2 + + + + + + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B_Lod1 + Prototype_GameObject_SM_HM_Hengist_Branch_Loose_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod1 + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod2 + Prototype_GameObject_SM_HM_Hengist_Tree_Trunk_Lod3 + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_Roots_COL + + + + + + Prototype_GameObject_SM_HM_Hengist_Tree_PL_A_COL + + + + + + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Chimney + Prototype_GameObject_SM_HM_Salon_Ext_Chimney_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Chimney_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Front + Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod2 + Prototype_GameObject_SM_HM_Salon_Ext_Front_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Glass_A + Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod2 + Prototype_GameObject_SM_HM_Salon_Ext_Glass_A_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_ext_Roof + Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod1 + Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod2 + Prototype_GameObject_SM_HM_Salon_ext_Roof_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Glass_B + Prototype_GameObject_SM_HM_Salon_Ext_Glass_B_Lod1 + + + + + + Prototype_GameObject_SM_HM_Salon_ext_Walls + Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod1 + Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod2 + Prototype_GameObject_SM_HM_Salon_ext_Walls_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_ext_Trim + Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod1 + Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod2 + Prototype_GameObject_SM_HM_Salon_ext_Trim_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Trim_C + Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod2 + Prototype_GameObject_SM_HM_Salon_Ext_Trim_C_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Window + Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod2 + Prototype_GameObject_SM_HM_Salon_Ext_Window_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_HangingSign + Prototype_GameObject_SM_HM_Salon_HangingSign_Lod1 + Prototype_GameObject_SM_HM_Salon_HangingSign_Lod2 + Prototype_GameObject_SM_HM_Salon_HangingSign_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Frame_Upper_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Large + Prototype_GameObject_SM_HM_Salon_Window_Large_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Large_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_Trim_B + Prototype_GameObject_SM_HM_Salon_Ext_Trim_B_Lod1 + Prototype_GameObject_SM_HM_Salon_Ext_Trim_B_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ivy + Prototype_GameObject_SM_HM_Salon_Ivy_Lod1 + Prototype_GameObject_SM_HM_Salon_Ivy_Lod2 + Prototype_GameObject_SM_HM_Salon_Ivy_Lod3 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Large + Prototype_GameObject_SM_HM_Salon_Window_Large_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Large_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Window_Small + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod1 + Prototype_GameObject_SM_HM_Salon_Window_Small_Lod2 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_APL_COL + Prototype_GameObject_SM_HM_Salon_Ext_APL_COL_Lod1 + + + + + + Prototype_GameObject_SM_HM_Salon_Ext_PL_COL + Prototype_GameObject_SM_HM_Salon_Ext_PL_COL_Lod1 + + + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds new file mode 100644 index 000000000..9f2343b1a Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli index f16a08d3c..b1efa60ae 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli @@ -181,5 +181,88 @@ float3 DecodeNormalFromRG(Texture2D NormalMap, SamplerState Samp, float2 uv) return normalize(n); } +float4x4 RotateX(float fAngle) +{ + float fCos = cos(radians(fAngle)); + float fSin = sin(radians(fAngle)); + + float4x4 RotateXMat = + { + 1, 0, 0, 0, + 0, fCos, -fSin, 0, + 0, fSin, fCos, 0, + 0, 0, 0, 1, + }; + + return RotateXMat; +} + +float4x4 RotateY(float fAngle) +{ + float fCos = cos(radians(fAngle)); + float fSin = sin(radians(fAngle)); + + float4x4 RotateYMat = + { + fCos , 0, fSin, 0, + 0 , 1, 0, 0, + -fSin , 0, fCos, 0, + 0 , 0, 0, 1 + }; + + return RotateYMat; +} + +float4x4 RotateZ(float fAngle) +{ + float fCos = cos(radians(fAngle)); + float fSin = sin(radians(fAngle)); + + float4x4 RotateZMat = + { + fCos, -fSin, 0, 0, + fSin, fCos, 0, 0, + 0, 0, 1, 0, + 0, 0, 0, 1, + }; + + return RotateZMat; +} + +float4x4 RotateAxis(float4 _vAxis , float fAngle) +{ + float flenhth = length(_vAxis); + if (flenhth < FLT_EPSILON5) + { + return float4x4( + 1.0, 0.0, 0.0, 0.0, + 0.0, 1.0, 0.0, 0.0, + 0.0, 0.0, 1.0, 0.0, + 0.0, 0.0, 0.0, 1.0 + ); + } + + float3 vAxis = normalize(_vAxis); + + float fCos = cos(radians(fAngle)); + float fSin = sin(radians(fAngle)); + + float fX = vAxis.x; + float fY = vAxis.y; + float fZ = vAxis.z; + + //Rodrigues 공식 기반 + float4x4 RotateMat = + float4x4( + fCos + fX * fX * (1.0 - fCos), fX * fY * (1.0 - fCos) - fZ * fSin, fX * fZ * (1.0 - fCos) + fY * fSin, 0.0, + fY * fX * (1.0 - fCos) + fZ * fSin, fCos + fY * fY * (1.0 - fCos), fY * fZ * (1.0 - fCos) - fX * fSin, 0.0, + fZ * fX * (1.0 - fCos) - fY * fSin, fZ * fY * (1.0 - fCos) + fX * fSin, fCos + fZ * fZ * (1.0 - fCos), 0.0, + 0.0, 0.0, 0.0, 1.0 + ); + + return RotateMat; + +} + #endif // ENGINE_SHADER_FUNCTIONS_HLSLI diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl index 0dea26c43..117084542 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl @@ -1,5 +1,4 @@ - -float PI = 3.141592; +#include "Engine_Shader_Functions.hlsli" struct Particle { @@ -30,7 +29,15 @@ struct ParticleValue float2 vAniIndex; float fGravity; - float3 vSinAmount; + float3 vSinAmount; + float3 vDeltaAngle; + float3 vDeltaAxisAngle; + + float fDrag; + float3 vPivot; + + float fSizeDrag; + float3 vDeltaSize; }; @@ -48,6 +55,11 @@ cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐 bool isDrop; bool isMoveForward; bool isSinWave; + + bool isTurn; + bool isAxisTurn; + bool isPivotMove; + bool isSizeMove; float fTimeDelta; float fPadding1; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다. @@ -74,9 +86,7 @@ void CS_MAIN( { if (isLoop == false) { - - - return; + return ; } //초기화 @@ -86,15 +96,45 @@ void CS_MAIN( particle.vTranslation = particleValue.vOriginTranslation; particle.vLifeTime.x = 0.f; + particleValue.vAniIndex.x = 0.f; + + g_VBInstanceOutput[iIndex] = particle; + g_ParticleValueOutput[iIndex] = particleValue; + + return ; } if (isMoveForward) { - float4 vVelocity = vector(normalize(particleValue.vOriginLook.xyz) * particleValue.fSpeed, 1.f); + float fTime = (particle.vLifeTime.x / particle.vLifeTime.y); + + float fRatio = 1 - (1 - fTime * fTime); + + float fDrag = particleValue.fDrag; + + if (particleValue.fDrag < FLT_EPSILON5) + fDrag = 1; + + float4 vVelocity = vector(normalize(particle.vLook.xyz) * particleValue.fSpeed, 1.f); - particle.vTranslation += vVelocity * fTimeDelta; + particle.vTranslation += vVelocity * fTimeDelta * fDrag; + } + + if (isPivotMove) + { + float3 vDir = normalize(particleValue.vPivot - particleValue.vOriginTranslation.xyz); + + float fDrag = particleValue.fDrag; + + if (particleValue.fDrag < FLT_EPSILON5) + fDrag = 1; + + float4 vVelocity = vector(vDir * particleValue.fSpeed, 1.f); + + particle.vTranslation += vVelocity * fTimeDelta * fDrag; + } if (isDrop == true) @@ -107,6 +147,86 @@ void CS_MAIN( { particle.vTranslation += vector( sin(particle.vLifeTime.x * 3.141592 * 2.f) * particleValue.vSinAmount, 0.f); } + + if (isTurn == true) + { + /* ROTATE */ + float4x4 RotateXMat = RotateX(particleValue.vDeltaAngle.x * fTimeDelta); + float4x4 RotateYMat = RotateY(particleValue.vDeltaAngle.y * fTimeDelta); + float4x4 RotateZMat = RotateZ(particleValue.vDeltaAngle.z * fTimeDelta); + + + float4x4 CombinedRotMat = mul(RotateZMat, mul(RotateYMat, RotateXMat)); + + float4x4 CurRotatemat = {particle.vRight, particle.vUp, particle.vLook, vector(0.f , 0.f, 0.f, 1.f)}; + + + + CurRotatemat = mul(CombinedRotMat, CurRotatemat); + + particle.vRight = CurRotatemat[0].xyzw; + particle.vUp = CurRotatemat[1].xyzw; + particle.vLook = CurRotatemat[2].xyzw; + + } + + if (isAxisTurn) + { + float4x4 RotateAxisRightMat = RotateAxis(particle.vRight, particleValue.vDeltaAxisAngle.x * fTimeDelta); + float4x4 RotateAxisUpMat = RotateAxis(particle.vUp, particleValue.vDeltaAxisAngle.y * fTimeDelta); + float4x4 RotateAxisLookMat = RotateAxis(particle.vLook, particleValue.vDeltaAxisAngle.z * fTimeDelta); + + + float4x4 CombinedRotMat = mul(RotateAxisLookMat, mul(RotateAxisUpMat, RotateAxisRightMat)); + + float4x4 CurRotatemat = { particle.vRight, particle.vUp, particle.vLook, vector(0.f, 0.f, 0.f, 1.f) }; + + + CurRotatemat = mul(CurRotatemat ,CombinedRotMat); + + particle.vRight = CurRotatemat[0].xyzw; + particle.vUp = CurRotatemat[1].xyzw; + particle.vLook = CurRotatemat[2].xyzw; + + + } + + if (isSizeMove == true) + { + float3 CurLength = + { + length(particle.vRight), + length(particle.vUp), + length(particle.vLook), + }; + + float fTime = (particle.vLifeTime.x / particle.vLifeTime.y); + + float fRatio = 1 - (1 - fTime * fTime); + + float fDrag = particleValue.fSizeDrag; + + if (particleValue.fSizeDrag < FLT_EPSILON5) + fDrag = 1; + + //fDrag *= fRatio; + + CurLength += particleValue.vDeltaSize * fTimeDelta * fDrag; + + if (CurLength.x < FLT_EPSILON5) + CurLength.x = FLT_EPSILON5; + + if (CurLength.y < FLT_EPSILON5) + CurLength.y = FLT_EPSILON5; + + if (CurLength.z < FLT_EPSILON5) + CurLength.z = FLT_EPSILON5; + + particle.vRight = normalize(particle.vRight) * CurLength.x; + particle.vUp = normalize(particle.vUp) * CurLength.y; + particle.vLook = normalize(particle.vLook) * CurLength.z; + + } //애니메이션 속도 , 인덱스 diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl index e614342ce..d3a887b6b 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl @@ -461,7 +461,7 @@ PS_OUT PS_SpellAnim(PS_IN In) } } - if (uv.y <= CoolTime) + if (uv.y <= CoolTime) { color.a = 0.f; } @@ -472,6 +472,71 @@ PS_OUT PS_SpellAnim(PS_IN In) return Out; } +PS_OUT PS_HpBar(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + float4 Color = float4(1.f, 1.f, 1.f, 1.f); + float2 uv = In.vTexcoord; + float2 CurrentPixelPosition = uv * g_fCurrent_Size; + float OriginLeft = g_fNine_Slice.x; + float OriginRight = g_fNine_Slice.y; + float OriginTop = g_fNine_Slice.z; + float OriginBottom = g_fNine_Slice.w; + + float CurrentLeft = OriginLeft; + float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight); + float CurrentTop = OriginTop; + float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom); + + float2 Finaluv = In.vTexcoord; + + if (CurrentPixelPosition.x < CurrentLeft) + { + Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x; + } + else if (CurrentPixelPosition.x > CurrentRight) + { + float dist = CurrentPixelPosition.x - CurrentRight; + Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x; + } + else + { + float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft); + Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x); + } + + if (CurrentPixelPosition.y < CurrentTop) + { + Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y; + } + else if (CurrentPixelPosition.y > CurrentBottom) + { + float dist = CurrentPixelPosition.y - CurrentBottom; + Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y; + } + else + { + float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop); + Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y); + } + + float4 tex1 = g_Texture.Sample(ClampSampler, Finaluv); + float4 tex2 = g_Texture1.Sample(ClampSampler, Finaluv); + + + Color = tex1; + + tex2.rgb *= float3(112.f, 241.f, 31.f) / 255.f; + + if(Color.r >= 0.01f) + Color = tex2; + + Color.a *= Alpha; + Out.vColor = Color; + return Out; +} + technique11 PosTexTechnique11 { pass Default @@ -603,4 +668,13 @@ technique11 PosTexTechnique11 GeometryShader = NULL; PixelShader = compile ps_5_0 PS_SpellAnim(); } + pass HpBar + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_HpBar(); + } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl index 029accc32..d6eae9ff4 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl @@ -16,7 +16,9 @@ struct VS_IN float2 vTexcoord : TEXCOORD0; float2 vSize : TEXCOORD1; - float2 Pos : TEXCOORD2; + float2 vPos : TEXCOORD2; + float2 vUVStart : TEXCOORD3; + float2 vUVEnd: TEXCOORD4; }; struct VS_OUT @@ -30,17 +32,17 @@ VS_OUT VS_MAIN(VS_IN In) VS_OUT Out; matrix matVP = mul(g_ViewMatrix, g_ProjMatrix); - float3 vLocalPos = In.vPosition; vLocalPos.xy *= In.vSize; - vLocalPos.xy += In.Pos; - + vLocalPos.xy += In.vPos; + float2 StartUV = In.vUVStart; + float2 EndUV = In.vUVEnd; float3 vParentPos = float3(g_WorldMatrix._41, g_WorldMatrix._42, g_WorldMatrix._43); float3 vFinalWorldPos = vLocalPos + vParentPos; Out.vPosition = mul(float4(vFinalWorldPos, 1.f), matVP); - Out.vTexcoord = In.vTexcoord; + Out.vTexcoord = StartUV + In.vTexcoord * (EndUV - StartUV); return Out; } @@ -78,6 +80,23 @@ PS_OUT PS_MAIN(PS_IN In) return Out; } +PS_OUT PS_Alpha_Blend(PS_IN In) +{ + PS_OUT Out; + float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha; + + float4 color = g_Texture.Sample(ClampSampler, In.vTexcoord); + + if(color.a <= 0.4f) + discard; + + color.a *= Alpha; + + Out.vColor = color; + + return Out; +} + technique11 PosTexTechnique11 { pass Default @@ -90,4 +109,15 @@ technique11 PosTexTechnique11 GeometryShader = NULL; PixelShader = compile ps_5_0 PS_MAIN(); } + + pass AlphaBlend + { + SetRasterizerState(RS_Default); + SetDepthStencilState(DSS_Default, 0); + SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff); + + VertexShader = compile vs_5_0 VS_MAIN(); + GeometryShader = NULL; + PixelShader = compile ps_5_0 PS_Alpha_Blend(); + } } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl index 01cc9d648..8a0db6625 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl @@ -17,6 +17,19 @@ struct ParticleValue float2 vAniTime; float2 vAniIndex; + float fGravity; + + float3 vSinAmount; + float3 vDeltaAngle; + float3 vDeltaAxisAngle; + + float fDrag; + float3 vPivot; + + float fSizeDrag; + float3 vDeltaSize; + + }; @@ -68,7 +81,16 @@ float g_fBlurIntensity; //블러 세기 float g_fNoiseDistortionIntensity; // 디스토션 왜곡 세기 float4 g_vEmissive; -float g_fEmissiveCutAlpha; +float g_fEmissiveStrength; + +float g_fSoftenExp; +float g_fSoftStrength; +float g_fCoreBoost; +float g_fRadius; + + +float g_fSoftMaskEdge; +float g_fSoftMask; bool g_isDiffuse; bool g_isMasking; @@ -83,6 +105,11 @@ bool g_isNoiseUVMove; bool g_isReverseDissolve; bool g_isEmissiveDissolve; +bool g_isMaskClampSample; + +bool g_isNoiseColor; +bool g_isNoiseAlpha; +bool g_isNomalDissolve; float g_fFar; @@ -161,7 +188,7 @@ VS_OUT VS_MAIN(VS_IN In, uint iGPUIndex : SV_InstanceID) matrix matW, matWV, matWVP; - matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation); + row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation); matW = mul(TransformMatrix, g_WorldMatrix); matWV = mul(matW, g_ViewMatrix); @@ -230,6 +257,7 @@ PS_OUT BlendedWeight(vector fDiffuse, float fLinearZ) float fWeight = clamp(pow(fLinearZ, -2.5f), 1.0f, 1000.0f); + Out.vDiffuse = vector(vColor.rgb * fAlpha, fAlpha) * fWeight; @@ -277,7 +305,7 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) vector vMtrlDissolve; vector vMtrlDistortion; - float fAnimIndex = g_ParticleValue[In.iGPUIndex].vAniIndex.x; + float fAnimIndex = g_ParticleValue[In.iGPUIndex].vAniIndex.x; float2 vDiffuseTime = g_ParticleValue[In.iGPUIndex].vDiffuseUVMoveTime; float2 vMaskingTime = g_ParticleValue[In.iGPUIndex].vMaskingUVMoveTime; float2 vNoiseUVMoveTime = g_ParticleValue[In.iGPUIndex].vNoiseUVMoveTime; @@ -287,7 +315,7 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) { float2 UV; // 이미지의 UV값 - UV = UV_Cutting(In.vTexcoord, g_vUVCutting, int(fAnimIndex.x)); + UV = UV_Cutting(In.vTexcoord, g_vUVCutting, int(fAnimIndex)); if (g_isDiffuseUVMove) { @@ -334,13 +362,18 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) if(g_isNoise) { - float2 vNoiseUV = In.vTexcoord + SelectLerpUV(g_vNoiseUVGainAmount, (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y), g_iNoiseMoveLerpOption); + float2 vNoiseUV = In.vTexcoord; + + if (g_isNoiseUVMove == true) + vNoiseUV = In.vTexcoord + SelectLerpUV(g_vNoiseUVGainAmount, (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y), g_iNoiseMoveLerpOption); vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV); - vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlNoise.r); + if (g_isNoiseAlpha) + vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlNoise.r); - vMtrlDiffuse *= vMtrlNoise; + if (g_isNoiseColor) + vMtrlDiffuse *= vMtrlNoise; } /* 마스크 */ @@ -348,7 +381,7 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) { float2 vMaskTexcoord = In.vTexcoord; - vMaskTexcoord = UV_Cutting(In.vTexcoord, g_vUVMaskCutting, int(fAnimIndex.x)); + vMaskTexcoord = UV_Cutting(In.vTexcoord, g_vUVMaskCutting, int(fAnimIndex)); // 마스크 디스토션 if (g_isDistortion == true) @@ -370,52 +403,52 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) vMaskTexcoord += SelectLerpUV(g_vMaskingUVGainAmount / g_vUVMaskCutting, (vMaskingTime.x / vMaskingTime.y), g_iMaskMoveLerpOption); } - vMtrlMask = g_MaskingTexture.Sample(PointSampler, vMaskTexcoord); - + if (g_isMaskClampSample == true) + vMtrlMask = g_MaskingTexture.Sample(ClampSampler, vMaskTexcoord); + else + vMtrlMask = g_MaskingTexture.Sample(PointSampler, vMaskTexcoord); } else { vMtrlMask.r = 1.f; } - - vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r); + float fSoftMask; - + if (g_fSoftMask > FLT_EPSILON5) + fSoftMask = saturate((vMtrlMask.r - g_fSoftMaskEdge) * g_fSoftMask); + + vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * fSoftMask); if (vMtrlDiffuse.a <= 0.f) discard; + vMtrlDiffuse.a *= g_fDiffuseAlpha; + if (g_isDissolve == true) { - vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord); - - if(g_isReverseDissolve == true) + if (g_isNomalDissolve) { - if (vMtrlDissolve.r >= (In.vLifeTime.x / In.vLifeTime.y)) - discard; + vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y); } else { - if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y)) - discard; + vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord); + + if (g_isReverseDissolve == true) + { + if (vMtrlDissolve.r >= (In.vLifeTime.x / In.vLifeTime.y)) + discard; + } + else + { + if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y)) + discard; + } } - - - } - vMtrlDiffuse.a *= g_fDiffuseAlpha; - - // 색깔 추가할 처리 (이미시브) - - float4 vEmissiveMtrl = vector(0.f ,0.f ,0.f ,0.f); - - if (g_isEmissive == true) - { - vEmissiveMtrl = g_EmissiveTexture.Sample(DefaultSampler, In.vTexcoord); - } int2 iTexel = int2(In.vPosition.xy); @@ -430,21 +463,40 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In) Out = BlendedWeight(vMtrlDiffuse, In.vProjPos.w); - float fEmissiveCutAlpha = g_fEmissiveCutAlpha; + //// 색깔 추가할 처리 (이미시브) + + float4 vEmissiveMtrl = vector(0.f, 0.f, 0.f, 0.f); + + + float2 CenteredUV = In.vTexcoord - 0.5f; + + float fDistance = saturate(length(CenteredUV) / g_fRadius); // 마스크의 크기를 어느정도할지 + + float fMaskAlpha = vMtrlMask.a; + + float fSoftEdge = pow(saturate(1.0f - fDistance), g_fSoftenExp) * g_fSoftStrength; //SoftenExp 엣지감쇠지수 , Strength + + float fCore = pow(saturate(1.0 - fDistance * 2.f), max(0.001, g_fCoreBoost)) * g_fCoreBoost; // CoreBust 중심강조 + + float fEmissive = fSoftEdge + fCore; + + if (g_isEmissive == true) + { + vEmissiveMtrl = g_EmissiveTexture.Sample(DefaultSampler, In.vTexcoord); + } + else + { + vEmissiveMtrl = g_vEmissive; + } + + float fEmissiveStrength = g_fEmissiveStrength; if (g_isEmissiveDissolve == true) { - fEmissiveCutAlpha += (In.vLifeTime.x / In.vLifeTime.y) / 2; + fEmissiveStrength *= (1.f - In.vLifeTime.x / In.vLifeTime.y); } - float fSmoothAlpha = smoothstep(fEmissiveCutAlpha - 0.1f, fEmissiveCutAlpha + 0.1f, vMtrlDiffuse.a); - - - - float3 vEmissiveColor = g_vEmissive.rgb * g_vEmissive.a + vEmissiveMtrl.rgb * (1 - g_vEmissive.a); - - Out.vColorTarget = vector(vEmissiveColor * fSmoothAlpha, vMtrlDiffuse.a); - + Out.vColorTarget = vEmissiveMtrl * fEmissive * fEmissiveStrength; // 이미시브 스트랭스 return Out; } @@ -563,13 +615,18 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In) if (g_isNoise) { - float2 vNoiseUV = In.vTexcoord + SelectLerpUV(g_vNoiseUVGainAmount, (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y), g_iNoiseMoveLerpOption); + float2 vNoiseUV = In.vTexcoord; + + if(g_isNoiseUVMove == true) + vNoiseUV = In.vTexcoord + SelectLerpUV(g_vNoiseUVGainAmount, (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y), g_iNoiseMoveLerpOption); vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV); - vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlNoise.r); + if (g_isNoiseAlpha) + vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlNoise.r); - vMtrlDiffuse *= vMtrlNoise; + if (g_isNoiseColor) + vMtrlDiffuse *= vMtrlNoise; } /* 마스크 */ @@ -599,7 +656,10 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In) vMaskTexcoord += SelectLerpUV(g_vMaskingUVGainAmount / g_vUVMaskCutting, (vMaskingTime.x / vMaskingTime.y), g_iMaskMoveLerpOption); } - vMtrlMask = g_MaskingTexture.Sample(PointSampler, vMaskTexcoord); + if (g_isMaskClampSample == true) + vMtrlMask = g_MaskingTexture.Sample(ClampSampler, vMaskTexcoord); + else + vMtrlMask = g_MaskingTexture.Sample(PointSampler, vMaskTexcoord); } else @@ -607,47 +667,84 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In) vMtrlMask.r = 1.f; } + - vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r); + float softMask = saturate((vMtrlMask.r - 0.1) * 1.0); + + vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * softMask); if (vMtrlDiffuse.a <= 0.f) discard; + vMtrlDiffuse.a *= g_fDiffuseAlpha; + if (g_isDissolve == true) { vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord); - if (g_isReverseDissolve == true) + if (g_isNomalDissolve) { - if (vMtrlDissolve.r >= (In.vLifeTime.x / In.vLifeTime.y)) - discard; + vMtrlDiffuse.a *= (0.95f - In.vLifeTime.x / In.vLifeTime.y); } else { - if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y)) - discard; + vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord); + + if (g_isReverseDissolve == true) + { + if (vMtrlDissolve.r >= (In.vLifeTime.x / In.vLifeTime.y)) + discard; + } + else + { + if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y)) + discard; + } } - } - vMtrlDiffuse.a *= g_fDiffuseAlpha; + // 색깔 추가할 처리 (이미시브) - // 색깔 추가할 처리 (이미시브) - - vector vEmissive; + float4 vEmissiveMtrl = vector(0.f, 0.f, 0.f, 0.f); - - float fSmoothAlpha = smoothstep(g_fEmissiveCutAlpha - 0.02f, g_fEmissiveCutAlpha + 0.02f, vMtrlDiffuse.a); - float3 vEmissiveColor = g_vEmissive.rgb * g_vEmissive.a + vEmissiveMtrl.rgb * (1 - g_vEmissive.a); + + float2 CenteredUV = In.vTexcoord - 0.5f; - vEmissive = vector(vEmissiveColor * fSmoothAlpha, vMtrlDiffuse.a); + float fDistance = saturate(length(CenteredUV) / g_fRadius); // 마스크의 크기를 어느정도할지 - Out.vDiffuse = vMtrlDiffuse * g_fBlurIntensity + vEmissive; + float fMaskAlpha = vMtrlMask.a; + + float fSoftEdge = pow(saturate(1.0f - fDistance), g_fSoftenExp) * g_fSoftStrength; //SoftenExp 엣지감쇠지수 , Strength + + float fCore = pow(saturate(1.0 - fDistance * 2.f), max(0.001, g_fCoreBoost)) * g_fCoreBoost; // CoreBust 중심강조 + + float fEmissive = fSoftEdge + fCore; + + if (g_isEmissive == true) + { + vEmissiveMtrl = g_EmissiveTexture.Sample(DefaultSampler, In.vTexcoord); + } + else + { + vEmissiveMtrl = g_vEmissive; + } + + float fEmissiveStrength = g_fEmissiveStrength; + + if (g_isEmissiveDissolve == true) + { + fEmissiveStrength *= (1.f - In.vLifeTime.x / In.vLifeTime.y); + } + + vEmissiveMtrl = vEmissiveMtrl * fEmissive * fEmissiveStrength; + + + Out.vDiffuse = vector(vMtrlDiffuse.rgb * g_fBlurIntensity + vEmissiveMtrl.rgb, vMtrlDiffuse.a); /** vector(vEmissiveColor * fSmoothAlpha, vMtrlDiffuse.a);*/ return Out; } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl index 8e8ba0f5d..261099f7f 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl +++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl @@ -4,8 +4,15 @@ matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix; float g_fFar; +float g_fUsingSurfaceParams; Texture2D g_DiffuseTexture; +Texture2D g_NormalTexture; +Texture2D g_SurfaceParamsTexture; +Texture2D g_DiffuseTextures[2]; +Texture2D g_NormalTextures[2]; +Texture2D g_SurfaceParamsTextures[2]; +Texture2D g_MaskTexture; struct VS_IN { @@ -51,24 +58,53 @@ struct PS_IN struct PS_OUT { - float4 vDiffuse : SV_TARGET0; - float4 vNormal : SV_TARGET1; - float4 vDepth : SV_TARGET2; + float4 vAlbedo : SV_TARGET0; + float4 vNormal : SV_TARGET1; + float4 vDepth : SV_TARGET2; + float4 vColor : SV_Target3; + float4 vSurface : SV_Target4; }; PS_OUT PS_MAIN(PS_IN In) { PS_OUT Out; + + float2 tileUV = In.vWorldPos.xz / 64.f; - vector vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord * 30.f); - if (vMtrlDiffuse.a < 0.4f) - { - discard; - } - Out.vDiffuse = vMtrlDiffuse; + vector vMask = g_MaskTexture.Sample(DefaultSampler, In.vTexcoord); + + vector vMtrlDiffuse_0 = g_DiffuseTextures[0].Sample(DefaultSampler, tileUV); + vector vMtrlDiffuse_1 = g_DiffuseTextures[1].Sample(DefaultSampler, tileUV); + + vector vMtrlDiffuse = lerp(vMtrlDiffuse_0, vMtrlDiffuse_1, vMask.r); + + vector vSurface_0 = g_SurfaceParamsTextures[0].Sample(DefaultSampler, tileUV); + vector vSurface_1 = g_SurfaceParamsTextures[1].Sample(DefaultSampler, tileUV); + + vector vSurface = lerp(vSurface_0, vSurface_1, vMask.r); + + float3 vNormalDecoded_0 = DecodeNormalFromRG(g_NormalTextures[0], DefaultSampler, tileUV); + float3 vNormalDecoded_1 = DecodeNormalFromRG(g_NormalTextures[0], DefaultSampler, tileUV); + + float3 vNormalDecoded = normalize(lerp(vNormalDecoded_0, vNormalDecoded_1, vMask.r)); + + float3 vBinormal = cross(In.vNormal.xyz, float3(1.f, 0.f, 0.f)); + + float3 vTangent = cross(vBinormal, In.vNormal.xyz); + + float3x3 WorldMatrix = float3x3(vTangent, vBinormal, In.vNormal.xyz); + + float3 vNormal = normalize(mul(vNormalDecoded, WorldMatrix)); + + Out.vAlbedo = vMtrlDiffuse; + Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f); + Out.vDepth = float4((In.vProjPos.z / In.vProjPos.w), // NDC 깊이 ( 0~ 1) + (In.vProjPos.w / g_fFar), // 뷰 스페이스 Z + g_fUsingSurfaceParams, // 서페이스 파라미터 + 1.f); + Out.vColor = float4(0.f, 0.f, 0.f, 1.f); + Out.vSurface = vSurface; - Out.vNormal = float4(In.vNormal.xyz * 0.5f + 0.5f, 0.f); - Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / g_fFar, 0.0f, 1.0f); return Out; } diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Mission/Group 1.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/HpBarBG.png similarity index 100% rename from Jusin154_Team3D/Editor/Bin/Resources/Textures/Mission/Group 1.png rename to Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/HpBarBG.png diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_HealthMeterFill.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_HealthMeterFill.png new file mode 100644 index 000000000..574a9cb5e Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_HUD_HealthMeterFill.png differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_0.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_0.dds new file mode 100644 index 000000000..a38c801b9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_0.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_1.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_1.dds new file mode 100644 index 000000000..d674bd7a3 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_D_1.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_0.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_0.dds new file mode 100644 index 000000000..a8a0ca4df Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_0.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_1.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_1.dds new file mode 100644 index 000000000..b0c66ea01 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_MRO_1.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_0.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_0.dds new file mode 100644 index 000000000..61fbdcc36 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_0.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_1.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_1.dds new file mode 100644 index 000000000..98fe8de42 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Terrain/Terrain_N_1.dds differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/VFX/MasterMaterials/VFX_MM_Flash_Soften.props.txt b/Jusin154_Team3D/Editor/Bin/Resources/VFX/MasterMaterials/VFX_MM_Flash_Soften.props.txt index c528ae81d..4acd05fe8 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/VFX/MasterMaterials/VFX_MM_Flash_Soften.props.txt +++ b/Jusin154_Team3D/Editor/Bin/Resources/VFX/MasterMaterials/VFX_MM_Flash_Soften.props.txt @@ -90,6 +90,6 @@ MobileBaseTexture = None MobileNormalTexture = None bUseMobileSpecular = false MobileSpecularPower = 16 -MobileSpecularMask = MSM_Constant (0) +MobileSpecularMask = MSM_Constant (0)6 MobileMaskTexture = None TextureStreamingData[0] = {} diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj index 0c05ac559..c67fb6059 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj @@ -204,6 +204,7 @@ + @@ -328,6 +329,7 @@ + diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters index 47cd55432..ac7982b2b 100644 --- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters +++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters @@ -298,6 +298,9 @@ {0db597d8-c4e7-479a-9b7e-9014b79a5e03} + + {7e8b7123-11fb-4946-99fe-3265932d0536} + {072a4e85-ba07-4ffd-bdb1-ddac02558242} @@ -645,6 +648,9 @@ 50.UI\GamePlay_Canvas\Action_Panel\Slot_Number + + 50.UI\GamePlay_Canvas\Action_Panel\HPBarBG + 02.GameObjects\Camera\Camera_Gaze @@ -961,6 +967,9 @@ 50.UI\GamePlay_Canvas\Action_Panel\Slot_Number + + 50.UI\GamePlay_Canvas\Action_Panel\HPBarBG + 02.GameObjects\Camera\Camera_Gaze diff --git a/Jusin154_Team3D/Editor/Private/Action_Panel.cpp b/Jusin154_Team3D/Editor/Private/Action_Panel.cpp index c58f2101c..6d43368e2 100644 --- a/Jusin154_Team3D/Editor/Private/Action_Panel.cpp +++ b/Jusin154_Team3D/Editor/Private/Action_Panel.cpp @@ -4,6 +4,8 @@ #include "Spell_Slot.h" #include "Spell_Image.h" #include "Spell_Overlay.h" +#include "Slot_Number.h" +#include "HpBarBG.h" CAction_Panel::CAction_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) :CPanelObject(pDevice, pContext) @@ -105,45 +107,11 @@ _vector CAction_Panel::Get_WorldPostion() HRESULT CAction_Panel::Bind_ShaderResources() { - if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) - { - return E_FAIL; - } - if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix))) - { - return E_FAIL; - } - if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix))) - { - return E_FAIL; - } - if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0))) - { - return E_FAIL; - } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) - { - return E_FAIL; - } - return S_OK; } HRESULT CAction_Panel::Ready_Components(void* pArg) { - if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) - { - return E_FAIL; - } - if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_ActionItemGoldleaf_4K"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) - { - return E_FAIL; - } - if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr))) - { - return E_FAIL; - } - return S_OK; } @@ -159,13 +127,23 @@ HRESULT CAction_Panel::Ready_Element(void* pArg) { return E_FAIL; } - Add_Element(TEXT("SpellImage"), m_pSpell_Image); + Add_Element(TEXT("Spell_Image"), m_pSpell_Image); if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pSpell_Overlay)))) { return E_FAIL; } - Add_Element(TEXT("SpellOverlay"), m_pSpell_Overlay); + Add_Element(TEXT("Spell_Overlay"), m_pSpell_Overlay); + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pSlot_Number)))) + { + return E_FAIL; + } + Add_Element(TEXT("Slot_Number"), m_pSlot_Number); + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pHpBarBG)))) + { + return E_FAIL; + } + Add_Element(TEXT("HpBarBG"), m_pHpBarBG); return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/Active_Icon.cpp b/Jusin154_Team3D/Editor/Private/Active_Icon.cpp index 106d5aa02..25432d584 100644 --- a/Jusin154_Team3D/Editor/Private/Active_Icon.cpp +++ b/Jusin154_Team3D/Editor/Private/Active_Icon.cpp @@ -110,9 +110,7 @@ void CActive_Icon::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } diff --git a/Jusin154_Team3D/Editor/Private/BuildingContainer.cpp b/Jusin154_Team3D/Editor/Private/BuildingContainer.cpp index 38c600af6..093b4f359 100644 --- a/Jusin154_Team3D/Editor/Private/BuildingContainer.cpp +++ b/Jusin154_Team3D/Editor/Private/BuildingContainer.cpp @@ -148,10 +148,10 @@ void CBuildingContainer::Describe_Entity() if (m_pGameInstance->Mouse_Down(DIM_LBUTTON) && m_pGameInstance->Key_Pressing(DIK_LSHIFT)) { CTerrain* pTerrain = m_pGameInstance->Get_Layer(ENUM_CLASS(LEVEL::MAP), TEXT("Layer_Terrain"))->Get_Object(); - /*if (nullptr != pTerrain) + if (nullptr != pTerrain) { - pTerrain->Get_Component()->Picking(pTerrain->Get_Component(), m_vPosition); - }*/ + pTerrain->Get_Component()->Picking(pTerrain->Get_Component()->Get_XMWorldMatrix(), &m_vPosition); + } } GUI::Text("----- Rotation ----"); diff --git a/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp b/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp index f2457673e..32e8b87dc 100644 --- a/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp +++ b/Jusin154_Team3D/Editor/Private/DummySkyBox.cpp @@ -40,10 +40,7 @@ void CDummySkyBox::Priority_Update(_float fTimeDelta) void CDummySkyBox::Update(_float fTimeDelta) { -#ifdef 기무리 - m_pTransformCom->Set_State(STATE::POSITION, m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_CAMERA)->Get_Object()->Get_WorldPostion()); -#endif // 기무리 -#ifndef 기무리 +#ifdef gimch m_pTransformCom->Set_State(STATE::POSITION, m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_CAMERA)->Get_Object()->Get_WorldPostion()); #endif // !기무리 } diff --git a/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp b/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp index 7c38a9b85..d30f3d89e 100644 --- a/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp +++ b/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp @@ -62,7 +62,7 @@ HRESULT CDummy_Cube::Render() return E_FAIL; } - if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::DEFAULT)))) { + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_MESH::SKYBOX)))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Editor/Private/Dummy_PhysXPlayable.cpp b/Jusin154_Team3D/Editor/Private/Dummy_PhysXPlayable.cpp index 3939b3eef..9983ecb9b 100644 --- a/Jusin154_Team3D/Editor/Private/Dummy_PhysXPlayable.cpp +++ b/Jusin154_Team3D/Editor/Private/Dummy_PhysXPlayable.cpp @@ -4,6 +4,8 @@ #include "GameInstance.h" #include "NomalJap.h" +#include "TrailObject.h" + CDummy_PhysXPlayable::CDummy_PhysXPlayable(ID3D11Device* pDevice, ID3D11DeviceContext* pContext): CGameObject(pDevice, pContext) { @@ -113,6 +115,16 @@ HRESULT CDummy_PhysXPlayable::Initialize(void* pArg) m_pCallBack_Behavior->Initialize(m_pCharacter_Controller, m_pRigidBody); m_pCallBack_HitReport->Initialize(m_pCharacter_Controller, m_pRigidBody); + CPartObject::PARTOBJECT_DESC PartsDesc{}; + + PartsDesc.pParentTransform = m_pTransformCom; + + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::EFFECT), CURRENT_LEVEL, LAYER_HITBOX, &PartsDesc, this))) { + assert(false); + return E_FAIL; + } + + return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/EditEffect.cpp b/Jusin154_Team3D/Editor/Private/EditEffect.cpp index b0b1bd29d..1cd833c01 100644 --- a/Jusin154_Team3D/Editor/Private/EditEffect.cpp +++ b/Jusin154_Team3D/Editor/Private/EditEffect.cpp @@ -41,8 +41,8 @@ void CEditEffect::Priority_Update(_float fTimeDelta) void CEditEffect::Update(_float fTimeDelta) { - if (m_bVisible == false) - return; + //if (m_bVisible == false) + // return; if (m_pInstance_ModelCom == nullptr) return; @@ -433,11 +433,17 @@ void CEditEffect::Describe_Entity() { ImGui::PushItemWidth(80); - GUI::DragFloat("EmissiveCutAlpha", &m_EffectInfo.fEmissiveCutAlpha, 0.005f, 0.f, 1.f); + GUI::DragFloat("EmissiveStrength", &m_EffectInfo.fEmissiveStrength, 0.005f, 0.f, 1.f); + GUI::DragFloat("Radius", &m_EffectInfo.fRadius, 0.005f); + GUI::DragFloat("CoreBoost", &m_EffectInfo.fCoreBoost, 0.005f); + GUI::DragFloat("SoftStrength", &m_EffectInfo.fSoftStrength, 0.005f); + GUI::DragFloat("SoftenExp", &m_EffectInfo.fSoftenExp, 0.005f); ImGui::PopItemWidth(); GUI::ColorEdit4("Emissive", (_float*)&m_EffectInfo.vEmissive); + + GUI::Checkbox("EmissiveTex", &m_EffectInfo.isEmissive); GUI::Checkbox("EmissiveDissolve", &m_EffectInfo.isEmissiveDissolve); @@ -573,9 +579,14 @@ void CEditEffect::Describe_Entity() GUI::InputFloat2("MaskUVCutting", (_float*)&m_EffectInfo.vUVMaskCutting); GUI::Checkbox("MaskUVMove", &m_EffectInfo.isMaskUVMove); + GUI::Checkbox("MaskClampSample", &m_EffectInfo.isMaskClampSample); ImGui::PushItemWidth(80); GUI::DragFloat2("MaskingUVGainAmount", (_float*)&m_EffectInfo.vMaskingUVGainAmount, 0.01f); + GUI::Spacing(); + GUI::DragFloat("SoftMask", &m_EffectInfo.fSoftMask, 0.01f, 0.f); + GUI::DragFloat("fSoftMaskEdge", &m_EffectInfo.fSoftMaskEdge, 0.01f, 0.f); + ImGui::PopItemWidth(); @@ -614,7 +625,7 @@ void CEditEffect::Describe_Entity() { if (GUI::TreeNode("DISSOLV_TEX")) { - + GUI::Checkbox("Nomal Dissolve", &m_EffectInfo.isNomalDissolve); GUI::Checkbox("Reverse Dissolve", &m_EffectInfo.isReverseDissolve); _string strName = m_pGameInstance->Asset_Description(ENUM_CLASS(LEVEL::EFFECT), "DISSOLVE_TEXTURE", (CComponent**)&m_pDissolve_TextureCom, nullptr, this); @@ -689,7 +700,8 @@ void CEditEffect::Describe_Entity() { if (GUI::TreeNode("NOISE")) { - + GUI::Checkbox("NoiseColor", &m_EffectInfo.isNoiseColor); + GUI::Checkbox("NoiseAlpha", &m_EffectInfo.isNoiseAlpha); GUI::Checkbox("NoiseMove", &m_EffectInfo.isNoiseUVMove); ImGui::PushItemWidth(80); @@ -721,21 +733,22 @@ void CEditEffect::Describe_Entity() GUI::TreePop(); } + ImGui::Begin("Simple Plot"); + + + ImGui::PlotLines("Value", m_ValueVector.data(), (int)m_ValueVector.size(), 0, nullptr, FLT_MAX, FLT_MAX, ImVec2(0, 100)); + + GUI::InputFloat("InputValue", &m_fInputValue); + + if (GUI::Button("AddValue")) + { + m_ValueVector.push_back(m_fInputValue); + } + + ImGui::End(); + } - ImGui::Begin("Simple Plot"); - - // samples.data()와 개수, optional offset 인덱스 등 넘길 수 있음 - ImGui::PlotLines("Value", m_ValueVector.data(), (int)m_ValueVector.size(), 0, nullptr, FLT_MAX, FLT_MAX, ImVec2(0, 100)); - - GUI::InputFloat("InputValue", &m_fInputValue); - - if (GUI::Button("AddValue")) - { - m_ValueVector.push_back(m_fInputValue); - } - - ImGui::End(); GUI::Separator(); GUI::Spacing(); diff --git a/Jusin154_Team3D/Editor/Private/EffectObject.cpp b/Jusin154_Team3D/Editor/Private/EffectObject.cpp index e5e85b552..060dcbd5f 100644 --- a/Jusin154_Team3D/Editor/Private/EffectObject.cpp +++ b/Jusin154_Team3D/Editor/Private/EffectObject.cpp @@ -40,11 +40,13 @@ HRESULT CEffectObject::Render() return E_FAIL; } + if (FAILED(m_pInstance_ModelCom->Bind_CS_Output(5, 1))) + return E_FAIL; + if (FAILED(m_pGameInstance->Bind_DepthStencil(m_pShaderCom, "g_DepthStencilTexture"))) return E_FAIL; - if (FAILED(m_pInstance_ModelCom->Bind_CS_Output(5, 1))) - return E_FAIL; + if (FAILED(m_pInstance_ModelCom->Render(i))) @@ -76,6 +78,7 @@ HRESULT CEffectObject::Render_Blur() for (_uint i = 0; i < m_pInstance_ModelCom->Get_NumMeshes(); i++) { + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_INSTANCE_MODEL::BLUR)))) { return E_FAIL; @@ -446,11 +449,11 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) m_strDiffuseName = szName; - } + if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strDiffuseName), + reinterpret_cast(&m_pDiffuse_TextureCom)))) + return E_FAIL; - if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strDiffuseName), - reinterpret_cast(&m_pDiffuse_TextureCom)))) - return E_FAIL; + } } if (m_EffectInfo.isNoise) @@ -471,11 +474,13 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) } m_strNoiseName = szName; + + if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strNoiseName), + reinterpret_cast(&m_pNoise_TextureCom)))) + return E_FAIL; } - if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strNoiseName), - reinterpret_cast(&m_pNoise_TextureCom)))) - return E_FAIL; + } if (m_EffectInfo.isMasking) @@ -497,11 +502,13 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) } m_strMaskingName = szName; + + if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strMaskingName), + reinterpret_cast(&m_pMasking_TextureCom)))) + return E_FAIL; } - if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strMaskingName), - reinterpret_cast(&m_pMasking_TextureCom)))) - return E_FAIL; + } if (m_EffectInfo.isDissolve) @@ -521,11 +528,13 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) } m_strDissolveName = szName; + + + if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strDissolveName), + reinterpret_cast(&m_pDissolve_TextureCom)))) + return E_FAIL; } - if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strDissolveName), - reinterpret_cast(&m_pDissolve_TextureCom)))) - return E_FAIL; } if (m_EffectInfo.isEmissive) @@ -545,11 +554,13 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) } m_strEmissiveName = szName; + + if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strEmissiveName), + reinterpret_cast(&m_pEmissive_TextureCom)))) + return E_FAIL; } - if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strEmissiveName), - reinterpret_cast(&m_pEmissive_TextureCom)))) - return E_FAIL; + } if (m_EffectInfo.isDistortion) @@ -569,11 +580,13 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) } m_strDistortionName = szName; + + if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strDistortionName), + reinterpret_cast(&m_pDistortion_TextureCom)))) + return E_FAIL; } - if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strDistortionName), - reinterpret_cast(&m_pDistortion_TextureCom)))) - return E_FAIL; + } size_t iComponentLength = {}; @@ -592,11 +605,13 @@ HRESULT CEffectObject::LoadPre(const _char* pFilePath, LEVEL eLevel) } m_strModelName = szName; + + + if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strModelName), + reinterpret_cast(&m_pInstance_ModelCom)))) + return E_FAIL;; } - if (FAILED(__super::Add_Asset_Component(ENUM_CLASS(eLevel), CMyTools::ToWstring(m_strModelName), - reinterpret_cast(&m_pInstance_ModelCom)))) - return E_FAIL;; m_pInstance_ModelCom->PreLoad(hFile); @@ -663,8 +678,22 @@ HRESULT CEffectObject::Bind_ShaderResources() if (FAILED(m_pShaderCom->Bind_RawValue("g_isEmissiveDissolve", &m_EffectInfo.isEmissiveDissolve, sizeof(_bool)))) { return E_FAIL; } - - + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isMaskClampSample", &m_EffectInfo.isMaskClampSample, sizeof(_bool)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isNoiseColor", &m_EffectInfo.isNoiseColor, sizeof(_bool)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isNoiseAlpha", &m_EffectInfo.isNoiseAlpha, sizeof(_bool)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_isNomalDissolve", &m_EffectInfo.isNomalDissolve, sizeof(_bool)))) { + return E_FAIL; + } if (FAILED(m_pShaderCom->Bind_RawValue("g_vColor", &m_EffectInfo.vColor, sizeof(_float4)))) { return E_FAIL; @@ -674,7 +703,7 @@ HRESULT CEffectObject::Bind_ShaderResources() return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fEmissiveCutAlpha", &m_EffectInfo.fEmissiveCutAlpha, sizeof(_float)))) { + if (FAILED(m_pShaderCom->Bind_RawValue("g_fEmissiveStrength", &m_EffectInfo.fEmissiveStrength, sizeof(_float)))) { return E_FAIL; } @@ -730,12 +759,36 @@ HRESULT CEffectObject::Bind_ShaderResources() return E_FAIL; } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fDiffuseAlpha", &m_EffectInfo.fDiffuseAlpha, sizeof(_float)))) { return E_FAIL; } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fSoftenExp", &m_EffectInfo.fSoftenExp, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fSoftStrength", &m_EffectInfo.fSoftStrength, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fCoreBoost", &m_EffectInfo.fCoreBoost, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fRadius", &m_EffectInfo.fRadius, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fSoftMaskEdge", &m_EffectInfo.fSoftMaskEdge, sizeof(_float)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fSoftMask", &m_EffectInfo.fSoftMask, sizeof(_float)))) { + return E_FAIL; + } - if (m_pDiffuse_TextureCom != nullptr) { diff --git a/Jusin154_Team3D/Editor/Private/Effect_Editor.cpp b/Jusin154_Team3D/Editor/Private/Effect_Editor.cpp index dd458cfff..2d06336bb 100644 --- a/Jusin154_Team3D/Editor/Private/Effect_Editor.cpp +++ b/Jusin154_Team3D/Editor/Private/Effect_Editor.cpp @@ -152,8 +152,10 @@ HRESULT CEffect_Editor::ReSaveFile(const _char* pDirectoryPath) - if (FAILED(Add_PartObject("ReSaveFile" + iIndex++ , ENUM_CLASS(LEVEL::EFFECT), &pEditEffect, &PartsDesc))) + if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::EFFECT), CURRENT_LEVEL, TEXT("Layer_Effect"), &PartsDesc, this , &pEditEffect))) { + assert(false); return E_FAIL; + } if (FAILED(pEditEffect->LoadPre(szFilePath, LEVEL::EFFECT))) { @@ -172,7 +174,7 @@ HRESULT CEffect_Editor::ReSaveFile(const _char* pDirectoryPath) pEditEffect->Save_Effect(strPath.c_str()); - Safe_Release(pEditEffect); + pEditEffect->Set_Dead(); } return S_OK; diff --git a/Jusin154_Team3D/Editor/Private/HpBarBG.cpp b/Jusin154_Team3D/Editor/Private/HpBarBG.cpp new file mode 100644 index 000000000..1f9b5b178 --- /dev/null +++ b/Jusin154_Team3D/Editor/Private/HpBarBG.cpp @@ -0,0 +1,242 @@ +#include "pch.h" +#include "HpBarBG.h" +#include "GameInstance.h" + +CHpBarBG::CHpBarBG(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) + :CElementObject(pDevice, pContext) +{ +} + +CHpBarBG::CHpBarBG(const CHpBarBG& rhs) + :CElementObject(rhs) +{ +} + +HRESULT CHpBarBG::Initialize_Prototype() +{ + return S_OK; +} + +HRESULT CHpBarBG::Initialize(void* pArg) +{ + CUIObject::UIOBJECT_DESC Desc{}; + + Desc.fX = 0.f; + Desc.fY = 0.f; + Desc.fSizeX = 194.f; + Desc.fSizeY = 32.f; + + m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) }; + + if (FAILED(__super::Initialize(&Desc))) + { + return E_FAIL; + } + if (FAILED(Ready_Components(pArg))) + { + return E_FAIL; + } + + m_fTimeMult = 3.f; + m_fAlpha = 1.f; + m_fAlphaTime = 1.f; + m_vNine_Slice = _float4(27.f, 165.f, m_fSizeY * 0.5f, m_fSizeY * 0.5f); + return S_OK; +} + +void CHpBarBG::Priority_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + __super::Priority_Update(fTimeDelta); +} + +void CHpBarBG::Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + + if (m_bFadeIn == true) + { + if (m_fAlpha <= 1.f) + m_fAlpha += fTimeDelta * m_fAlphaTime; + + if (m_fAlpha >= 1.f) + { + m_bFadeIn = false; + m_fAlpha = 1.f; + } + } + + if (m_bFadeOut == true) + { + if (m_fAlpha >= 0.f) + m_fAlpha -= fTimeDelta; + + if (m_fAlpha <= 0.f) + { + m_bFadeOut = false; + m_fAlpha = 0.f; + } + } + + m_fTime += fTimeDelta * m_fTimeMult; + __super::Update(fTimeDelta); +} + +void CHpBarBG::Late_Update(_float fTimeDelta) +{ + if (!__super::Chack_Visible()) + { + return; + } + if (m_bVisible) { + m_pGameInstance->Add_RenderGroup(RENDER::UI, this); + __super::Late_Update(fTimeDelta); + } +} + +HRESULT CHpBarBG::Render() +{ + if (FAILED(Bind_ShaderResources())) { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::HPBAR)))) { + return E_FAIL; + } + if (FAILED(m_pVIBufferCom->Bind_Resources())) { + return E_FAIL; + } + if (FAILED(m_pVIBufferCom->Render())) { + return E_FAIL; + } + + return S_OK; +} + +_vector CHpBarBG::Get_WorldPostion() +{ + return m_pTransformCom->Get_State(STATE::POSITION); +} + +HRESULT CHpBarBG::Bind_ShaderResources() +{ + if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix))) + { + return E_FAIL; + } + if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0))) + { + return E_FAIL; + } + if (FAILED(m_pDiffuse_TextureCom1->Bind_ShaderResource(m_pShaderCom, "g_Texture1", 0))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTime, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2)))) + { + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2)))) + { + return E_FAIL; + } + return S_OK; +} + +HRESULT CHpBarBG::Ready_Components(void* pArg) +{ + if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_HealthMeter_Middle_4K"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_HUD_HealthMeterFill"), reinterpret_cast(&m_pDiffuse_TextureCom1), nullptr))) + { + return E_FAIL; + } + if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr))) + { + return E_FAIL; + } + return S_OK; +} + +CHpBarBG* CHpBarBG::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) +{ + CHpBarBG* pInstance = new CHpBarBG(pDevice, pContext); + + if (FAILED(pInstance->Initialize_Prototype())) + { + MSG_BOX("Failed to Created : CHpBarBG"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +CGameObject* CHpBarBG::Clone(void* pArg, CGameObject* pOwner) +{ + CHpBarBG* pInstance = new CHpBarBG(*this); + pInstance->m_pOwner = pOwner; + if (FAILED(pInstance->Initialize(pArg))) + { + MSG_BOX("Failed to Cloned : CSpell_Image"); + SAFE_RELEASE(pInstance); + } + + return pInstance; +} + +void CHpBarBG::Free() +{ + __super::Free(); + + SAFE_RELEASE(m_pDiffuse_TextureCom); + SAFE_RELEASE(m_pDiffuse_TextureCom1); + SAFE_RELEASE(m_pShaderCom); + SAFE_RELEASE(m_pVIBufferCom); +} + +void CHpBarBG::Describe_Entity() +{ +} diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp index f452d2323..7dad12d2e 100644 --- a/Jusin154_Team3D/Editor/Private/Loader.cpp +++ b/Jusin154_Team3D/Editor/Private/Loader.cpp @@ -56,6 +56,8 @@ #include "Spell_Slot.h" #include "Spell_Image.h" #include "Spell_Overlay.h" +#include "Slot_Number.h" +#include "HpBarBG.h" #include "IMGUIUI.h" @@ -409,7 +411,6 @@ HRESULT CLoader::Loading_For_UI() CVIBuffer_UI_Instance::UI_INSTANCE_DESC SpellSlotUIDesc{}; SpellSlotUIDesc.iNum = 4; - SpellSlotUIDesc.vPsition = _float2(100.f, 100.f); if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_UI_Instance"), CVIBuffer_UI_Instance::Create(m_pDevice, m_pContext, &SpellSlotUIDesc)))) { @@ -419,7 +420,6 @@ HRESULT CLoader::Loading_For_UI() CVIBuffer_UI_Instance::UI_INSTANCE_DESC SlotNumberUIDesc{}; SlotNumberUIDesc.iNum = 4; - SlotNumberUIDesc.vPsition = _float2(100.f, 100.f); if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Slot_Number_UI_Instance"), CVIBuffer_UI_Instance::Create(m_pDevice, m_pContext, &SlotNumberUIDesc)))) { @@ -522,6 +522,14 @@ HRESULT CLoader::Loading_For_UI() { return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CSlot_Number::Create(m_pDevice, m_pContext)))) + { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CHpBarBG::Create(m_pDevice, m_pContext)))) + { + return E_FAIL; + } if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CIMGUIUI::Create(m_pDevice, m_pContext)))) { @@ -596,9 +604,8 @@ HRESULT CLoader::Loading_For_Effect() _string strFilePath = pFilePath; _wstring wstrFilePath = CMyTools::ToWstring(strFilePath); - if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::EFFECT), wstrFileName, - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, wstrFilePath.c_str(), 0, wstrFileName)))) { + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, wstrFilePath.c_str(), 0)))) { return E_FAIL; } @@ -1172,11 +1179,8 @@ void APIENTRY Deferred_FolderLoad_Main(ID3D11Device* pDevice, ID3D11DeviceContex _uint iNumMesh = pModel->Get_NumMeshes(); { - if (true == bUseTag) - { - pContents->pModelTag = wstrFileName; - pContents->pathModel = file.path(); - } + pContents->pModelTag = wstrFileName; + pContents->pathModel = file.path(); pContents->pLoadedModel = pModel; @@ -1451,7 +1455,33 @@ HRESULT CLoader::Loading_For_MapViewer() // return E_FAIL; //} if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("TerrainTest"), - CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures/T_LandscapeStreamingProxy_0_LOD1_Summer_D.png"), 0)))) { + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Textures//T_LandscapeStreamingProxy_0_LOD1_Summer_D.png"), 0)))) { + return E_FAIL; + } + + + + + + + /* Terrain_Mask */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Mask"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::SINGLE, TEXT("../Bin/Resources/Data/Map/T_OL_GrassBlend_Mask_D.dds"), 0)))) { + return E_FAIL; + } + /* Terrain_Diffuse */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Diffuse"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_D_%d.dds"), 2)))) { + return E_FAIL; + } + /* Terrain_Normal */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_Normal"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_N_%d.dds"), 2)))) { + return E_FAIL; + } + /* Terrain_MRO */ + if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("Terrain_MRO"), + CTexture::Create(m_pDevice, m_pContext, TEXTURE_LOAD_TYPE::INCREMENTAL, TEXT("../Bin/Resources/Textures/Terrain/Terrain_MRO_%d.dds"), 2)))) { return E_FAIL; } @@ -1476,13 +1506,13 @@ HRESULT CLoader::Loading_For_MapViewer() vector ModelPrototypePath = {}; #pragma region HOGSMEADE - + // ///* Terrain*/ //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\Terrain", - // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // ".bin", true, ModelPrototypeTags, ModelPrototypePath))) // return E_FAIL; //if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Terrain", - // ".bin", false, ModelPrototypeTags, ModelPrototypePath))) + // ".bin", true, ModelPrototypeTags, ModelPrototypePath))) // return E_FAIL; ///* TScrolls*/ @@ -1663,317 +1693,317 @@ HRESULT CLoader::Loading_For_MapViewer() #pragma endregion -#ifdef 기무리 +#ifdef gimch -vector> jobFutures; - -_uint iLoadCount = 46; -vector*> Contents(iLoadCount); - -{ - { /* Terrain */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\Terrain", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Terrain", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* TScrolls */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TScrolls\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TScrolls\\Collisions", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* 3BroomStick*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Meshes\\3Broom_Kit", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* Ollivanders*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Ollivanders\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Ollivanders\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* Gatehouse*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Gatehouse\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_QuidditchShop */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_QuidditchShop\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_QuidditchShop\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_HogsheadInn */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_HogsheadInn\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_HogsheadInn\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_Honeydukes */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Honeydukes\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Honeydukes\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_OwlPost */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_OwlPost\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_OwlPost\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_TeaShop */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TeaShop\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TeaShop\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_Zonkos */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Zonkos\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Zonkos\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_DB_GR */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_DB_GR\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_DB_GR\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_Potions */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Potions\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Potions\\Collisions", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* BLDG_Salon */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Salon\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Salon\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* Hengist_Tree */ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Vegetation\\Hengist_Tree", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\Vegetation", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN A*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_A\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_A\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN B*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_B\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_B\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN C*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN E*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_E\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_E\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN F*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_F\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_F\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN G*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_G\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_G\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN H*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_H\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_H\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } - { /* GEN J*/ - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_J\\Meshes", - ".bin", false, - &Contents[jobFutures.size()] - )); - jobFutures.emplace_back(Deferred_FolderLoad( - "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_J\\Collision", - ".bin", false, - &Contents[jobFutures.size()] - )); - } -} - -for (auto& jobFuture : jobFutures) -{ - jobFuture.get(); -} - -for (_uint i = 0; i < Contents.size(); ++i) { - for (_uint j = 0; j < (Contents[i])->size(); ++j) { - FOLDER_LOAD* pContents = (*Contents[i])[j]; - if (true == pContents->bLoadTags) { - ModelPrototypeTags.push_back(pContents->pModelTag); - ModelPrototypePath.push_back(pContents->pathModel); - } - - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pModelTag, pContents->pLoadedModel))) { - return E_FAIL; - } - - for (_uint k = 0; k < pContents->pRigidBodyTags.size(); ++k) { - if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pRigidBodyTags[k], pContents->LoadedRigidBody[k]))) { - return E_FAIL; - } - } - - } -} +//vector> jobFutures; +// +//_uint iLoadCount = 46; +//vector*> Contents(iLoadCount); +// +//{ +// { /* Terrain */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\Terrain", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Terrain", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* TScrolls */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TScrolls\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TScrolls\\Collisions", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* 3BroomStick*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_ThreeBroomsticks\\Meshes\\3Broom_Kit", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* Ollivanders*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Ollivanders\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Ollivanders\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* Gatehouse*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Gatehouse\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_QuidditchShop */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_QuidditchShop\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_QuidditchShop\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_HogsheadInn */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_HogsheadInn\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_HogsheadInn\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_Honeydukes */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Honeydukes\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Honeydukes\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_OwlPost */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_OwlPost\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_OwlPost\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_TeaShop */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TeaShop\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_TeaShop\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_Zonkos */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Zonkos\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Zonkos\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_DB_GR */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_DB_GR\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_DB_GR\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_Potions */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Potions\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Potions\\Collisions", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* BLDG_Salon */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Salon\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_Salon\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* Hengist_Tree */ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Meshes\\Vegetation\\Hengist_Tree", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\Common\\Collision\\Vegetation", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN A*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_A\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_A\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN B*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_B\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_B\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN C*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_C\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN E*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_E\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_E\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN F*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_F\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_F\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN G*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_G\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_G\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN H*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_H\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_H\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +// { /* GEN J*/ +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_J\\Meshes", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// jobFutures.emplace_back(Deferred_FolderLoad( +// "C:\\MeshTable\\Game\\Environment\\Hogsmeade\\BLDG_GEN_J\\Collision", +// ".bin", false, +// &Contents[jobFutures.size()] +// )); +// } +//} +// +//for (auto& jobFuture : jobFutures) +//{ +// jobFuture.get(); +//} +// +//for (_uint i = 0; i < Contents.size(); ++i) { +// for (_uint j = 0; j < (Contents[i])->size(); ++j) { +// FOLDER_LOAD* pContents = (*Contents[i])[j]; +// if (true == pContents->bLoadTags) { +// ModelPrototypeTags.push_back(pContents->pModelTag); +// ModelPrototypePath.push_back(pContents->pathModel); +// } +// +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pModelTag, pContents->pLoadedModel))) { +// return E_FAIL; +// } +// +// for (_uint k = 0; k < pContents->pRigidBodyTags.size(); ++k) { +// if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pContents->pRigidBodyTags[k], pContents->LoadedRigidBody[k]))) { +// return E_FAIL; +// } +// } +// +// } +//} #endif // 기무리 @@ -2038,12 +2068,12 @@ for (_uint i = 0; i < Contents.size(); ++i) { m_isFinished = true; - for (_uint i = 0; i < Contents.size(); ++i) { - for (_uint j = 0; j < (Contents[i])->size(); ++j) { - Safe_Delete((*Contents[i])[j]); - } - Safe_Delete(Contents[i]); - } + //for (_uint i = 0; i < Contents.size(); ++i) { + // for (_uint j = 0; j < (Contents[i])->size(); ++j) { + // Safe_Delete((*Contents[i])[j]); + // } + // Safe_Delete(Contents[i]); + //} return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/LoadingWidget.cpp b/Jusin154_Team3D/Editor/Private/LoadingWidget.cpp index c70c6d53c..9adb078a0 100644 --- a/Jusin154_Team3D/Editor/Private/LoadingWidget.cpp +++ b/Jusin154_Team3D/Editor/Private/LoadingWidget.cpp @@ -108,9 +108,7 @@ void CLoadingWidget::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } diff --git a/Jusin154_Team3D/Editor/Private/LoadingWidget_Flame.cpp b/Jusin154_Team3D/Editor/Private/LoadingWidget_Flame.cpp index 8f8a40f48..7ad4d88cd 100644 --- a/Jusin154_Team3D/Editor/Private/LoadingWidget_Flame.cpp +++ b/Jusin154_Team3D/Editor/Private/LoadingWidget_Flame.cpp @@ -117,9 +117,7 @@ void CLoadingWidget_Flame::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } diff --git a/Jusin154_Team3D/Editor/Private/Loading_Panel.cpp b/Jusin154_Team3D/Editor/Private/Loading_Panel.cpp index e43c4d815..6ef81645e 100644 --- a/Jusin154_Team3D/Editor/Private/Loading_Panel.cpp +++ b/Jusin154_Team3D/Editor/Private/Loading_Panel.cpp @@ -1,4 +1,4 @@ -#include "pch.h" +#include "pch.h" #include "Loading_Panel.h" #include "GameInstance.h" #include "LoadingWidget.h" diff --git a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp index 33d5eafe9..96ca17ab4 100644 --- a/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp +++ b/Jusin154_Team3D/Editor/Private/MapObject_Manager.cpp @@ -28,8 +28,7 @@ CMapObject_Manager::CMapObject_Manager(const CMapObject_Manager& rhs) HRESULT CMapObject_Manager::Initialize_Prototype(vector<_wstring>& ModelPrototypeTags, vector& ModelPrototypePaths) { - //for (auto& Tag : ModelPrototypeTags) - for (_uint i = 0 ; i < ModelPrototypeTags.size(); ++i) + /*for (_uint i = 0 ; i < ModelPrototypeTags.size(); ++i) { if (_wstring::npos != ModelPrototypeTags[i].find(L"Lod")) { @@ -42,7 +41,7 @@ HRESULT CMapObject_Manager::Initialize_Prototype(vector<_wstring>& ModelPrototyp m_ModelPrototypeTags.push_back(ModelPrototypeTags[i]); m_ModelPrototypePaths.push_back(ModelPrototypePaths[i]); - } + }*/ return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/MiniMap_Panel.cpp b/Jusin154_Team3D/Editor/Private/MiniMap_Panel.cpp index 2c3886feb..b08320615 100644 --- a/Jusin154_Team3D/Editor/Private/MiniMap_Panel.cpp +++ b/Jusin154_Team3D/Editor/Private/MiniMap_Panel.cpp @@ -68,9 +68,6 @@ void CMiniMap_Panel::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { - m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } } __super::Late_Update(fTimeDelta); } @@ -92,10 +89,7 @@ HRESULT CMiniMap_Panel::Bind_ShaderResources() HRESULT CMiniMap_Panel::Ready_Components(void* pArg) { - if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) - { - return E_FAIL; - } + return S_OK; } diff --git a/Jusin154_Team3D/Editor/Private/MiniMap_TrimBorder.cpp b/Jusin154_Team3D/Editor/Private/MiniMap_TrimBorder.cpp index 4fac0d622..3aafbe280 100644 --- a/Jusin154_Team3D/Editor/Private/MiniMap_TrimBorder.cpp +++ b/Jusin154_Team3D/Editor/Private/MiniMap_TrimBorder.cpp @@ -94,9 +94,7 @@ void CMiniMap_TrimBorder::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } diff --git a/Jusin154_Team3D/Editor/Private/MissionBanner_Border.cpp b/Jusin154_Team3D/Editor/Private/MissionBanner_Border.cpp index d11839c1b..0258e390e 100644 --- a/Jusin154_Team3D/Editor/Private/MissionBanner_Border.cpp +++ b/Jusin154_Team3D/Editor/Private/MissionBanner_Border.cpp @@ -128,9 +128,7 @@ void CMissionBanner_Border::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } diff --git a/Jusin154_Team3D/Editor/Private/MissionBanner_Key.cpp b/Jusin154_Team3D/Editor/Private/MissionBanner_Key.cpp index d2fd24b92..a0fa7faf5 100644 --- a/Jusin154_Team3D/Editor/Private/MissionBanner_Key.cpp +++ b/Jusin154_Team3D/Editor/Private/MissionBanner_Key.cpp @@ -94,9 +94,7 @@ void CMissionBanner_Key::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } diff --git a/Jusin154_Team3D/Editor/Private/Mission_Key.cpp b/Jusin154_Team3D/Editor/Private/Mission_Key.cpp index 93a4f0ec0..04e828639 100644 --- a/Jusin154_Team3D/Editor/Private/Mission_Key.cpp +++ b/Jusin154_Team3D/Editor/Private/Mission_Key.cpp @@ -94,9 +94,7 @@ void CMission_Key::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } diff --git a/Jusin154_Team3D/Editor/Private/Mission_KeyHold.cpp b/Jusin154_Team3D/Editor/Private/Mission_KeyHold.cpp index 28e643dba..fcc39e4a9 100644 --- a/Jusin154_Team3D/Editor/Private/Mission_KeyHold.cpp +++ b/Jusin154_Team3D/Editor/Private/Mission_KeyHold.cpp @@ -129,9 +129,7 @@ void CMission_KeyHold::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } diff --git a/Jusin154_Team3D/Editor/Private/Mission_Panel.cpp b/Jusin154_Team3D/Editor/Private/Mission_Panel.cpp index 62b7d60f7..97c9e2331 100644 --- a/Jusin154_Team3D/Editor/Private/Mission_Panel.cpp +++ b/Jusin154_Team3D/Editor/Private/Mission_Panel.cpp @@ -74,8 +74,7 @@ void CMission_Panel::Late_Update(_float fTimeDelta) } if (m_bVisible) { - //_float4* vPos = (_float4*)(m_pTransformCom->Get_WorldMatrixPtr()->m[3]); - //m_pGameInstance->Add_RenderGroup(RENDER::UI, this, *vPos, m_pTransformCom->Get_Radius()); + } __super::Late_Update(fTimeDelta); diff --git a/Jusin154_Team3D/Editor/Private/NomalJap.cpp b/Jusin154_Team3D/Editor/Private/NomalJap.cpp index 6f32e0139..73caa4978 100644 --- a/Jusin154_Team3D/Editor/Private/NomalJap.cpp +++ b/Jusin154_Team3D/Editor/Private/NomalJap.cpp @@ -35,7 +35,7 @@ HRESULT CNomalJap::Initialize(void* pArg) if (FAILED(Ready_Child())) return E_FAIL; - Load_Package("../Bin/Resources/Data/Effect/Package/Jap"); + Load_Package("../Bin/Resources/Data/Effect/Package/Jap3"); m_wstrEffectName = L"Nomal_Jap"; @@ -89,7 +89,7 @@ HRESULT CNomalJap::Ready_Child() Desc.vRotRPY = { 0.f, 0.f, 0.f }; Desc.iSubKind = 70; - Desc.vDeltaPos = { 0.f, 0.f, 1.f }; + Desc.vDeltaPos = { 0.f, 0.f, 2.f }; Desc.vLifeTime = { 0.f, 2.f }; if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, CURRENT_LEVEL, LAYER_HITBOX, &Desc, this , &m_pPhysHitBox))) { diff --git a/Jusin154_Team3D/Editor/Private/Slot_Number.cpp b/Jusin154_Team3D/Editor/Private/Slot_Number.cpp index 5c78a5345..a4197a00f 100644 --- a/Jusin154_Team3D/Editor/Private/Slot_Number.cpp +++ b/Jusin154_Team3D/Editor/Private/Slot_Number.cpp @@ -3,18 +3,18 @@ #include "GameInstance.h" CSlot_Number::CSlot_Number(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) - :CElementObject(pDevice, pContext) + :CElementObject(pDevice, pContext) { } CSlot_Number::CSlot_Number(const CSlot_Number& rhs) - :CElementObject(rhs) + :CElementObject(rhs) { } HRESULT CSlot_Number::Initialize_Prototype() { - return S_OK; + return S_OK; } HRESULT CSlot_Number::Initialize(void* pArg) @@ -22,9 +22,9 @@ HRESULT CSlot_Number::Initialize(void* pArg) CUIObject::UIOBJECT_DESC Desc{}; Desc.fX = 0.f; - Desc.fY = 98.f; - Desc.fSizeX = 150.f; - Desc.fSizeY = 150.f; + Desc.fY = 0.f; + Desc.fSizeX = 35.f; + Desc.fSizeY = 35.f; m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) }; @@ -36,17 +36,17 @@ HRESULT CSlot_Number::Initialize(void* pArg) { return E_FAIL; } - m_fAlpha = 1.f; m_fTimeMult = 3.f; - m_fAngle = XMConvertToRadians(-135); m_fAlphaTime = 1.f; m_fOffSetX = 101.f; m_fOffSetY = 101.f; m_iCols = 4; + UV(); m_pVIBufferCom->Set_Cloned(true); - m_pVIBufferCom->Set_Pos(m_fX, m_fY, m_fOffSetX, m_fOffSetY, m_iCols); + m_pVIBufferCom->Set_Pos(-30.f, 30.f, m_fOffSetX, m_fOffSetY, m_iCols); m_pVIBufferCom->Set_Size(m_fSizeX, m_fSizeY); + m_pVIBufferCom->Set_ImageUV(pUVDesc); return S_OK; } @@ -101,10 +101,7 @@ void CSlot_Number::Late_Update(_float fTimeDelta) } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) - { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } } __super::Late_Update(fTimeDelta); } @@ -115,7 +112,7 @@ HRESULT CSlot_Number::Render() { return E_FAIL; } - if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::DEFAULT)))) + if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::ALPHABLEND)))) { return E_FAIL; } @@ -177,10 +174,6 @@ HRESULT CSlot_Number::Bind_ShaderResources() { return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_RawValue("g_fAngle", &m_fAngle, sizeof(_float)))) - { - return E_FAIL; - } if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float)))) { return E_FAIL; @@ -199,11 +192,11 @@ HRESULT CSlot_Number::Bind_ShaderResources() HRESULT CSlot_Number::Ready_Components(void* pArg) { - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_UI_Instance"), (CComponent**)&m_pVIBufferCom, nullptr))) + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Component_VIBuffer_Slot_Number_UI_Instance"), (CComponent**)&m_pVIBufferCom, nullptr))) { return E_FAIL; } - if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_ActionItemGoldleaf_4K"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) + if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_Atlas_Number"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) { return E_FAIL; } @@ -215,6 +208,55 @@ HRESULT CSlot_Number::Ready_Components(void* pArg) return S_OK; } +void CSlot_Number::UV() +{ + pUVDesc[0].fUVStart = Compute_UVX(1); + pUVDesc[0].fUVEnd = Compute_UVY(1); + pUVDesc[1].fUVStart = Compute_UVX(2); + pUVDesc[1].fUVEnd = Compute_UVY(2); + pUVDesc[2].fUVStart = Compute_UVX(3); + pUVDesc[2].fUVEnd = Compute_UVY(3); + pUVDesc[3].fUVStart = Compute_UVX(4); + pUVDesc[3].fUVEnd = Compute_UVY(4); +} + +_float2 CSlot_Number::Compute_UVX(_uint Number) +{ + m_fIamge_Size = { 320.f, 128.f }; + + _uint iXCount = 5; + _uint iYCount = 2; + + _float frameWidth = 64.f; + _float frameHeight = 64.f; + + _uint frameX = Number % iXCount; + _uint frameY = Number / iXCount; + + _float2 UVStart; + UVStart.x = frameX * frameWidth / m_fIamge_Size.x; + UVStart.y = frameY * frameHeight / m_fIamge_Size.y; + + return UVStart; +} + +_float2 CSlot_Number::Compute_UVY(_uint Number) +{ + m_fIamge_Size = { 320.f, 128.f }; + + _float frameWidth = 64.f; + _float frameHeight = 64.f; + + // Start 구함 + _float2 UVStart = Compute_UVX(Number); + + _float2 UVEnd; + UVEnd.x = UVStart.x + (frameWidth / m_fIamge_Size.x); + UVEnd.y = UVStart.y + (frameHeight / m_fIamge_Size.y); + + return UVEnd; +} + CSlot_Number* CSlot_Number::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext) { CSlot_Number* pInstance = new CSlot_Number(pDevice, pContext); diff --git a/Jusin154_Team3D/Editor/Private/Spell_Image.cpp b/Jusin154_Team3D/Editor/Private/Spell_Image.cpp index 36b98df32..966ecac36 100644 --- a/Jusin154_Team3D/Editor/Private/Spell_Image.cpp +++ b/Jusin154_Team3D/Editor/Private/Spell_Image.cpp @@ -96,9 +96,7 @@ void CSpell_Image::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } __super::Late_Update(fTimeDelta); } } @@ -174,6 +172,7 @@ HRESULT CSpell_Image::Bind_ShaderResources() } return S_OK; } + HRESULT CSpell_Image::Ready_Components(void* pArg) { if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) diff --git a/Jusin154_Team3D/Editor/Private/Spell_Overlay.cpp b/Jusin154_Team3D/Editor/Private/Spell_Overlay.cpp index f400767aa..e808ae05d 100644 --- a/Jusin154_Team3D/Editor/Private/Spell_Overlay.cpp +++ b/Jusin154_Team3D/Editor/Private/Spell_Overlay.cpp @@ -116,9 +116,7 @@ void CSpell_Overlay::Late_Update(_float fTimeDelta) return; } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } } __super::Late_Update(fTimeDelta); } diff --git a/Jusin154_Team3D/Editor/Private/Spell_Slot.cpp b/Jusin154_Team3D/Editor/Private/Spell_Slot.cpp index 6efea7de5..928f9ccba 100644 --- a/Jusin154_Team3D/Editor/Private/Spell_Slot.cpp +++ b/Jusin154_Team3D/Editor/Private/Spell_Slot.cpp @@ -22,7 +22,7 @@ HRESULT CSpell_Slot::Initialize(void* pArg) CUIObject::UIOBJECT_DESC Desc{}; Desc.fX = 0.f; - Desc.fY = 98.f; + Desc.fY = 0.f; Desc.fSizeX = 100.f; Desc.fSizeY = 100.f; @@ -39,14 +39,15 @@ HRESULT CSpell_Slot::Initialize(void* pArg) m_fAlpha = 1.f; m_fTimeMult = 3.f; - m_fAngle = XMConvertToRadians(-135); + m_fAngle = XMConvertToRadians(45); m_fAlphaTime = 1.f; m_fOffSetX = 101.f; m_fOffSetY = 101.f; m_iCols = 4; m_pVIBufferCom->Set_Cloned(true); - m_pVIBufferCom->Set_Pos(m_fX, m_fY, m_fOffSetX, m_fOffSetY, m_iCols); + m_pVIBufferCom->Set_Pos(0.f, 0.f, m_fOffSetX, m_fOffSetY, m_iCols); m_pVIBufferCom->Set_Size(m_fSizeX, m_fSizeY); + m_pVIBufferCom->Set_ImageUV(); return S_OK; } @@ -101,10 +102,7 @@ void CSpell_Slot::Late_Update(_float fTimeDelta) } if (m_bVisible) { - if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) - { m_pGameInstance->Add_RenderGroup(RENDER::UI, this); - } } __super::Late_Update(fTimeDelta); } diff --git a/Jusin154_Team3D/Editor/Private/Terrain.cpp b/Jusin154_Team3D/Editor/Private/Terrain.cpp index 7ed849299..836219ae5 100644 --- a/Jusin154_Team3D/Editor/Private/Terrain.cpp +++ b/Jusin154_Team3D/Editor/Private/Terrain.cpp @@ -28,8 +28,11 @@ HRESULT CTerrain::Initialize(void* pArg) if (FAILED(Ready_Components())) return E_FAIL; + m_fUsingSurfaceParams = 15.f / 27.f; m_vRotation = _float3{ 0.f, 0.f, 0.f }; - //m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-128.f, -100.f, -128.f, 1.f)); + m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(-194, 18.5f, -153.f, 1.f)); + + //m_pVIBufferCom->Set_CullingRadius(0.04f); return S_OK; } @@ -37,34 +40,39 @@ HRESULT CTerrain::Initialize(void* pArg) void CTerrain::Priority_Update(_float fTimeDelta) { GUI::Begin("Picking Position"); - if (m_pGameInstance->Mouse_Pressing(0)) + if (m_pGameInstance->Mouse_Pressing(DIM_LBUTTON)) { - if (m_pGameInstance->isPicking(&m_vPickingPosition)) + if (m_pVIBufferCom->Picking(m_pTransformCom->Get_XMWorldMatrix(), &m_vPickingPosition)) { - m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), m_vPickingPosition.y); + if(m_pGameInstance->Key_Pressing(DIK_PERIOD)) + m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), 0.01f); + if(m_pGameInstance->Key_Pressing(DIK_COMMA)) + m_pVIBufferCom->FitY(m_pTransformCom->Get_XMWorldMatrix(), -0.01f); } } - GUI::InputFloat("Height Ratio", &m_fHeightRatio); + /*GUI::InputFloat("Height Ratio", &m_fHeightRatio); max(0.01f, m_fHeightRatio); - +*/ //m_pVIBufferCom->Change_HeigthRatio(m_fHeightRatio); - GUI::DragFloat3("Picking", (_float*)(&m_vPickingPosition)); + //GUI::DragFloat3("Picking", (_float*)(&m_vPickingPosition)); _float4 vPos = {}; _float3 vRotation = {}; XMStoreFloat4(&vPos, m_pTransformCom->Get_State(STATE::POSITION)); GUI::DragFloat3("Pos", (_float*)(&vPos)); GUI::DragFloat3("Rota", (_float*)(&m_vRotation)); - m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z)); + //m_pTransformCom->Rotation(XMConvertToRadians(m_vRotation.x), XMConvertToRadians(m_vRotation.y), XMConvertToRadians(m_vRotation.z)); m_pTransformCom->Set_State(STATE::POSITION, XMLoadFloat4(&vPos)); + GUI::DragFloat("Culling Radius", &m_fCullingRadius, 0.01f, 0.01f, 2.f); + GUI::End(); } void CTerrain::Update(_float fTimeDelta) { - m_pVIBufferCom->Culling(XMMatrixIdentity()); + //m_pVIBufferCom->Culling(XMMatrixIdentity()); } @@ -111,7 +119,20 @@ HRESULT CTerrain::Ready_Components() return E_FAIL; /* Com_Texture */ - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("TerrainTest"), reinterpret_cast(&m_pTextureCom), nullptr))) { + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_Diffuse"), reinterpret_cast(&m_pDiffuseTextureCom), nullptr))) { + return E_FAIL; + } + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_Normal"), reinterpret_cast(&m_pNormalTextureCom), nullptr))) { + return E_FAIL; + } + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_MRO"), reinterpret_cast(&m_pMROTextureCom), nullptr))) { + return E_FAIL; + } + + /* Com_Texture */ + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Terrain_Mask"), reinterpret_cast(&m_pMaskTextureCom), nullptr))) { return E_FAIL; } @@ -134,9 +155,21 @@ HRESULT CTerrain::Bind_ShaderResources() return E_FAIL; } - if (FAILED(m_pShaderCom->Bind_SRV("g_DiffuseTexture", m_pTextureCom->Get_SRV(0)))) { + if (FAILED(m_pDiffuseTextureCom->Bind_ShaderResources(m_pShaderCom, "g_DiffuseTextures", 0, m_pDiffuseTextureCom->Get_Size()))){ return E_FAIL; } + if (FAILED(m_pNormalTextureCom->Bind_ShaderResources(m_pShaderCom, "g_NormalTextures", 0, m_pNormalTextureCom->Get_Size()))){ + return E_FAIL; + } + if (FAILED(m_pMROTextureCom->Bind_ShaderResources(m_pShaderCom, "g_SurfaceParamsTextures", 0, m_pMROTextureCom->Get_Size()))){ + return E_FAIL; + } + if (FAILED(m_pShaderCom->Bind_SRV("g_MaskTexture", m_pMaskTextureCom->Get_SRV(0)))) { + return E_FAIL; + } + + if (FAILED(m_pShaderCom->Bind_RawValue("g_fUsingSurfaceParams", &m_fUsingSurfaceParams, sizeof(_float)))) + return E_FAIL; return S_OK; } @@ -173,7 +206,10 @@ void CTerrain::Free() SAFE_RELEASE(m_pShaderCom); SAFE_RELEASE(m_pVIBufferCom); - SAFE_RELEASE(m_pTextureCom); + SAFE_RELEASE(m_pDiffuseTextureCom); + SAFE_RELEASE(m_pNormalTextureCom); + SAFE_RELEASE(m_pMROTextureCom); + SAFE_RELEASE(m_pMaskTextureCom); } void CTerrain::Describe_Entity() diff --git a/Jusin154_Team3D/Editor/Private/TestEffect.cpp b/Jusin154_Team3D/Editor/Private/TestEffect.cpp index 89d9d462c..c8960fd4f 100644 --- a/Jusin154_Team3D/Editor/Private/TestEffect.cpp +++ b/Jusin154_Team3D/Editor/Private/TestEffect.cpp @@ -44,7 +44,7 @@ void CTestEffect::Update(_float fTimeDelta) void CTestEffect::Late_Update(_float fTimeDelta) { if (m_pGameInstance->isIn_WorldFrustum(Get_WorldPostion(), m_pTransformCom->Get_Radius())) { - m_pGameInstance->Add_RenderGroup(RENDER::NONLIGHT, this); + m_pGameInstance->Add_RenderGroup(RENDER::EFFECT, this); } } diff --git a/Jusin154_Team3D/Editor/Private/TrailObject.cpp b/Jusin154_Team3D/Editor/Private/TrailObject.cpp index 720c3702b..3b8fe79eb 100644 --- a/Jusin154_Team3D/Editor/Private/TrailObject.cpp +++ b/Jusin154_Team3D/Editor/Private/TrailObject.cpp @@ -28,6 +28,8 @@ HRESULT CTrailObject::Initialize(void* pArg) if (FAILED(Ready_Components(pArg))) return E_FAIL; + //Load_Trail("") + return S_OK; } diff --git a/Jusin154_Team3D/Editor/Public/Action_Panel.h b/Jusin154_Team3D/Editor/Public/Action_Panel.h index b0177509a..685415b08 100644 --- a/Jusin154_Team3D/Editor/Public/Action_Panel.h +++ b/Jusin154_Team3D/Editor/Public/Action_Panel.h @@ -38,6 +38,8 @@ class CAction_Panel final : public CPanelObject CGameObject* m_pSpell_Slot = { nullptr }; CGameObject* m_pSpell_Image = { nullptr }; CGameObject* m_pSpell_Overlay = { nullptr }; + CGameObject* m_pSlot_Number = { nullptr }; + CGameObject* m_pHpBarBG= { nullptr }; public: static CAction_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h index 8a5545adc..28a421c59 100644 --- a/Jusin154_Team3D/Editor/Public/Editor_Define.h +++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h @@ -25,7 +25,7 @@ namespace Editor enum class SHADER_PASS_PARTICLE { EXPLOSION, END }; enum class SHADER_PASS_POSTEX { DEFAULT, SCISSOR, UI, UVMOVE, TRAIL, END }; enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, END }; - enum class SHADER_PASS_UIEDITOR { DEFAULT, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, SPELLTYPE, END }; + enum class SHADER_PASS_UIEDITOR { DEFAULT, ALPHABLEND, CLAMP, CURSOR, LODING, HOLD_ROTATION, MISSION, QUESTYPE, UVMULT, NINECLICE, ROTATION, SLOT, SPELLTYPE, HPBAR, END }; enum class EFFECT_TYPE { EFFECT, TRAIL, END }; } diff --git a/Jusin154_Team3D/Editor/Public/EffectObject.h b/Jusin154_Team3D/Editor/Public/EffectObject.h index ec1d91554..d2f348617 100644 --- a/Jusin154_Team3D/Editor/Public/EffectObject.h +++ b/Jusin154_Team3D/Editor/Public/EffectObject.h @@ -51,12 +51,13 @@ class CEffectObject abstract : public CPartObject _bool isMaskUVMove = {}; _bool isBlur = {}; _bool isBillboard = {}; + _float4 vEmissive = { 0.f ,0.f ,0.f ,0.f }; _float fDiffuseAlpha = { 1.f }; _float fBlurIntensity = {}; _float fNoiseDistortionIntensity = {}; - _float fEmissiveCutAlpha = { 0.f }; + _float fEmissiveStrength = { 0.f }; LIGHT_DESC LightDesc = {}; RENDER eRenderOrder = { RENDER::EFFECT }; @@ -67,6 +68,20 @@ class CEffectObject abstract : public CPartObject _bool isEmissiveDissolve = { false }; + _bool isMaskClampSample = { false }; + _bool isNoiseColor = { false }; + _bool isNoiseAlpha = { false }; + _bool isNomalDissolve = {}; + + _float fSoftenExp = { 1.31429f }; + _float fSoftStrength = {}; + _float fCoreBoost = {}; + _float fRadius = {}; + + _float fSoftMaskEdge; + _float fSoftMask; + + }EFFECT_INFO; typedef struct tagPreEffectInfo @@ -109,13 +124,22 @@ class CEffectObject abstract : public CPartObject _float fDiffuseAlpha = { 1.f }; _float fBlurIntensity = {}; _float fNoiseDistortionIntensity = {}; - _float fEmissiveCutAlpha = {}; + _float fEmissiveStrength = {}; LIGHT_DESC LightDesc = {}; RENDER eRenderOrder = { RENDER::EFFECT }; _bool isReverseDissolve = {}; EFFECT_TYPE eEffectType = { EFFECT_TYPE::EFFECT }; _bool isEmissiveDissolve = { false }; + _bool isMaskClampSample = { false }; + _bool isNoiseColor = { false }; + _bool isNoiseAlpha = { false }; + _bool isNomalDissolve = {}; + + _float fSoftenExp = { 1.31429f }; + _float fSoftStrength = {}; + _float fCoreBoost = {}; + _float fRadius = {}; }PRE_EFFECT_INFO; diff --git a/Jusin154_Team3D/Editor/Public/HpBarBG.h b/Jusin154_Team3D/Editor/Public/HpBarBG.h new file mode 100644 index 000000000..59c7aa186 --- /dev/null +++ b/Jusin154_Team3D/Editor/Public/HpBarBG.h @@ -0,0 +1,42 @@ +#pragma once + +#include "Editor_Define.h" +#include "ElementObject.h" + +NS_BEGIN(Editor) + +class CHpBarBG final : public CElementObject +{ +private: + CHpBarBG(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + CHpBarBG(const CHpBarBG& rhs); + virtual ~CHpBarBG() = default; + +public: + virtual void Priority_Update(_float fTimeDelta); + virtual void Update(_float fTimeDelta); + virtual void Late_Update(_float fTimeDelta); + virtual HRESULT Render() override; + virtual _vector Get_WorldPostion() override; + + +private: + virtual HRESULT Bind_ShaderResources() override; + virtual HRESULT Ready_Components(void* pArg) override; + virtual HRESULT Initialize_Prototype() override; + virtual HRESULT Initialize(void* pArg) override; + +private: + CTexture* m_pDiffuse_TextureCom = { nullptr }; + CTexture* m_pDiffuse_TextureCom1 = { nullptr }; + CShader* m_pShaderCom = { nullptr }; + CVIBuffer_Rect* m_pVIBufferCom = { nullptr }; + +public: + static CHpBarBG* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); + virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override; + virtual void Free() override; + void Describe_Entity() override; +}; + +NS_END diff --git a/Jusin154_Team3D/Editor/Public/Slot_Number.h b/Jusin154_Team3D/Editor/Public/Slot_Number.h index 9321002e1..3ffd1b4c2 100644 --- a/Jusin154_Team3D/Editor/Public/Slot_Number.h +++ b/Jusin154_Team3D/Editor/Public/Slot_Number.h @@ -26,17 +26,22 @@ class CSlot_Number final : public CElementObject private: virtual HRESULT Bind_ShaderResources() override; virtual HRESULT Ready_Components(void* pArg) override; + void UV(); + _float2 Compute_UVX(_uint Numver); + _float2 Compute_UVY(_uint Numver); virtual HRESULT Initialize_Prototype() override; virtual HRESULT Initialize(void* pArg) override; private: - CTexture* m_pDiffuse_TextureCom = { nullptr }; - CShader* m_pShaderCom = { nullptr }; - CVIBuffer_UI_Instance* m_pVIBufferCom = { nullptr }; + CTexture* m_pDiffuse_TextureCom = { nullptr }; + CShader* m_pShaderCom = { nullptr }; + CVIBuffer_UI_Instance* m_pVIBufferCom = { nullptr }; + CVIBuffer_UI_Instance::UI_ATLAS_DESC pUVDesc[4]; - _float m_fOffSetX{}; - _float m_fOffSetY{}; - _uint m_iCols{}; + _float2 m_fIamge_Size{}; + _float m_fOffSetX{}; + _float m_fOffSetY{}; + _uint m_iCols{}; public: static CSlot_Number* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); diff --git a/Jusin154_Team3D/Editor/Public/Spell_Slot.h b/Jusin154_Team3D/Editor/Public/Spell_Slot.h index e09d7aea9..c83281309 100644 --- a/Jusin154_Team3D/Editor/Public/Spell_Slot.h +++ b/Jusin154_Team3D/Editor/Public/Spell_Slot.h @@ -23,6 +23,7 @@ class CSpell_Slot final : public CElementObject virtual void SizeUpY(_float fSizeY) override; virtual void SizeUpdate(_float fSizeX, _float fSizeY) override; + private: virtual HRESULT Bind_ShaderResources() override; virtual HRESULT Ready_Components(void* pArg) override; diff --git a/Jusin154_Team3D/Editor/Public/Terrain.h b/Jusin154_Team3D/Editor/Public/Terrain.h index ce217bc64..95f49559c 100644 --- a/Jusin154_Team3D/Editor/Public/Terrain.h +++ b/Jusin154_Team3D/Editor/Public/Terrain.h @@ -29,11 +29,18 @@ class CTerrain final : public CGameObject private: CShader* m_pShaderCom = { nullptr }; CVIBuffer_Terrain* m_pVIBufferCom = { nullptr }; - CTexture* m_pTextureCom = { nullptr }; + CTexture* m_pDiffuseTextureCom = { nullptr }; + CTexture* m_pNormalTextureCom = { nullptr }; + CTexture* m_pMROTextureCom = { nullptr }; + CTexture* m_pMaskTextureCom = { nullptr }; + _float m_fUsingSurfaceParams = {}; _float m_fHeightRatio = {1.f}; _float3 m_vPickingPosition = {}; _float3 m_vRotation = {}; + _float m_fCullingRadius = { 0.2f }; + + _uint m_iTextureIndex = {}; private: HRESULT Ready_Components(); diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli index f16a08d3c..b1efa60ae 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Engine_Shader_Functions.hlsli @@ -181,5 +181,88 @@ float3 DecodeNormalFromRG(Texture2D NormalMap, SamplerState Samp, float2 uv) return normalize(n); } +float4x4 RotateX(float fAngle) +{ + float fCos = cos(radians(fAngle)); + float fSin = sin(radians(fAngle)); + + float4x4 RotateXMat = + { + 1, 0, 0, 0, + 0, fCos, -fSin, 0, + 0, fSin, fCos, 0, + 0, 0, 0, 1, + }; + + return RotateXMat; +} + +float4x4 RotateY(float fAngle) +{ + float fCos = cos(radians(fAngle)); + float fSin = sin(radians(fAngle)); + + float4x4 RotateYMat = + { + fCos , 0, fSin, 0, + 0 , 1, 0, 0, + -fSin , 0, fCos, 0, + 0 , 0, 0, 1 + }; + + return RotateYMat; +} + +float4x4 RotateZ(float fAngle) +{ + float fCos = cos(radians(fAngle)); + float fSin = sin(radians(fAngle)); + + float4x4 RotateZMat = + { + fCos, -fSin, 0, 0, + fSin, fCos, 0, 0, + 0, 0, 1, 0, + 0, 0, 0, 1, + }; + + return RotateZMat; +} + +float4x4 RotateAxis(float4 _vAxis , float fAngle) +{ + float flenhth = length(_vAxis); + if (flenhth < FLT_EPSILON5) + { + return float4x4( + 1.0, 0.0, 0.0, 0.0, + 0.0, 1.0, 0.0, 0.0, + 0.0, 0.0, 1.0, 0.0, + 0.0, 0.0, 0.0, 1.0 + ); + } + + float3 vAxis = normalize(_vAxis); + + float fCos = cos(radians(fAngle)); + float fSin = sin(radians(fAngle)); + + float fX = vAxis.x; + float fY = vAxis.y; + float fZ = vAxis.z; + + //Rodrigues 공식 기반 + float4x4 RotateMat = + float4x4( + fCos + fX * fX * (1.0 - fCos), fX * fY * (1.0 - fCos) - fZ * fSin, fX * fZ * (1.0 - fCos) + fY * fSin, 0.0, + fY * fX * (1.0 - fCos) + fZ * fSin, fCos + fY * fY * (1.0 - fCos), fY * fZ * (1.0 - fCos) - fX * fSin, 0.0, + fZ * fX * (1.0 - fCos) - fY * fSin, fZ * fY * (1.0 - fCos) + fX * fSin, fCos + fZ * fZ * (1.0 - fCos), 0.0, + 0.0, 0.0, 0.0, 1.0 + ); + + return RotateMat; + +} + #endif // ENGINE_SHADER_FUNCTIONS_HLSLI diff --git a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl index 0dea26c43..117084542 100644 --- a/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl +++ b/Jusin154_Team3D/Engine/Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl @@ -1,5 +1,4 @@ - -float PI = 3.141592; +#include "Engine_Shader_Functions.hlsli" struct Particle { @@ -30,7 +29,15 @@ struct ParticleValue float2 vAniIndex; float fGravity; - float3 vSinAmount; + float3 vSinAmount; + float3 vDeltaAngle; + float3 vDeltaAxisAngle; + + float fDrag; + float3 vPivot; + + float fSizeDrag; + float3 vDeltaSize; }; @@ -48,6 +55,11 @@ cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐 bool isDrop; bool isMoveForward; bool isSinWave; + + bool isTurn; + bool isAxisTurn; + bool isPivotMove; + bool isSizeMove; float fTimeDelta; float fPadding1; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다. @@ -74,9 +86,7 @@ void CS_MAIN( { if (isLoop == false) { - - - return; + return ; } //초기화 @@ -86,15 +96,45 @@ void CS_MAIN( particle.vTranslation = particleValue.vOriginTranslation; particle.vLifeTime.x = 0.f; + particleValue.vAniIndex.x = 0.f; + + g_VBInstanceOutput[iIndex] = particle; + g_ParticleValueOutput[iIndex] = particleValue; + + return ; } if (isMoveForward) { - float4 vVelocity = vector(normalize(particleValue.vOriginLook.xyz) * particleValue.fSpeed, 1.f); + float fTime = (particle.vLifeTime.x / particle.vLifeTime.y); + + float fRatio = 1 - (1 - fTime * fTime); + + float fDrag = particleValue.fDrag; + + if (particleValue.fDrag < FLT_EPSILON5) + fDrag = 1; + + float4 vVelocity = vector(normalize(particle.vLook.xyz) * particleValue.fSpeed, 1.f); - particle.vTranslation += vVelocity * fTimeDelta; + particle.vTranslation += vVelocity * fTimeDelta * fDrag; + } + + if (isPivotMove) + { + float3 vDir = normalize(particleValue.vPivot - particleValue.vOriginTranslation.xyz); + + float fDrag = particleValue.fDrag; + + if (particleValue.fDrag < FLT_EPSILON5) + fDrag = 1; + + float4 vVelocity = vector(vDir * particleValue.fSpeed, 1.f); + + particle.vTranslation += vVelocity * fTimeDelta * fDrag; + } if (isDrop == true) @@ -107,6 +147,86 @@ void CS_MAIN( { particle.vTranslation += vector( sin(particle.vLifeTime.x * 3.141592 * 2.f) * particleValue.vSinAmount, 0.f); } + + if (isTurn == true) + { + /* ROTATE */ + float4x4 RotateXMat = RotateX(particleValue.vDeltaAngle.x * fTimeDelta); + float4x4 RotateYMat = RotateY(particleValue.vDeltaAngle.y * fTimeDelta); + float4x4 RotateZMat = RotateZ(particleValue.vDeltaAngle.z * fTimeDelta); + + + float4x4 CombinedRotMat = mul(RotateZMat, mul(RotateYMat, RotateXMat)); + + float4x4 CurRotatemat = {particle.vRight, particle.vUp, particle.vLook, vector(0.f , 0.f, 0.f, 1.f)}; + + + + CurRotatemat = mul(CombinedRotMat, CurRotatemat); + + particle.vRight = CurRotatemat[0].xyzw; + particle.vUp = CurRotatemat[1].xyzw; + particle.vLook = CurRotatemat[2].xyzw; + + } + + if (isAxisTurn) + { + float4x4 RotateAxisRightMat = RotateAxis(particle.vRight, particleValue.vDeltaAxisAngle.x * fTimeDelta); + float4x4 RotateAxisUpMat = RotateAxis(particle.vUp, particleValue.vDeltaAxisAngle.y * fTimeDelta); + float4x4 RotateAxisLookMat = RotateAxis(particle.vLook, particleValue.vDeltaAxisAngle.z * fTimeDelta); + + + float4x4 CombinedRotMat = mul(RotateAxisLookMat, mul(RotateAxisUpMat, RotateAxisRightMat)); + + float4x4 CurRotatemat = { particle.vRight, particle.vUp, particle.vLook, vector(0.f, 0.f, 0.f, 1.f) }; + + + CurRotatemat = mul(CurRotatemat ,CombinedRotMat); + + particle.vRight = CurRotatemat[0].xyzw; + particle.vUp = CurRotatemat[1].xyzw; + particle.vLook = CurRotatemat[2].xyzw; + + + } + + if (isSizeMove == true) + { + float3 CurLength = + { + length(particle.vRight), + length(particle.vUp), + length(particle.vLook), + }; + + float fTime = (particle.vLifeTime.x / particle.vLifeTime.y); + + float fRatio = 1 - (1 - fTime * fTime); + + float fDrag = particleValue.fSizeDrag; + + if (particleValue.fSizeDrag < FLT_EPSILON5) + fDrag = 1; + + //fDrag *= fRatio; + + CurLength += particleValue.vDeltaSize * fTimeDelta * fDrag; + + if (CurLength.x < FLT_EPSILON5) + CurLength.x = FLT_EPSILON5; + + if (CurLength.y < FLT_EPSILON5) + CurLength.y = FLT_EPSILON5; + + if (CurLength.z < FLT_EPSILON5) + CurLength.z = FLT_EPSILON5; + + particle.vRight = normalize(particle.vRight) * CurLength.x; + particle.vUp = normalize(particle.vUp) * CurLength.y; + particle.vLook = normalize(particle.vLook) * CurLength.z; + + } //애니메이션 속도 , 인덱스 diff --git a/Jusin154_Team3D/Engine/Private/ComputeShader.cpp b/Jusin154_Team3D/Engine/Private/ComputeShader.cpp index 076225662..7d46182a5 100644 --- a/Jusin154_Team3D/Engine/Private/ComputeShader.cpp +++ b/Jusin154_Team3D/Engine/Private/ComputeShader.cpp @@ -84,7 +84,7 @@ vector CComputeShader::Dispatch(_uint iSRVIndex, _uint if (SUCCEEDED(m_pContext->Map(m_pOutputStagingBuffer[i], 0, D3D11_MAP_READ, 0, &StagingSubResource))) { - + CInstance_Model::CS_PARTICLE_VALUE_DESC* pValueDesc = static_cast(StagingSubResource.pData); StagingSubResources.push_back(StagingSubResource); diff --git a/Jusin154_Team3D/Engine/Private/Instance_Model.cpp b/Jusin154_Team3D/Engine/Private/Instance_Model.cpp index ec9722a80..3d44b170e 100644 --- a/Jusin154_Team3D/Engine/Private/Instance_Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Instance_Model.cpp @@ -232,7 +232,7 @@ HRESULT CInstance_Model::Create_CS() }; m_pComputeShader = CComputeShader::Create(m_pDevice, m_pContext, - L"../Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl", "CS_MAIN", m_iNumInstance, 2, 2, CS_OutputStrides, CS_InputStrides); + L"../Bin/Resources/ShaderFiles/Shader_Particle_Compute.hlsl", "CS_MAIN", m_iNumInstance, 2, 2, CS_InputStrides, CS_OutputStrides); if (m_pComputeShader == nullptr) return E_FAIL; @@ -277,8 +277,12 @@ void CInstance_Model::Drop(_float fTimeDelta) pDesc->fTimeDelta = fTimeDelta; pDesc->isLoop = m_InstanceDesc.isLoop; pDesc->isDrop = m_InstanceDesc.isDrop; + pDesc->isTurn = m_InstanceDesc.isTurn; + pDesc->isAxisTurn = m_InstanceDesc.isAxisTurn; pDesc->isMoveForward = m_InstanceDesc.isMoveForward; pDesc->isSinWave = m_InstanceDesc.isSinWave; + pDesc->isPivotMove = m_InstanceDesc.isPivotMove; + pDesc->isSizeLerp = m_InstanceDesc.isSizeLerp; m_pContext->Unmap(m_pConstantBuffer, 0); } @@ -315,6 +319,7 @@ void CInstance_Model::Drop(_float fTimeDelta) memcpy(ParticleValueResource.pData, OutSubResources[1].pData, sizeof(CS_PARTICLE_VALUE_DESC) * m_InstanceDesc.iNumInstance); // 아웃풋 버퍼에 들어온 값들을 전부 복사한다. + m_pContext->Unmap(m_pParticleValueBuffer, 0); } @@ -399,6 +404,38 @@ void CInstance_Model::Instane_Buffer_ReStruct() pParticleValues[i].vSinAmount = vSinAmount; + _float3 vDeltaAngle = _float3( + m_pGameInstance->Random_Float(m_InstanceDesc.vDeltaAngleMin.x, m_InstanceDesc.vDeltaAngleMax.x), + m_pGameInstance->Random_Float(m_InstanceDesc.vDeltaAngleMin.y, m_InstanceDesc.vDeltaAngleMax.y), + m_pGameInstance->Random_Float(m_InstanceDesc.vDeltaAngleMin.z, m_InstanceDesc.vDeltaAngleMax.z) + ); + + pParticleValues[i].vDeltaAngle = vDeltaAngle; + + _float3 vDeltaAxisAngle = _float3( + m_pGameInstance->Random_Float(m_InstanceDesc.vDeltaAxisAngleMin.x, m_InstanceDesc.vDeltaAxisAngleMax.x), + m_pGameInstance->Random_Float(m_InstanceDesc.vDeltaAxisAngleMin.y, m_InstanceDesc.vDeltaAxisAngleMax.y), + m_pGameInstance->Random_Float(m_InstanceDesc.vDeltaAxisAngleMin.z, m_InstanceDesc.vDeltaAxisAngleMax.z) + ); + + pParticleValues[i].vDeltaAxisAngle = vDeltaAxisAngle; + + _float3 vPivot = _float3( + m_pGameInstance->Random_Float(m_InstanceDesc.vPivotMin.x, m_InstanceDesc.vPivotMax.x), + m_pGameInstance->Random_Float(m_InstanceDesc.vPivotMin.y, m_InstanceDesc.vPivotMax.y), + m_pGameInstance->Random_Float(m_InstanceDesc.vPivotMin.z, m_InstanceDesc.vPivotMax.z) + ); + + pParticleValues[i].vPivot = vPivot; + + _float3 vSizeLerp = _float3( + m_InstanceDesc.vDeltaSize.x, + m_InstanceDesc.vDeltaSize.y, + m_InstanceDesc.vDeltaSize.z + ); + + pParticleValues[i].vDeltaSize = vSizeLerp; + //라이프 타임 설정 pVertices[i].vLifeTime = _float2(0.0f, m_pGameInstance->Random_Float(m_InstanceDesc.vLifeTime.x, m_InstanceDesc.vLifeTime.y)); @@ -412,6 +449,8 @@ void CInstance_Model::Instane_Buffer_ReStruct() pParticleValues[i].fRotaionSpeed = m_pGameInstance->Random_Float(m_InstanceDesc.vRotationSpeed.x, m_InstanceDesc.vRotationSpeed.y); pParticleValues[i].vAniIndex = _float2(0.f, m_InstanceDesc.vAniIndex.y); pParticleValues[i].fGravity = m_pGameInstance->Random_Float(m_InstanceDesc.vGravity.x, m_InstanceDesc.vGravity.y); + pParticleValues[i].fDrag = m_pGameInstance->Random_Float(m_InstanceDesc.vDrag.x, m_InstanceDesc.vDrag.y); + pParticleValues[i].fSizeDrag = m_pGameInstance->Random_Float(m_InstanceDesc.vSizeDrag.x, m_InstanceDesc.vSizeDrag.y); memcpy(&pParticleValues[i].vOriginRight, SRMatrix.m[0], sizeof(_float4)); @@ -520,6 +559,29 @@ void CInstance_Model::Describe_Entity() Instane_Buffer_ReStruct(); } + if (GUI::Checkbox("Turn", &m_InstanceDesc.isTurn)) + { + Instane_Buffer_ReStruct(); + } + + if (GUI::Checkbox("AxisTurn", &m_InstanceDesc.isAxisTurn)) + { + Instane_Buffer_ReStruct(); + } + + if (GUI::Checkbox("PivotMove", &m_InstanceDesc.isPivotMove)) + { + Instane_Buffer_ReStruct(); + } + + if (GUI::Checkbox("SizeLerp", &m_InstanceDesc.isSizeLerp)) + { + Instane_Buffer_ReStruct(); + } + + + + if (ImGui::DragFloat3("SizeMin", reinterpret_cast<_float*>(&m_InstanceDesc.vSizeMin))) { Instane_Buffer_ReStruct(); @@ -611,6 +673,53 @@ void CInstance_Model::Describe_Entity() Instane_Buffer_ReStruct(); } + if (ImGui::DragFloat3("DeltaAngleMin", reinterpret_cast<_float*>(&m_InstanceDesc.vDeltaAngleMin))) + { + Instane_Buffer_ReStruct(); + } + + if (ImGui::DragFloat3("DeltaAngleMax", reinterpret_cast<_float*>(&m_InstanceDesc.vDeltaAngleMax))) + { + Instane_Buffer_ReStruct(); + } + + + if (ImGui::DragFloat3("DeltaAxisAngleMin", reinterpret_cast<_float*>(&m_InstanceDesc.vDeltaAxisAngleMin))) + { + Instane_Buffer_ReStruct(); + } + + if (ImGui::DragFloat3("DeltaAxisAngleMax", reinterpret_cast<_float*>(&m_InstanceDesc.vDeltaAxisAngleMax))) + { + Instane_Buffer_ReStruct(); + } + + + if (ImGui::DragFloat3("PivotMin", reinterpret_cast<_float*>(&m_InstanceDesc.vPivotMin))) + { + Instane_Buffer_ReStruct(); + } + + if (ImGui::DragFloat3("PivotMax", reinterpret_cast<_float*>(&m_InstanceDesc.vPivotMax))) + { + Instane_Buffer_ReStruct(); + } + + if (ImGui::DragFloat2("Drag", reinterpret_cast<_float*>(&m_InstanceDesc.vDrag))) + { + Instane_Buffer_ReStruct(); + } + + if (ImGui::DragFloat3("LerpSizeAmount", reinterpret_cast<_float*>(&m_InstanceDesc.vDeltaSize))) + { + Instane_Buffer_ReStruct(); + } + + if (ImGui::DragFloat2("Size Drag", reinterpret_cast<_float*>(&m_InstanceDesc.vSizeDrag))) + { + Instane_Buffer_ReStruct(); + } + ImGui::PopItemWidth(); ImGui::TreePop(); diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp index 5d94f3d9f..6995fb73e 100644 --- a/Jusin154_Team3D/Engine/Private/Model.cpp +++ b/Jusin154_Team3D/Engine/Private/Model.cpp @@ -1317,10 +1317,10 @@ HRESULT CModel::Initialize(void* pArg) m_pTransform = m_pOwner->Get_Component(); SAFE_ADDREF(m_pTransform); - Create_Con(); + /*Create_Con(); if (FAILED(Create_CS())) - return E_FAIL; + return E_FAIL;*/ diff --git a/Jusin154_Team3D/Engine/Private/QuadTree.cpp b/Jusin154_Team3D/Engine/Private/QuadTree.cpp index b09f9d4ec..f204750c2 100644 --- a/Jusin154_Team3D/Engine/Private/QuadTree.cpp +++ b/Jusin154_Team3D/Engine/Private/QuadTree.cpp @@ -6,6 +6,19 @@ CQuadTree::CQuadTree() { } +void CQuadTree::Set_CullingRadius(_float fRadius) +{ + m_fCullingRadius = fRadius; + + if (nullptr == m_pChildren[CORNER_LT]) + return; + + for (_uint i = 0; i < CORNER_END; i++) + { + m_pChildren[i]->Set_CullingRadius(fRadius); + } +} + void CQuadTree::Culling(CGameInstance* pGameInstance, const _float3* pVertexPositions, _uint* pIndices, _uint* pNumIndices) { /* 해당 노드에서 그릴건지 확인 */ @@ -158,7 +171,7 @@ void CQuadTree::Culling(CGameInstance* pGameInstance, const _float3* pVertexPosi /* Range 는 사각형의 중심에서 꼭짓점까지의 거리 */ _float fRange = XMVector3Length(XMLoadFloat3(&pVertexPositions[m_iCorners[CORNER_LT]]) - XMLoadFloat3(&pVertexPositions[m_iCenter])).m128_f32[0]; - if (true == pGameInstance->isIn_LocalFrustum(XMLoadFloat3(&pVertexPositions[m_iCenter]), fRange)) + if (true == pGameInstance->isIn_LocalFrustum(XMLoadFloat3(&pVertexPositions[m_iCenter]), fRange * 1.5f)) { for (size_t i = 0; i < CORNER_END; i++) { @@ -262,9 +275,9 @@ _bool CQuadTree::Set_Y(CGameInstance* pGameInstance, const _float3* pVertexPosit { if (nullptr == m_pChildren[CORNER_LT]) { - pVertices[m_iCorners[CORNER_LT]].vPosition.y = fY; - pVertices[m_iCorners[CORNER_RT]].vPosition.y = fY; - pVertices[m_iCorners[CORNER_RB]].vPosition.y = fY; + pVertices[m_iCorners[CORNER_LT]].vPosition.y += fY; + pVertices[m_iCorners[CORNER_RT]].vPosition.y += fY; + pVertices[m_iCorners[CORNER_RB]].vPosition.y += fY; XMStoreFloat3(&Out, XMVector3TransformCoord(XMLoadFloat3(&Out), WorldMatrix)); return true; @@ -276,9 +289,9 @@ _bool CQuadTree::Set_Y(CGameInstance* pGameInstance, const _float3* pVertexPosit { if (nullptr == m_pChildren[CORNER_LT]) { - pVertices[m_iCorners[CORNER_LT]].vPosition.y = fY; - pVertices[m_iCorners[CORNER_RB]].vPosition.y = fY; - pVertices[m_iCorners[CORNER_LB]].vPosition.y = fY; + pVertices[m_iCorners[CORNER_LT]].vPosition.y += fY; + pVertices[m_iCorners[CORNER_RB]].vPosition.y += fY; + pVertices[m_iCorners[CORNER_LB]].vPosition.y += fY; XMStoreFloat3(&Out, XMVector3TransformCoord(XMLoadFloat3(&Out), WorldMatrix)); return true; @@ -303,7 +316,7 @@ _bool CQuadTree::isDraw(CGameInstance* pGameInstance, const _float3* pVertexPosi _vector vCamPos = XMLoadFloat4(pGameInstance->Get_CamPosition()); _vector vCenter = XMLoadFloat3(&pVertexPositions[m_iCenter]); - if (m_iCorners[CORNER_RT] - m_iCorners[CORNER_LT] < XMVectorGetX(XMVector3Length(vCamPos - vCenter)) * 0.2f) + if (m_iCorners[CORNER_RT] - m_iCorners[CORNER_LT] < XMVectorGetX(XMVector3Length(vCamPos - vCenter)) * 0.04f) return true; return false; diff --git a/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp b/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp index f0e7454e6..563361e53 100644 --- a/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp +++ b/Jusin154_Team3D/Engine/Private/VIBuffer_Terrain.cpp @@ -104,23 +104,23 @@ HRESULT CVIBuffer_Terrain::Initialize_Prototype(const _char* pFilePath, _uint iS VTXNORTEX* pVertices = new VTXNORTEX[m_iNumVertices]; ZeroMemory(pVertices, sizeof(VTXNORTEX) * m_iNumVertices); - m_pVertexPositions = new _float3[m_iNumVertices]; + m_pVertexPositions = new _float3[m_iNumVertices]; ZeroMemory(m_pVertexPositions, sizeof(_float3) * m_iNumVertices); - for (_uint i = 0; i < m_iNumVerticesZ - 1; i++) + for (_uint i = 0; i < m_iNumVerticesZ; i++) { - for (_uint j = 0; j < m_iNumVerticesX - 1; j++) + for (_uint j = 0; j < m_iNumVerticesX; j++) { _uint iIndex = i * m_iNumVerticesX + j; m_pVertexPositions[iIndex] = pVertices[iIndex].vPosition = _float3( (_float)j * m_iNumVerticesX / (m_iNumVerticesX - 1.f), - (_float)(pPixels[iIndex]) * 5 * 256.f, + (_float)(pPixels[iIndex]) * 10.f * 256.f - 256.f, (_float)i * m_iNumVerticesZ / (m_iNumVerticesZ -1.f) ); - + m_HeigthValues.push_back((_float)(pPixels[iIndex]) * 10.f * 256.f - 256.f); pVertices[iIndex].vNormal = _float3(0.f, 0.f, 0.f); - pVertices[iIndex].vTexcoord = _float2((_float)j / (m_iNumVerticesX - 1.f) / 32.f, (_float)i / (m_iNumVerticesZ - 1.f) / 32.f); + pVertices[iIndex].vTexcoord = _float2((_float)j / (m_iNumVerticesX), (_float)i / m_iNumVerticesZ ); } } @@ -281,6 +281,11 @@ void CVIBuffer_Terrain::Change_HeigthRatio(_float fRatio) m_pContext->Unmap(m_pVB, 0); } +void CVIBuffer_Terrain::Set_CullingRadius(_float fRaduis) +{ + m_pQuadTree->Set_CullingRadius(fRaduis); +} + CVIBuffer_Terrain* CVIBuffer_Terrain::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const _char* pFilePath, _uint iSizeX, _uint iSizeZ) { CVIBuffer_Terrain* pInstance = new CVIBuffer_Terrain(pDevice, pContext); diff --git a/Jusin154_Team3D/Engine/Private/VIBuffer_UI_Instance.cpp b/Jusin154_Team3D/Engine/Private/VIBuffer_UI_Instance.cpp index 24638f611..452e704f4 100644 --- a/Jusin154_Team3D/Engine/Private/VIBuffer_UI_Instance.cpp +++ b/Jusin154_Team3D/Engine/Private/VIBuffer_UI_Instance.cpp @@ -115,11 +115,6 @@ HRESULT CVIBuffer_UI_Instance::Initialize_Prototype(const INSTANCE_DESC* pInstan ZeroMemory(m_fPosition, sizeof(_float2) * m_iNumInstance); - for (size_t i = 0; i < m_iNumInstance; ++i) - { - m_pInstanceVertices[i].fPos = _float2(pDesc->vPsition.x, pDesc->vPsition.y); - } - m_InstanceInitialDesc.pSysMem = m_pInstanceVertices; #pragma endregion @@ -205,6 +200,31 @@ void CVIBuffer_UI_Instance::Set_SizeY(_float fSizeY) m_pContext->Unmap(m_pVBInstance, 0); } +void CVIBuffer_UI_Instance::Set_ImageUV(UI_ATLAS_DESC* AtlasUV) +{ + D3D11_MAPPED_SUBRESOURCE SubResource{}; + + m_pContext->Map(m_pVBInstance, 0, D3D11_MAP_WRITE_NO_OVERWRITE, 0, &SubResource); + + VTX_INSTANCE_UI* pVertices = static_cast(SubResource.pData); + + for (size_t i = 0; i < m_iNumInstance; i++) + { + if (AtlasUV == nullptr) + { + pVertices[i].fUVStart = _float2(0.f, 0.f); + pVertices[i].fUVStart = _float2(1.f,1.f); + } + else + { + pVertices[i].fUVStart = AtlasUV[i].fUVStart; + pVertices[i].fUVEnd = AtlasUV[i].fUVEnd; + } + } + + m_pContext->Unmap(m_pVBInstance, 0); +} + CVIBuffer_UI_Instance* CVIBuffer_UI_Instance::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, const INSTANCE_DESC* pInstanceDesc) { CVIBuffer_UI_Instance* pInstance = new CVIBuffer_UI_Instance(pDevice, pContext); @@ -239,6 +259,7 @@ void CVIBuffer_UI_Instance::Free() if (false == m_isCloned) { Safe_Delete_Array(m_pInstanceVertices); + Safe_Delete_Array(m_fPosition); } } diff --git a/Jusin154_Team3D/Engine/Public/ComputeShader.h b/Jusin154_Team3D/Engine/Public/ComputeShader.h index 595221ea3..89980d890 100644 --- a/Jusin154_Team3D/Engine/Public/ComputeShader.h +++ b/Jusin154_Team3D/Engine/Public/ComputeShader.h @@ -27,7 +27,7 @@ class ENGINE_DLL CComputeShader final : public CBase HRESULT CreateComputeShader(const _tchar* pShaderFilePath, const _char* pStartFunctionName); private: - ID3D11Device* m_pDevice = { nullptr }; + ID3D11Device* m_pDevice = { nullptr }; ID3D11DeviceContext* m_pContext = { nullptr }; class CGameInstance* m_pGameInstance = { nullptr }; diff --git a/Jusin154_Team3D/Engine/Public/Engine_Struct.h b/Jusin154_Team3D/Engine/Public/Engine_Struct.h index f2cc2edd5..d1363daca 100644 --- a/Jusin154_Team3D/Engine/Public/Engine_Struct.h +++ b/Jusin154_Team3D/Engine/Public/Engine_Struct.h @@ -192,6 +192,8 @@ typedef struct tagVertexInstance_UI { _float2 fSize = {}; _float2 fPos = {}; + _float2 fUVStart = {}; + _float2 fUVEnd = {}; }VTX_INSTANCE_UI; typedef struct tagVertexBlock @@ -206,7 +208,6 @@ typedef struct tagVertexBlock { "NORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0 }, { "TEXCOORD", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 24, D3D11_INPUT_PER_VERTEX_DATA, 0 }, }; - }VTXBLOCK; typedef struct tagVertexPosition { @@ -323,20 +324,23 @@ typedef struct tagVertexModelInstanceParticleDesc typedef struct tagVertexInstance_UIDesc { - static constexpr unsigned int iNumElements = {4}; + static constexpr unsigned int iNumElements = {6}; static constexpr D3D11_INPUT_ELEMENT_DESC Elements[] = { { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0}, { "TEXCOORD", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0}, { "TEXCOORD", 1, DXGI_FORMAT_R32G32_FLOAT, 1, 0, D3D11_INPUT_PER_INSTANCE_DATA, 1 }, - { "TEXCOORD", 2, DXGI_FORMAT_R32G32_FLOAT, 1, 8, D3D11_INPUT_PER_INSTANCE_DATA, 1 } + { "TEXCOORD", 2, DXGI_FORMAT_R32G32_FLOAT, 1, 8, D3D11_INPUT_PER_INSTANCE_DATA, 1 }, + { "TEXCOORD", 3, DXGI_FORMAT_R32G32_FLOAT, 1, 16, D3D11_INPUT_PER_INSTANCE_DATA, 1 }, + { "TEXCOORD", 4, DXGI_FORMAT_R32G32_FLOAT, 1, 24, D3D11_INPUT_PER_INSTANCE_DATA, 1 } }; }VTX_POSTEX_INSTANCE_UI; typedef struct tagPhsXUserData { - PHYSX_KIND eKind = PHYSX_KIND::NOT_DEFINED; + PHYSX_KIND eKind = PHYSX_KIND::NOT_DEFINED; + class CGameObject* pOwner = { nullptr }; _float4x4 BeforeMatrix = { }; _uint iSubKind = UINT_MAX; diff --git a/Jusin154_Team3D/Engine/Public/Instance_Model.h b/Jusin154_Team3D/Engine/Public/Instance_Model.h index dee49ef0f..8a9f222d9 100644 --- a/Jusin154_Team3D/Engine/Public/Instance_Model.h +++ b/Jusin154_Team3D/Engine/Public/Instance_Model.h @@ -32,10 +32,28 @@ class ENGINE_DLL CInstance_Model final : public CComponent _bool isMoveForward = {}; _float2 vGravity = { 0.f , 9.8f }; + _bool isSinWave = {}; _float3 vSinMinAmount = { 0.f , 0.f , 0.f}; _float3 vSinMaxAmount = { 0.f , 0.f , 0.f }; + _bool isTurn; + _float3 vDeltaAngleMin = {}; + _float3 vDeltaAngleMax = {}; + + _bool isAxisTurn; + _float3 vDeltaAxisAngleMin = {}; + _float3 vDeltaAxisAngleMax = {}; + + _bool isPivotMove = {}; + _float2 vDrag = {}; + _float3 vPivotMin = {}; + _float3 vPivotMax = {}; + + _bool isSizeLerp = {}; + _float3 vDeltaSize = {}; + _float2 vSizeDrag = {}; + }INSTANCE_DESC; typedef struct tagPreInstanceDesc @@ -64,9 +82,24 @@ class ENGINE_DLL CInstance_Model final : public CComponent _bool isMoveForward = {}; _float2 vGravity = { 0.f , 9.8f }; + _bool isSinWave = {}; _float3 vSinMinAmount = { 0.f , 0.f , 0.f }; _float3 vSinMaxAmount = { 0.f , 0.f , 0.f }; + + _bool isTurn; + _float3 vDeltaAngleMin = {}; + _float3 vDeltaAngleMax = {}; + + _bool isAxisTurn; + _float3 vDeltaAxisAngleMin = {}; + _float3 vDeltaAxisAngleMax = {}; + + _bool isPivotMove = {}; + _float2 vDrag = {}; + _float3 vPivotMin = {}; + _float3 vPivotMax = {}; + }PRE_INSTANCE_DESC; typedef struct tagCSParticleDesc @@ -78,11 +111,17 @@ class ENGINE_DLL CInstance_Model final : public CComponent _int isMoveForward = {}; _int isSinWave = {}; + _int isTurn = {}; + _int isAxisTurn = {}; + _int isPivotMove = {}; + _int isSizeLerp = {}; + _float fTimeDelta = {}; _float fPadding2 = {}; _float fPadding3 = {}; _float fPadding4 = {}; + }CS_PARTICLE_DESC; typedef struct tagCSParticleValueDesc @@ -104,7 +143,16 @@ class ENGINE_DLL CInstance_Model final : public CComponent _float2 vAniIndex = {}; _float fGravity = {}; - _float3 vSinAmount = {}; + _float3 vSinAmount = {}; + _float3 vDeltaAngle = {}; + _float3 vDeltaAxisAngle = {}; + + _float fDrag; + _float3 vPivot = {}; + + _float fSizeDrag = {}; + _float3 vDeltaSize = {}; + }CS_PARTICLE_VALUE_DESC; diff --git a/Jusin154_Team3D/Engine/Public/QuadTree.h b/Jusin154_Team3D/Engine/Public/QuadTree.h index bb68da23a..d2c878e02 100644 --- a/Jusin154_Team3D/Engine/Public/QuadTree.h +++ b/Jusin154_Team3D/Engine/Public/QuadTree.h @@ -14,6 +14,11 @@ class CQuadTree final : public CBase virtual ~CQuadTree() = default; public: +#ifdef _DEBUG + void Set_CullingRadius(_float fRadius); +#endif // _DEBUG + + void Culling(class CGameInstance* pGameInstance, const _float3* pVertexPositions, _uint* pIndices, _uint* pNumIndices); void SetUp_Neighbors(); _bool Picking(class CGameInstance* pGameInstance, const _float3* pVertexPositions, _float3& Out, _fmatrix WorldMatrix); @@ -23,6 +28,8 @@ class CQuadTree final : public CBase _uint m_iCorners[CORNER_END] = { }; _uint m_iCenter = {}; + _float m_fCullingRadius = { 0.2f }; + CQuadTree* m_pChildren[CORNER_END] = { nullptr }; CQuadTree* m_pNeighbors[NEIGHBOR_END] = { nullptr, nullptr, nullptr, nullptr }; diff --git a/Jusin154_Team3D/Engine/Public/VIBuffer_Terrain.h b/Jusin154_Team3D/Engine/Public/VIBuffer_Terrain.h index 781750454..87455a542 100644 --- a/Jusin154_Team3D/Engine/Public/VIBuffer_Terrain.h +++ b/Jusin154_Team3D/Engine/Public/VIBuffer_Terrain.h @@ -27,6 +27,11 @@ class ENGINE_DLL CVIBuffer_Terrain final : public CVIBuffer void FitY(_fmatrix WorldMatrix, _float fY); void Change_HeigthRatio(_float fRatio); +#ifdef _DEBUG + void Set_CullingRadius(_float fRaduis); +#endif // _DEBUG + + private: _bool m_bChange = {}; _uint m_iNumVerticesX = {}; diff --git a/Jusin154_Team3D/Engine/Public/VIBuffer_UI_Instance.h b/Jusin154_Team3D/Engine/Public/VIBuffer_UI_Instance.h index 40dcfb8ae..44c73d40f 100644 --- a/Jusin154_Team3D/Engine/Public/VIBuffer_UI_Instance.h +++ b/Jusin154_Team3D/Engine/Public/VIBuffer_UI_Instance.h @@ -10,6 +10,11 @@ class ENGINE_DLL CVIBuffer_UI_Instance final : public CVIBuffer_Instance typedef struct tagUIInstanceDesc final : public CVIBuffer_Instance::INSTANCE_DESC { }UI_INSTANCE_DESC; + typedef struct tagUIAtlasDesc + { + _float2 fUVStart{}; + _float2 fUVEnd{}; + }UI_ATLAS_DESC; private: CVIBuffer_UI_Instance(ID3D11Device* pDevice, ID3D11DeviceContext* pContext); CVIBuffer_UI_Instance(const CVIBuffer_UI_Instance& Prototype); @@ -25,6 +30,7 @@ class ENGINE_DLL CVIBuffer_UI_Instance final : public CVIBuffer_Instance virtual void Set_SizeX(_float fSizeX); virtual void Set_SizeY(_float fSizeY); virtual void Set_Cloned(_bool isCloned) { m_isCloned = isCloned; } + virtual void Set_ImageUV(UI_ATLAS_DESC* AtlasUV = nullptr); private: VTX_INSTANCE_UI* m_pInstanceVertices = { nullptr };