@@ -2426,6 +2426,100 @@ PS_OUT PS_BoosterHpBar(PS_IN In)
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_DialogueChoice(PS_IN In)
|
||||
{
|
||||
PS_OUT Out = (PS_OUT) 0;
|
||||
float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
|
||||
float4 Color = float4(1.f, 1.f, 1.f, 0.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);
|
||||
}
|
||||
|
||||
|
||||
if (g_iHover != 0)
|
||||
{
|
||||
float4 tex = g_Texture.Sample(ClampSampler, Finaluv);
|
||||
Color = tex;
|
||||
|
||||
float2 ImgaePos1 = g_fImageSipos1.xy;
|
||||
float2 ImgaeSize1 = g_fImageSipos1.zw;
|
||||
float2 ImgaePixel = Finaluv * g_fOrigin_Size;
|
||||
float2 localUV = (ImgaePixel - ImgaePos1) / ImgaeSize1;
|
||||
bool inside = all(localUV >= 0.0f && localUV <= 1.0f);
|
||||
if (inside)
|
||||
{
|
||||
float4 tex2 = g_Texture1.Sample(ClampSampler, localUV);
|
||||
Color = lerp(Color, tex2, tex2.a);
|
||||
}
|
||||
|
||||
float2 ImgaePos2 = g_fImageSipos2.xy;
|
||||
float2 ImgaeSize2 = g_fImageSipos2.zw;
|
||||
float2 ImgaePixe2 = Finaluv * g_fOrigin_Size;
|
||||
float2 ReverseUV = (ImgaePixe2 - ImgaePos2) / ImgaeSize2;
|
||||
bool inside2 = all(ReverseUV >= 0.0f && ReverseUV <= 1.0f);
|
||||
if (inside2)
|
||||
{
|
||||
ReverseUV.y = 1.f - ReverseUV.y;
|
||||
float4 tex2 = g_Texture1.Sample(ClampSampler, ReverseUV);
|
||||
Color = lerp(Color, tex2, tex2.a);
|
||||
}
|
||||
}
|
||||
|
||||
float2 ImgaePos3 = g_fImageSipos3.xy / g_fCurrent_Size;
|
||||
float2 ImgaeSize3 = g_fImageSipos3.zw / g_fCurrent_Size;
|
||||
float2 localUV2 = (In.vTexcoord - ImgaePos3) / ImgaeSize3;
|
||||
bool inside3 = all(localUV2 >= 0.0f && localUV2 <= 1.0f);
|
||||
if (inside3)
|
||||
{
|
||||
float4 tex2 = g_Texture2.Sample(ClampSampler, localUV2);
|
||||
Color = lerp(Color, tex2, tex2.a);
|
||||
}
|
||||
|
||||
Color.a *= Alpha;
|
||||
Out.vColor = Color;
|
||||
return Out;
|
||||
}
|
||||
|
||||
struct VS_IN3D
|
||||
{
|
||||
float3 vPosition : POSITION;
|
||||
@@ -3206,6 +3300,16 @@ technique11 PosTexTechnique11
|
||||
PixelShader = compile ps_5_0 PS_BoosterHpBar();
|
||||
}
|
||||
|
||||
pass DialogueChoice
|
||||
{
|
||||
SetRasterizerState(RS_Nocull);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
|
||||
PixelShader = compile ps_5_0 PS_DialogueChoice();
|
||||
}
|
||||
|
||||
pass Enemy_Detection
|
||||
{
|
||||
SetRasterizerState(RS_Nocull);
|
||||
|
||||
@@ -176,6 +176,7 @@ call Update_Resources.bat
|
||||
<ClInclude Include="..\Public\CallBack_NonPlayable_HitReport.h" />
|
||||
<ClInclude Include="..\Public\CallBack_Ranrok_HitReport.h" />
|
||||
<ClInclude Include="..\Public\Camera_Model.h" />
|
||||
<ClInclude Include="..\Public\CutSceneInfo.h" />
|
||||
<ClInclude Include="..\Public\Duelist_Levioso.h" />
|
||||
<ClInclude Include="..\Public\Duelist_NormalJap.h" />
|
||||
<ClInclude Include="..\Public\Duelist_Protego.h" />
|
||||
@@ -221,6 +222,7 @@ call Update_Resources.bat
|
||||
<ClInclude Include="..\Public\State_Fear.h" />
|
||||
<ClInclude Include="..\Public\State_FireBall.h" />
|
||||
<ClInclude Include="..\Public\State_Slash.h" />
|
||||
<ClInclude Include="..\Public\TimeSocket.h" />
|
||||
<ClInclude Include="..\Public\ThestralCarriage.h" />
|
||||
<ClInclude Include="..\Public\TransformationSide.h" />
|
||||
<ClInclude Include="..\Public\Transformation.h" />
|
||||
@@ -463,6 +465,7 @@ call Update_Resources.bat
|
||||
<ClCompile Include="..\Private\CallBack_NonPlayable_HitReport.cpp" />
|
||||
<ClCompile Include="..\Private\CallBack_Ranrok_HitReport.cpp" />
|
||||
<ClCompile Include="..\Private\Camera_Model.cpp" />
|
||||
<ClCompile Include="..\Private\CutSceneInfo.cpp" />
|
||||
<ClCompile Include="..\Private\Duelist_Levioso.cpp" />
|
||||
<ClCompile Include="..\Private\Duelist_NormalJap.cpp" />
|
||||
<ClCompile Include="..\Private\Duelist_Protego.cpp" />
|
||||
@@ -510,6 +513,7 @@ call Update_Resources.bat
|
||||
<ClCompile Include="..\Private\State_Fear.cpp" />
|
||||
<ClCompile Include="..\Private\State_Slash.cpp" />
|
||||
<ClCompile Include="..\Private\ThestralCarriage.cpp" />
|
||||
<ClCompile Include="..\Private\TimeSocket.cpp" />
|
||||
<ClCompile Include="..\Private\TransformationSide.cpp" />
|
||||
<ClCompile Include="..\Private\Transformation.cpp" />
|
||||
<ClCompile Include="..\Private\LightningSide.cpp" />
|
||||
|
||||
@@ -881,6 +881,12 @@
|
||||
<ClInclude Include="..\Public\ThestralCarriage.h">
|
||||
<Filter>02.GameObjects\Item\ThestralCarriage</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\CutSceneInfo.h">
|
||||
<Filter>03.InfoInstance\04.CutSceneInfo</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\TimeSocket.h">
|
||||
<Filter>04.Mechanic\TimeSocket</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="Client.ico">
|
||||
@@ -930,15 +936,6 @@
|
||||
<Filter Include="02.GameObjects\NPC\Ally">
|
||||
<UniqueIdentifier>{a7d0a3fa-b3dc-40c6-b258-ffcde49b05c1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic">
|
||||
<UniqueIdentifier>{b5bef783-5315-4488-ac64-cb98d16a84a9}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Item">
|
||||
<UniqueIdentifier>{31681680-d5de-43c9-bc2d-2c91ca58a593}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State">
|
||||
<UniqueIdentifier>{1bfec6dc-f008-4d18-87d6-be38824b1272}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="01.Levels\10.Field">
|
||||
<UniqueIdentifier>{2b209526-b728-4fba-a184-b9224d72903a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1017,30 +1014,6 @@
|
||||
<Filter Include="02.GameObjects\PhysX\CallBack\HitReport">
|
||||
<UniqueIdentifier>{dc05dfc9-22e5-4a2a-b016-c55b215c0c68}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus">
|
||||
<UniqueIdentifier>{0834c76d-83d8-4ef5-9d19-7277686d28c5}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat">
|
||||
<UniqueIdentifier>{017fc692-bac0-4635-843c-02fb59009f5b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement">
|
||||
<UniqueIdentifier>{349939a0-8b9a-4a1a-8f0a-ca5014cd4e18}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Dodge">
|
||||
<UniqueIdentifier>{5fa1e5a9-acd8-499d-90ee-9cf17441b3a5}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Jump">
|
||||
<UniqueIdentifier>{41d2e34e-5280-4b3c-961e-064484f1449d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Land">
|
||||
<UniqueIdentifier>{1034dd61-dd17-456a-990b-628c45f74b51}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Idle">
|
||||
<UniqueIdentifier>{2999d0c5-81e4-44d6-99b3-4801e6f84dd7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Move">
|
||||
<UniqueIdentifier>{0a3f9629-27d1-411c-806e-b550af8f1ca1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect">
|
||||
<UniqueIdentifier>{23fc95c4-0db3-4569-bd37-4d9bc32938ba}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1164,12 +1137,6 @@
|
||||
<Filter Include="02.GameObjects\Effect\Effects\Lumos">
|
||||
<UniqueIdentifier>{6bc9fd95-31bc-40f3-83cc-15ebb756b04a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Skill">
|
||||
<UniqueIdentifier>{c5b61cb3-bc5f-4429-8715-b309dcf054b2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Skill\Skill_Data">
|
||||
<UniqueIdentifier>{2bc5b43e-0e24-49d4-95b0-549ad4428201}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Environment\03.MapElement">
|
||||
<UniqueIdentifier>{f3f219aa-034f-4aa2-9f2e-d75d15bd1f4a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1245,48 +1212,18 @@
|
||||
<Filter Include="02.GameObjects\UI\UI_Manager">
|
||||
<UniqueIdentifier>{9cc8fea6-837e-4f68-b116-134c9dc68a26}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Hit">
|
||||
<UniqueIdentifier>{5a7e32b1-6fa9-44e2-8d6e-b117c3454d5b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Troll_Combat">
|
||||
<UniqueIdentifier>{46e41554-f9a0-41c5-992c-f736ef1a333f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Throw">
|
||||
<UniqueIdentifier>{039f471d-9623-4026-9493-5bb52c6a8cd3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Item\Troll_Rock">
|
||||
<UniqueIdentifier>{837ff377-2bcd-4a54-baf2-18b1be9d90a0}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Item\Goblin_Dagger">
|
||||
<UniqueIdentifier>{7d6fe51e-3d6d-4fed-9e5d-27e257672e01}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Swing">
|
||||
<UniqueIdentifier>{f109c973-c532-4549-9680-d0d6495b0fa8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\Mouse_Cursor">
|
||||
<UniqueIdentifier>{b8c7e12b-da04-4d49-bc61-104649975d0b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Environment\03.MapElement\Interactable">
|
||||
<UniqueIdentifier>{17eaf081-6fbf-4965-b04d-10749e6032c6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Slam">
|
||||
<UniqueIdentifier>{75479637-e795-4656-a4ef-3772d8a6d007}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Troll_Combat\Troll_State_BackHand_Swing">
|
||||
<UniqueIdentifier>{27d5a2b8-98db-4dbf-9916-0806cfa97c9c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\IdleBreak">
|
||||
<UniqueIdentifier>{a7f11f50-5740-4670-ad9e-d21640b2cca7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_LightAttack">
|
||||
<UniqueIdentifier>{12ff4f09-ec6c-4b98-966a-0d84c9ad253c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Troll_Combat\Troll_State_Rush">
|
||||
<UniqueIdentifier>{7bb8a04a-00a0-4864-9781-8069d84806ca}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Spell">
|
||||
<UniqueIdentifier>{e68261eb-a581-4bf5-b48d-b47cc81f7406}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="01.Levels\02.GamePlay">
|
||||
<UniqueIdentifier>{7e641382-9dfa-4da7-a8c8-a3ee06360e7a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1317,9 +1254,6 @@
|
||||
<Filter Include="02.GameObjects\UI\Screen\Logo\Logo_Text">
|
||||
<UniqueIdentifier>{c584798b-d7aa-4cb0-b6e8-c2aff73757ce}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Shuffle">
|
||||
<UniqueIdentifier>{0ed6a11e-5d22-4b9f-a39c-f2319c27caf4}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Mage">
|
||||
<UniqueIdentifier>{5973b96c-42c3-4cda-9627-f741e12124cd}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1392,24 +1326,12 @@
|
||||
<Filter Include="02.GameObjects\Effect\Effects\WandEnd">
|
||||
<UniqueIdentifier>{14ad0431-680b-4c8b-93d7-601aee5ce435}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Sustain">
|
||||
<UniqueIdentifier>{22207d12-6fd2-4692-9329-b0ea0e19ca84}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="03.InfoInstance\03.InteractiveInfo">
|
||||
<UniqueIdentifier>{1d1dc743-5cf2-4b8f-a80e-16b16437c7aa}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Dead">
|
||||
<UniqueIdentifier>{81add99f-7450-4730-8d3f-bf1de06b2b8d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Troll_Combat\Troll_State_Stun">
|
||||
<UniqueIdentifier>{2e2a53dc-9ea6-427f-88b3-d8857193d432}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\MonsterEffect\Goblin_Attack">
|
||||
<UniqueIdentifier>{967d1741-2780-40b7-b55e-9fd58e931ef7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Damage">
|
||||
<UniqueIdentifier>{36962dce-8c99-4c54-9189-2a49785a211e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\MonsterEffect\Goblin_Mage">
|
||||
<UniqueIdentifier>{13977e62-6b05-41de-9919-20a06cd336e5}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1428,15 +1350,6 @@
|
||||
<Filter Include="02.GameObjects\Effect\State_Effect\Stun">
|
||||
<UniqueIdentifier>{c9370e36-317e-45e7-a8c7-98a623864824}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player">
|
||||
<UniqueIdentifier>{48b905c1-b91e-44ca-a61b-86633826768b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Broom_Ride_Move">
|
||||
<UniqueIdentifier>{d6be355f-c860-4323-9967-583265749698}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Broom_Dismount">
|
||||
<UniqueIdentifier>{51b299f6-ebb0-4f58-9620-5e1dc24a2e60}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\GamePlay_Canvas\Enemy_Penel\Boss_HpBar">
|
||||
<UniqueIdentifier>{b49a3671-96d0-47b8-833f-28190d549b0f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1458,9 +1371,6 @@
|
||||
<Filter Include="02.GameObjects\UI\Enemy_Detection">
|
||||
<UniqueIdentifier>{34a4beb9-ccb9-4847-ae45-af4e7dc25d94}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Shield">
|
||||
<UniqueIdentifier>{fd4a0869-2491-4fec-9df9-3aedbac96171}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\NPC\Ally\Shopper">
|
||||
<UniqueIdentifier>{02cb243a-f63e-4e55-9d55-b47e31a4c13e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1500,9 +1410,6 @@
|
||||
<Filter Include="02.GameObjects\UI\Quest_Canvas\Quest_Panel\Quest_Info_Line">
|
||||
<UniqueIdentifier>{7c8b3162-a6d5-441f-84ae-cfb4bf779dfa}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Broom_TurboFly">
|
||||
<UniqueIdentifier>{2326c134-a2bb-45f1-8452-2dd49bf42697}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\NPC\Ally\BroomRacerAI">
|
||||
<UniqueIdentifier>{6ffe4bf3-60e2-4dd3-beef-cc7cf7b50328}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1515,60 +1422,18 @@
|
||||
<Filter Include="02.GameObjects\BroomRaceManager">
|
||||
<UniqueIdentifier>{9e8bccb6-c491-4f3a-bdb8-5f03f13ad84d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Quest">
|
||||
<UniqueIdentifier>{fe64513c-fbb3-4577-b424-82d99c9075a3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\Interaction_Key">
|
||||
<UniqueIdentifier>{08163c4a-63c9-4cc2-97b4-97bb2f9467ff}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\Quest_Canvas\Quest_Panel\Quest_Status">
|
||||
<UniqueIdentifier>{bffcced5-6951-4db4-9df1-44b33b52ece7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Quest\QuestInstance">
|
||||
<UniqueIdentifier>{35a6cb6f-4bbb-47fb-8f7a-63615128dece}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\Quest_Canvas\Quest_Panel\Quest_Slot">
|
||||
<UniqueIdentifier>{6bbfb8f0-c71a-4769-b1e6-efd5d863ba7f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\Effects\Stupefy">
|
||||
<UniqueIdentifier>{7672784a-86a8-4485-a4de-a979bd0c8f52}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Hover">
|
||||
<UniqueIdentifier>{24f6903f-8f6b-46ff-a387-ecb44d673887}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Fly">
|
||||
<UniqueIdentifier>{f24321bb-6750-4baa-b19a-bf5a3c2a8909}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_FireBreath">
|
||||
<UniqueIdentifier>{cbb70230-b830-4554-a678-c571d5a87176}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_FireBall">
|
||||
<UniqueIdentifier>{77fc199c-dd8f-4b36-8869-161a4998c189}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Pulse">
|
||||
<UniqueIdentifier>{70ff75c1-3309-4db7-9f5c-51573046df9e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Tucked">
|
||||
<UniqueIdentifier>{5fa641cd-bc30-4ab6-a8d4-26a9785ef4ae}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_AncientSpell">
|
||||
<UniqueIdentifier>{c69a2485-7f6e-4e22-81b4-1410fdae9d57}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_FireSweep">
|
||||
<UniqueIdentifier>{2c39ba68-2f23-4bc9-a277-b6e9295c11a0}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Ground">
|
||||
<UniqueIdentifier>{9e2863cd-1a30-4a27-a076-5e1baff3dee8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Swipe">
|
||||
<UniqueIdentifier>{2fd96fb0-dbc3-4486-afda-82b3b1b63060}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Slide">
|
||||
<UniqueIdentifier>{ee880571-e18c-4206-80ea-448cadd04d9a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Skill">
|
||||
<UniqueIdentifier>{cef80506-72c7-4bb9-a691-760f0a576eb7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Environment\03.MapElement\Static">
|
||||
<UniqueIdentifier>{c3b86f00-da19-47ad-a26e-7ff641e2c4d4}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1596,15 +1461,9 @@
|
||||
<Filter Include="02.GameObjects\UI\SpellLearn_Canvas\SpellLearn_Panel\SpellLearn_Name">
|
||||
<UniqueIdentifier>{7d84f56c-9d2f-483e-9ee1-2637d35ccb7d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Skill\SpellLearn_Data">
|
||||
<UniqueIdentifier>{69f95207-1e94-42f2-9690-d3e34e4ff5a9}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\Effects\Blink">
|
||||
<UniqueIdentifier>{262cc240-d062-406a-9d47-36702fe6b9f3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Skill2">
|
||||
<UniqueIdentifier>{785b1fd0-ef6f-43ab-96fc-e233cd93b29d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\Effects\Transformation">
|
||||
<UniqueIdentifier>{87b1db75-938f-462f-a288-fe9c8d6c689e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1638,9 +1497,6 @@
|
||||
<Filter Include="02.GameObjects\PhysX\CallBack\HitReport\NPC">
|
||||
<UniqueIdentifier>{b265ac30-97f5-4dac-bc6b-b11fba1c5ad8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\State_Fall">
|
||||
<UniqueIdentifier>{b85f80a2-d88e-4eb0-91af-da93b49bfa09}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\Effects\Avadakedavra\AvadakedavraSide">
|
||||
<UniqueIdentifier>{f9c3f711-4032-4455-9d70-b81c5320f8c8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1653,9 +1509,6 @@
|
||||
<Filter Include="02.GameObjects\UI\NPCInteraction">
|
||||
<UniqueIdentifier>{09764279-bf54-48e4-853a-45b5a65c92a7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Dialogue">
|
||||
<UniqueIdentifier>{11c35878-12b4-4c55-b872-004fed9a4fb2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Environment\99.Lights">
|
||||
<UniqueIdentifier>{74f21f9b-30bf-412e-ba4e-526958ab2a52}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1677,9 +1530,6 @@
|
||||
<Filter Include="02.GameObjects\Cameras\CameraPosition\AI">
|
||||
<UniqueIdentifier>{a24f4687-f540-44e5-ae47-fe176c4c9042}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Dialogue\Dialogue_Data">
|
||||
<UniqueIdentifier>{b03591a7-a14e-425a-8a3f-2a6a054c884a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Point">
|
||||
<UniqueIdentifier>{a94e24d2-0f61-4263-b834-bfdf9f6c06ae}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1692,15 +1542,6 @@
|
||||
<Filter Include="02.GameObjects\Item\Goblin_Sword">
|
||||
<UniqueIdentifier>{db12252c-8c0d-40bc-9466-e76ec60e2509}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Slash">
|
||||
<UniqueIdentifier>{0736f27e-2722-483b-88b6-30471ad70835}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\State_Blink">
|
||||
<UniqueIdentifier>{27251db2-19f2-4492-a3a4-32c11526f413}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Dash">
|
||||
<UniqueIdentifier>{6d1f0862-40a4-4c0b-9921-87fe6af2008b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\NPC\Hostile\Monster\Goblin\Goblin_Spector\Goblin_Warrior_Spector">
|
||||
<UniqueIdentifier>{0c62f4f7-a0e6-4ff2-a4dd-25e3dd79709e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1752,9 +1593,6 @@
|
||||
<Filter Include="02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Charge">
|
||||
<UniqueIdentifier>{fd036f05-4c10-4322-b0c2-aac65e7011a1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Fear">
|
||||
<UniqueIdentifier>{99712e38-b76a-4c04-8ba3-16ddaac72679}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\UI\GamePlay_Canvas\Ride_Panel">
|
||||
<UniqueIdentifier>{5bf233fa-6f9c-40d5-85c6-adbc7fcf7d28}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -1821,9 +1659,183 @@
|
||||
<Filter Include="02.GameObjects\Effect\Effects\Levioso\Duelist_Levioso">
|
||||
<UniqueIdentifier>{5351494b-8047-488a-ba2b-59a88dae4534}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="03.InfoInstance\04.CutSceneInfo">
|
||||
<UniqueIdentifier>{41ab19cd-5fd6-48e8-b920-cf6d034c5677}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic">
|
||||
<UniqueIdentifier>{b5bef783-5315-4488-ac64-cb98d16a84a9}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Item">
|
||||
<UniqueIdentifier>{31681680-d5de-43c9-bc2d-2c91ca58a593}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State">
|
||||
<UniqueIdentifier>{1bfec6dc-f008-4d18-87d6-be38824b1272}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus">
|
||||
<UniqueIdentifier>{0834c76d-83d8-4ef5-9d19-7277686d28c5}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Dodge">
|
||||
<UniqueIdentifier>{5fa1e5a9-acd8-499d-90ee-9cf17441b3a5}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Jump">
|
||||
<UniqueIdentifier>{41d2e34e-5280-4b3c-961e-064484f1449d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Land">
|
||||
<UniqueIdentifier>{1034dd61-dd17-456a-990b-628c45f74b51}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Slide">
|
||||
<UniqueIdentifier>{ee880571-e18c-4206-80ea-448cadd04d9a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\State_Fall">
|
||||
<UniqueIdentifier>{b85f80a2-d88e-4eb0-91af-da93b49bfa09}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Focus\Fear">
|
||||
<UniqueIdentifier>{99712e38-b76a-4c04-8ba3-16ddaac72679}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat">
|
||||
<UniqueIdentifier>{017fc692-bac0-4635-843c-02fb59009f5b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Throw">
|
||||
<UniqueIdentifier>{039f471d-9623-4026-9493-5bb52c6a8cd3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Swing">
|
||||
<UniqueIdentifier>{f109c973-c532-4549-9680-d0d6495b0fa8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Slam">
|
||||
<UniqueIdentifier>{75479637-e795-4656-a4ef-3772d8a6d007}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_LightAttack">
|
||||
<UniqueIdentifier>{12ff4f09-ec6c-4b98-966a-0d84c9ad253c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Spell">
|
||||
<UniqueIdentifier>{e68261eb-a581-4bf5-b48d-b47cc81f7406}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Sustain">
|
||||
<UniqueIdentifier>{22207d12-6fd2-4692-9329-b0ea0e19ca84}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Dead">
|
||||
<UniqueIdentifier>{81add99f-7450-4730-8d3f-bf1de06b2b8d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Shield">
|
||||
<UniqueIdentifier>{fd4a0869-2491-4fec-9df9-3aedbac96171}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_FireBreath">
|
||||
<UniqueIdentifier>{cbb70230-b830-4554-a678-c571d5a87176}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_FireBall">
|
||||
<UniqueIdentifier>{77fc199c-dd8f-4b36-8869-161a4998c189}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Pulse">
|
||||
<UniqueIdentifier>{70ff75c1-3309-4db7-9f5c-51573046df9e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_AncientSpell">
|
||||
<UniqueIdentifier>{c69a2485-7f6e-4e22-81b4-1410fdae9d57}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_FireSweep">
|
||||
<UniqueIdentifier>{2c39ba68-2f23-4bc9-a277-b6e9295c11a0}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Swipe">
|
||||
<UniqueIdentifier>{2fd96fb0-dbc3-4486-afda-82b3b1b63060}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Skill">
|
||||
<UniqueIdentifier>{cef80506-72c7-4bb9-a691-760f0a576eb7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Skill2">
|
||||
<UniqueIdentifier>{785b1fd0-ef6f-43ab-96fc-e233cd93b29d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_Slash">
|
||||
<UniqueIdentifier>{0736f27e-2722-483b-88b6-30471ad70835}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\State_Combat\State_CutScene">
|
||||
<UniqueIdentifier>{b50fed80-37dd-4adb-afd4-ba153cef8a92}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement">
|
||||
<UniqueIdentifier>{349939a0-8b9a-4a1a-8f0a-ca5014cd4e18}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Idle">
|
||||
<UniqueIdentifier>{2999d0c5-81e4-44d6-99b3-4801e6f84dd7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Move">
|
||||
<UniqueIdentifier>{0a3f9629-27d1-411c-806e-b550af8f1ca1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\IdleBreak">
|
||||
<UniqueIdentifier>{a7f11f50-5740-4670-ad9e-d21640b2cca7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Shuffle">
|
||||
<UniqueIdentifier>{0ed6a11e-5d22-4b9f-a39c-f2319c27caf4}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Tucked">
|
||||
<UniqueIdentifier>{5fa641cd-bc30-4ab6-a8d4-26a9785ef4ae}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Ground">
|
||||
<UniqueIdentifier>{9e2863cd-1a30-4a27-a076-5e1baff3dee8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\State_Blink">
|
||||
<UniqueIdentifier>{27251db2-19f2-4492-a3a4-32c11526f413}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Movement\Dash">
|
||||
<UniqueIdentifier>{6d1f0862-40a4-4c0b-9921-87fe6af2008b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Hit">
|
||||
<UniqueIdentifier>{5a7e32b1-6fa9-44e2-8d6e-b117c3454d5b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Troll_Combat">
|
||||
<UniqueIdentifier>{46e41554-f9a0-41c5-992c-f736ef1a333f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Troll_Combat\Troll_State_BackHand_Swing">
|
||||
<UniqueIdentifier>{27d5a2b8-98db-4dbf-9916-0806cfa97c9c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Troll_Combat\Troll_State_Rush">
|
||||
<UniqueIdentifier>{7bb8a04a-00a0-4864-9781-8069d84806ca}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Troll_Combat\Troll_State_Stun">
|
||||
<UniqueIdentifier>{2e2a53dc-9ea6-427f-88b3-d8857193d432}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player">
|
||||
<UniqueIdentifier>{48b905c1-b91e-44ca-a61b-86633826768b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Broom_Ride_Move">
|
||||
<UniqueIdentifier>{d6be355f-c860-4323-9967-583265749698}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Broom_Dismount">
|
||||
<UniqueIdentifier>{51b299f6-ebb0-4f58-9620-5e1dc24a2e60}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Broom_TurboFly">
|
||||
<UniqueIdentifier>{2326c134-a2bb-45f1-8452-2dd49bf42697}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Hover">
|
||||
<UniqueIdentifier>{24f6903f-8f6b-46ff-a387-ecb44d673887}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\State\Broom_Player\State_Fly">
|
||||
<UniqueIdentifier>{f24321bb-6750-4baa-b19a-bf5a3c2a8909}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Skill">
|
||||
<UniqueIdentifier>{c5b61cb3-bc5f-4429-8715-b309dcf054b2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Skill\Skill_Data">
|
||||
<UniqueIdentifier>{2bc5b43e-0e24-49d4-95b0-549ad4428201}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Skill\SpellLearn_Data">
|
||||
<UniqueIdentifier>{69f95207-1e94-42f2-9690-d3e34e4ff5a9}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Damage">
|
||||
<UniqueIdentifier>{36962dce-8c99-4c54-9189-2a49785a211e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Quest">
|
||||
<UniqueIdentifier>{fe64513c-fbb3-4577-b424-82d99c9075a3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Quest\QuestInstance">
|
||||
<UniqueIdentifier>{35a6cb6f-4bbb-47fb-8f7a-63615128dece}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Dialogue">
|
||||
<UniqueIdentifier>{11c35878-12b4-4c55-b872-004fed9a4fb2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\Dialogue\Dialogue_Data">
|
||||
<UniqueIdentifier>{b03591a7-a14e-425a-8a3f-2a6a054c884a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="04.Mechanic\TimeSocket">
|
||||
<UniqueIdentifier>{ca386d46-aca6-44a4-94cc-15610e1a878e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Item\ThestralCarriage">
|
||||
<UniqueIdentifier>{d07bd195-0cdf-4a47-8c50-e3a88361352f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -2661,6 +2673,12 @@
|
||||
<ClCompile Include="..\Private\ThestralCarriage.cpp">
|
||||
<Filter>02.GameObjects\Item\ThestralCarriage</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\CutSceneInfo.cpp">
|
||||
<Filter>03.InfoInstance\04.CutSceneInfo</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\TimeSocket.cpp">
|
||||
<Filter>04.Mechanic\TimeSocket</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\Private\Goblin_States.cpp">
|
||||
|
||||
@@ -74,7 +74,9 @@ void CCamPosition_Shoulder::Priority_Update(_float fTimeDelta)
|
||||
if (true == m_bMovable) {
|
||||
m_vAccRotDegrees.y += m_pGameInstance->Get_MouseMove().x * m_fMouseSensor;
|
||||
m_vAccRotDegrees.x += m_pGameInstance->Get_MouseMove().y * m_fMouseSensor;
|
||||
CMyTools::AdjustAccumulateDegreePitchYawDegree(m_vAccRotDegrees);
|
||||
_float2 vAccRotDegree = m_pBinded_Camera->Get_RotDegreeVerticalLock();
|
||||
CMyTools::AdjustAccumulateDegreePitchYawDegree(m_vAccRotDegrees, vAccRotDegree.x, vAccRotDegree.y);
|
||||
m_pBinded_Camera->Set_RotDegreeVerticalLock(vAccRotDegree);
|
||||
}
|
||||
{
|
||||
_vector vLookTargetPos = Calc_LookTargetPos();
|
||||
@@ -466,7 +468,6 @@ void CCamPosition_Shoulder::Describe_Entity()
|
||||
GUI::Begin("CAMERA", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||
if (GUI::CollapsingHeader("Cam_Shoulder")) {
|
||||
m_pTransformCom->Describe_Entity();
|
||||
|
||||
GUI::Text("fMouseSensor : %.1f", m_fMouseSensor);
|
||||
GUI::SliderFloat("m_fFollowTargetIncludedAngleDegree", &m_fFollowTargetIncludedAngleDegree, -360.f, 360.f, "%.1f");
|
||||
GUI::SliderFloat("m_fDefaultCameraBackToFrontRatio", &m_fDefaultCameraBackToFrontRatio, -1.f, 1.f);
|
||||
@@ -485,6 +486,7 @@ void CCamPosition_Shoulder::Describe_Entity()
|
||||
|
||||
GUI::TreePop();
|
||||
}
|
||||
m_pBinded_Camera->Describe_Entity();
|
||||
}
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
@@ -208,6 +208,8 @@ void CCamera_Gaze::Describe_Entity()
|
||||
GUI::Text("LOOK_DST %.2f, %.2f, %.2f", m_vLookPos_Dest.x, m_vLookPos_Dest.y, m_vLookPos_Dest.z);
|
||||
GUI::Text("FOLLOW_SRC %.2f, %.2f, %.2f", m_vFollowPos_Src.x, m_vFollowPos_Src.y, m_vFollowPos_Src.z);
|
||||
GUI::Text("FOLLOW_DST %.2f, %.2f, %.2f", m_vFollowPos_Dest.x, m_vFollowPos_Dest.y, m_vFollowPos_Dest.z);
|
||||
|
||||
GUI::DragFloat2("VerticalAngle", (_float*)&m_vAccRotDegree_VerticalLocks, 1.f, 0.f, 89.f);
|
||||
GUI::Checkbox("TransitionLerp", &m_bEnable_TransitionLerp);
|
||||
if (true == m_bEnable_TransitionLerp) {
|
||||
GUI::SameLine(); GUI::Text("Translation : %.1f %.1f", m_vTransitionTime.x, m_vTransitionTime.y);
|
||||
|
||||
@@ -0,0 +1,151 @@
|
||||
#include "pch.h"
|
||||
#include "CutSceneInfo.h"
|
||||
#include "GameInstance.h"
|
||||
#include "InfoInstance.h"
|
||||
#include "Monster.h"
|
||||
#include "Layer.h"
|
||||
#include "Player.h"
|
||||
#include "TimeSocket.h"
|
||||
|
||||
CCutSceneInfo::CCutSceneInfo()
|
||||
{
|
||||
}
|
||||
void CCutSceneInfo::Update(_float fTimeDelta)
|
||||
{
|
||||
_float fRatio = 0.f;
|
||||
for (map<_string, TimeLine>::iterator iter = m_funcActiveEvents.begin(); iter != m_funcActiveEvents.end();) {
|
||||
list<CTimeSocket*>* pSockets = &iter->second.m_Sockets;
|
||||
iter->second.m_vTimer.x += fTimeDelta;
|
||||
fRatio = CMyTools::Saturate(iter->second.m_vTimer.x / iter->second.m_vTimer.y);
|
||||
|
||||
for (list<CTimeSocket*>::iterator socketIter = pSockets->begin(); socketIter == pSockets->end();) {
|
||||
if (false == (*socketIter)->Trigger(fRatio)) {
|
||||
socketIter++;
|
||||
break;
|
||||
}
|
||||
else {
|
||||
socketIter = pSockets->erase(socketIter);
|
||||
}
|
||||
}
|
||||
if (pSockets->empty()) {
|
||||
iter = m_funcActiveEvents.erase(iter);
|
||||
}
|
||||
else {
|
||||
iter++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CCutSceneInfo::Change_Level()
|
||||
{
|
||||
_uint iLevel = m_pGameInstance->Get_NextLevelID();
|
||||
|
||||
Clear_ActiveEvents();
|
||||
}
|
||||
|
||||
void CCutSceneInfo::Active_Event(_string& strKey)
|
||||
{
|
||||
map<_string, TimeLine>::iterator iter = m_funcWaitEvents.find(strKey);
|
||||
if (iter != m_funcWaitEvents.end()) {
|
||||
m_funcActiveEvents.emplace(iter->first, iter->second);
|
||||
m_funcWaitEvents.erase(iter);
|
||||
}
|
||||
}
|
||||
|
||||
HRESULT CCutSceneInfo::DeActive_ActiveEvent(_string& strKey)
|
||||
{
|
||||
map<_string, TimeLine>::iterator iter = m_funcActiveEvents.find(strKey);
|
||||
if (iter != m_funcActiveEvents.end()) {
|
||||
|
||||
for (list<CTimeSocket*>::iterator socketIter = (*iter).second.m_Sockets.begin();
|
||||
socketIter == (*iter).second.m_Sockets.end(); ++iter) {
|
||||
SAFE_RELEASE((*socketIter));
|
||||
}
|
||||
m_funcActiveEvents.erase(iter);
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CCutSceneInfo::Load_Events(LEVEL eLevel)
|
||||
{
|
||||
switch (eLevel)
|
||||
{
|
||||
case Client::LEVEL::STATIC:
|
||||
break;
|
||||
case Client::LEVEL::LOADING:
|
||||
break;
|
||||
case Client::LEVEL::LOGO:
|
||||
break;
|
||||
case Client::LEVEL::INTRO:
|
||||
break;
|
||||
case Client::LEVEL::GAMEPLAY:
|
||||
break;
|
||||
case Client::LEVEL::FIELD:
|
||||
break;
|
||||
case Client::LEVEL::RESTART:
|
||||
break;
|
||||
case Client::LEVEL::END:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
HRESULT CCutSceneInfo::Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex)
|
||||
{
|
||||
m_pGameInstance = CGameInstance::GetInstance();
|
||||
m_pInfoInstance = CInfoInstance::GetInstance();
|
||||
m_pDevice = pDevice;
|
||||
m_pContext = pContex;
|
||||
|
||||
SAFE_ADDREF(m_pGameInstance);
|
||||
SAFE_ADDREF(m_pInfoInstance);
|
||||
SAFE_ADDREF(m_pDevice);
|
||||
SAFE_ADDREF(m_pContext);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
HRESULT CCutSceneInfo::Clear_ActiveEvents()
|
||||
{
|
||||
return Clear_Events(m_funcActiveEvents);
|
||||
}
|
||||
HRESULT CCutSceneInfo::Clear_Events(map<_string, TimeLine>& Events)
|
||||
{
|
||||
map<_string, TimeLine>::iterator iter = Events.begin();
|
||||
for (; iter != Events.end();) {
|
||||
|
||||
for (list<CTimeSocket*>::iterator socketIter = (*iter).second.m_Sockets.begin();
|
||||
socketIter == (*iter).second.m_Sockets.end(); ++iter) {
|
||||
SAFE_RELEASE((*socketIter));
|
||||
}
|
||||
iter = Events.erase(iter);
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
HRESULT CCutSceneInfo::Clear_AllEvents()
|
||||
{
|
||||
Clear_Events(m_funcActiveEvents);
|
||||
Clear_Events(m_funcWaitEvents);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
CCutSceneInfo* CCutSceneInfo::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContex)
|
||||
{
|
||||
CCutSceneInfo* pInstance = new CCutSceneInfo();
|
||||
|
||||
if (FAILED(pInstance->Initialize(pDevice, pContex))) {
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
return pInstance;
|
||||
}
|
||||
void CCutSceneInfo::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
Clear_AllEvents();
|
||||
|
||||
SAFE_RELEASE(m_pGameInstance);
|
||||
SAFE_RELEASE(m_pInfoInstance);
|
||||
SAFE_RELEASE(m_pDevice);
|
||||
SAFE_RELEASE(m_pContext);
|
||||
}
|
||||
@@ -181,7 +181,6 @@ void CDialogue::SizeUpdate(_wstring pName, _wstring pText)
|
||||
|
||||
void CDialogue::Set_Time(_float fTime)
|
||||
{
|
||||
m_bHover = true;
|
||||
m_fTime = fTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -44,9 +44,7 @@ HRESULT CDialogue_Data::Load_SpellInfo(const _char* pFilePath)
|
||||
DialogueInfo line{};
|
||||
pLine->QueryIntAttribute("ID", &line.iLineID);
|
||||
|
||||
int type = 0;
|
||||
pLine->QueryIntAttribute("Type", &type);
|
||||
line.bType = (type == 1);
|
||||
pLine->QueryIntAttribute("Type", &line.iTextType);
|
||||
|
||||
const char* text = pLine->Attribute("Text");
|
||||
if (text) line.pText = CMyTools::ToWstring(text);
|
||||
@@ -81,7 +79,7 @@ HRESULT CDialogue_Data::Load_SpellInfo(const _char* pFilePath)
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
const NPCDIALOGUEINFO& CDialogue_Data::Get_Info(_wstring NpcName) const
|
||||
const CURRENTDIALOGUEINFO& CDialogue_Data::Get_Info(_wstring NpcName, _int iTextID) const
|
||||
{
|
||||
auto iter = m_DialogueInfo.find(NpcName);
|
||||
if (iter == m_DialogueInfo.end())
|
||||
@@ -89,7 +87,13 @@ const NPCDIALOGUEINFO& CDialogue_Data::Get_Info(_wstring NpcName) const
|
||||
return Dummy;
|
||||
}
|
||||
|
||||
return iter->second;
|
||||
auto Text = iter->second.Info.find(iTextID);
|
||||
if (Text == iter->second.Info.end())
|
||||
{
|
||||
return Dummy;
|
||||
}
|
||||
|
||||
return Text->second;
|
||||
}
|
||||
|
||||
CDialogue_Data* CDialogue_Data::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
|
||||
@@ -23,9 +23,9 @@ HRESULT CDialogue_Font::Initialize_Prototype()
|
||||
HRESULT CDialogue_Font::Initialize(void* pArg)
|
||||
{
|
||||
m_pInfoInstance->Add_Event(TEXT("Dialogue"), [this](void* p) {this->Add_Text(p); });
|
||||
|
||||
m_pInfoInstance->Add_Event(TEXT("NpcInteract"), [this](void* p) {this->NpcInteract(*reinterpret_cast<_bool*>(p)); });
|
||||
m_pInfoInstance->Add_Event(TEXT("NPCInteractionOn"), [this](void* p) {this->NpcInfo(p); });
|
||||
m_pInfoInstance->Add_Event(TEXT("NPCDialogue"), [this](void* p) {this->NpcDialogue(reinterpret_cast<CNPCStat*>(p)); });
|
||||
|
||||
for (_int i = 0; i < 5; ++i)
|
||||
{
|
||||
@@ -46,6 +46,38 @@ void CDialogue_Font::Priority_Update(_float fTimeDelta)
|
||||
|
||||
void CDialogue_Font::Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bNpcInteract == false)
|
||||
{
|
||||
if (m_bCurrentInteract == true)
|
||||
m_bCurrentInteract = false;
|
||||
}
|
||||
|
||||
if (m_bNpcInteract != m_bCurrentInteract)
|
||||
{
|
||||
m_bCurrentInteract = m_bNpcInteract;
|
||||
NpcDialogue();
|
||||
Npc_Dialogue(m_Info);
|
||||
}
|
||||
|
||||
if (m_bCurrentInteract == true)
|
||||
{
|
||||
if (m_pGameInstance->Key_Down(DIK_RETURN))
|
||||
{
|
||||
switch (m_iType)
|
||||
{
|
||||
case 0:
|
||||
NextText();
|
||||
break;
|
||||
case 1:
|
||||
CHoice();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!m_pCurrentDialogue.empty())
|
||||
{
|
||||
for (auto it = m_pCurrentDialogue.begin(); it != m_pCurrentDialogue.end();)
|
||||
@@ -62,24 +94,11 @@ void CDialogue_Font::Update(_float fTimeDelta)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (m_bNpcInteract != m_bCurrentInteract)
|
||||
{
|
||||
m_bCurrentInteract = m_bNpcInteract;
|
||||
m_pInfoInstance->Get_Dialogue(m_pNpcName);
|
||||
}
|
||||
|
||||
if (m_bNpcInteract == false)
|
||||
{
|
||||
if (m_bCurrentInteract == true)
|
||||
m_bCurrentInteract = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void CDialogue_Font::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (!m_DialoguInfo.empty())
|
||||
if (!m_pCurrentDialogue.empty())
|
||||
{
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::UI_OVERLAY, this);
|
||||
}
|
||||
@@ -136,6 +155,35 @@ void CDialogue_Font::Add_Text(void* pArg)
|
||||
Dialogue->SizeUpdate(pInfo.pName, pInfo.pText);
|
||||
Dialogue->Visible(true);
|
||||
Dialogue->Set_Time(pInfo.fTime);
|
||||
Dialogue->Set_Hover(true);
|
||||
|
||||
m_pCurrentDialogue.push_front(Dialogue);
|
||||
}
|
||||
|
||||
void CDialogue_Font::Npc_Dialogue(DIALOGUEINFO Info)
|
||||
{
|
||||
if (m_DialoguInfo.empty() == true)
|
||||
return;
|
||||
|
||||
if (m_pCurrentDialogue.size() >= 5)
|
||||
{
|
||||
CDialogue* old = m_pCurrentDialogue.back();
|
||||
m_pCurrentDialogue.pop_back();
|
||||
m_DialoguInfo.push_back(old);
|
||||
}
|
||||
|
||||
CDialogue* Dialogue = m_DialoguInfo.back();
|
||||
m_DialoguInfo.pop_back();
|
||||
|
||||
for (auto& it : m_pCurrentDialogue)
|
||||
{
|
||||
it->Up();
|
||||
}
|
||||
|
||||
Dialogue->SizeUpdate(Info.pName, Info.pText);
|
||||
Dialogue->Visible(true);
|
||||
Dialogue->Set_Time(Info.fTime);
|
||||
Dialogue->Set_Hover(true);
|
||||
|
||||
m_pCurrentDialogue.push_front(Dialogue);
|
||||
}
|
||||
@@ -152,6 +200,63 @@ void CDialogue_Font::NpcInteract(_bool bInteract)
|
||||
m_bNpcInteract = bInteract;
|
||||
}
|
||||
|
||||
void CDialogue_Font::NpcDialogue()
|
||||
{
|
||||
auto Info = m_pInfoInstance->Get_Dialogue(m_pNpcName, m_iTextID);
|
||||
m_Info.pName = m_pNpcName;
|
||||
m_Info.pText = Info.pText;
|
||||
m_Info.fTime = 99999.f;
|
||||
m_iType = Info.iTextType;
|
||||
m_iNextID = Info.NextTextID;
|
||||
}
|
||||
|
||||
void CDialogue_Font::NpcDialogue(CNPCStat* Stat)
|
||||
{
|
||||
auto Info = m_pInfoInstance->Get_Dialogue(Stat->Get_Stat().pName, 0);
|
||||
m_Info.pName = Stat->Get_Stat().pNpc_Name;
|
||||
m_Info.pText = Info.pText;
|
||||
m_Info.fTime = 3.f;
|
||||
m_iType = Info.iTextType;
|
||||
m_iNextID = Info.NextTextID;
|
||||
Npc_Dialogue(m_Info);
|
||||
}
|
||||
|
||||
void CDialogue_Font::CHoice()
|
||||
{
|
||||
auto Info = m_pInfoInstance->Get_Dialogue(m_pNpcName, m_iTextID);
|
||||
// Info.ChoiceInfo.size();
|
||||
}
|
||||
|
||||
void CDialogue_Font::Shop()
|
||||
{
|
||||
}
|
||||
|
||||
void CDialogue_Font::SpellLearn()
|
||||
{
|
||||
}
|
||||
|
||||
void CDialogue_Font::NextText()
|
||||
{
|
||||
if (m_iNextID == -1)
|
||||
{
|
||||
m_pCurrentDialogue[0]->Set_Hover(false);
|
||||
_bool Interact = false;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact);
|
||||
m_pCurrentDialogue[0]->Set_Hover(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_pCurrentDialogue[0]->Set_Hover(false);
|
||||
m_iTextID = m_iNextID;
|
||||
NpcDialogue();
|
||||
Npc_Dialogue(m_Info);
|
||||
if (m_iNextID == -1)
|
||||
{
|
||||
m_bEndText = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CDialogue_Font* CDialogue_Font::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CDialogue_Font* pInstance = new CDialogue_Font(pDevice, pContext);
|
||||
|
||||
@@ -99,8 +99,8 @@ HRESULT CEffectPool::Initialize(void* pArg)
|
||||
m_isActiveMonsterEffectCreate = true;
|
||||
#endif //
|
||||
#ifdef 기무리
|
||||
m_isActiveEffectCreate = false;
|
||||
m_isActiveMonsterEffectCreate = false;
|
||||
m_isActiveEffectCreate = true;
|
||||
m_isActiveMonsterEffectCreate = true;
|
||||
#endif //
|
||||
#ifdef 나
|
||||
m_isActiveEffectCreate = false;
|
||||
|
||||
@@ -36,7 +36,6 @@ void CInfoInstance::Change_Level()
|
||||
m_pMapInfo->Change_Level();
|
||||
m_pSkillInfo->Change_Level();
|
||||
m_pInteractiveInfo->Change_Level();
|
||||
UI_Event.clear();
|
||||
}
|
||||
|
||||
CStat* CInfoInstance::Get_PlayerStatPtr()
|
||||
@@ -348,9 +347,9 @@ _int CInfoInstance::Get_SpellLearnIndex()
|
||||
// m_pDialogue_Font->Add_Text(pArg);
|
||||
//}
|
||||
|
||||
const NPCDIALOGUEINFO& CInfoInstance::Get_Dialogue(_wstring NpcName) const
|
||||
const CURRENTDIALOGUEINFO& CInfoInstance::Get_Dialogue(_wstring NpcName, _int iTextID) const
|
||||
{
|
||||
return m_pDialogue_Data->Get_Info(NpcName);
|
||||
return m_pDialogue_Data->Get_Info(NpcName, iTextID);
|
||||
}
|
||||
|
||||
HRESULT CInfoInstance::Regist_ActiveInteractive(CMapElement_Interactable* pInteractive)
|
||||
|
||||
@@ -61,6 +61,9 @@ HRESULT CLevel_Field::Initialize(void* pArg)
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
m_bLevel = true;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("UIManagerFadeIn"));
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -85,6 +88,16 @@ void CLevel_Field::Update(_float fTimeDelta)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (m_bLevel != m_bCurrentLevel)
|
||||
{
|
||||
m_bCurrentLevel = m_bLevel;
|
||||
UI_STATE eState = UI_STATE::GAMEPLAYER;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("Canvas_Change"), &eState);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
HRESULT CLevel_Field::Render()
|
||||
@@ -158,7 +171,7 @@ HRESULT CLevel_Field::Ready_Lights()
|
||||
_float4 vDiffuse = _float4(0.745f, 0.797f, 0.8f, 0.f);
|
||||
_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f);
|
||||
_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
|
||||
|
||||
|
||||
#if gimch || 진우
|
||||
vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f);
|
||||
vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f);
|
||||
@@ -166,7 +179,7 @@ HRESULT CLevel_Field::Ready_Lights()
|
||||
#endif // gimch
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
pLight->Get_Component<CLight>()->Set_Color(vDiffuse, vAmbient, vSpecular);
|
||||
|
||||
|
||||
@@ -116,10 +116,13 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
||||
if (FAILED(Ready_Layer_Monster())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if(FAILED(m_pInfoInstance->Late_Initialize()))
|
||||
|
||||
if (FAILED(m_pInfoInstance->Late_Initialize()))
|
||||
return E_FAIL;
|
||||
|
||||
m_bLevel = true;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("UIManagerFadeIn"));
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -131,6 +134,7 @@ HRESULT CLevel_GamePlay::Initialize()
|
||||
|
||||
void CLevel_GamePlay::Update(_float fTimeDelta)
|
||||
{
|
||||
|
||||
if (m_pGameInstance->Key_Pressing(DIK_0)) {
|
||||
if (m_pGameInstance->Key_Up(DIK_1))
|
||||
{
|
||||
@@ -142,6 +146,10 @@ void CLevel_GamePlay::Update(_float fTimeDelta)
|
||||
|
||||
if (true == m_pGameInstance->Check_LevelShouldChange()) {
|
||||
m_pInfoInstance->Change_Level();
|
||||
|
||||
UI_STATE eState = UI_STATE::LEVELCHANGE;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("Canvas_Change"), &eState);
|
||||
|
||||
if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::FIELD)))) {
|
||||
return;
|
||||
}
|
||||
@@ -220,7 +228,7 @@ HRESULT CLevel_GamePlay::Ready_Lights()
|
||||
HRESULT CLevel_GamePlay::Ready_Volumetric()
|
||||
{
|
||||
// Volumetric 설정
|
||||
if(m_isDay)
|
||||
if (m_isDay)
|
||||
{
|
||||
m_pGameInstance->Setting_Volumetirc(
|
||||
1.251f, // 밀도
|
||||
@@ -271,7 +279,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CTerrain>(ENUM_CLASS(LEVEL::STATIC), NEXT_LEVEL, LAYER_BACKGROUND, &Terrain_Desc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
/* 물 오브젝트 */
|
||||
if (FAILED(CInfoInstance::GetInstance()->Load_WaterElemet("Element_Water_Info"))) {
|
||||
return E_FAIL;
|
||||
@@ -314,9 +322,9 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
#endif // _DEBUG
|
||||
|
||||
|
||||
|
||||
|
||||
/* Map Containters */
|
||||
if(false == isReady_Background)
|
||||
if (false == isReady_Background)
|
||||
{
|
||||
/* 테스트용 맵 */
|
||||
CInfoInstance::GetInstance()->Load_MapObjects("Map1215", LAYER_HOGSMEADE);
|
||||
@@ -341,10 +349,12 @@ HRESULT CLevel_GamePlay::Ready_Background()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (FAILED(Ready_IntstanceProp()))
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -823,7 +833,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
|
||||
#endif // Bin
|
||||
#endif // _DEBUG
|
||||
|
||||
if(true == isLoad_NPC)
|
||||
if (true == isLoad_NPC)
|
||||
{
|
||||
{
|
||||
CNPC_Ollivander::NPCDESC NPCDesc{};
|
||||
@@ -859,6 +869,13 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CPlayer::PLAYERDESC playerDesc = {};
|
||||
playerDesc.vPos = _float4(-21.f, 0.f, -14.f, 1.f);
|
||||
playerDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f);
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CHuman_Duelist>(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &playerDesc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
}
|
||||
CHuman_Duelist::DUELISTDESC DuelistDesc = {};
|
||||
DuelistDesc.vPos = _float4(-21.f, 0.f, -16.f, 1.f);
|
||||
@@ -964,7 +981,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
|
||||
|
||||
HRESULT CLevel_GamePlay::Ready_Layer_Manager(const _wstring& strLayerTag)
|
||||
{
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CBroomRaceManager>(g_iStaticLevel, NEXT_LEVEL, strLayerTag,nullptr,nullptr,&m_pBroomRaceManager))) {
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CBroomRaceManager>(g_iStaticLevel, NEXT_LEVEL, strLayerTag, nullptr, nullptr, &m_pBroomRaceManager))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +82,38 @@ void CRandomNpc::Update(_float fTimeDelta)
|
||||
m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true);
|
||||
|
||||
m_pInfoInstance->Set_PlayerPos(m_pTransformCom->Get_State(STATE::POSITION));
|
||||
|
||||
_vector vCurrentPos = Get_WorldPostion();
|
||||
pair<CUnit*, CTransform*> pairTarget = m_pInfoInstance->Get_NearestPlayerAlly(vCurrentPos);
|
||||
if (nullptr != pairTarget.first) {
|
||||
Set_Target(*pairTarget.first, *pairTarget.second);
|
||||
}
|
||||
if (nullptr != m_pTarget && m_pTarget->isDead()) {
|
||||
SAFE_RELEASE(m_pTarget);
|
||||
m_fTargetDistance = { FLT_MAX };
|
||||
}
|
||||
|
||||
if (m_fTargetDistance <= 5.f && m_bInteract == false)
|
||||
{
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NPCDialogue"), m_pNpcStat);
|
||||
m_bInteract = true;
|
||||
}
|
||||
|
||||
if (m_bInteract != m_bPreviousInteract)
|
||||
{
|
||||
m_bPreviousInteract = m_bInteract;
|
||||
m_fInteractTime = 0.f;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_fInteractTime += fTimeDelta;
|
||||
}
|
||||
|
||||
if (m_fInteractTime >= 5.f)
|
||||
{
|
||||
m_bInteract = false;
|
||||
m_fInteractTime = 0.f;
|
||||
}
|
||||
}
|
||||
|
||||
void CRandomNpc::Late_Update(_float fTimeDelta)
|
||||
@@ -96,6 +128,7 @@ void CRandomNpc::Late_Update(_float fTimeDelta)
|
||||
|
||||
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
|
||||
|
||||
|
||||
__super::Late_Update(fTimeDelta);
|
||||
}
|
||||
|
||||
@@ -193,6 +226,25 @@ _wstring CRandomNpc::Get_Name()
|
||||
return m_pNpcStat->Get_Stat().pNpc_Name;
|
||||
}
|
||||
|
||||
_wstring CRandomNpc::Get_NpcName()
|
||||
{
|
||||
return m_pNpcStat->Get_Stat().pName;
|
||||
}
|
||||
|
||||
void CRandomNpc::Set_Target(CUnit& pTarget, CTransform& pTransform)
|
||||
{
|
||||
SAFE_RELEASE(m_pTarget);
|
||||
m_pTarget = &pTarget;
|
||||
SAFE_ADDREF(m_pTarget);
|
||||
|
||||
_vector vTargetPos = pTransform.Get_State(STATE::POSITION);
|
||||
_vector vToTargetDir = vTargetPos - Get_WorldPostion();
|
||||
XMStoreFloat4(&m_vTargetPos, vTargetPos);
|
||||
XMStoreFloat3(&m_vToTargetDir, XMVector3Normalize(vToTargetDir));
|
||||
m_fTargetDistance = XMVectorGetX(XMVector3Length(vToTargetDir));
|
||||
}
|
||||
|
||||
|
||||
HRESULT CRandomNpc::Bind_ShaderResources()
|
||||
{
|
||||
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
|
||||
@@ -227,7 +279,7 @@ HRESULT CRandomNpc::Bind_ShaderParameters(_uint iMeshOrder)
|
||||
_float fMixerFactor = { FLT_MAX };
|
||||
_uint iColorMixerMethod = { 0 };
|
||||
|
||||
switch (m_pModelCom->Get_UsingPass(iMeshOrder,m_pShaderCom))
|
||||
switch (m_pModelCom->Get_UsingPass(iMeshOrder, m_pShaderCom))
|
||||
{
|
||||
case 23:
|
||||
if (m_strModelPrototypeTag == TEXT("Prototype_Component_F_Student_Model"))
|
||||
@@ -272,7 +324,7 @@ HRESULT CRandomNpc::Ready_Components(void* pArg)
|
||||
if (FAILED(__super::Ready_Components(&Desc))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
switch (m_iIndex)
|
||||
{
|
||||
case 0:
|
||||
@@ -316,7 +368,7 @@ HRESULT CRandomNpc::Ready_Components(void* pArg)
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("ELF"), (CComponent**)&m_pNpcStat))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
break;
|
||||
break;
|
||||
case 7:
|
||||
m_strModelPrototypeTag = TEXT("Prototype_Component_BaiHowin_Model");
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("BAIHOWIN"), (CComponent**)&m_pNpcStat))) {
|
||||
@@ -418,6 +470,7 @@ void CRandomNpc::Free()
|
||||
SAFE_RELEASE(m_pCharacter_Controller);
|
||||
SAFE_RELEASE(m_pNpcStat);
|
||||
SAFE_RELEASE(m_pRigidBody);
|
||||
SAFE_RELEASE(m_pTarget);
|
||||
if (nullptr != m_pInfoInstance) {
|
||||
CInfoInstance* pInfo = m_pInfoInstance;
|
||||
m_pInfoInstance = nullptr;
|
||||
|
||||
@@ -64,6 +64,7 @@ void CRide_Info::Set_Hover(_bool bVisible)
|
||||
m_bHover = true;
|
||||
m_fTime = 0.f;
|
||||
m_fAlpha = 1.f;
|
||||
m_bFadeOut = false;
|
||||
}
|
||||
|
||||
void CRide_Info::Priority_Update(_float fTimeDelta)
|
||||
|
||||
@@ -49,6 +49,7 @@ void CRide_InfoBG::Set_Hover(_bool bVisible)
|
||||
m_bHover = true;
|
||||
m_fTime = 0.f;
|
||||
m_fAlpha = 1.f;
|
||||
m_bFadeOut = false;
|
||||
}
|
||||
|
||||
void CRide_InfoBG::Priority_Update(_float fTimeDelta)
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
#include "pch.h"
|
||||
#include "TimeSocket.h"
|
||||
#include "GameObject.h"
|
||||
|
||||
CTimeSocket::CTimeSocket()
|
||||
{
|
||||
}
|
||||
|
||||
_bool CTimeSocket::Trigger(_float fRatio)
|
||||
{
|
||||
_bool bResult = false;
|
||||
if (m_fRatio <= fRatio) {
|
||||
bResult = true;
|
||||
m_funcEvent(*this);
|
||||
|
||||
Finalize();
|
||||
}
|
||||
|
||||
return bResult;
|
||||
}
|
||||
|
||||
HRESULT CTimeSocket::Initialize(CGameObject* pTarget, _string& strTag)
|
||||
{
|
||||
m_pEventTarget = pTarget;
|
||||
SAFE_ADDREF(m_pEventTarget);
|
||||
m_strEventName = strTag;
|
||||
m_eTypeParam = TIMESOCKET_PARAM::END;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTimeSocket::Initialize(CGameObject* pTarget, _string& strTag, PSX::PxTransform& pxTransform)
|
||||
{
|
||||
m_pEventTarget = pTarget;
|
||||
SAFE_ADDREF(m_pEventTarget);
|
||||
m_strEventName = strTag;
|
||||
m_pxTransform = pxTransform;
|
||||
m_eTypeParam = TIMESOCKET_PARAM::TRANSFORM;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CTimeSocket::Initialize(CGameObject* pTarget, _string& strTag, CGameObject* pOther)
|
||||
{
|
||||
m_pEventTarget = pTarget;
|
||||
SAFE_ADDREF(m_pEventTarget);
|
||||
m_strEventName = strTag;
|
||||
m_pOtherTarget = pOther;
|
||||
SAFE_ADDREF(m_pOtherTarget);
|
||||
m_eTypeParam = TIMESOCKET_PARAM::TARGET;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CTimeSocket::Finalize()
|
||||
{
|
||||
switch (m_eTypeParam)
|
||||
{
|
||||
case TIMESOCKET_PARAM::TARGET:
|
||||
SAFE_RELEASE(m_pOtherTarget);
|
||||
break;
|
||||
case TIMESOCKET_PARAM::TRANSFORM:
|
||||
m_pxTransform = {};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
SAFE_RELEASE(m_pEventTarget);
|
||||
}
|
||||
|
||||
CTimeSocket* CTimeSocket::Create()
|
||||
{
|
||||
return new CTimeSocket();
|
||||
}
|
||||
|
||||
void CTimeSocket::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
Finalize();
|
||||
}
|
||||
@@ -59,6 +59,7 @@ HRESULT CUI_Manager::Initialize(void* pArg)
|
||||
m_pInfoInstance->Set_UISTATE(m_eType);
|
||||
m_pInfoInstance->Add_Event(TEXT("Canvas_Change"), [this](void* p) {this->Canvas_Change(*reinterpret_cast<UI_STATE*>(p)); });
|
||||
m_pInfoInstance->Add_Event(TEXT("NpcInteract"), [this](void* p) {this->NpcInteract(*reinterpret_cast<_bool*>(p)); });
|
||||
m_pInfoInstance->Add_Event(TEXT("UIManagerFadeIn"), [this](void* p) {this->Set_Fade(); });
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -77,8 +78,6 @@ void CUI_Manager::Canvas_Change(UI_STATE eType)
|
||||
static_cast<CCanvasObject*>(m_pSpellLearn_Canvas)->Visible(false);
|
||||
static_cast<CGameObject*>(m_pInteraction_Key)->Set_Visible(true);
|
||||
static_cast<CGameObject*>(m_pNPCInteraction)->Set_Visible(true);
|
||||
static_cast<CGameObject*>(m_pBroom_TargetGate)->Set_Visible(true);
|
||||
static_cast<CGameObject*>(m_pDamage_Font)->Set_Visible(true);
|
||||
break;
|
||||
|
||||
case UI_STATE::SPELL:
|
||||
@@ -118,6 +117,19 @@ void CUI_Manager::Canvas_Change(UI_STATE eType)
|
||||
static_cast<CGameObject*>(m_pDamage_Font)->Set_Visible(false);
|
||||
break;
|
||||
|
||||
case UI_STATE::LEVELCHANGE:
|
||||
m_pMouse_Cursor->Set_Visible(false);
|
||||
m_pCamera_LockOn->Set_Visible(false);
|
||||
static_cast<CCanvasObject*>(m_pGamePlay_Canves)->Visible(false);
|
||||
static_cast<CCanvasObject*>(m_pSpell_Canvas)->Visible(false);
|
||||
static_cast<CCanvasObject*>(m_pQuest_Canvas)->Visible(false);
|
||||
static_cast<CCanvasObject*>(m_pSpellLearn_Canvas)->Visible(false);
|
||||
static_cast<CGameObject*>(m_pInteraction_Key)->Set_Visible(false);
|
||||
static_cast<CGameObject*>(m_pNPCInteraction)->Set_Visible(false);
|
||||
static_cast<CGameObject*>(m_pBroom_TargetGate)->Set_Visible(false);
|
||||
static_cast<CGameObject*>(m_pDamage_Font)->Set_Visible(false);
|
||||
break;
|
||||
|
||||
default:
|
||||
return;
|
||||
}
|
||||
@@ -210,21 +222,26 @@ void CUI_Manager::Update(_float fTimeDelta)
|
||||
|
||||
if (m_eType == UI_STATE::GAMEPLAYER && m_bNPCInteract == true)
|
||||
{
|
||||
if (m_bCurrentNPCInteract != m_bNPCInteract)
|
||||
m_bCurrentNPCInteract = m_bNPCInteract;
|
||||
|
||||
if (m_eType == UI_STATE::GAMEPLAYER)
|
||||
{
|
||||
Canvas_Change(UI_STATE::NPC_INTERACT);
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
if (m_bCurrentNPCInteract == true && m_bNPCInteract == false)
|
||||
{
|
||||
m_bCurrentNPCInteract = m_bNPCInteract;
|
||||
|
||||
if (m_bActive == false)
|
||||
{
|
||||
if (m_bActive == false)
|
||||
m_bActive = true;
|
||||
m_bAlphaZero = true;
|
||||
if (m_eType == UI_STATE::NPC_INTERACT)
|
||||
{
|
||||
m_bActive = true;
|
||||
m_bAlphaZero = true;
|
||||
if (m_eType == UI_STATE::GAMEPLAYER)
|
||||
{
|
||||
m_eType = UI_STATE::NPC_INTERACT;
|
||||
}
|
||||
m_eType = UI_STATE::GAMEPLAYER;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -404,7 +421,7 @@ HRESULT CUI_Manager::Ready_Components(void* pArg)
|
||||
}
|
||||
Add_Canvas(TEXT("NPCInteraction"), m_pNPCInteraction);
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CBroom_TargetGate>(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast <CBroom_TargetGate**>(&m_pBroom_TargetGate))))
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CBroom_TargetGate>(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast <CBroom_TargetGate**>(&m_pBroom_TargetGate))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
@@ -445,6 +462,14 @@ void CUI_Manager::NpcInteract(_bool bInteract)
|
||||
m_bNPCInteract = bInteract;
|
||||
}
|
||||
|
||||
void CUI_Manager::Set_Fade()
|
||||
{
|
||||
m_fAlpha = 1.5f;
|
||||
m_bActive = true;
|
||||
m_bHover = true;
|
||||
m_bCgangede = true;
|
||||
}
|
||||
|
||||
CUI_Manager* CUI_Manager::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CUI_Manager* pInstance = new CUI_Manager(pDevice, pContext);
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Client
|
||||
ENEMY_HPBAR, BOSS_HPBAR, QUEST_BORDER, QUEST_INFO, QUEST_STATUS, BROOMSTICK,
|
||||
SPELL_LEARN, SPELLLEARNCOLOR, SPELLLEARNBOOSTER, NPCINTERACTION, CANVASFADE,
|
||||
FLAGWAVE, BROOMCIRCLE, RIDE_INFO_KEY, RIDE_INFO, RIDE_HPSLOT, BOOSTERGAUGE,
|
||||
BOOSTERHPBAR,
|
||||
BOOSTERHPBAR, DIALOGUECHOICE,
|
||||
ENEMY_DETECTION, INTERACTION_OBJECT, INTERACTION_NPC, BROOMTARGETGATE, END
|
||||
};
|
||||
enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, UVALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, SPELL_SLOT, SPELL_LOCK, QUEST_SLOT, END };
|
||||
@@ -36,10 +36,12 @@ namespace Client
|
||||
PLAYER_HAIR_DAOTHV_ToSRO, PLAYER_Suit_DSRON_ToSRO, PLAYER_EyeLash_DAOTHV_ToSRO, PLAYER_Eye_ToSRO, PLAYER_Robe_ToMRO, SHADOW, SHADOW_LEGACY
|
||||
, END
|
||||
};
|
||||
enum class UI_STATE { GAMEPLAYER, SPELL, QUEST, INVENTORY, SPELLLNEARN, NPC_INTERACT, END };
|
||||
enum class UI_STATE { GAMEPLAYER, SPELL, QUEST, INVENTORY, SPELLLNEARN,
|
||||
NPC_INTERACT, LEVELCHANGE, END };
|
||||
|
||||
enum class QUESTTYPE { MAIN, SUB, END };
|
||||
enum class QUESTSTATE {NONE, ACCEPTED, CLEARED, END };
|
||||
enum class NPCTEXTTYPE {NEXTTEXT, CHOICETEXT, SHOPTEXT, QUESTTEXT, SPELLLEAN, END};
|
||||
|
||||
enum class EFFECT_TYPE { EFFECT, TRAIL, END };
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
NS_BEGIN(Engine)
|
||||
class CModel;
|
||||
class CRigidBody_Static;
|
||||
class CUnit;
|
||||
class CModel;
|
||||
class CRigidBody_Static;
|
||||
class CUnit;
|
||||
NS_END
|
||||
|
||||
namespace Client
|
||||
@@ -39,7 +39,7 @@ namespace Client
|
||||
|
||||
typedef struct DialogueChoice
|
||||
{
|
||||
_int eType = {false};
|
||||
_int eType = { false };
|
||||
_wstring pText;
|
||||
_int NextTypeID{};
|
||||
}DIALOGUECHOICEINFO;
|
||||
@@ -47,7 +47,7 @@ namespace Client
|
||||
typedef struct DialogueInfo
|
||||
{
|
||||
_int iLineID{};
|
||||
_bool bType = {false};
|
||||
_int iTextType{};
|
||||
_wstring pText;
|
||||
_int NextTextID{};
|
||||
vector<DIALOGUECHOICEINFO> ChoiceInfo;
|
||||
@@ -57,7 +57,7 @@ namespace Client
|
||||
{
|
||||
_wstring pNpcName;
|
||||
_int iNpcID{};
|
||||
unordered_map<_int, CURRENTDIALOGUEINFO> Info;
|
||||
map<_int, CURRENTDIALOGUEINFO> Info;
|
||||
}NPCDIALOGUEINFO;
|
||||
|
||||
typedef struct tagLockOnInfo {
|
||||
@@ -68,7 +68,7 @@ namespace Client
|
||||
|
||||
typedef struct tegNPCInteractionInfo
|
||||
{
|
||||
CGameObject* pOwner = { nullptr };
|
||||
CGameObject* pOwner = { nullptr };
|
||||
_wstring pNPCName;
|
||||
_wstring pName;
|
||||
_float4 fNPCPosition{};
|
||||
@@ -285,7 +285,7 @@ namespace Client
|
||||
_float4 vPadding5 = {};
|
||||
_float4 vPadding6 = {};
|
||||
}EFFECT_INFO;
|
||||
|
||||
|
||||
typedef struct tagTrailInfo
|
||||
{
|
||||
EFFECT_TYPE eEffectType = { EFFECT_TYPE::TRAIL };
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
#pragma once
|
||||
|
||||
#include "Client_Define.h"
|
||||
#include "GameInstance.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
class CGameObject;
|
||||
NS_END
|
||||
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
struct TimeLine {
|
||||
_float2 m_vTimer = {};
|
||||
_uint m_eTypeTimeLine = {};
|
||||
list<class CTimeSocket*> m_Sockets = {};
|
||||
};
|
||||
|
||||
class CCutSceneInfo final : public CBase
|
||||
{
|
||||
private:
|
||||
CCutSceneInfo();
|
||||
~CCutSceneInfo() = default;
|
||||
|
||||
public:
|
||||
void Update(_float fTimeDelta);
|
||||
void Change_Level();
|
||||
|
||||
public:
|
||||
void Active_Event(_string& strKey);
|
||||
HRESULT DeActive_ActiveEvent(_string& strKey);
|
||||
void Load_Events(LEVEL eLevel);
|
||||
|
||||
private:
|
||||
CGameInstance* m_pGameInstance = { nullptr };
|
||||
class CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
ID3D11Device* m_pDevice = { nullptr };
|
||||
ID3D11DeviceContext* m_pContext = { nullptr };
|
||||
|
||||
map<_string, TimeLine> m_funcActiveEvents = {};
|
||||
map<_string, TimeLine> m_funcWaitEvents = {};
|
||||
|
||||
private:
|
||||
HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
||||
HRESULT Clear_ActiveEvents();
|
||||
HRESULT Clear_Events(map<_string, TimeLine>&Events);
|
||||
|
||||
HRESULT Clear_AllEvents();
|
||||
|
||||
public:
|
||||
static CCutSceneInfo* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
||||
virtual void Free() override;
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -25,14 +25,14 @@ class CDialogue_Data final : public CBase
|
||||
HRESULT Load_SpellInfo(const _char* pFilePath);
|
||||
|
||||
public:
|
||||
const NPCDIALOGUEINFO& Get_Info(_wstring NpcName) const;
|
||||
const CURRENTDIALOGUEINFO& Get_Info(_wstring NpcName, _int iTextID) const;
|
||||
|
||||
private:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
|
||||
_int m_iDialogue_Count{};
|
||||
map<_wstring, NPCDIALOGUEINFO> m_DialogueInfo;
|
||||
NPCDIALOGUEINFO Dummy{};
|
||||
CURRENTDIALOGUEINFO Dummy{};
|
||||
private:
|
||||
HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ NS_BEGIN(Engine)
|
||||
class CTexture;
|
||||
class CShader;
|
||||
class CVIBuffer_Rect;
|
||||
class CNPCStat;
|
||||
NS_END
|
||||
|
||||
NS_BEGIN(Client)
|
||||
@@ -40,23 +41,39 @@ class CDialogue_Font final : public CGameObject
|
||||
|
||||
public:
|
||||
void Add_Text(void* pArg);
|
||||
|
||||
void Npc_Dialogue(DIALOGUEINFO Info);
|
||||
private:
|
||||
void NpcInfo(void* pArg);
|
||||
void NpcInteract(_bool bInteract);
|
||||
|
||||
void NpcDialogue();
|
||||
void NpcDialogue(CNPCStat* Stat);
|
||||
|
||||
void CHoice();
|
||||
|
||||
void Shop();
|
||||
void SpellLearn();
|
||||
void NextText();
|
||||
private:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
|
||||
class CDialogue* m_pDialogue = { nullptr };
|
||||
|
||||
DIALOGUEINFO m_Info;
|
||||
|
||||
vector<class CDialogue*> m_DialoguInfo;
|
||||
deque<class CDialogue*> m_pCurrentDialogue;
|
||||
|
||||
_bool m_bNpcInteract = { false };
|
||||
_bool m_bCurrentInteract = { false };
|
||||
_bool m_bEndText = { false };
|
||||
_bool m_bNextText = { false };
|
||||
|
||||
_wstring m_pNpcName;
|
||||
_int m_iTextID{};
|
||||
_int m_iNextID{};
|
||||
_int m_iType{};
|
||||
|
||||
|
||||
public:
|
||||
static CDialogue_Font* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
|
||||
@@ -89,7 +89,7 @@ DECLARE_SINGLETON(CInfoInstance)
|
||||
#pragma endregion
|
||||
#pragma region Dialogue_Font
|
||||
//void Set_Font(void* pArg);
|
||||
const NPCDIALOGUEINFO& Get_Dialogue(_wstring NpcName) const;
|
||||
const CURRENTDIALOGUEINFO& Get_Dialogue(_wstring NpcName, _int iTextID) const;
|
||||
#pragma endregion
|
||||
HRESULT Regist_ActiveInteractive(class CMapElement_Interactable* pInteractive);
|
||||
HRESULT Deregist_ActiveInteractive(class CMapElement_Interactable* pInteractive);
|
||||
|
||||
@@ -19,6 +19,9 @@ class CLevel_Field final : public CLevel
|
||||
private:
|
||||
class CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
|
||||
_bool m_bLevel = { false };
|
||||
_bool m_bCurrentLevel = { false };
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize() override;
|
||||
HRESULT Initialize(void* pArg);
|
||||
|
||||
@@ -21,6 +21,10 @@ class CLevel_GamePlay final : public CLevel
|
||||
class CBroomRaceManager* m_pBroomRaceManager = { nullptr };
|
||||
|
||||
_bool m_isDay = { true };
|
||||
|
||||
_bool m_bLevel = { false };
|
||||
_bool m_bCurrentLevel = { false };
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize() override;
|
||||
HRESULT Initialize(void* pArg);
|
||||
|
||||
@@ -27,6 +27,9 @@ class CRandomNpc final : public CUnit
|
||||
virtual void OnRayCollision(CGameObject* pCaster, _uint iCastedOrder, _float fDistance, _float3 vCastedWorldPos)override;
|
||||
|
||||
virtual _wstring Get_Name() override;
|
||||
virtual _wstring Get_NpcName() override;
|
||||
|
||||
void Set_Target(CUnit& pTarget, CTransform& pTransform);
|
||||
protected:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
CCharacter_Controller* m_pCharacter_Controller = { nullptr };
|
||||
@@ -37,12 +40,24 @@ class CRandomNpc final : public CUnit
|
||||
CRandomNpc* m_pNPC_Ollivander = { nullptr };
|
||||
|
||||
/*class CNPCInteraction* m_pNPCInteraction = { nullptr };*/
|
||||
CUnit* m_pTarget = { nullptr };
|
||||
_float4 m_vTargetPos = { };
|
||||
_float3 m_vToTargetDir = { };
|
||||
_float m_fTargetDistance = { FLT_MAX };
|
||||
_float m_fDegree = {};
|
||||
_float m_fCross = {};
|
||||
|
||||
CNPCStat* m_pNpcStat = { nullptr };
|
||||
_int m_iEntered = { 0 };
|
||||
_float2 m_vEnteringTimer = { 0.f, 1.f };
|
||||
_float m_fEncounterDistance = { 8.f };
|
||||
_int m_iIndex = {};
|
||||
|
||||
|
||||
_bool m_bInteract = { false };
|
||||
_bool m_bPreviousInteract = { false };
|
||||
_float m_fInteractTime{};
|
||||
|
||||
protected:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
#pragma once
|
||||
#include "Client_Define.h"
|
||||
#include "GameInstance.h"
|
||||
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
class CGameObject;
|
||||
NS_END
|
||||
|
||||
|
||||
NS_BEGIN(Client)
|
||||
|
||||
typedef enum class typeTimeSocket_Param {
|
||||
TARGET,
|
||||
TRANSFORM,
|
||||
END
|
||||
}TIMESOCKET_PARAM;
|
||||
|
||||
typedef enum class typeTimeSocket_Func {
|
||||
TRIGGER,
|
||||
POSITION,
|
||||
TAG,
|
||||
TARGETTING,
|
||||
END
|
||||
}TIMESOCKET_FUNC;
|
||||
|
||||
class CTimeSocket final : public CBase
|
||||
{
|
||||
private:
|
||||
CTimeSocket();
|
||||
virtual ~CTimeSocket() = default;
|
||||
public:
|
||||
_float m_fRatio = { 0.f };
|
||||
_bool m_bTriggerred = { false };
|
||||
CGameObject* m_pEventTarget = { nullptr };
|
||||
_string m_strEventName = {};
|
||||
TIMESOCKET_PARAM m_eTypeParam = {};
|
||||
union {
|
||||
CGameObject* m_pOtherTarget = { nullptr };
|
||||
PSX::PxTransform m_pxTransform;
|
||||
};
|
||||
|
||||
virtual _bool Trigger(_float fRatio);
|
||||
|
||||
public:
|
||||
HRESULT Initialize(CGameObject* pTarget, _string& strTag);
|
||||
HRESULT Initialize(CGameObject* pTarget, _string& strTag, PSX::PxTransform& pxTransform);
|
||||
HRESULT Initialize(CGameObject* pTarget, _string& strTag, CGameObject* pOther);
|
||||
|
||||
public:
|
||||
static CTimeSocket* Create();
|
||||
virtual void Free() override;
|
||||
|
||||
private:
|
||||
function<void(CTimeSocket&)> m_funcEvent = { nullptr };
|
||||
private:
|
||||
void Finalize();
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -47,6 +47,8 @@ class CUI_Manager final : public CUIObject
|
||||
|
||||
void NpcInteract(_bool bInteract);
|
||||
|
||||
void Set_Fade();
|
||||
|
||||
private:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
|
||||
@@ -79,6 +81,7 @@ class CUI_Manager final : public CUIObject
|
||||
_bool m_bSpellLearn = { false };
|
||||
|
||||
_bool m_bNPCInteract = { false };
|
||||
_bool m_bCurrentNPCInteract = { false };
|
||||
|
||||
_bool m_bAlphaZero = { false };
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<DialogueInfo>
|
||||
<Dialogue NpcName="OLLIVENDER" NpcID="0">
|
||||
<Line ID="0" Type="0" Text="반갑네 친구 나는 올리벤더 라고 하네" NextText="0001"> </Line>
|
||||
<Line ID="1" Type="0" Text="나는 여기서 지팡이를 팔고있어" NextText="0002"> </Line>
|
||||
<Line ID="2" Type="1" Text="뭐 필요한게 있나?" NextText="-1" >
|
||||
<Line ID="0" Type="0" Text="반갑네 친구 나는 올리벤더 라고 하네" NextText="1"> </Line>
|
||||
<Line ID="1" Type="0" Text="나는 여기서 지팡이를 팔고있어" NextText="2"> </Line>
|
||||
<Line ID="2" Type="1" Text="뭐 필요한게 있나?" NextText="-1">
|
||||
<Choice Type="1" Text="상점 이용하기" NextText="-1" />
|
||||
<Choice Type="2" Text="퀘스트 확인하기" NextText="-1" />
|
||||
<Choice Type="0" Text="다른일 하러가기" NextText="-1" />
|
||||
@@ -10,19 +10,18 @@
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="SATYAVATI" NpcID="1">
|
||||
<Line ID="0" Type="0" Text="사티아비티" NextText="-1"> </Line>
|
||||
<Line ID="0" Type="0" Text="사티아바티" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="MATILDAWEASELY" NpcID="2">
|
||||
<Line ID="0" Type="0" Text="마틸다 위즐리" NextText="0001"> </Line>
|
||||
<Line ID="1" Type="0" Text="나는 여기서 지팡이를 팔고있어" NextText="0002"> </Line>
|
||||
<Line ID="2" Type="1" Text="뭐 필요한게 있나?" NextText="-1">
|
||||
</Line>
|
||||
<Line ID="0" Type="0" Text="마틸다 위즐리" NextText="1"> </Line>
|
||||
<Line ID="1" Type="0" Text="나는 여기서 지팡이를 팔고있어" NextText="2"> </Line>
|
||||
<Line ID="2" Type="0" Text="뭐 필요한게 있나?" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="ELEAZARFIG" NpcID="3">
|
||||
<Line ID="0" Type="0" Text="엘리아자르 피그" NextText="0001"> </Line>
|
||||
<Line ID="1" Type="0" Text="나는 여기서 지팡이를 팔고있어" NextText="0002"> </Line>
|
||||
<Line ID="0" Type="0" Text="엘리아자르 피그" NextText="1"> </Line>
|
||||
<Line ID="1" Type="0" Text="나는 여기서 지팡이를 팔고있어" NextText="2"> </Line>
|
||||
<Line ID="2" Type="1" Text="뭐 필요한게 있나?" NextText="-1">
|
||||
<Choice Type="1" Text="상점 이용하기" NextText="-1" />
|
||||
<Choice Type="2" Text="퀘스트 확인하기" NextText="-1" />
|
||||
@@ -31,13 +30,7 @@
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="ELF" NpcID="4">
|
||||
<Line ID="0" Type="0" Text="도비" NextText="0001"> </Line>
|
||||
<Line ID="1" Type="0" Text="나는 여기서 지팡이를 팔고있어" NextText="0002"> </Line>
|
||||
<Line ID="2" Type="1" Text="뭐 필요한게 있나?" NextText="-1">
|
||||
<Choice Type="1" Text="상점 이용하기" NextText="-1" />
|
||||
<Choice Type="2" Text="퀘스트 확인하기" NextText="-1" />
|
||||
<Choice Type="0" Text="다른일 하러가기" NextText="-1" />
|
||||
</Line>
|
||||
<Line ID="0" Type="0" Text="도비" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="PEEVES" NpcID="5">
|
||||
@@ -49,11 +42,30 @@
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="F_STUDENT" NpcID="7">
|
||||
<Line ID="0" Type="0" Text="여학생" NextText="-1"> </Line>
|
||||
<Line ID="0" Type="0" Text="아우렐리아 로즈" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="M_STUDENT" NpcID="8">
|
||||
<Line ID="0" Type="0" Text="남학생" NextText="-1"> </Line>
|
||||
<Line ID="0" Type="0" Text="테오도어 그레이브스" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="BAIHOWIN" NpcID="9">
|
||||
<Line ID="0" Type="0" Text="바이호윈" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="GEORGEOSRIC" NpcID="10">
|
||||
<Line ID="0" Type="0" Text="조지오스릭" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="DINAHHECAT" NpcID="11">
|
||||
<Line ID="0" Type="0" Text="디나 헤카트" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="MUDIWAONAI" NpcID="12">
|
||||
<Line ID="0" Type="0" Text="무디아 오나이" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
|
||||
<Dialogue NpcName="KITCHENFEMALE" NpcID="13">
|
||||
<Line ID="0" Type="0" Text="주방 도비" NextText="-1"> </Line>
|
||||
</Dialogue>
|
||||
</DialogueInfo>
|
||||
|
||||
@@ -1,72 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Ring>
|
||||
<Object Type="0">
|
||||
<Position x="-624.6828" y="-5.8805885" z="-346.03726"/>
|
||||
<Scale x="0.99942404" y="1" z="0.99942404"/>
|
||||
<Rotation x="0" y="90" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-538.65613" y="-9.7019424" z="-220.7928"/>
|
||||
<Position x="-616.98792" y="-11.848768" z="-407.40216"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-337.73676" y="22.321819" z="-370.07764"/>
|
||||
<Scale x="1.000001" y="1" z="1.000001"/>
|
||||
<Rotation x="0" y="99" z="0"/>
|
||||
<Position x="-389.96353" y="15.564686" z="-429.41721"/>
|
||||
<Scale x="0.99999851" y="1" z="0.99999851"/>
|
||||
<Rotation x="0" y="20" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-406.02249" y="84.212677" z="-460.5611"/>
|
||||
<Scale x="0.99931335" y="1" z="0.99931335"/>
|
||||
<Rotation x="0" y="105" z="0"/>
|
||||
<Position x="-315.71695" y="20.553181" z="-458.13693"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="30" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-310.34567" y="69.336639" z="-551.00226"/>
|
||||
<Scale x="0.9941389" y="0.99323529" z="0.99999595"/>
|
||||
<Rotation x="0" y="7" z="0"/>
|
||||
<Position x="-285.25555" y="12.702339" z="-468.9263"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="-60" y="0" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-261.31503" y="41.564301" z="-528.52368"/>
|
||||
<Scale x="0.99999613" y="0.99954367" z="0.9994064"/>
|
||||
<Rotation x="-90" y="-45" z="-8"/>
|
||||
<Position x="-241.61862" y="11.209023" z="-448.78363"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="-45" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-238.78645" y="-10.563053" z="-466.24268"/>
|
||||
<Scale x="0.99976027" y="0.99999475" z="0.99999315"/>
|
||||
<Rotation x="30" y="-63" z="-14"/>
|
||||
<Position x="-214.96745" y="-4.8285561" z="-421.13483"/>
|
||||
<Scale x="0.99999821" y="0.99824119" z="0.99823266"/>
|
||||
<Rotation x="90" y="-45" z="-17"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-96.618591" y="-16.054264" z="-351.12924"/>
|
||||
<Position x="-145.08705" y="-17.059925" z="-410.51685"/>
|
||||
<Scale x="0.99999869" y="1" z="0.99999869"/>
|
||||
<Rotation x="0" y="14" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-122.3596" y="-11.67971" z="-431.9465"/>
|
||||
<Scale x="0.99999505" y="0.99913669" z="0.99893534"/>
|
||||
<Rotation x="0" y="45" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-116.78981" y="11.682747" z="-529.48462"/>
|
||||
<Scale x="0.99712014" y="0.99832416" z="0.99727041"/>
|
||||
<Rotation x="90" y="90" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-83.466927" y="12.736702" z="-598.37518"/>
|
||||
<Scale x="0.9990201" y="0.99896473" z="0.99905837"/>
|
||||
<Rotation x="0" y="91" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-101.62146" y="9.139389" z="-625.17572"/>
|
||||
<Scale x="0.9998855" y="1" z="0.9998855"/>
|
||||
<Rotation x="0" y="138" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-181.19405" y="11.284227" z="-640.8028"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-128.33682" y="38.68256" z="-522.79828"/>
|
||||
<Scale x="0.99999386" y="1" z="0.99999386"/>
|
||||
<Rotation x="0" y="105" z="0"/>
|
||||
<Position x="-243.2798" y="24.098297" z="-614.22681"/>
|
||||
<Scale x="0.9999944" y="0.9990561" z="0.99915874"/>
|
||||
<Rotation x="-90" y="6" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-128.85426" y="20.893711" z="-592.85968"/>
|
||||
<Scale x="0.9999308" y="0.99835175" z="0.99809289"/>
|
||||
<Rotation x="-90" y="-15" z="-20"/>
|
||||
<Position x="-296.79941" y="28.92318" z="-590.70404"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-213.46817" y="135.46735" z="-562.4892"/>
|
||||
<Scale x="0.99988467" y="0.99907112" z="0.99889481"/>
|
||||
<Rotation x="-90" y="48" z="0"/>
|
||||
<Position x="-511.6756" y="2.1453924" z="-485.07388"/>
|
||||
<Scale x="0.99999899" y="1" z="0.99999899"/>
|
||||
<Rotation x="0" y="25" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-276.20966" y="50.973507" z="-426.81964"/>
|
||||
<Scale x="0.99997073" y="1" z="0.99997073"/>
|
||||
<Rotation x="0" y="75" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-263.67758" y="20.335052" z="-315.45111"/>
|
||||
<Scale x="0.99999481" y="1" z="0.99999481"/>
|
||||
<Rotation x="0" y="60" z="0"/>
|
||||
</Object>
|
||||
<Object Type="0">
|
||||
<Position x="-567.87341" y="6.0618649" z="-402.6113"/>
|
||||
<Position x="-570.41553" y="-6.2847042" z="-460.57791"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</Object>
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
<DINAHHECAT ID="11" Name="디나 헤카트" NpcName="DINAHHECAT" TAG="1" SizeX="256"/>
|
||||
<MUDIWAONAI ID="12" Name="무디아 오나이" NpcName="MUDIWAONAI" TAG="1" SizeX="256"/>
|
||||
<KITCHENFEMALE ID="13" Name="주방 도비" NpcName="KITCHENFEMALE" TAG="1" SizeX="256"/>
|
||||
</StatInfo>
|
||||
</StatInfo>
|
||||
|
||||
|
After Width: | Height: | Size: 69 B |
@@ -0,0 +1,269 @@
|
||||
<Material>
|
||||
<MI_ClothSim ShaderIndex = "3" OutLineWrite="3">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Blank2_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="" Extension=""/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_ClothSim>
|
||||
|
||||
<MI_HUM_F_Acc_GarlickHair ShaderIndex = "23" OutLineWrite="5">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Garlick_Hair_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_DefaultGrey_D" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="T_Garlick_Hair_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_F_Acc_GarlickHair>
|
||||
|
||||
<MI_Professor_MirabelGarlick_Updated ShaderIndex = "8" OutLineWrite="8">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_MirabelGarlick_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_MirabelGarlick_N" Extension=".dds"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="T_MirabelGarlick_MRO" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_Professor_MirabelGarlick_Updated>
|
||||
|
||||
<MI_HUM_N_Heads_Eyelash ShaderIndex = "23" OutLineWrite="23">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Garlick_Hair_DAO_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_DefaultGrey_D" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="T_Garlick_Hair_THV_MSK" Extension=".dds"/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_Eyelash>
|
||||
<MI_HUM_N_Heads_Teeth ShaderIndex = "1" OutLineWrite="1">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_HUM_Head_Teeth_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_HUM_Head_Teeth_N" Extension=".dds"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="T_HUM_Head_Teeth_SRXO" Extension=".dds"/>
|
||||
</MI_HUM_N_Heads_Teeth>
|
||||
<MI_Adult_F_Head_MirabelGarlick ShaderIndex = "6" OutLineWrite="6">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Adult_F_Head_MirabelGarlick_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_Adult_F_Head_MIrabelGarlick_N" Extension=".dds"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="T_Adult_F_Head_MirabelGarlick_SRXO" Extension=".dds"/>
|
||||
</MI_Adult_F_Head_MirabelGarlick>
|
||||
|
||||
<MI_HUM_N_Heads_EyeOcclusion ShaderIndex = "3" OutLineWrite="3">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Blank2_MSK" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="" Extension=""/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_N_Heads_EyeOcclusion>
|
||||
|
||||
<MI_HUM_N_Heads_Eye ShaderIndex = "2" OutLineWrite="2">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_Eye_Iris_D" Extension=".png"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="BaseFlattenNormalMap" Extension=".png"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="T_Adult_M_Arms_JasperTrout_GeorgeOsric_SRXO" Extension=".dds"/>
|
||||
</MI_HUM_N_Heads_Eye>
|
||||
|
||||
<MI_HUM_F_Hat_GarlickHat01Flowers ShaderIndex = "8" OutLineWrite="22">
|
||||
<aiTextureType_NONE Index="0" Filename="" Extension=""/>
|
||||
<aiTextureType_DIFFUSE Index="1" Filename="T_MirabelGarlick_D" Extension=".dds"/>
|
||||
<aiTextureType_SPECULAR Index="2" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT Index="3" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSIVE Index="4" Filename="" Extension=""/>
|
||||
<aiTextureType_HEIGHT Index="5" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMALS Index="6" Filename="T_MirabelGarlick_N" Extension=".dds"/>
|
||||
<aiTextureType_SHININESS Index="7" Filename="" Extension=""/>
|
||||
<aiTextureType_OPACITY Index="8" Filename="" Extension=""/>
|
||||
<aiTextureType_DISPLACEMENT Index="9" Filename="" Extension=""/>
|
||||
<aiTextureType_LIGHTMAP Index="10" Filename="" Extension=""/>
|
||||
<aiTextureType_REFLECTION Index="11" Filename="" Extension=""/>
|
||||
<aiTextureType_BASE_COLOR Index="12" Filename="" Extension=""/>
|
||||
<aiTextureType_NORMAL_CAMERA Index="13" Filename="" Extension=""/>
|
||||
<aiTextureType_EMISSION_COLOR Index="14" Filename="" Extension=""/>
|
||||
<aiTextureType_METALNESS Index="15" Filename="T_MirabelGarlick_MRO" Extension=".dds"/>
|
||||
<aiTextureType_DIFFUSE_ROUGHNESS Index="16" Filename="" Extension=""/>
|
||||
<aiTextureType_AMBIENT_OCCLUSION Index="17" Filename="" Extension=""/>
|
||||
<aiTextureType_UNKNOWN Index="18" Filename="" Extension=""/>
|
||||
<aiTextureType_SHEEN Index="19" Filename="" Extension=""/>
|
||||
<aiTextureType_CLEARCOAT Index="20" Filename="" Extension=""/>
|
||||
<aiTextureType_TRANSMISSION Index="21" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_BASE Index="22" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR Index="23" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_COLOR Index="24" Filename="" Extension=""/>
|
||||
<aiTextureType_MAYA_SPECULAR_ROUGHNESS Index="25" Filename="" Extension=""/>
|
||||
<aiTextureType_ANISOTROPY Index="26" Filename="" Extension=""/>
|
||||
</MI_HUM_F_Hat_GarlickHat01Flowers>
|
||||
</Material>
|
||||
|
After Width: | Height: | Size: 15 MiB |
|
After Width: | Height: | Size: 415 KiB |
|
After Width: | Height: | Size: 197 KiB |
|
After Width: | Height: | Size: 371 KiB |
@@ -2426,6 +2426,100 @@ PS_OUT PS_BoosterHpBar(PS_IN In)
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_DialogueChoice(PS_IN In)
|
||||
{
|
||||
PS_OUT Out = (PS_OUT) 0;
|
||||
float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
|
||||
float4 Color = float4(1.f, 1.f, 1.f, 0.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);
|
||||
}
|
||||
|
||||
|
||||
if (g_iHover != 0)
|
||||
{
|
||||
float4 tex = g_Texture.Sample(ClampSampler, Finaluv);
|
||||
Color = tex;
|
||||
|
||||
float2 ImgaePos1 = g_fImageSipos1.xy;
|
||||
float2 ImgaeSize1 = g_fImageSipos1.zw;
|
||||
float2 ImgaePixel = Finaluv * g_fOrigin_Size;
|
||||
float2 localUV = (ImgaePixel - ImgaePos1) / ImgaeSize1;
|
||||
bool inside = all(localUV >= 0.0f && localUV <= 1.0f);
|
||||
if (inside)
|
||||
{
|
||||
float4 tex2 = g_Texture1.Sample(ClampSampler, localUV);
|
||||
Color = lerp(Color, tex2, tex2.a);
|
||||
}
|
||||
|
||||
float2 ImgaePos2 = g_fImageSipos2.xy;
|
||||
float2 ImgaeSize2 = g_fImageSipos2.zw;
|
||||
float2 ImgaePixe2 = Finaluv * g_fOrigin_Size;
|
||||
float2 ReverseUV = (ImgaePixe2 - ImgaePos2) / ImgaeSize2;
|
||||
bool inside2 = all(ReverseUV >= 0.0f && ReverseUV <= 1.0f);
|
||||
if (inside2)
|
||||
{
|
||||
ReverseUV.y = 1.f - ReverseUV.y;
|
||||
float4 tex2 = g_Texture1.Sample(ClampSampler, ReverseUV);
|
||||
Color = lerp(Color, tex2, tex2.a);
|
||||
}
|
||||
}
|
||||
|
||||
float2 ImgaePos3 = g_fImageSipos3.xy / g_fCurrent_Size;
|
||||
float2 ImgaeSize3 = g_fImageSipos3.zw / g_fCurrent_Size;
|
||||
float2 localUV2 = (In.vTexcoord - ImgaePos3) / ImgaeSize3;
|
||||
bool inside3 = all(localUV2 >= 0.0f && localUV2 <= 1.0f);
|
||||
if (inside3)
|
||||
{
|
||||
float4 tex2 = g_Texture2.Sample(ClampSampler, localUV2);
|
||||
Color = lerp(Color, tex2, tex2.a);
|
||||
}
|
||||
|
||||
Color.a *= Alpha;
|
||||
Out.vColor = Color;
|
||||
return Out;
|
||||
}
|
||||
|
||||
struct VS_IN3D
|
||||
{
|
||||
float3 vPosition : POSITION;
|
||||
@@ -3206,6 +3300,16 @@ technique11 PosTexTechnique11
|
||||
PixelShader = compile ps_5_0 PS_BoosterHpBar();
|
||||
}
|
||||
|
||||
pass DialogueChoice
|
||||
{
|
||||
SetRasterizerState(RS_Nocull);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
|
||||
PixelShader = compile ps_5_0 PS_DialogueChoice();
|
||||
}
|
||||
|
||||
pass Enemy_Detection
|
||||
{
|
||||
SetRasterizerState(RS_Nocull);
|
||||
|
||||
|
After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
@@ -187,6 +187,9 @@ call Update_Shaders.bat
|
||||
<ClInclude Include="..\public\Broom_Scoreboard.h" />
|
||||
<ClInclude Include="..\public\Broom_Trophy.h" />
|
||||
<ClInclude Include="..\Public\CallBack_Ranrok_HitReport.h" />
|
||||
<ClInclude Include="..\public\Dialogue_Canvas.h" />
|
||||
<ClInclude Include="..\public\Dialogue_Choice.h" />
|
||||
<ClInclude Include="..\public\Dialogue_Panel.h" />
|
||||
<ClInclude Include="..\public\DummyDecal.h" />
|
||||
<ClInclude Include="..\public\Dialogue.h" />
|
||||
<ClInclude Include="..\public\Enemy_Detection.h" />
|
||||
@@ -466,6 +469,9 @@ call Update_Shaders.bat
|
||||
<ClCompile Include="..\private\Broom_Trophy.cpp" />
|
||||
<ClCompile Include="..\private\Dialogue.cpp" />
|
||||
<ClCompile Include="..\Private\CallBack_Ranrok_HitReport.cpp" />
|
||||
<ClCompile Include="..\private\Dialogue_Canvas.cpp" />
|
||||
<ClCompile Include="..\private\Dialogue_Choice.cpp" />
|
||||
<ClCompile Include="..\private\Dialogue_Panel.cpp" />
|
||||
<ClCompile Include="..\private\DummyDecal.cpp" />
|
||||
<ClCompile Include="..\Private\Enemy_Detection.cpp" />
|
||||
<ClCompile Include="..\Private\Goblin_BattleAxe.cpp" />
|
||||
|
||||
@@ -753,7 +753,7 @@
|
||||
</Filter>
|
||||
<Filter Include="02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\GroundPulse">
|
||||
<UniqueIdentifier>{614e67ae-6df9-4826-adbe-6be96f54041d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter Include="50.UI\GamePlay_Canvas\Ride_Panel\Ride_Booster_Slot">
|
||||
<UniqueIdentifier>{906987cf-14ce-4676-8ca7-a68b6b2c29b6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
@@ -769,6 +769,15 @@
|
||||
<Filter Include="02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadImpact">
|
||||
<UniqueIdentifier>{7a345ef7-8e16-45df-9bc3-e8fc665f729f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="50.UI\Dialogue_Canvas">
|
||||
<UniqueIdentifier>{a5413132-f824-4e59-b3bb-1e6ad539b274}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="50.UI\Dialogue_Canvas\Dialogue_Panel">
|
||||
<UniqueIdentifier>{54dbea26-acfa-49be-9a97-1e2408cbd9b2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="50.UI\Dialogue_Canvas\Dialogue_Panel\Dialogue_Choice">
|
||||
<UniqueIdentifier>{0201d2a8-9187-468c-aa2f-491bd3ae6ae1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Editor.h">
|
||||
@@ -1557,6 +1566,15 @@
|
||||
<ClInclude Include="..\Public\Ranrok_DeadImpact.h">
|
||||
<Filter>02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadImpact</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\Dialogue_Panel.h">
|
||||
<Filter>50.UI\Dialogue_Canvas\Dialogue_Panel</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\Dialogue_Canvas.h">
|
||||
<Filter>50.UI\Dialogue_Canvas</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\Dialogue_Choice.h">
|
||||
<Filter>50.UI\Dialogue_Canvas\Dialogue_Panel\Dialogue_Choice</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Image Include="Editor.ico">
|
||||
@@ -2353,6 +2371,15 @@
|
||||
<ClCompile Include="..\Private\Ranrok_DeadImpact.cpp">
|
||||
<Filter>02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadImpact</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\private\Dialogue_Panel.cpp">
|
||||
<Filter>50.UI\Dialogue_Canvas\Dialogue_Panel</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\private\Dialogue_Canvas.cpp">
|
||||
<Filter>50.UI\Dialogue_Canvas</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\private\Dialogue_Choice.cpp">
|
||||
<Filter>50.UI\Dialogue_Canvas\Dialogue_Panel\Dialogue_Choice</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="Editor.rc">
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
#include "pch.h"
|
||||
#include "Dialogue_Canvas.h"
|
||||
#include "GameInstance.h"
|
||||
#include "UI_Manager.h"
|
||||
#include "Dialogue_Panel.h"
|
||||
|
||||
CDialogue_Canvas::CDialogue_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
:CCanvasObject(pDevice, pContext)
|
||||
{
|
||||
}
|
||||
|
||||
CDialogue_Canvas::CDialogue_Canvas(const CDialogue_Canvas& rhs)
|
||||
:CCanvasObject(rhs)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Canvas::Initialize_Prototype()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CDialogue_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;
|
||||
}
|
||||
Visible(true);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CDialogue_Canvas::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
}
|
||||
|
||||
void CDialogue_Canvas::Update(_float fTimeDelta)
|
||||
{
|
||||
__super::Update(fTimeDelta);
|
||||
}
|
||||
|
||||
void CDialogue_Canvas::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (m_bVisible) {
|
||||
}
|
||||
__super::Late_Update(fTimeDelta);
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Canvas::Render()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
_vector CDialogue_Canvas::Get_WorldPostion()
|
||||
{
|
||||
return m_pTransformCom->Get_State(STATE::POSITION);
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Canvas::Bind_ShaderResources()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Canvas::Ready_Components(void* pArg)
|
||||
{
|
||||
if (FAILED(Add_Component<CVIBuffer_Rect>(g_iStaticLevel, &m_pVIBufferCom))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
HRESULT CDialogue_Canvas::Ready_Panel(void* pArg)
|
||||
{
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CDialogue_Panel>(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast<CDialogue_Panel**>(&m_pDialogue_Panel))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
Add_Panel(TEXT("Dialogue_Panel"), m_pDialogue_Panel);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CDialogue_Canvas::Clear_Penel()
|
||||
{
|
||||
}
|
||||
|
||||
CDialogue_Canvas* CDialogue_Canvas::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CDialogue_Canvas* pInstance = new CDialogue_Canvas(pDevice, pContext);
|
||||
|
||||
if (FAILED(pInstance->Initialize_Prototype()))
|
||||
{
|
||||
MSG_BOX("Failed to Created : CDialogue_Canvas");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
CGameObject* CDialogue_Canvas::Clone(void* pArg, CGameObject* pOwner)
|
||||
{
|
||||
CDialogue_Canvas* pInstance = new CDialogue_Canvas(*this);
|
||||
pInstance->m_pOwner = pOwner;
|
||||
if (FAILED(pInstance->Initialize(pArg)))
|
||||
{
|
||||
MSG_BOX("Failed to Cloned : CDialogue_Canvas");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CDialogue_Canvas::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
SAFE_RELEASE(m_pVIBufferCom);
|
||||
}
|
||||
|
||||
void CDialogue_Canvas::Describe_Entity()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,317 @@
|
||||
#include "pch.h"
|
||||
#include "Dialogue_Choice.h"
|
||||
#include "GameInstance.h"
|
||||
|
||||
CDialogue_Choice::CDialogue_Choice(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
:CElementObject(pDevice, pContext)
|
||||
{
|
||||
}
|
||||
|
||||
CDialogue_Choice::CDialogue_Choice(const CDialogue_Choice& rhs)
|
||||
:CElementObject(rhs)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Choice::Initialize_Prototype()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Choice::Initialize(void* pArg)
|
||||
{
|
||||
CUIObject::UIOBJECT_DESC Desc{};
|
||||
|
||||
Desc.fX = -100.f;
|
||||
Desc.fY = -200.f;
|
||||
Desc.fSizeX = 100.f;
|
||||
Desc.fSizeY = 65.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 = 3.f;
|
||||
m_vNine_Slice = _float4(20.f, 100.f, 0.f, 65.f);
|
||||
m_vImagePosi1 = _float4(0.f, 0.f, 90.f, 20.f);
|
||||
m_vImagePosi2 = _float4(0.f, 45.f, 90.f, 20.f);
|
||||
m_vImagePosi3 = _float4(15.f, 12.5f, 40.f, 40.f);
|
||||
m_fFontX = 370.f;
|
||||
m_fFontY = 607.5f;
|
||||
m_iHover = 0;
|
||||
SizeUpX(400.f);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CDialogue_Choice::Mouse_Hover()
|
||||
{
|
||||
POINT ptMouse{};
|
||||
GetCursorPos(&ptMouse);
|
||||
ScreenToClient(g_hWnd, &ptMouse); // 윈도우 왼쪽 상단 (0,0) 기준
|
||||
|
||||
// 윈도우 실제 내부 크기를 '직접' 가져옵니다. (g_iWinSize 대신)
|
||||
RECT rc;
|
||||
GetClientRect(g_hWnd, &rc);
|
||||
_float fWidth = (_float)(rc.right - rc.left);
|
||||
_float fHeight = (_float)(rc.bottom - rc.top);
|
||||
|
||||
_float2 fMouse;
|
||||
// 캔버스 배치 로직(Update)과 마우스 변환 로직을 완벽하게 일치시킵니다.
|
||||
fMouse.x = (_float)ptMouse.x - (fWidth * 0.5f);
|
||||
fMouse.y = -((_float)ptMouse.y - (fHeight * 0.494f)); // Y축 뒤집기
|
||||
|
||||
POINT pt = { (long)fMouse.x, (long)fMouse.y };
|
||||
|
||||
Hover(PtInRect(&m_pRect, pt));
|
||||
}
|
||||
|
||||
void CDialogue_Choice::Hover(_bool iHover)
|
||||
{
|
||||
m_iHover = iHover;
|
||||
if (m_iHover != 0)
|
||||
{
|
||||
m_fFontX = 390.f;
|
||||
m_vImagePosi3 = _float4(35.f, 12.5f, 40.f, 40.f);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_fFontX = 370.f;
|
||||
m_vImagePosi3 = _float4(15.f, 12.5f, 40.f, 40.f);
|
||||
}
|
||||
}
|
||||
|
||||
void CDialogue_Choice::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
if (!__super::Chack_Visible())
|
||||
{
|
||||
return;
|
||||
}
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
}
|
||||
|
||||
void CDialogue_Choice::Update(_float fTimeDelta)
|
||||
{
|
||||
if (!__super::Chack_Visible())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_bFadeIn == true)
|
||||
{
|
||||
if (m_fAlpha <= 7.f)
|
||||
m_fAlpha += fTimeDelta * m_fAlphaTime;
|
||||
|
||||
if (m_fAlpha >= 7.f)
|
||||
{
|
||||
m_bFadeIn = false;
|
||||
m_fAlpha = 7.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;
|
||||
}
|
||||
}
|
||||
|
||||
Mouse_Hover();
|
||||
|
||||
m_fTime += fTimeDelta * m_fTimeMult;
|
||||
__super::Update(fTimeDelta);
|
||||
}
|
||||
|
||||
void CDialogue_Choice::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (!__super::Chack_Visible())
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (m_bVisible) {
|
||||
m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
|
||||
__super::Late_Update(fTimeDelta);
|
||||
}
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Choice::Render()
|
||||
{
|
||||
if (FAILED(Bind_ShaderResources())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::DIALOGUECHOICE)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pVIBufferCom->Bind_Resources())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pVIBufferCom->Render())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("아아"), _float2(m_fFontX + m_fX, m_fFontY - m_fY), XMVectorSet((208.f / 255.f) * m_fAlpha, (177.f / 255.f) * m_fAlpha, (52.f / 255.f) * m_fAlpha, m_fAlpha));
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
_vector CDialogue_Choice::Get_WorldPostion()
|
||||
{
|
||||
return m_pTransformCom->Get_State(STATE::POSITION);
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Choice::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_pDiffuse_TextureCom2->Bind_ShaderResource(m_pShaderCom, "g_Texture2", 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_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;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fImageSipos1", &m_vImagePosi1, sizeof(_float4))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fImageSipos2", &m_vImagePosi2, sizeof(_float4))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_fImageSipos3", &m_vImagePosi3, sizeof(_float4))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_iHover", &m_iHover, sizeof(_int))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Choice::Ready_Components(void* pArg)
|
||||
{
|
||||
if (FAILED(Add_Component<CVIBuffer_Rect>(g_iStaticLevel, &m_pVIBufferCom)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_Dialogue_Chice"), reinterpret_cast<CComponent**>(&m_pDiffuse_TextureCom), nullptr)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_InteractSelectionBracket"), reinterpret_cast<CComponent**>(&m_pDiffuse_TextureCom1), nullptr)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_Icon_InteractType_Straight"), reinterpret_cast<CComponent**>(&m_pDiffuse_TextureCom2), nullptr)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
CDialogue_Choice* CDialogue_Choice::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CDialogue_Choice* pInstance = new CDialogue_Choice(pDevice, pContext);
|
||||
|
||||
if (FAILED(pInstance->Initialize_Prototype()))
|
||||
{
|
||||
MSG_BOX("Failed to Created : CDialogue_Choice");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
CGameObject* CDialogue_Choice::Clone(void* pArg, CGameObject* pOwner)
|
||||
{
|
||||
CDialogue_Choice* pInstance = new CDialogue_Choice(*this);
|
||||
pInstance->m_pOwner = pOwner;
|
||||
if (FAILED(pInstance->Initialize(pArg)))
|
||||
{
|
||||
MSG_BOX("Failed to Cloned : CDialogue_Choice");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CDialogue_Choice::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
SAFE_RELEASE(m_pDiffuse_TextureCom);
|
||||
SAFE_RELEASE(m_pDiffuse_TextureCom1);
|
||||
SAFE_RELEASE(m_pDiffuse_TextureCom2);
|
||||
SAFE_RELEASE(m_pShaderCom);
|
||||
SAFE_RELEASE(m_pVIBufferCom);
|
||||
}
|
||||
|
||||
void CDialogue_Choice::Describe_Entity()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
#include "pch.h"
|
||||
#include "Dialogue_Panel.h"
|
||||
#include "GameInstance.h"
|
||||
#include "Dialogue_Choice.h"
|
||||
|
||||
CDialogue_Panel::CDialogue_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
:CPanelObject(pDevice, pContext)
|
||||
{
|
||||
}
|
||||
|
||||
CDialogue_Panel::CDialogue_Panel(const CDialogue_Panel& rhs)
|
||||
:CPanelObject(rhs)
|
||||
{
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Panel::Initialize_Prototype()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Panel::Initialize(void* pArg)
|
||||
{
|
||||
CUIObject::UIOBJECT_DESC Desc{};
|
||||
|
||||
Desc.fX = 500.f;
|
||||
Desc.fY = -625.f;
|
||||
Desc.fSizeX = 750.f;
|
||||
Desc.fSizeY = 410.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_fCanvasAlpha = 1.f;
|
||||
Visible(true);
|
||||
ElementAllVisible(true);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CDialogue_Panel::Priority_Update(_float fTimeDelta)
|
||||
{
|
||||
if (!__super::Chack_Visible())
|
||||
{
|
||||
return;
|
||||
}
|
||||
__super::Priority_Update(fTimeDelta);
|
||||
}
|
||||
|
||||
void CDialogue_Panel::Update(_float fTimeDelta)
|
||||
{
|
||||
if (!__super::Chack_Visible())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
__super::Update(fTimeDelta);
|
||||
}
|
||||
|
||||
void CDialogue_Panel::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
if (!__super::Chack_Visible())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_bVisible) {
|
||||
__super::Late_Update(fTimeDelta);
|
||||
}
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Panel::Render()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
_vector CDialogue_Panel::Get_WorldPostion()
|
||||
{
|
||||
return m_pTransformCom->Get_State(STATE::POSITION);
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Panel::Bind_ShaderResources()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Panel::Ready_Components(void* pArg)
|
||||
{
|
||||
if (FAILED(Add_Component<CVIBuffer_Rect>(g_iStaticLevel, &m_pVIBufferCom)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT CDialogue_Panel::Ready_Element(void* pArg)
|
||||
{
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CDialogue_Choice>(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast<CDialogue_Choice**>(&m_pDialogue_Choice))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
Add_Element(TEXT("Dialogue_Choice"), m_pDialogue_Choice);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
CDialogue_Panel* CDialogue_Panel::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
{
|
||||
CDialogue_Panel* pInstance = new CDialogue_Panel(pDevice, pContext);
|
||||
|
||||
if (FAILED(pInstance->Initialize_Prototype()))
|
||||
{
|
||||
MSG_BOX("Failed to Created : CDialogue_Panel");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
CGameObject* CDialogue_Panel::Clone(void* pArg, CGameObject* pOwner)
|
||||
{
|
||||
CDialogue_Panel* pInstance = new CDialogue_Panel(*this);
|
||||
pInstance->m_pOwner = pOwner;
|
||||
if (FAILED(pInstance->Initialize(pArg)))
|
||||
{
|
||||
MSG_BOX("Failed to Cloned : CDialogue_Panel");
|
||||
SAFE_RELEASE(pInstance);
|
||||
}
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
||||
void CDialogue_Panel::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
SAFE_RELEASE(m_pVIBufferCom);
|
||||
}
|
||||
|
||||
void CDialogue_Panel::Describe_Entity()
|
||||
{
|
||||
}
|
||||
@@ -48,7 +48,7 @@ HRESULT CGamePlay_Canvas::Initialize(void* pArg)
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
Visible(true);
|
||||
Visible(false);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -155,6 +155,8 @@ HRESULT CGamePlay_Canvas::Ready_Panel(void* pArg)
|
||||
}
|
||||
Add_Panel(TEXT("Ride_Panel"), m_pRide_Panel);
|
||||
|
||||
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -145,6 +145,10 @@
|
||||
#include "Ride_HpBar.h"
|
||||
#include "Ride_HpSlot.h"
|
||||
|
||||
#include "Dialogue_Canvas.h"
|
||||
#include "Dialogue_Panel.h"
|
||||
#include "Dialogue_Choice.h"
|
||||
|
||||
#include "NPCInteraction.h"
|
||||
|
||||
#include "Dialogue.h"
|
||||
@@ -1263,8 +1267,21 @@ HRESULT CLoader::Loading_For_UI()
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CDialogue_Canvas>(g_iStaticLevel, CDialogue_Canvas::Create(m_pDevice, m_pContext))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CDialogue_Panel>(g_iStaticLevel, CDialogue_Panel::Create(m_pDevice, m_pContext))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
if (FAILED(m_pGameInstance->Add_Prototype<CDialogue_Choice>(g_iStaticLevel, CDialogue_Choice::Create(m_pDevice, m_pContext))))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if(FAILED(m_pGameInstance->Add_Prototype<CNPCInteraction>(g_iStaticLevel, CNPCInteraction::Create(m_pDevice, m_pContext))))
|
||||
if(FAILED(m_pGameInstance->Add_Prototype<CNPCInteraction>(g_iStaticLevel, CNPCInteraction::Create(m_pDevice, m_pContext))))
|
||||
{
|
||||
|
||||
return E_FAIL;
|
||||
@@ -2549,7 +2566,7 @@ HRESULT CLoader::Loading_For_MapViewer()
|
||||
//}
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_Playable_Model"),
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationZ(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) {
|
||||
CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
@@ -3130,7 +3147,7 @@ _bool bLoadHogsmeade = false;
|
||||
}
|
||||
|
||||
#pragma region HOGWART
|
||||
_bool bHogwartLoad = { false };
|
||||
_bool bHogwartLoad = { true };
|
||||
|
||||
/* Hogwart LOD */
|
||||
if (FAILED(MapFolderLoad("../Bin/Resources/Models/MapMesh/Game/Environment/Hogwarts/HogwartsLOD",
|
||||
@@ -3427,6 +3444,8 @@ if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Sanctum_Dungeon\\Mes
|
||||
#pragma endregion
|
||||
|
||||
#pragma region DATATOWER_INT
|
||||
_bool bLoad_DADATower_INT = { false };
|
||||
if (bLoad_DADATower_INT)
|
||||
{
|
||||
if (FAILED(MapFolderLoad("C:\\MeshTable\\Game\\Environment\\Hogwarts\\SUB_DADATower\\StaticMesh\\INT",
|
||||
".bin", false, ModelPrototypeTags, ModelPrototypePath)))
|
||||
|
||||
@@ -223,8 +223,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
|
||||
// TEXT("Prototype_Component_GerboldOlivander_Model")
|
||||
//));
|
||||
|
||||
|
||||
|
||||
//futures.emplace_back(Deferred_ModelLoad(
|
||||
// MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity(),
|
||||
// TEXT("Prototype_Component_Camera_Model")
|
||||
|
||||
@@ -98,10 +98,10 @@ HRESULT CMapObject_Manager::Initialize(void* pArg)
|
||||
#pragma endregion
|
||||
|
||||
#pragma region HOGWART
|
||||
/*if (FAILED(Load_MapData("Hogwart_MapContainer_Data", LAYER_HOGWART)))
|
||||
if (FAILED(Load_MapData("Hogwart_MapContainer_Data", LAYER_HOGWART)))
|
||||
return E_FAIL;
|
||||
if (FAILED(Load_MapData("HogwartMap1221", LAYER_HOGWART)))
|
||||
return E_FAIL;*/
|
||||
return E_FAIL;
|
||||
#pragma endregion
|
||||
|
||||
|
||||
@@ -230,9 +230,9 @@ void CMapObject_Manager::Update(_float fTimeDelta)
|
||||
|
||||
Update_Edit();
|
||||
|
||||
Update_LightSpawer();
|
||||
//Update_LightSpawer();
|
||||
//Update_Decal();
|
||||
//Update_RaceRing();
|
||||
Update_RaceRing();
|
||||
|
||||
Update_Unified();
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ HRESULT CPotion::Render()
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
m_pGameInstance->Render_Text(TEXT("UI_size15"), m_strPotion.c_str(), _float2((m_fFontX + m_fX) - m_fFontOffSet, m_fFontY + m_fY), XMVectorSet((208.f / 255.f) * m_fAlpha, (177.f / 255.f) * m_fAlpha, (52.f / 255.f)* m_fAlpha, m_fAlpha));
|
||||
m_pGameInstance->Render_Text(TEXT("UI_size15"), m_strPotion.c_str(), _float2((m_fFontX + m_fX) - m_fFontOffSet, m_fFontY - m_fY), XMVectorSet((208.f / 255.f) * m_fAlpha, (177.f / 255.f) * m_fAlpha, (52.f / 255.f)* m_fAlpha, m_fAlpha));
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "Mouse_Cursor.h"
|
||||
#include "CameraLockOn.h"
|
||||
#include "Loding_Canvas.h"
|
||||
#include "Dialogue_Canvas.h"
|
||||
#include "tinyxml2.h"
|
||||
|
||||
CUI_Manager::CUI_Manager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
|
||||
@@ -321,6 +322,11 @@ HRESULT CUI_Manager::Ready_Components(void* pArg)
|
||||
}
|
||||
Add_Canvas(TEXT("SpellLearn_Canvas"), m_pSpellLearn_Canvas);
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CDialogue_Canvas>(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast<CDialogue_Canvas**>(&m_pDialogue_Canvas)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
Add_Canvas(TEXT("Dialogue_Canvas"), m_pDialogue_Canvas);
|
||||
|
||||
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer<CMouse_Cursor>(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast<CMouse_Cursor**>(&m_pMouse_Cursor)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
#pragma once
|
||||
|
||||
#include "Editor_Define.h"
|
||||
#include "CanvasObject.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
class CGameObject;
|
||||
NS_END
|
||||
|
||||
NS_BEGIN(Editor)
|
||||
|
||||
class CDialogue_Canvas final : public CCanvasObject
|
||||
{
|
||||
private:
|
||||
CDialogue_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CDialogue_Canvas(const CDialogue_Canvas& rhs);
|
||||
virtual ~CDialogue_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_pDialogue_Panel = { nullptr };
|
||||
|
||||
public:
|
||||
static CDialogue_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
|
||||
@@ -0,0 +1,55 @@
|
||||
#pragma once
|
||||
|
||||
#include "Editor_Define.h"
|
||||
#include "ElementObject.h"
|
||||
|
||||
NS_BEGIN(Editor)
|
||||
|
||||
class CDialogue_Choice final : public CElementObject
|
||||
{
|
||||
private:
|
||||
CDialogue_Choice(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CDialogue_Choice(const CDialogue_Choice& rhs);
|
||||
virtual ~CDialogue_Choice() = 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;
|
||||
|
||||
public:
|
||||
void Mouse_Hover();
|
||||
|
||||
private:
|
||||
void Hover(_bool iHover);
|
||||
|
||||
private:
|
||||
CTexture* m_pDiffuse_TextureCom = { nullptr };
|
||||
CTexture* m_pDiffuse_TextureCom1 = { nullptr };
|
||||
CTexture* m_pDiffuse_TextureCom2 = { nullptr };
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
|
||||
|
||||
_float4 m_vImagePosi1{};
|
||||
_float4 m_vImagePosi2{};
|
||||
_float4 m_vImagePosi3{};
|
||||
|
||||
_int m_iHover{};
|
||||
|
||||
public:
|
||||
static CDialogue_Choice* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
|
||||
virtual void Free() override;
|
||||
void Describe_Entity() override;
|
||||
};
|
||||
|
||||
NS_END
|
||||
@@ -0,0 +1,47 @@
|
||||
#pragma once
|
||||
|
||||
#include "Editor_Define.h"
|
||||
#include "PanelObject.h"
|
||||
|
||||
NS_BEGIN(Engine)
|
||||
class CGameObject;
|
||||
NS_END
|
||||
|
||||
NS_BEGIN(Editor)
|
||||
|
||||
class CDialogue_Panel final : public CPanelObject
|
||||
{
|
||||
private:
|
||||
CDialogue_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
CDialogue_Panel(const CDialogue_Panel& rhs);
|
||||
virtual ~CDialogue_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 };
|
||||
CTexture* m_pDiffuse_TextureCom = { nullptr };
|
||||
CShader* m_pShaderCom = { nullptr };
|
||||
|
||||
CGameObject* m_pDialogue_Choice = { nullptr };
|
||||
|
||||
public:
|
||||
static CDialogue_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
|
||||
@@ -44,7 +44,7 @@ namespace Editor
|
||||
ENEMY_HPBAR, BOSS_HPBAR, QUEST_BORDER, QUEST_INFO, QUEST_STATUS, BROOMSTICK,
|
||||
SPELL_LEARN, SPELLLEARNCOLOR, SPELLLEARNBOOSTER, NPCINTERACTION, CANVASFADE,
|
||||
FLAGWAVE, BROOMCIRCLE, RIDE_INFO_KEY, RIDE_INFO, RIDE_HPSLOT, BOOSTERGAUGE,
|
||||
BOOSTERHPBAR,
|
||||
BOOSTERHPBAR, DIALOGUECHOICE,
|
||||
ENEMY_DETECTION, INTERACTION_OBJECT, INTERACTION_NPC, BROOMTARGETGATE, END
|
||||
};
|
||||
enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, DEPTH_STOP, WB_CULLING, SCREEN_FX , DISTORTION , NONPOS , NONPOS_BLUR, BLUR_MESH, BLUR_CULLING , BLUR_CULLING_NO_EMISSIVE, BLOOM_CULLING , DEFAULT_NONPOS , NONWB_NONPOS, DECAL, DECAL_WB, DECAL_BLUR, BLEND_CULLING, DECAL_BLEND, END};
|
||||
|
||||
@@ -42,6 +42,7 @@ class CGamePlay_Canvas final : public CCanvasObject
|
||||
CGameObject* m_pEnemy_Panel = { nullptr };
|
||||
CGameObject* m_pBroom_Panel = { nullptr };
|
||||
CGameObject* m_pRide_Panel = { nullptr };
|
||||
CGameObject* m_pDialogue_Panel = { nullptr };
|
||||
|
||||
_bool m_bRide = { false };
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@ class CUI_Manager final : public CUIObject
|
||||
CGameObject* m_pLoding_Canvas= { nullptr };
|
||||
CGameObject* m_pQuest_Canves= { nullptr };
|
||||
CGameObject* m_pSpellLearn_Canvas = { nullptr };
|
||||
CGameObject* m_pDialogue_Canvas = { nullptr };
|
||||
CGameObject* m_pMouse_Cursor = { nullptr };
|
||||
CGameObject* m_pCamera_LockOn = { nullptr };
|
||||
_bool m_bCanvas_Change = { false };
|
||||
|
||||
@@ -139,6 +139,16 @@ void CCamera::EnableTransition(_float fTransitionTime)
|
||||
m_vTransitionTime.y = fTransitionTime;
|
||||
}
|
||||
|
||||
void CCamera::Set_RotDegreeVerticalLock(_float2 vVerticalLock)
|
||||
{
|
||||
m_vAccRotDegree_VerticalLocks = vVerticalLock;
|
||||
}
|
||||
|
||||
_float2 CCamera::Get_RotDegreeVerticalLock()
|
||||
{
|
||||
return m_vAccRotDegree_VerticalLocks;
|
||||
}
|
||||
|
||||
_bool CCamera::IsImportantThan(CCamera* pOther) const
|
||||
{
|
||||
return m_iPriority > pOther->m_iPriority;
|
||||
|
||||
@@ -42,6 +42,9 @@ class ENGINE_DLL CCamera abstract : public CGameObject
|
||||
virtual HRESULT Ready_Components(void* pArg)override;
|
||||
virtual void EnableTransition(_float fTransitionTime);
|
||||
|
||||
void Set_RotDegreeVerticalLock(_float2 vVerticalLock);
|
||||
_float2 Get_RotDegreeVerticalLock();
|
||||
|
||||
_bool IsActive() const { return m_bActive; }
|
||||
_bool IsImportantThan(CCamera* pOther) const;
|
||||
const _float* Get_CurrentFar();
|
||||
@@ -63,6 +66,7 @@ class ENGINE_DLL CCamera abstract : public CGameObject
|
||||
_float3 m_vFollowPos_Src = { 0.f, 0.f, 0.f };
|
||||
_float3 m_vFollowPos_Dest = { 0.f, 0.f, 0.f };
|
||||
_uint m_iPriority = { UINT_MAX };
|
||||
_float2 m_vAccRotDegree_VerticalLocks = { 87.f, 87.f };
|
||||
|
||||
_bool m_bIsCurrentTransition = { false };
|
||||
_bool m_bEnable_TransitionLerp = { false };
|
||||
|
||||
@@ -231,7 +231,7 @@ class CMyTools {
|
||||
}
|
||||
// yaw 360도 자동 커트
|
||||
// pitch 80도 클램프
|
||||
inline static void AdjustAccumulateDegreePitchYawDegree(_float2& vAccumulateDegreePitchYaw, float fPitchLimitDegree = 80.f)
|
||||
inline static void AdjustAccumulateDegreePitchYawDegree(_float2& vAccumulateDegreePitchYaw, float fPitchLimitLowerDegree = 60.f, float fPitchLimitUpperDegree = 60.f)
|
||||
{
|
||||
if (vAccumulateDegreePitchYaw.y > 360.f)
|
||||
{
|
||||
@@ -242,13 +242,13 @@ class CMyTools {
|
||||
vAccumulateDegreePitchYaw.y += 360.f;
|
||||
}
|
||||
|
||||
if (vAccumulateDegreePitchYaw.x > fPitchLimitDegree)
|
||||
if (vAccumulateDegreePitchYaw.x > fPitchLimitUpperDegree)
|
||||
{
|
||||
vAccumulateDegreePitchYaw.x = fPitchLimitDegree;
|
||||
vAccumulateDegreePitchYaw.x = fPitchLimitUpperDegree;
|
||||
}
|
||||
else if (vAccumulateDegreePitchYaw.x < -fPitchLimitDegree)
|
||||
else if (vAccumulateDegreePitchYaw.x < -fPitchLimitLowerDegree)
|
||||
{
|
||||
vAccumulateDegreePitchYaw.x = -fPitchLimitDegree;
|
||||
vAccumulateDegreePitchYaw.x = -fPitchLimitLowerDegree;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||