Remove WinAPI object pointers from XUI scenes

This commit is contained in:
notmatthewbeshay
2026-03-14 07:25:18 +11:00
parent a76d416473
commit eb524ae9b8
10 changed files with 14 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ HRESULT CXuiSceneCraftingPanel::OnInit( XUIMessageInit* pInitData, BOOL& bHandle
m_bIgnoreKeyPresses=true;
D3DXVECTOR3 vec;
VOID *pObj;
void *pObj;
CraftingPanelScreenInput* pCraftingPanelData = (CraftingPanelScreenInput*)pInitData->pvInitData;
m_iContainerType=pCraftingPanelData->iContainerType;
m_pPlayer=pCraftingPanelData->player;
@@ -633,4 +633,4 @@ void CXuiSceneCraftingPanel::updateVSlotPositions(int iSlots, int i)
vec.x=m_vSlot0Pos.x + m_iCurrentSlotHIndex*m_fSlotSize;
vec.z=0.0f;
m_pVSlotsBrushImageControl[i]->SetPosition(&vec);
}
}