|
From: <ha...@us...> - 2002-10-01 05:33:41
|
Update of /cvsroot/decaldev/source/Decal In directory usw-pr-cvs1:/tmp/cvs-serv30255 Modified Files: ACHooks.h ACHooks.cpp Log Message: fix to 3dareaheight/width Index: ACHooks.h =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.h,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ACHooks.h 24 Sep 2002 20:47:39 -0000 1.21 --- ACHooks.h 1 Oct 2002 05:33:36 -0000 1.22 *************** *** 112,119 **** bool m_bArea3DWidth; ! long m_lArea3DWidth; bool m_bArea3DHeight; ! long m_lArea3DHeight; bool m_bObjectFromGuid; --- 112,119 ---- bool m_bArea3DWidth; ! long *m_lpArea3DWidth; bool m_bArea3DHeight; ! long *m_lpArea3DHeight; bool m_bObjectFromGuid; Index: ACHooks.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** ACHooks.cpp 24 Sep 2002 20:47:39 -0000 1.22 --- ACHooks.cpp 1 Oct 2002 05:33:37 -0000 1.23 *************** *** 270,274 **** m_bArea3DWidth = true; m_Hooks |= eArea3DWidth ; ! m_lArea3DWidth = Val; } --- 270,274 ---- m_bArea3DWidth = true; m_Hooks |= eArea3DWidth ; ! m_lpArea3DWidth = reinterpret_cast< long * >( Val ); } *************** *** 277,281 **** m_bArea3DHeight = true; m_Hooks |= eArea3DHeight ; ! m_lArea3DWidth = Val; } --- 277,281 ---- m_bArea3DHeight = true; m_Hooks |= eArea3DHeight ; ! m_lpArea3DHeight = reinterpret_cast< long * >( Val ); } *************** *** 1258,1262 **** return S_FALSE; ! *pVal = *( reinterpret_cast< long * >( m_lArea3DWidth ) ); return S_OK; --- 1258,1262 ---- return S_FALSE; ! *pVal = *m_lpArea3DWidth; return S_OK; *************** *** 1268,1272 **** return S_FALSE; ! *pVal = *( reinterpret_cast< long * >( m_lArea3DHeight ) ); return S_OK; --- 1268,1272 ---- return S_FALSE; ! *pVal = *m_lpArea3DHeight; return S_OK; |