summaryrefslogtreecommitdiff
path: root/win/Figdlg.cpp
diff options
context:
space:
mode:
authorleo2000-01-05 15:33:27 +0000
committerleo2000-01-05 15:33:27 +0000
commitd1cfc8d5b2cd25782617c2bdfecb72aae7fab9fb (patch)
tree8225afcea7b1f420761e6fb2fb2d82953245ff5a /win/Figdlg.cpp
parentf11f52e36163470a530fba9060d4339e617a3001 (diff)
Update the minifig wizard with the new pieces
Added a function to read the update files cVS: ---------------------------------------------------------------------- git-svn-id: http://svn.leocad.org/trunk@49 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Figdlg.cpp')
-rw-r--r--win/Figdlg.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/win/Figdlg.cpp b/win/Figdlg.cpp
index b209b4e..f819fca 100644
--- a/win/Figdlg.cpp
+++ b/win/Figdlg.cpp
@@ -131,7 +131,7 @@ BOOL CMinifigDlg::OnInitDialog()
((CComboBox*)GetDlgItem(i))->SetCurSel(0);
((CComboBox*)GetDlgItem(IDC_MF_HAT))->SetCurSel(6);
((CComboBox*)GetDlgItem(IDC_MF_HEAD))->SetCurSel(4);
- ((CComboBox*)GetDlgItem(IDC_MF_TORSO))->SetCurSel(15);
+ ((CComboBox*)GetDlgItem(IDC_MF_TORSO))->SetCurSel(18);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
@@ -170,6 +170,9 @@ void CMinifigDlg::OnPieceSelEndOK(UINT nID)
{
m_pMFWnd->m_pFig->pos[0][2] = 3.92f;
m_pMFWnd->m_pFig->pos[1][2] = 3.92f;
+
+ if (strcmp (pInfo->m_strName,"4498") == 0)
+ m_pMFWnd->m_pFig->rot[3][2] = 180.0f;
}
else
{
@@ -237,6 +240,12 @@ void CMinifigDlg::OnPieceSelEndOK(UINT nID)
{ z = 1.24f; y = -0.34f; }
if (strcmp (pInfo->m_strName,"3841") == 0)
{ z = 2.24f; y = -1.34f; rz = 180; }
+ if (strcmp (pInfo->m_strName,"4499") == 0)
+ { rz = 10; z = 1.52f; }
+ if (strcmp (pInfo->m_strName,"3852") == 0)
+ { rz = -90; x = 0.90f; y = -0.8f; z = 1.84f; }
+ if (strcmp (pInfo->m_strName,"30152") == 0)
+ { z = 3.06f; y = -2.16f; }
if (nID == IDC_MF_TOOLR)
x = -x;