From dcaaffb55328f396fe38d9abbd6bfee052ac6c25 Mon Sep 17 00:00:00 2001 From: GiJungSUk Date: Mon, 12 Jan 2026 10:29:30 +0900 Subject: [PATCH] commit --- .../Client/Private/BroomRaceManager.cpp | 98 +++++++++---------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp index 626879606..89c0a1342 100644 --- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp @@ -524,70 +524,70 @@ HRESULT CBroomRaceManager::Load_RaceRing() HRESULT CBroomRaceManager::Load_Balloons() { - tinyxml2::XMLDocument xmlDoc; + //tinyxml2::XMLDocument xmlDoc; - string strPath = "../Bin/Resources/Data/Map/Balloon/Ballon_Data.xml"; + //string strPath = "../Bin/Resources/Data/Map/Balloon/Ballon_Data.xml"; - if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) - return E_FAIL; + //if ((tinyxml2::XML_SUCCESS != xmlDoc.LoadFile(strPath.c_str()))) + // return E_FAIL; - Desc.pBroomRaceManager = this; + // Desc.pBroomRaceManager = this; - /* Transform */ - auto* Rotation = Object->FirstChildElement("Scale"); - Rotation->QueryFloatAttribute("x", &Desc.vScale.x); - Rotation->QueryFloatAttribute("y", &Desc.vScale.y); - Rotation->QueryFloatAttribute("z", &Desc.vScale.z); + // /* Transform */ + // auto* Rotation = Object->FirstChildElement("Scale"); + // Rotation->QueryFloatAttribute("x", &Desc.vScale.x); + // Rotation->QueryFloatAttribute("y", &Desc.vScale.y); + // Rotation->QueryFloatAttribute("z", &Desc.vScale.z); - auto* Scale = Object->FirstChildElement("Rotation"); - Scale->QueryFloatAttribute("x", &Desc.vRotation.x); - Scale->QueryFloatAttribute("y", &Desc.vRotation.y); - Scale->QueryFloatAttribute("z", &Desc.vRotation.z); + // auto* Scale = Object->FirstChildElement("Rotation"); + // Scale->QueryFloatAttribute("x", &Desc.vRotation.x); + // Scale->QueryFloatAttribute("y", &Desc.vRotation.y); + // Scale->QueryFloatAttribute("z", &Desc.vRotation.z); - auto* Position = Object->FirstChildElement("Position"); - Position->QueryFloatAttribute("x", &Desc.vPosition.x); - Position->QueryFloatAttribute("y", &Desc.vPosition.y); - Position->QueryFloatAttribute("z", &Desc.vPosition.z); + // auto* Position = Object->FirstChildElement("Position"); + // Position->QueryFloatAttribute("x", &Desc.vPosition.x); + // Position->QueryFloatAttribute("y", &Desc.vPosition.y); + // Position->QueryFloatAttribute("z", &Desc.vPosition.z); - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_RING, &Desc))) - return E_FAIL; - } + // if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_RING, &Desc))) + // return E_FAIL; + //} - tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("Balloon"); + //tinyxml2::XMLElement* root = xmlDoc.FirstChildElement("Balloon"); - if (nullptr == root) - { - MSG_BOX("Failed to Find root"); - return S_OK; - } + //if (nullptr == root) + //{ + // MSG_BOX("Failed to Find root"); + // return S_OK; + //} - for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object")) - { - CMapElement_Balloon::BALLOON_DESC Desc = {}; + //for (auto* Object = root->FirstChildElement("Object"); Object; Object = Object->NextSiblingElement("Object")) + //{ + // CMapElement_Balloon::BALLOON_DESC Desc = {}; - auto* Value = Object->FirstChildElement("Value"); - Value->QueryBoolAttribute("isFloating", &Desc.isFloating); - Value->QueryUnsignedAttribute("DiffuseIndex", &Desc.iDiffuseIndex); + // auto* Value = Object->FirstChildElement("Value"); + // Value->QueryBoolAttribute("isFloating", &Desc.isFloating); + // Value->QueryUnsignedAttribute("DiffuseIndex", &Desc.iDiffuseIndex); - /* Transform */ - auto* Rotation = Object->FirstChildElement("Scale"); - Rotation->QueryFloatAttribute("x", &Desc.vScale.x); - Rotation->QueryFloatAttribute("y", &Desc.vScale.y); - Rotation->QueryFloatAttribute("z", &Desc.vScale.z); + // /* Transform */ + // auto* Rotation = Object->FirstChildElement("Scale"); + // Rotation->QueryFloatAttribute("x", &Desc.vScale.x); + // Rotation->QueryFloatAttribute("y", &Desc.vScale.y); + // Rotation->QueryFloatAttribute("z", &Desc.vScale.z); - auto* Scale = Object->FirstChildElement("Rotation"); - Scale->QueryFloatAttribute("x", &Desc.vRotation.x); - Scale->QueryFloatAttribute("y", &Desc.vRotation.y); - Scale->QueryFloatAttribute("z", &Desc.vRotation.z); + // auto* Scale = Object->FirstChildElement("Rotation"); + // Scale->QueryFloatAttribute("x", &Desc.vRotation.x); + // Scale->QueryFloatAttribute("y", &Desc.vRotation.y); + // Scale->QueryFloatAttribute("z", &Desc.vRotation.z); - auto* Position = Object->FirstChildElement("Position"); - Position->QueryFloatAttribute("x", &Desc.vPosition.x); - Position->QueryFloatAttribute("y", &Desc.vPosition.y); - Position->QueryFloatAttribute("z", &Desc.vPosition.z); + // auto* Position = Object->FirstChildElement("Position"); + // Position->QueryFloatAttribute("x", &Desc.vPosition.x); + // Position->QueryFloatAttribute("y", &Desc.vPosition.y); + // Position->QueryFloatAttribute("z", &Desc.vPosition.z); - if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))) - return E_FAIL; - } + // if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_BACKGROUND, &Desc))) + // return E_FAIL; + //} return S_OK; }