You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(42) |
Sep
(42) |
Oct
(57) |
Nov
(12) |
Dec
(47) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(14) |
Feb
(4) |
Mar
(52) |
Apr
(13) |
May
(89) |
Jun
(38) |
Jul
(5) |
Aug
(32) |
Sep
(68) |
Oct
(27) |
Nov
(2) |
Dec
(13) |
2004 |
Jan
(3) |
Feb
(6) |
Mar
(3) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jeffrey D. <ha...@us...> - 2003-09-14 00:10:42
|
Log Message: ----------- GKusnick's changes - kill assert on debug code with 'blank' icon Modified Files: -------------- /cvsroot/decaldev/source/Inject: IconCache.cpp Revision Data ------------- Index: IconCache.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Inject/IconCache.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- IconCache.cpp 19 May 2002 02:36:21 -0000 1.4 +++ IconCache.cpp 14 Sep 2003 00:10:10 -0000 1.5 @@ -241,6 +241,9 @@ cIconBuffer *pBuffer; int nIndex; +// GKusnick: Handle no-icon case without asserting. + if (nModule == 0 && nFile == 0) return S_OK; + if( !findIcon( reinterpret_cast< HMODULE >( nModule ), *reinterpret_cast< DWORD* >( &nFile ), pBuffer, nIndex ) ) { if( nModule == 0 ) |
From: Jeffrey D. <ha...@us...> - 2003-09-13 23:59:03
|
Log Message: ----------- GKusnick's changes - add right and center justified text, and 3d border in certain cases Modified Files: -------------- /cvsroot/decaldev/source/DecalControls: PushButton.cpp PushButton.h TextColumn.cpp TextColumn.h Revision Data ------------- Index: PushButton.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalControls/PushButton.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- PushButton.cpp 24 Jul 2002 03:56:34 -0000 1.3 +++ PushButton.cpp 13 Sep 2003 23:59:01 -0000 1.4 @@ -10,7 +10,8 @@ : m_bPressed( VARIANT_FALSE ), m_bMouseIn( VARIANT_FALSE ), m_nFaceColor( RGB( 140, 80, 30 ) ), -m_nTextColor( RGB( 240, 240, 120 ) ) +m_nTextColor( RGB( 240, 240, 120 ) ), +m_UseFaceColor(false) // GKusnick: Render 3D outline. { } @@ -109,6 +110,7 @@ _ASSERTE( ( newVal & 0xFF000000L ) == 0 ); m_nFaceColor = newVal; + m_UseFaceColor = true; // GKusnick: Render 3D outline. m_pSite->Invalidate(); return S_OK; @@ -153,6 +155,7 @@ try { m_nFaceColor = static_cast< long >( vFaceColor ); + m_UseFaceColor = true; // GKusnick: Render 3D outline. } catch( ... ) { @@ -314,7 +317,8 @@ // Nerfgolem 2001.10.11 // Do not render the 3D outline if there's a background image. - if( m_pBackground.p == NULL ) + // GKusnick: Do render it if there's an explicit face color. + if( m_pBackground.p == NULL || m_UseFaceColor ) { // Last, draw the '3D' border - colors are generated relative to the face color // and the design is taken from the windows button Index: PushButton.h =================================================================== RCS file: /cvsroot/decaldev/source/DecalControls/PushButton.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- PushButton.h 29 Sep 2001 06:24:22 -0000 1.2 +++ PushButton.h 13 Sep 2003 23:59:01 -0000 1.3 @@ -35,6 +35,7 @@ long m_nFaceColor, m_nTextColor; + BOOL m_UseFaceColor; // GKusnick: Render 3D outline. void onCreate(); Index: TextColumn.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalControls/TextColumn.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- TextColumn.cpp 24 Jul 2002 03:56:34 -0000 1.6 +++ TextColumn.cpp 13 Sep 2003 23:59:01 -0000 1.7 @@ -51,6 +51,34 @@ m_pSite->CreateFont( bstrFontName /*_bstr_t( _T( "Times New Roman" ) )*/, m_nFontSize, 0, &pFont ); POINT pt = { m_nTextX, m_nTextY }; + + // GKusnick: Apply justification. + switch (m_eJustify) + { + case eFontRight: + { + SIZE Size; + pFont->MeasureText(vText.bstrVal, &Size); + pt.x = m_nFixedWidth - m_nTextX - Size.cx; + } + break; + + case eFontCenter: + { + SIZE Size; + pFont->MeasureText(vText.bstrVal, &Size); + pt.x = (m_nFixedWidth - Size.cx)/2; + } + break; + + case eFontLeft: + default: + { + // No-Op + } + break; + } + pFont->DrawText( &pt, vText.bstrVal, nColor, pCanvas ); return S_OK; @@ -82,6 +110,7 @@ _variant_t vFontSize = pElement->getAttribute( _T( "fontsize" ) ); _variant_t vTextX = pElement->getAttribute( _T( "textx" ) ); _variant_t vTextY = pElement->getAttribute( _T( "texty" ) ); + _variant_t vJustify = pElement->getAttribute( _T( "justify" ) ); /// GKusnick: Justification option. if( vFixedWidth.vt != VT_NULL ) { @@ -156,6 +185,24 @@ } else m_nTextY = 2; + + // GKusnick: Set justification style from schema. + m_eJustify = eFontLeft; + if (vJustify.vt != VT_NULL) + { + if (::_wcsicmp(L"left", vJustify.bstrVal) == 0) + { + m_eJustify = eFontLeft; + } + else if (::_wcsicmp(L"right", vJustify.bstrVal) == 0) + { + m_eJustify = eFontRight; + } + else if (::_wcsicmp(L"center", vJustify.bstrVal) == 0) + { + m_eJustify = eFontCenter; + } + } return S_OK; } Index: TextColumn.h =================================================================== RCS file: /cvsroot/decaldev/source/DecalControls/TextColumn.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- TextColumn.h 5 Oct 2001 10:03:56 -0000 1.3 +++ TextColumn.h 13 Sep 2003 23:59:01 -0000 1.4 @@ -26,6 +26,7 @@ long m_nFontSize; long m_nTextX; long m_nTextY; + eFontJustify m_eJustify; // GKusnick: Justification option. DECLARE_REGISTRY_RESOURCEID(IDR_TEXTCOLUMN) |
From: Todd D. P. <ci...@us...> - 2003-09-13 20:32:33
|
Log Message: ----------- Keeping up with gouru's changes. Some of us still do this the old fashioned way *grin* Modified Files: -------------- /cvsroot/decaldev/source/DecalFilters: FilterImpl.h /cvsroot/decaldev/source/Include: FilterImpl.h Revision Data ------------- Index: FilterImpl.h =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/FilterImpl.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- FilterImpl.h 29 Dec 2001 05:19:27 -0000 1.3 +++ FilterImpl.h 13 Sep 2003 20:32:29 -0000 1.4 @@ -36,6 +36,7 @@ #define DISPID_CREATE_OBJECT 1 #define DISPID_RELEASE_OBJECT 2 #define DISPID_CHANGE_OBJECT 3 +#define DISPID_MOVED_OBJECT 4 ///////////////////////////////////////////////////////////////////////////// Index: FilterImpl.h =================================================================== RCS file: /cvsroot/decaldev/source/Include/FilterImpl.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- FilterImpl.h 5 Jan 2002 04:24:13 -0000 1.2 +++ FilterImpl.h 13 Sep 2003 20:32:29 -0000 1.3 @@ -36,6 +36,7 @@ #define DISPID_CREATE_OBJECT 1 #define DISPID_RELEASE_OBJECT 2 #define DISPID_CHANGE_OBJECT 3 +#define DISPID_MOVED_OBJECT 4 ///////////////////////////////////////////////////////////////////////////// |
From: Jeffrey D. <ha...@us...> - 2003-09-13 19:37:01
|
Log Message: ----------- proj updates Modified Files: -------------- /cvsroot/decaldev/source/Installer/Res: Install.vbs Revision Data ------------- Index: Install.vbs =================================================================== RCS file: /cvsroot/decaldev/source/Installer/Res/Install.vbs,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- Install.vbs 8 Sep 2003 02:09:33 -0000 1.40 +++ Install.vbs 13 Sep 2003 19:37:00 -0000 1.41 @@ -103,7 +103,8 @@ AllProducts.Add "2.5.2.0 RC2", "{3EA7A26F-9112-45D4-BDE0-9BE451D42A9F}" AllProducts.Add "2.5.2.0 RC3", "{B04617E3-2AFF-4650-84AF-10BE73B22A15}" AllProducts.Add "2.6.0.0 RC1", "{6E766A51-09A9-4571-B55A-EE2E4E74B8BC}" - +AllProducts.Add "2.6.0.0 RC2", "{4C22590F-22B8-4413-B91D-0403B2F84979}" +AllProducts.Add "2.6.0.0 RC3", "{E86FBB39-9061-475A-B575-F8F9AC12DB74}" ' These are optional |
From: Jeffrey D. <ha...@us...> - 2003-09-13 19:36:42
|
Log Message: ----------- proj updates Modified Files: -------------- /cvsroot/decaldev/source/DecalInstaller: DecalInstaller.vdproj Revision Data ------------- Index: DecalInstaller.vdproj =================================================================== RCS file: /cvsroot/decaldev/source/DecalInstaller/DecalInstaller.vdproj,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- DecalInstaller.vdproj 9 Sep 2003 03:43:25 -0000 1.15 +++ DecalInstaller.vdproj 13 Sep 2003 19:36:41 -0000 1.16 @@ -28,59 +28,11 @@ "Entry" { "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" - "OwnerKey" = "8:_0593B7A6B4D74017A43CC5F9741D078B" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" - "OwnerKey" = "8:_F7B461AAFB7641F699DAEAF49904A662" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" - "OwnerKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" - "OwnerKey" = "8:_AC7940677AFA439D9D75C9827A0003A2" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" - "OwnerKey" = "8:_8E9B4D574D014738B94369502A191459" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" - "OwnerKey" = "8:_287894F290604710B0E99CD646021261" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" - "OwnerKey" = "8:_11AE7CD5CB2A43E395B33FDD50522940" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" - "OwnerKey" = "8:_10B736524B444A95B8CC8D36B521F980" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_11AE7CD5CB2A43E395B33FDD50522940" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -106,29 +58,11 @@ "Entry" { "MsmKey" = "8:_41F2E99B0C1B72CFD51382D5E140A7E8" - "OwnerKey" = "8:_10B736524B444A95B8CC8D36B521F980" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_41F2E99B0C1B72CFD51382D5E140A7E8" - "OwnerKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_41F2E99B0C1B72CFD51382D5E140A7E8" "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" "MsmSig" = "8:_UNDEFINED" } "Entry" { - "MsmKey" = "8:_41F2E99B0C1B72CFD51382D5E140A7E8" - "OwnerKey" = "8:_287894F290604710B0E99CD646021261" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_422DA789643D4CFC8308DBB6EB58ED8B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -153,6 +87,12 @@ } "Entry" { + "MsmKey" = "8:_5FDFB39E71040234E587E8DA7C8CC637" + "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_673044C5656142EBAA86D07A36EFFF5A" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -171,8 +111,8 @@ } "Entry" { - "MsmKey" = "8:_942AAA28BB647CF0EF1C6137B296D4FE" - "OwnerKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" + "MsmKey" = "8:_9D1DE62ED9EB0FB3F2ECD76141BE40C3" + "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -183,30 +123,6 @@ } "Entry" { - "MsmKey" = "8:_A363B66FCAE3DB5C7CECA058D6C5B2B4" - "OwnerKey" = "8:_287894F290604710B0E99CD646021261" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AB8B779E801448568C9C2869BFA349A8" - "OwnerKey" = "8:_287894F290604710B0E99CD646021261" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AB8B779E801448568C9C2869BFA349A8" - "OwnerKey" = "8:_E256A97055264EB5B195F1414117D027" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AB8B779E801448568C9C2869BFA349A8" - "OwnerKey" = "8:_673044C5656142EBAA86D07A36EFFF5A" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_AC7940677AFA439D9D75C9827A0003A2" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -225,12 +141,6 @@ } "Entry" { - "MsmKey" = "8:_BC87E37B7AD8F9835E2A3AC4B4EDBC61" - "OwnerKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -249,24 +159,6 @@ } "Entry" { - "MsmKey" = "8:_F4666008B39640C79208F7C06910A8F3" - "OwnerKey" = "8:_10B736524B444A95B8CC8D36B521F980" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F4666008B39640C79208F7C06910A8F3" - "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F4666008B39640C79208F7C06910A8F3" - "OwnerKey" = "8:_11AE7CD5CB2A43E395B33FDD50522940" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { "MsmKey" = "8:_F7B461AAFB7641F699DAEAF49904A662" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -277,18 +169,6 @@ "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } - "Entry" - { - "MsmKey" = "8:_FD2F9BAB00E2CB44E03A93E604085DE2" - "OwnerKey" = "8:_0593B7A6B4D74017A43CC5F9741D078B" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FD2F9BAB00E2CB44E03A93E604085DE2" - "OwnerKey" = "8:_287894F290604710B0E99CD646021261" - "MsmSig" = "8:_UNDEFINED" - } } "Configurations" { @@ -507,10 +387,10 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_7871BAAF26D34E148CE9063C20620A7E" + "{A582A373-4685-4296-BEFE-614B80A702C3}:_5FDFB39E71040234E587E8DA7C8CC637" { - "SourcePath" = "8:..\\Release\\Switchbar Template.bmp" - "TargetName" = "8:Switchbar Template.bmp" + "SourcePath" = "8:MSVCP71D.dll" + "TargetName" = "8:MSVCP71D.dll" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" "Condition" = "8:" @@ -524,33 +404,13 @@ "PackageAs" = "3:1" "Register" = "3:1" "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_942AAA28BB647CF0EF1C6137B296D4FE" - { - "SourcePath" = "8:DDRAW.dll" - "TargetName" = "8:DDRAW.dll" - "Tag" = "8:" - "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_A363B66FCAE3DB5C7CECA058D6C5B2B4" + "{A582A373-4685-4296-BEFE-614B80A702C3}:_7871BAAF26D34E148CE9063C20620A7E" { - "SourcePath" = "8:comdlg32.dll" - "TargetName" = "8:comdlg32.dll" + "SourcePath" = "8:..\\Release\\Switchbar Template.bmp" + "TargetName" = "8:Switchbar Template.bmp" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" "Condition" = "8:" @@ -563,14 +423,14 @@ "SharedLegacy" = "11:FALSE" "PackageAs" = "3:1" "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_AB8B779E801448568C9C2869BFA349A8" + "{A582A373-4685-4296-BEFE-614B80A702C3}:_9D1DE62ED9EB0FB3F2ECD76141BE40C3" { - "SourcePath" = "8:ForceLibrary.dll" - "TargetName" = "8:ForceLibrary.dll" + "SourcePath" = "8:MSVCR71D.dll" + "TargetName" = "8:MSVCR71D.dll" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" "Condition" = "8:" @@ -583,7 +443,7 @@ "SharedLegacy" = "11:FALSE" "PackageAs" = "3:1" "Register" = "3:1" - "Exclude" = "11:TRUE" + "Exclude" = "11:FALSE" "IsDependency" = "11:TRUE" "IsolateTo" = "8:" } @@ -667,26 +527,6 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_FD2F9BAB00E2CB44E03A93E604085DE2" - { - "SourcePath" = "8:urlmon.dll" - "TargetName" = "8:urlmon.dll" - "Tag" = "8:" - "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:4" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } } "FileType" { @@ -764,13 +604,13 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Decal" - "ProductCode" = "8:{4C22590F-22B8-4413-B91D-0403B2F84979}" - "PackageCode" = "8:{02425DDD-557F-4817-A4A1-7B8CABD88F65}" + "ProductCode" = "8:{E86FBB39-9061-475A-B575-F8F9AC12DB74}" + "PackageCode" = "8:{FDDF2B93-4BCD-4991-A112-A9B755DB03EA}" "UpgradeCode" = "8:{3025AB1B-80B9-46B7-9CE9-9887ADA2914F}" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" - "ProductVersion" = "8:2.6.01" + "ProductVersion" = "8:2.6.02" "Manufacturer" = "8:Decal Developers" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:http://forums.acdev.org/" @@ -1288,20 +1128,6 @@ } "MergeModule" { - "{35A69C6E-5BA4-440D-803D-762B59A45393}:_F4666008B39640C79208F7C06910A8F3" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:TRUE" - "SourcePath" = "8:vc_user_atl71_rtl_x86_---.msm" - "Properties" - { - } - "LanguageId" = "3:0" - "Exclude" = "11:FALSE" - "Folder" = "8:" - "Feature" = "8:" - "IsolateTo" = "8:" - } } "ProjectOutput" { |
From: John D. <go...@us...> - 2003-09-13 17:57:11
|
Log Message: ----------- DSL Library Initial checkin Modified Files: -------------- /cvsroot/decaldev/source/DecalFilters: CharacterStats.cpp DecalFilters.idl DecalFiltersCP.h World.cpp Revision Data ------------- Index: CharacterStats.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/CharacterStats.cpp,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- CharacterStats.cpp 13 Aug 2003 22:41:31 -0000 1.44 +++ CharacterStats.cpp 13 Sep 2003 17:57:09 -0000 1.45 @@ -133,8 +133,6 @@ { USES_CONVERSION; - static _bstr_t strEvent( _T( "event" ) ); - long dwType; pMessage->get_Type( &dwType ); switch( dwType ) { Index: DecalFilters.idl =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/DecalFilters.idl,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- DecalFilters.idl 30 Aug 2003 16:57:22 -0000 1.35 +++ DecalFilters.idl 13 Sep 2003 17:57:09 -0000 1.36 @@ -606,6 +606,7 @@ [id(1), helpstring("method CreateObject")] HRESULT CreateObject(IWorldObject *pObject); [id(2), helpstring("method ReleaseObject")] HRESULT ReleaseObject(IWorldObject *pObject); [id(3), helpstring("method ChangeObject")] HRESULT ChangeObject(IWorldObject *pObject, BSTR Change); + [id(4), helpstring("method MovedObject")] HRESULT MoveObject(IWorldObject *pObject); }; [ Index: DecalFiltersCP.h =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/DecalFiltersCP.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- DecalFiltersCP.h 8 Dec 2001 11:28:45 -0000 1.6 +++ DecalFiltersCP.h 13 Sep 2003 17:57:09 -0000 1.7 @@ -181,6 +181,32 @@ return varResult.scode; } + HRESULT Fire_MovedObject(IWorldObject * pObject) + { + CComVariant varResult; + T* pT = static_cast<T*>(this); + int nConnectionIndex; + CComVariant* pvars = new CComVariant[1]; + int nConnections = m_vec.GetSize(); + + for (nConnectionIndex = 0; nConnectionIndex < nConnections; nConnectionIndex++) + { + pT->Lock(); + CComPtr<IUnknown> sp = m_vec.GetAt(nConnectionIndex); + pT->Unlock(); + IDispatch* pDispatch = reinterpret_cast<IDispatch*>(sp.p); + if (pDispatch != NULL) + { + VariantClear(&varResult); + pvars[0] = pObject; + DISPPARAMS disp = { pvars, NULL, 1, 0 }; + pDispatch->Invoke(0x4, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, &varResult, NULL, NULL); + } + } + delete[] pvars; + return varResult.scode; + + } HRESULT Fire_ChangeObject(IWorldObject * pObject, BSTR Change) { CComVariant varResult; Index: World.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/World.cpp,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- World.cpp 8 Sep 2003 03:14:31 -0000 1.53 +++ World.cpp 13 Sep 2003 17:57:09 -0000 1.54 @@ -1767,7 +1767,7 @@ // } // } pData->m_flags |= FLAG_LOCATION; - Fire_ChangeObject(pData->m_p, strLocationChange); + Fire_MovedObject(pData->m_p); } } |
From: Jeffrey D. <ha...@us...> - 2003-09-13 02:33:37
|
Log Message: ----------- talk to the hand... Modified Files: -------------- /cvsroot/decaldev/source/Decal: ACHooks.cpp Revision Data ------------- Index: ACHooks.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.cpp,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- ACHooks.cpp 9 Sep 2003 03:08:31 -0000 1.65 +++ ACHooks.cpp 13 Sep 2003 02:33:02 -0000 1.66 @@ -2167,7 +2167,11 @@ if( !m_bIdleLoc ) return S_FALSE; + DWORD dwOldProtect = 0; + DWORD dwNewProtect = PAGE_READWRITE; + VirtualProtect( reinterpret_cast< void * >( m_lIdleLoc ), 8 /* sizeof double */, dwNewProtect, &dwOldProtect ); *( reinterpret_cast< double * >( m_lIdleLoc ) ) = dIdleTimeout; + VirtualProtect( reinterpret_cast< void * >( m_lIdleLoc ), 8 /* sizeof double */, dwOldProtect, &dwNewProtect ); return S_OK; } |
From: John D. <go...@us...> - 2003-09-11 01:33:59
|
Log Message: ----------- DSL Library Initial checkin Added Files: ----------- /cvsroot/decaldev/source/DecalSupportLibraries/DSLSetup: DSLSetup.vdproj /cvsroot/decaldev/source/DecalSupportLibraries: DecalSupportLibraries.cpp DecalSupportLibraries.h DecalSupportLibraries.idl DecalSupportLibraries.rc DecalSupportLibraries.reg DecalSupportLibraries.sln DecalSupportLibraries.vcproj DecalSupportLibrariesDlg.cpp DecalSupportLibrariesDlg.h DlgProxy.cpp DlgProxy.h ReadMe.txt Resource.h stdafx.cpp stdafx.h /cvsroot/decaldev/source/DecalSupportLibraries/res: DecalSupportLibraries.ico DecalSupportLibraries.manifest DecalSupportLibraries.rc2 Revision Data ------------- --- NEW FILE: DSLSetup.vdproj --- "DeployProject" { "VSVersion" = "3:700" "ProjectType" = "8:{5443560c-dbb4-11d2-8724-00a0c9a8b90c}" "IsWebType" = "8:FALSE" "ProjectName" = "8:DSLSetup" "LanguageId" = "3:1033" "CodePage" = "3:1252" "UILanguageId" = "3:1033" "SccProjectName" = "8:" "SccLocalPath" = "8:" "SccAuxPath" = "8:" "SccProvider" = "8:" "Hierarchy" { "Entry" { "MsmKey" = "8:_42D5FF05AE1E4B97A2C1ED6BEBECE84C" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:VC_User_CRT.BA9B6D09_0DE0_11D5_A548_0090278A1BB8" } "Entry" { "MsmKey" = "8:_42D5FF05AE1E4B97A2C1ED6BEBECE84C" "OwnerKey" = "8:_7DA4A71F64B2445E89E9400659E428B3" "MsmSig" = "8:VC_User_CRT.BA9B6D09_0DE0_11D5_A548_0090278A1BB8" } "Entry" { "MsmKey" = "8:_47564ED156C34AE799935495C7305D36" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:VC_User_MFC.BA9B6D6E_0DE0_11D5_A548_0090278A1BB8" } "Entry" { "MsmKey" = "8:_47564ED156C34AE799935495C7305D36" "OwnerKey" = "8:_7DA4A71F64B2445E89E9400659E428B3" "MsmSig" = "8:VC_User_MFC.BA9B6D6E_0DE0_11D5_A548_0090278A1BB8" } "Entry" { "MsmKey" = "8:_7DA4A71F64B2445E89E9400659E428B3" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:C:\\DOCUMENTS AND SETTINGS\\JOHN\\MY DOCUMENTS\\MYPROJECTS\\DECALSUPPORTLIBRARIES\\DEBUG\\DECALSUPPORTLIBRARIES.EXE" } "Entry" { "MsmKey" = "8:_93B4D2495A4A4A5F80751EAFD5B53DE0" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:VC_User_ATL.BA9B6DD3_0DE0_11D5_A548_0090278A1BB8" } "Entry" { "MsmKey" = "8:_C64C6FF01F864BADA89FFE8B5C056FAB" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:VC_User_STL.BA9B76E9_0DE0_11D5_A548_0090278A1BB8" } "Entry" { "MsmKey" = "8:_C64C6FF01F864BADA89FFE8B5C056FAB" "OwnerKey" = "8:_7DA4A71F64B2445E89E9400659E428B3" "MsmSig" = "8:VC_User_STL.BA9B76E9_0DE0_11D5_A548_0090278A1BB8" } } "Configurations" { "Debug" { "DisplayName" = "8:Debug" "IsDebugOnly" = "11:TRUE" "IsReleaseOnly" = "11:FALSE" "OutputFilename" = "8:Debug\\DSLSetup.msi" "PackageFilesAs" = "3:2" "PackageFileSize" = "3:-2147483648" "CabType" = "3:1" "Compression" = "3:2" "SignOutput" = "11:FALSE" "CertificateFile" = "8:" "PrivateKeyFile" = "8:" "TimeStampServer" = "8:" "InstallerBootstrapper" = "3:2" } "Release" { "DisplayName" = "8:Release" "IsDebugOnly" = "11:FALSE" "IsReleaseOnly" = "11:TRUE" "OutputFilename" = "8:Release\\DSLSetup.msi" "PackageFilesAs" = "3:2" "PackageFileSize" = "3:-2147483648" "CabType" = "3:1" "Compression" = "3:2" "SignOutput" = "11:FALSE" "CertificateFile" = "8:" "PrivateKeyFile" = "8:" "TimeStampServer" = "8:" "InstallerBootstrapper" = "3:2" } } "Deployable" { "CustomAction" { } "DefaultFeature" { "Name" = "8:DefaultFeature" "Title" = "8:" "Description" = "8:" } "Feature" { } "File" { } "FileType" { } "Folder" { "{777C097F-0ED8-11D3-8D6C-00A0C9CFCEE6}:_13100C8A909B432AA2396FDDE8D5C75B" { "Name" = "8:#1914" "AlwaysCreate" = "11:FALSE" "Condition" = "8:" "Transitive" = "11:FALSE" "Property" = "8:SystemFolder" "Folders" { } } "{EE62640D-12F2-11D3-8D6C-00A0C9CFCEE6}:_4A04CBCDF5074610AC31E64A5B766C8E" { "DefaultLocation" = "8:[ProgramFilesFolder]Decal" "Name" = "8:#1925" "AlwaysCreate" = "11:FALSE" "Condition" = "8:" "Transitive" = "11:FALSE" "Property" = "8:TARGETDIR" "Folders" { } } } "LaunchCondition" { } "Locator" { } "Shortcut" { } "Sequences" { } "Registry" { "HKLM" { "Keys" { "{7DF0CD0A-FF27-11D2-8D6B-00A0C9CFCEE6}:_2A4905977C6A4A9A850BA928ECC52C23" { "Name" = "8:Software" "Condition" = "8:" "AlwaysCreate" = "11:FALSE" "DeleteAtUninstall" = "11:FALSE" "Transitive" = "11:FALSE" "Keys" { "{7DF0CD0A-FF27-11D2-8D6B-00A0C9CFCEE6}:_81FA24843D5845628CFC66160B04F6C9" { "Name" = "8:[Manufacturer]" "Condition" = "8:" "AlwaysCreate" = "11:FALSE" "DeleteAtUninstall" = "11:FALSE" "Transitive" = "11:FALSE" "Keys" { } "Values" { } } } "Values" { } } } } "HKCU" { "Keys" { "{7DF0CD0A-FF27-11D2-8D6B-00A0C9CFCEE6}:_3D5EBE5D1DF343FABD4A43584DED4154" { "Name" = "8:Software" "Condition" = "8:" "AlwaysCreate" = "11:FALSE" "DeleteAtUninstall" = "11:FALSE" "Transitive" = "11:FALSE" "Keys" { "{7DF0CD0A-FF27-11D2-8D6B-00A0C9CFCEE6}:_AB09CDDA22634C0BA176D6A3731CD7C3" { "Name" = "8:[Manufacturer]" "Condition" = "8:" "AlwaysCreate" = "11:FALSE" "DeleteAtUninstall" = "11:FALSE" "Transitive" = "11:FALSE" "Keys" { } "Values" { } } } "Values" { } } } } "HKCR" { "Keys" { } } "HKU" { "Keys" { } } "HKPU" { "Keys" { } } } "ProjectOutput" { "{B1E2BB22-187D-11D3-8E02-00C04F6837D0}:_7DA4A71F64B2445E89E9400659E428B3" { "SourcePath" = "8:..\\Release\\DecalSupportLibraries.exe" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_4A04CBCDF5074610AC31E64A5B766C8E" "Condition" = "8:" "Transitive" = "11:FALSE" "Vital" = "11:TRUE" "ReadOnly" = "11:FALSE" "Hidden" = "11:FALSE" "System" = "11:FALSE" "Permanent" = "11:FALSE" "SharedLegacy" = "11:FALSE" "PackageAs" = "3:1" "Register" = "3:1" "Exclude" = "11:FALSE" "IsDependency" = "11:FALSE" "IsolateTo" = "8:" "ProjectOutputGroupRegister" = "3:1" "OutputConfiguration" = "8:" "OutputGroupCanonicalName" = "8:Built" "OutputProjectCanonicalName" = "8:DecalSupportLibraries.vcproj" "OutputProjectGuid" = "8:{360B2C0C-FF38-4582-83DC-9BCE1EA2D6D8}" "ShowKeyOutput" = "11:TRUE" "ExcludeFilters" { } } } "Product" { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Decal Support Libraries" "ProductCode" = "8:{F3C02240-56F8-44B6-AFD7-5671A6A51757}" "PackageCode" = "8:{36FEA07A-84B6-4C0F-AF47-A2AFCF86530C}" "UpgradeCode" = "8:{6E5CFD21-C666-4D69-914C-5B86388C0159}" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "ProductVersion" = "8:1.0.1" "Manufacturer" = "8:Decal" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:" "Title" = "8:Install Decal Support Libraries" "Subject" = "8:" "ARPCONTACT" = "8:DecalDevs" "Keywords" = "8:" "ARPCOMMENTS" = "8:" "ARPURLINFOABOUT" = "8:http://decaldev.sf.net" "ARPPRODUCTICON" = "8:" "ARPIconIndex" = "3:0" "SearchPath" = "8:" "UseSystemSearchPath" = "11:TRUE" } "MsiBootstrapper" { "LangId" = "3:1033" } "MergeModule" { "{AC8774A4-3E09-11D3-8E14-00C04F6837D0}:_42D5FF05AE1E4B97A2C1ED6BEBECE84C" { "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:C:\\Program Files\\Common Files\\Merge Modules\\VC_CRT.msm" "ModuleSignature" = "8:VC_User_CRT.BA9B6D09_0DE0_11D5_A548_0090278A1BB8" "Properties" { "DIR_RETARGET_TARGETDIR" { "Name" = "8:DIR_RETARGET_TARGETDIR" "DisplayName" = "8:Module Retargetable Folder" "Description" = "8:" "Type" = "3:10" "ContextData" = "8:IsolationDir" "Attributes" = "3:6" "Setting" = "3:2" "Value" = "8:_13100C8A909B432AA2396FDDE8D5C75B" "UsePlugInResources" = "11:FALSE" } } "LanguageId" = "3:0" "Exclude" = "11:FALSE" "Folder" = "8:" "Feature" = "8:" "IsolateTo" = "8:" } "{AC8774A4-3E09-11D3-8E14-00C04F6837D0}:_47564ED156C34AE799935495C7305D36" { "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:C:\\Program Files\\Common Files\\Merge Modules\\VC_MFC.msm" "ModuleSignature" = "8:VC_User_MFC.BA9B6D6E_0DE0_11D5_A548_0090278A1BB8" "Properties" { "DIR_RETARGET_TARGETDIR" { "Name" = "8:DIR_RETARGET_TARGETDIR" "DisplayName" = "8:Module Retargetable Folder" "Description" = "8:" "Type" = "3:10" "ContextData" = "8:IsolationDir" "Attributes" = "3:6" "Setting" = "3:2" "Value" = "8:_13100C8A909B432AA2396FDDE8D5C75B" "UsePlugInResources" = "11:FALSE" } } "LanguageId" = "3:0" "Exclude" = "11:FALSE" "Folder" = "8:" "Feature" = "8:" "IsolateTo" = "8:" } "{AC8774A4-3E09-11D3-8E14-00C04F6837D0}:_93B4D2495A4A4A5F80751EAFD5B53DE0" { "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:C:\\Program Files\\Common Files\\Merge Modules\\VC_atl70.msm" "ModuleSignature" = "8:VC_User_ATL.BA9B6DD3_0DE0_11D5_A548_0090278A1BB8" "Properties" { "DIR_RETARGET_TARGETDIR" { "Name" = "8:DIR_RETARGET_TARGETDIR" "DisplayName" = "8:Module Retargetable Folder" "Description" = "8:" "Type" = "3:10" "ContextData" = "8:IsolationDir" "Attributes" = "3:6" "Setting" = "3:2" "Value" = "8:_13100C8A909B432AA2396FDDE8D5C75B" "UsePlugInResources" = "11:FALSE" } } "LanguageId" = "3:0" "Exclude" = "11:FALSE" "Folder" = "8:" "Feature" = "8:" "IsolateTo" = "8:" } "{AC8774A4-3E09-11D3-8E14-00C04F6837D0}:_C64C6FF01F864BADA89FFE8B5C056FAB" { "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:C:\\Program Files\\Common Files\\Merge Modules\\VC_STL.msm" "ModuleSignature" = "8:VC_User_STL.BA9B76E9_0DE0_11D5_A548_0090278A1BB8" "Properties" { "DIR_RETARGET_TARGETDIR" { "Name" = "8:DIR_RETARGET_TARGETDIR" "DisplayName" = "8:Module Retargetable Folder" "Description" = "8:" "Type" = "3:10" "ContextData" = "8:IsolationDir" "Attributes" = "3:6" "Setting" = "3:2" "Value" = "8:_13100C8A909B432AA2396FDDE8D5C75B" "UsePlugInResources" = "11:FALSE" } } "LanguageId" = "3:0" "Exclude" = "11:FALSE" "Folder" = "8:" "Feature" = "8:" "IsolateTo" = "8:" } } "UserInterface" { "{7DFFC192-4ABE-11D3-8D78-00A0C9CFCEE6}:_2269732C60624C2CB8D5964130FE964E" { "Name" = "8:#1901" "Sequence" = "3:2" "Attributes" = "3:2" "Dialogs" { "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_2744A39837D94568A5B4BB0CB04F4DC5" { "Sequence" = "3:100" "DisplayName" = "8:Progress" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdAdminProgressDlg.wid" "ModuleSignature" = "8:VsdDialogs.EE9A1AFA_41DD_4514_B727_DF0ACA1D7389" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } "ShowProgress" { "Name" = "8:ShowProgress" "DisplayName" = "8:#1009" "Description" = "8:#1109" "Type" = "3:5" "ContextData" = "8:1;True=1;False=0" "Attributes" = "3:0" "Setting" = "3:0" "Value" = "3:1" "DefaultValue" = "3:1" "UsePlugInResources" = "11:TRUE" } } } } } "{7DFFC192-4ABE-11D3-8D78-00A0C9CFCEE6}:_2AB94671354B4B54B92649390DB71A80" { "Name" = "8:#1900" "Sequence" = "3:1" "Attributes" = "3:1" "Dialogs" { "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_0FB6E69598B248049BC2918171EC15B1" { "Sequence" = "3:300" "DisplayName" = "8:Confirm Installation" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdConfirmDlg.wid" "ModuleSignature" = "8:VsdDialogs.6DBC9783_3677_4D68_8BF5_D749558A0AC1" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } } } "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_97D21D7FA0CC4633B3A59CE91385650F" { "Sequence" = "3:200" "DisplayName" = "8:Installation Folder" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdFolderDlg.wid" "ModuleSignature" = "8:VsdDialogs.C113BC36_2532_4D45_8099_4818B1133B2F" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } } } "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_D1C4E7CAC18840C2B899A363518DBDCF" { "Sequence" = "3:100" "DisplayName" = "8:Welcome" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdWelcomeDlg.wid" "ModuleSignature" = "8:VsdDialogs.68F69290_BB7C_474E_A153_6679845F3DDF" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } "CopyrightWarning" { "Name" = "8:CopyrightWarning" "DisplayName" = "8:#1002" "Description" = "8:#1102" "Type" = "3:3" "ContextData" = "8:" "Attributes" = "3:0" "Setting" = "3:1" "Value" = "8:#1202" "DefaultValue" = "8:#1202" "UsePlugInResources" = "11:TRUE" } "Welcome" { "Name" = "8:Welcome" "DisplayName" = "8:#1003" "Description" = "8:#1103" "Type" = "3:3" "ContextData" = "8:" "Attributes" = "3:0" "Setting" = "3:1" "Value" = "8:#1203" "DefaultValue" = "8:#1203" "UsePlugInResources" = "11:TRUE" } } } } } "{7DFFC192-4ABE-11D3-8D78-00A0C9CFCEE6}:_371ADE88DFF04424A6C23FCCF18FB1B9" { "Name" = "8:#1900" "Sequence" = "3:2" "Attributes" = "3:1" "Dialogs" { "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_193C4631B4414DAF957A656FB4850F8E" { "Sequence" = "3:200" "DisplayName" = "8:Installation Folder" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdAdminFolderDlg.wid" "ModuleSignature" = "8:VsdDialogs.2DED2424_5429_4616_A1AD_4D62837C2ADA" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } } } "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_B363F8DAD34C40F787C39353F3325CA7" { "Sequence" = "3:100" "DisplayName" = "8:Welcome" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdAdminWelcomeDlg.wid" "ModuleSignature" = "8:VsdDialogs.E35A0E2C_F131_4B57_B946_59A1A2A8F45F" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } "CopyrightWarning" { "Name" = "8:CopyrightWarning" "DisplayName" = "8:#1002" "Description" = "8:#1102" "Type" = "3:3" "ContextData" = "8:" "Attributes" = "3:0" "Setting" = "3:1" "Value" = "8:#1202" "DefaultValue" = "8:#1202" "UsePlugInResources" = "11:TRUE" } "Welcome" { "Name" = "8:Welcome" "DisplayName" = "8:#1003" "Description" = "8:#1103" "Type" = "3:3" "ContextData" = "8:" "Attributes" = "3:0" "Setting" = "3:1" "Value" = "8:#1203" "DefaultValue" = "8:#1203" "UsePlugInResources" = "11:TRUE" } } } "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_FA13848DFB6741FF9F5C1508F8CF8C3F" { "Sequence" = "3:300" "DisplayName" = "8:Confirm Installation" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdAdminConfirmDlg.wid" "ModuleSignature" = "8:VsdDialogs.FA58E60A_A1E8_4876_95FC_2AC3B5AAA5F8" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } } } } } "{7DFFC192-4ABE-11D3-8D78-00A0C9CFCEE6}:_691ED02423E24A759B7B604B9CC93354" { "Name" = "8:#1902" "Sequence" = "3:2" "Attributes" = "3:3" "Dialogs" { "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_6BA78C0AFAF04EB3AE534DD09CE2C047" { "Sequence" = "3:100" "DisplayName" = "8:Finished" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdAdminFinishedDlg.wid" "ModuleSignature" = "8:VsdDialogs.83D22742_1B79_46f6_9A99_DF0F2BD4C077" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } } } } } "{7DFFC192-4ABE-11D3-8D78-00A0C9CFCEE6}:_C0BFAB6F351C4573A2A3A510C7AABF59" { "Name" = "8:#1901" "Sequence" = "3:1" "Attributes" = "3:2" "Dialogs" { "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_38C4C3FEC08A4C95A6C1468EB7F8C531" { "Sequence" = "3:100" "DisplayName" = "8:Progress" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdProgressDlg.wid" "ModuleSignature" = "8:VsdDialogs.4FB12620_0D15_42D0_8677_2766FFA6923F" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } "ShowProgress" { "Name" = "8:ShowProgress" "DisplayName" = "8:#1009" "Description" = "8:#1109" "Type" = "3:5" "ContextData" = "8:1;True=1;False=0" "Attributes" = "3:0" "Setting" = "3:0" "Value" = "3:1" "DefaultValue" = "3:1" "UsePlugInResources" = "11:TRUE" } } } } } "{E4ECAB26-4AB7-11D3-8D78-00A0C9CFCEE6}:_D8BB020279BA432D966BBE81E4CA6F73" { "UseDynamicProperties" = "11:FALSE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdBasicDialogs.wim" "ModuleSignature" = "8:VsdDialogs.CE4B864F_F1C1_4B85_98D4_2A2BF5FFB12B" } "{E4ECAB26-4AB7-11D3-8D78-00A0C9CFCEE6}:_EDE8A9C6957147348D588707FAECE50C" { "UseDynamicProperties" = "11:FALSE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdUserInterface.wim" "ModuleSignature" = "8:VsdUserInterface.524F4245_5254_5341_4C45_534153783400" } "{7DFFC192-4ABE-11D3-8D78-00A0C9CFCEE6}:_F581651EBBAF4B34B9E30B8B6BF27846" { "Name" = "8:#1902" "Sequence" = "3:1" "Attributes" = "3:3" "Dialogs" { "{E4ECAB24-4AB7-11D3-8D78-00A0C9CFCEE6}:_B4F438F39A7B4B1E8696EBFA316168E9" { "Sequence" = "3:100" "DisplayName" = "8:Finished" "UseDynamicProperties" = "11:TRUE" "IsDependency" = "11:FALSE" "SourcePath" = "8:<VsdDialogDir>\\VsdFinishedDlg.wid" "ModuleSignature" = "8:VsdDialogs.1DB77F5A_BA5C_4470_89B6_0B0EC07E3A10" "Properties" { "BannerBitmap" { "Name" = "8:BannerBitmap" "DisplayName" = "8:#1001" "Description" = "8:#1101" "Type" = "3:8" "ContextData" = "8:Bitmap" "Attributes" = "3:4" "Setting" = "3:1" "UsePlugInResources" = "11:TRUE" } } } } } } } } --- NEW FILE: DecalSupportLibraries.cpp --- // DecalSupportLibraries.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "DecalSupportLibraries.h" #include "DecalSupportLibrariesDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CDecalSupportLibrariesApp BEGIN_MESSAGE_MAP(CDecalSupportLibrariesApp, CWinApp) ON_COMMAND(ID_HELP, CWinApp::OnHelp) END_MESSAGE_MAP() // CDecalSupportLibrariesApp construction CDecalSupportLibrariesApp::CDecalSupportLibrariesApp() { // TODO: add construction code here, // Place all significant initialization in InitInstance } // The one and only CDecalSupportLibrariesApp object CDecalSupportLibrariesApp theApp; const GUID CDECL BASED_CODE _tlid = { 0x24241FCB, 0x6DD4, 0x4B97, { 0x8C, 0x1F, 0x88, 0xA2, 0x30, 0x84, 0xAF, 0xA5 } }; const WORD _wVerMajor = 1; const WORD _wVerMinor = 0; // CDecalSupportLibrariesApp initialization BOOL CDecalSupportLibrariesApp::InitInstance() { // InitCommonControls() is required on Windows XP if an application // manifest specifies use of ComCtl32.dll version 6 or later to enable // visual styles. Otherwise, any window creation will fail. InitCommonControls(); CWinApp::InitInstance(); // Initialize OLE libraries if (!AfxOleInit()) { AfxMessageBox(IDP_OLE_INIT_FAILED); return FALSE; } AfxEnableControlContainer(); // Parse command line for automation or reg/unreg switches. CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); // App was launched with /Embedding or /Automation switch. // Run app as automation server. if (cmdInfo.m_bRunEmbedded || cmdInfo.m_bRunAutomated) { // Register class factories via CoRegisterClassObject(). COleTemplateServer::RegisterAll(); } // App was launched with /Unregserver or /Unregister switch. Remove // entries from the registry. else if (cmdInfo.m_nShellCommand == CCommandLineInfo::AppUnregister) { COleObjectFactory::UpdateRegistryAll(FALSE); AfxOleUnregisterTypeLib(_tlid, _wVerMajor, _wVerMinor); return FALSE; } // App was launched standalone or with other switches (e.g. /Register // or /Regserver). Update registry entries, including typelibrary. else { COleObjectFactory::UpdateRegistryAll(); AfxOleRegisterTypeLib(AfxGetInstanceHandle(), _tlid); if (cmdInfo.m_nShellCommand == CCommandLineInfo::AppRegister) return FALSE; } CDecalSupportLibrariesDlg dlg; m_pMainWnd = &dlg; INT_PTR nResponse = dlg.DoModal(); if (nResponse == IDOK) { // TODO: Place code here to handle when the dialog is // dismissed with OK } else if (nResponse == IDCANCEL) { // TODO: Place code here to handle when the dialog is // dismissed with Cancel } // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application's message pump. return FALSE; } --- NEW FILE: DecalSupportLibraries.h --- // DecalSupportLibraries.h : main header file for the PROJECT_NAME application // #pragma once #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols // CDecalSupportLibrariesApp: // See DecalSupportLibraries.cpp for the implementation of this class // class CDecalSupportLibrariesApp : public CWinApp { public: CDecalSupportLibrariesApp(); // Overrides public: virtual BOOL InitInstance(); // Implementation DECLARE_MESSAGE_MAP() }; extern CDecalSupportLibrariesApp theApp;--- NEW FILE: DecalSupportLibraries.idl --- // DecalSupportLibraries.idl : type library source for DecalSupportLibraries.exe // This file will be processed by the MIDL compiler to produce the // type library (DecalSupportLibraries.tlb). [ uuid(24241FCB-6DD4-4B97-8C1F-88A23084AFA5), version(1.0) ] library DecalSupportLibraries { importlib("stdole32.tlb"); importlib("stdole2.tlb"); // Primary dispatch interface for CDecalSupportLibrariesDoc [ uuid(586E5AC4-7A88-4CFA-B075-2D7F0E70250D) ] dispinterface IDecalSupportLibraries { properties: methods: }; // Class information for CDecalSupportLibrariesDoc [ uuid(29FC66D6-DFC1-45D0-87AD-52D44949DCBC) ] coclass DecalSupportLibraries { [default] dispinterface IDecalSupportLibraries; }; }; --- NEW FILE: DecalSupportLibraries.rc --- // Microsoft Visual C++ generated resource script. // #include "resource.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #include "afxres.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // English (U.S.) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE BEGIN "resource.h\0" END 2 TEXTINCLUDE BEGIN "#include ""afxres.h""\r\n" "\0" END 3 TEXTINCLUDE BEGIN "#define _AFX_NO_SPLITTER_RESOURCES\r\n" "#define _AFX_NO_OLE_RESOURCES\r\n" "#define _AFX_NO_TRACKER_RESOURCES\r\n" "#define _AFX_NO_PROPERTY_RESOURCES\r\n" "\r\n" "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" "LANGUAGE 9, 1\r\n" "#pragma code_page(1252)\r\n" "#include ""res\\DecalSupportLibraries.rc2"" // non-Microsoft Visual C++ edited resources\r\n" "#include ""afxres.rc"" // Standard components\r\n" "#endif\r\n" "1 TYPELIB ""DecalSupportLibraries.tlb""\r\n" "\0" END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Icon // // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDR_MAINFRAME ICON "res\\DecalSupportLibraries.ico" ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_ABOUTBOX DIALOGEX 0, 0, 235, 55 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "About DecalSupportLibraries" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 LTEXT "DecalSupportLibraries Version 1.0",IDC_STATIC,40,10,119, 8,SS_NOPREFIX LTEXT "Copyright (C) 2003",IDC_STATIC,40,25,119,8 DEFPUSHBUTTON "OK",IDOK,178,7,50,16,WS_GROUP END IDD_DECALSUPPORTLIBRARIES_DIALOG DIALOGEX 0, 0, 193, 46 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_APPWINDOW CAPTION "DSL 1.0" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN DEFPUSHBUTTON "OK",IDOK,71,23,50,16 CTEXT "Decal Support Libraries Vsn 1.0 are Installed.", IDC_STATIC,7,7,179,8 END ///////////////////////////////////////////////////////////////////////////// // // Version // VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,1 PRODUCTVERSION 1,0,0,1 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif FILEOS 0x4L FILETYPE 0x1L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904e4" BEGIN VALUE "CompanyName", "TODO: <Company name>" VALUE "FileDescription", "TODO: <File description>" VALUE "FileVersion", "1.0.0.1" VALUE "InternalName", "DecalSupportLibraries.exe" VALUE "LegalCopyright", "TODO: (c) <Company name>. All rights reserved." VALUE "OriginalFilename", "DecalSupportLibraries.exe" VALUE "ProductName", "TODO: <Product name>" VALUE "ProductVersion", "1.0.0.1" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 1252 END END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO BEGIN IDD_ABOUTBOX, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 228 TOPMARGIN, 7 BOTTOMMARGIN, 48 END IDD_DECALSUPPORTLIBRARIES_DIALOG, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 186 TOPMARGIN, 7 BOTTOMMARGIN, 39 END END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // RT_MANIFEST // IDR_MANIFEST RT_MANIFEST "res\\DecalSupportLibraries.manifest" ///////////////////////////////////////////////////////////////////////////// // // String Table // STRINGTABLE BEGIN IDP_OLE_INIT_FAILED "OLE initialization failed. Make sure that the OLE libraries are the correct version." IDS_ABOUTBOX "&About DecalSupportLibraries..." END #endif // English (U.S.) resources ///////////////////////////////////////////////////////////////////////////// #ifndef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 3 resource. // #define _AFX_NO_SPLITTER_RESOURCES #define _AFX_NO_OLE_RESOURCES #define _AFX_NO_TRACKER_RESOURCES #define _AFX_NO_PROPERTY_RESOURCES #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) LANGUAGE 9, 1 #pragma code_page(1252) #include "res\DecalSupportLibraries.rc2" // non-Microsoft Visual C++ edited resources #include "afxres.rc" // Standard components #endif 1 TYPELIB "DecalSupportLibraries.tlb" ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED --- NEW FILE: DecalSupportLibraries.reg --- REGEDIT ; This .REG file may be used by your SETUP program. ; If a SETUP program is not available, the entries below will be ; registered in your InitInstance automatically with a call to ; CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll. HKEY_CLASSES_ROOT\DecalSupportLibraries.Application = DecalSupportLibraries Application HKEY_CLASSES_ROOT\DecalSupportLibraries.Application\CLSID = {29FC66D6-DFC1-45D0-87AD-52D44949DCBC} HKEY_CLASSES_ROOT\CLSID\{29FC66D6-DFC1-45D0-87AD-52D44949DCBC} = DecalSupportLibraries Application HKEY_CLASSES_ROOT\CLSID\{29FC66D6-DFC1-45D0-87AD-52D44949DCBC}\ProgId = DecalSupportLibraries.Application HKEY_CLASSES_ROOT\CLSID\{29FC66D6-DFC1-45D0-87AD-52D44949DCBC}\LocalServer32 = DecalSupportLibraries.EXE --- NEW FILE: DecalSupportLibraries.sln --- Microsoft Visual Studio Solution File, Format Version 7.00 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DecalSupportLibraries", "DecalSupportLibraries.vcproj", "{360B2C0C-FF38-4582-83DC-9BCE1EA2D6D8}" EndProject Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "DSLSetup", "DSLSetup\DSLSetup.vdproj", "{F5C00DF4-0DB7-45F8-B9C2-FA3EAFF4A60D}" EndProject Global GlobalSection(SolutionConfiguration) = preSolution ConfigName.0 = Debug ConfigName.1 = Release EndGlobalSection GlobalSection(ProjectDependencies) = postSolution EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution {360B2C0C-FF38-4582-83DC-9BCE1EA2D6D8}.Debug.ActiveCfg = Debug|Win32 {360B2C0C-FF38-4582-83DC-9BCE1EA2D6D8}.Debug.Build.0 = Debug|Win32 {360B2C0C-FF38-4582-83DC-9BCE1EA2D6D8}.Release.ActiveCfg = Release|Win32 {360B2C0C-FF38-4582-83DC-9BCE1EA2D6D8}.Release.Build.0 = Release|Win32 {F5C00DF4-0DB7-45F8-B9C2-FA3EAFF4A60D}.Debug.ActiveCfg = Debug {F5C00DF4-0DB7-45F8-B9C2-FA3EAFF4A60D}.Release.ActiveCfg = Release {F5C00DF4-0DB7-45F8-B9C2-FA3EAFF4A60D}.Release.Build.0 = Release EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection GlobalSection(ExtensibilityAddIns) = postSolution EndGlobalSection EndGlobal --- NEW FILE: DecalSupportLibraries.vcproj --- <?xml version="1.0" encoding = "Windows-1252"?> <VisualStudioProject ProjectType="Visual C++" Version="7.00" Name="DecalSupportLibraries" ProjectGUID="{360B2C0C-FF38-4582-83DC-9BCE1EA2D6D8}" Keyword="MFCProj"> <Platforms> <Platform Name="Win32"/> </Platforms> <Configurations> <Configuration Name="Debug|Win32" OutputDirectory="Debug" IntermediateDirectory="Debug" ConfigurationType="1" UseOfMFC="2" CharacterSet="2"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG" MinimalRebuild="TRUE" BasicRuntimeChecks="3" RuntimeLibrary="3" TreatWChar_tAsBuiltInType="TRUE" UsePrecompiledHeader="3" WarningLevel="3" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="4"/> <Tool Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" LinkIncremental="2" GenerateDebugInformation="TRUE" SubSystem="2" TargetMachine="1"/> <Tool Name="VCMIDLTool" PreprocessorDefinitions="_DEBUG" MkTypLibCompatible="FALSE" TypeLibraryName="$(IntDir)/$(ProjectName).tlb"/> <Tool Name="VCPostBuildEventTool" Description="Performing registration" CommandLine=""$(TargetPath)" /RegServer"/> <Tool Name="VCPreBuildEventTool"/> <Tool Name="VCPreLinkEventTool"/> <Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_DEBUG" Culture="1033" AdditionalIncludeDirectories="$(IntDir)"/> <Tool Name="VCWebServiceProxyGeneratorTool"/> <Tool Name="VCWebDeploymentTool"/> </Configuration> <Configuration Name="Release|Win32" OutputDirectory="Release" IntermediateDirectory="Release" ConfigurationType="1" UseOfMFC="2" CharacterSet="2"> <Tool Name="VCCLCompilerTool" Optimization="2" InlineFunctionExpansion="1" OmitFramePointers="TRUE" PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG" StringPooling="TRUE" MinimalRebuild="FALSE" RuntimeLibrary="2" EnableFunctionLevelLinking="TRUE" TreatWChar_tAsBuiltInType="TRUE" UsePrecompiledHeader="3" WarningLevel="3" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="3"/> <Tool Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" LinkIncremental="1" GenerateDebugInformation="TRUE" SubSystem="2" OptimizeReferences="2" EnableCOMDATFolding="2" TargetMachine="1"/> <Tool Name="VCMIDLTool" PreprocessorDefinitions="NDEBUG" MkTypLibCompatible="FALSE" TypeLibraryName="$(IntDir)/$(ProjectName).tlb"/> <Tool Name="VCPostBuildEventTool" Description="Performing registration" CommandLine=""$(TargetPath)" /RegServer"/> <Tool Name="VCPreBuildEventTool"/> <Tool Name="VCPreLinkEventTool"/> <Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="NDEBUG" Culture="1033" AdditionalIncludeDirectories="$(IntDir)"/> <Tool Name="VCWebServiceProxyGeneratorTool"/> <Tool Name="VCWebDeploymentTool"/> </Configuration> </Configurations> <Files> <Filter Name="Source Files" Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"> <File RelativePath="DecalSupportLibraries.cpp"> </File> <File RelativePath="DecalSupportLibraries.idl"> </File> <File RelativePath="DecalSupportLibrariesDlg.cpp"> </File> <File RelativePath="DlgProxy.cpp"> </File> <File RelativePath="stdafx.cpp"> <FileConfiguration Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" UsePrecompiledHeader="1"/> </FileConfiguration> <FileConfiguration Name="Release|Win32"> <Tool Name="VCCLCompilerTool" UsePrecompiledHeader="1"/> </FileConfiguration> </File> </Filter> <Filter Name="Header Files" Filter="h;hpp;hxx;hm;inl;inc"> <File RelativePath="DecalSupportLibraries.h"> </File> <File RelativePath="DecalSupportLibrariesDlg.h"> </File> <File RelativePath="DlgProxy.h"> </File> <File RelativePath="Resource.h"> </File> <File RelativePath="stdafx.h"> </File> </Filter> <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;manifest"> <File RelativePath="res\DecalSupportLibraries.ico"> </File> <File RelativePath="res\DecalSupportLibraries.manifest"> </File> <File RelativePath="DecalSupportLibraries.rc"> </File> <File RelativePath="res\DecalSupportLibraries.rc2"> </File> </Filter> <File RelativePath="DecalSupportLibraries.reg"> </File> <File RelativePath="ReadMe.txt"> </File> </Files> <Globals> </Globals> </VisualStudioProject> --- NEW FILE: DecalSupportLibrariesDlg.cpp --- // DecalSupportLibrariesDlg.cpp : implementation file // #include "stdafx.h" #include "DecalSupportLibraries.h" #include "DecalSupportLibrariesDlg.h" #include "DlgProxy.h" #include "string" #ifdef _DEBUG #define new DEBUG_NEW #endif // CAboutDlg dialog used for App About class CAboutDlg : public CDialog { public: CAboutDlg(); // Dialog Data enum { IDD = IDD_ABOUTBOX }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: DECLARE_MESSAGE_MAP() }; CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) { } void CAboutDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); } BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) END_MESSAGE_MAP() // CDecalSupportLibrariesDlg dialog IMPLEMENT_DYNAMIC(CDecalSupportLibrariesDlg, CDialog); CDecalSupportLibrariesDlg::CDecalSupportLibrariesDlg(CWnd* pParent /*=NULL*/) : CDialog(CDecalSupportLibrariesDlg::IDD, pParent) { m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); m_pAutoProxy = NULL; } CDecalSupportLibrariesDlg::~CDecalSupportLibrariesDlg() { // If there is an automation proxy for this dialog, set // its back pointer to this dialog to NULL, so it knows // the dialog has been deleted. if (m_pAutoProxy != NULL) m_pAutoProxy->m_pDialog = NULL; } void CDecalSupportLibrariesDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); } BEGIN_MESSAGE_MAP(CDecalSupportLibrariesDlg, CDialog) ON_WM_SYSCOMMAND() ON_WM_CLOSE() ON_WM_PAINT() ON_WM_QUERYDRAGICON() //}}AFX_MSG_MAP END_MESSAGE_MAP() // CDecalSupportLibrariesDlg message handlers BOOL CDecalSupportLibrariesDlg::OnInitDialog() { CDialog::OnInitDialog(); // Add "About..." menu item to system menu. // IDM_ABOUTBOX must be in the system command range. ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); ASSERT(IDM_ABOUTBOX < 0xF000); CMenu* pSysMenu = GetSystemMenu(FALSE); if (pSysMenu != NULL) { std::string sAbout("Decal Support Libraries") ; CString strAboutMenu; strAboutMenu.LoadString(IDS_ABOUTBOX); if (!strAboutMenu.IsEmpty()) { pSysMenu->AppendMenu(MF_SEPARATOR); pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu); } } // Set the icon for this dialog. The framework does this automatically // when the application's main window is not a dialog SetIcon(m_hIcon, TRUE); // Set big icon SetIcon(m_hIcon, FALSE); // Set small icon // TODO: Add extra initialization here return TRUE; // return TRUE unless you set the focus to a control } void CDecalSupportLibrariesDlg::OnSysCommand(UINT nID, LPARAM lParam) { if ((nID & 0xFFF0) == IDM_ABOUTBOX) { CAboutDlg dlgAbout; dlgAbout.DoModal(); } else { CDialog::OnSysCommand(nID, lParam); } } // If you add a minimize button to your dialog, you will need the code below // to draw the icon. For MFC applications using the document/view model, // this is automatically done for you by the framework. void CDecalSupportLibrariesDlg::OnPaint() { if (IsIconic()) { CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); } } // The system calls this function to obtain the cursor to display while the user drags // the minimized window. HCURSOR CDecalSupportLibrariesDlg::OnQueryDragIcon() { return static_cast<HCURSOR>(m_hIcon); } // Automation servers should not exit when a user closes the UI // if a controller still holds on to one of its objects. These // message handlers make sure that if the proxy is still in use, // then the UI is hidden but the dialog remains around if it // is dismissed. void CDecalSupportLibrariesDlg::OnClose() { if (CanExit()) CDialog::OnClose(); } void CDecalSupportLibrariesDlg::OnOK() { if (CanExit()) CDialog::OnOK(); } void CDecalSupportLibrariesDlg::OnCancel() { if (CanExit()) CDialog::OnCancel(); } BOOL CDecalSupportLibrariesDlg::CanExit() { // If the proxy object is still around, then the automation // controller is still holding on to this application. Leave // the dialog around, but hide its UI. if (m_pAutoProxy != NULL) { ShowWindow(SW_HIDE); return FALSE; } return TRUE; } --- NEW FILE: DecalSupportLibrariesDlg.h --- // DecalSupportLibrariesDlg.h : header file // #pragma once class CDecalSupportLibrariesDlgAutoProxy; // CDecalSupportLibrariesDlg dialog class CDecalSupportLibrariesDlg : public CDialog { DECLARE_DYNAMIC(CDecalSupportLibrariesDlg); friend class CDecalSupportLibrariesDlgAutoProxy; // Construction public: CDecalSupportLibrariesDlg(CWnd* pParent = NULL); // standard constructor virtual ~CDecalSupportLibrariesDlg(); // Dialog Data enum { IDD = IDD_DECALSUPPORTLIBRARIES_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: CDecalSupportLibrariesDlgAutoProxy* m_pAutoProxy; HICON m_hIcon; BOOL CanExit(); // Generated message map functions virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnClose(); virtual void OnOK(); virtual void OnCancel(); DECLARE_MESSAGE_MAP() }; --- NEW FILE: DlgProxy.cpp --- // DlgProxy.cpp : implementation file // #include "stdafx.h" #include "DecalSupportLibraries.h" #include "DlgProxy.h" #include "DecalSupportLibrariesDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CDecalSupportLibrariesDlgAutoProxy IMPLEMENT_DYNCREATE(CDecalSupportLibrariesDlgAutoProxy, CCmdTarget) CDecalSupportLibrariesDlgAutoProxy::CDecalSupportLibrariesDlgAutoProxy() { EnableAutomation(); // To keep the application running as long as an automation // object is active, the constructor calls AfxOleLockApp. AfxOleLockApp(); // Get access to the dialog through the application's // main window pointer. Set the proxy's internal pointer // to point to the dialog, and set the dialog's back pointer to // this proxy. ASSERT (AfxGetApp()->m_pMainWnd != NULL); ASSERT_VALID (AfxGetApp()->m_pMainWnd); ASSERT_KINDOF(CDecalSupportLibrariesDlg, AfxGetApp()->m_pMainWnd); m_pDialog = reinterpret_cast<CDecalSupportLibrariesDlg*>(AfxGetApp()->m_pMainWnd); m_pDialog->m_pAutoProxy = this; } CDecalSupportLibrariesDlgAutoProxy::~CDecalSupportLibrariesDlgAutoProxy() { // To terminate the application when all objects created with // with automation, the destructor calls AfxOleUnlockApp. // Among other things, this will destroy the main dialog if (m_pDialog != NULL) m_pDialog->m_pAutoProxy = NULL; AfxOleUnlockApp(); } void CDecalSupportLibrariesDlgAutoProxy::OnFinalRelease() { // When the last reference for an automation object is released // OnFinalRelease is called. The base class will automatically // deletes the object. Add additional cleanup required for your // object before calling the base class. CCmdTarget::OnFinalRelease(); } BEGIN_MESSAGE_MAP(CDecalSupportLibrariesDlgAutoProxy, CCmdTarget) END_MESSAGE_MAP() BEGIN_DISPATCH_MAP(CDecalSupportLibrariesDlgAutoProxy, CCmdTarget) END_DISPATCH_MAP() // Note: we add support for IID_IDecalSupportLibraries to support typesafe binding // from VBA. This IID must match the GUID that is attached to the // dispinterface in the .IDL file. // {586E5AC4-7A88-4CFA-B075-2D7F0E70250D} static const IID IID_IDecalSupportLibraries = { 0x586E5AC4, 0x7A88, 0x4CFA, { 0xB0, 0x75, 0x2D, 0x7F, 0xE, 0x70, 0x25, 0xD } }; BEGIN_INTERFACE_MAP(CDecalSupportLibrariesDlgAutoProxy, CCmdTarget) INTERFACE_PART(CDecalSupportLibrariesDlgAutoProxy, IID_IDecalSupportLibraries, Dispatch) END_INTERFACE_MAP() // The IMPLEMENT_OLECREATE2 macro is defined in StdAfx.h of this project // {29FC66D6-DFC1-45D0-87AD-52D44949DCBC} IMPLEMENT_OLECREATE2(CDecalSupportLibrariesDlgAutoProxy, "DecalSupportLibraries.Application", 0x29fc66d6, 0xdfc1, 0x45d0, 0x87, 0xad, 0x52, 0xd4, 0x49, 0x49, 0xdc, 0xbc) // CDecalSupportLibrariesDlgAutoProxy message handlers --- NEW FILE: DlgProxy.h --- // DlgProxy.h: header file // #pragma once class CDecalSupportLibrariesDlg; // CDecalSupportLibrariesDlgAutoProxy command target class CDecalSupportLibrariesDlgAutoProxy : public CCmdTarget { DECLARE_DYNCREATE(CDecalSupportLibrariesDlgAutoProxy) CDecalSupportLibrariesDlgAutoProxy(); // protected constructor used by dynamic creation // Attributes public: CDecalSupportLibrariesDlg* m_pDialog; // Operations public: // Overrides public: virtual void OnFinalRelease(); // Implementation protected: virtual ~CDecalSupportLibrariesDlgAutoProxy(); // Generated message map functions DECLARE_MESSAGE_MAP() DECLARE_OLECREATE(CDecalSupportLibrariesDlgAutoProxy) // Generated OLE dispatch map functions DECLARE_DISPATCH_MAP() DECLARE_INTERFACE_MAP() }; --- NEW FILE: ReadMe.txt --- ================================================================================ MICROSOFT FOUNDATION CLASS LIBRARY : DecalSupportLibraries Project Overview =============================================================================== The application wizard has created this DecalSupportLibraries application for you. This application not only demonstrates the basics of using the Microsoft Foundation Classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your DecalSupportLibraries application. DecalSupportLibraries.vcproj This is the main project file for VC++ projects generated using an application wizard. It contains information about the version of Visual C++ that generated the file, and information about the platforms, configurations, and project features selected with the application wizard. DecalSupportLibraries.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CDecalSupportLibrariesApp application class. DecalSupportLibraries.cpp This is the main application source file that contains the application class CDecalSupportLibrariesApp. DecalSupportLibraries.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. Your project resources are in 1033. res\DecalSupportLibraries.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file DecalSupportLibraries.rc. res\DecalSupportLibraries.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. DecalSupportLibraries.reg This is an example .reg file that shows you the kind of registration settings the framework will set for you. You can use this as a .reg file to go along with your application. DecalSupportLibraries.idl This file contains the Interface Description Language source code for the type library of your application. ///////////////////////////////////////////////////////////////////////////// The application wizard creates one dialog class and automation proxy class: DecalSupportLibrariesDlg.h, DecalSupportLibrariesDlg.cpp - the dialog These files contain your... [truncated message content] |
From: John D. <go...@us...> - 2003-09-11 01:31:20
|
Update of /cvsroot/decaldev/source/DecalSupportLibraries/DSLSetup In directory sc8-pr-cvs1:/tmp/cvs-serv22634/DSLSetup Log Message: Directory /cvsroot/decaldev/source/DecalSupportLibraries/DSLSetup added to the repository |
From: John D. <go...@us...> - 2003-09-11 01:31:20
|
Update of /cvsroot/decaldev/source/DecalSupportLibraries/res In directory sc8-pr-cvs1:/tmp/cvs-serv22634/res Log Message: Directory /cvsroot/decaldev/source/DecalSupportLibraries/res added to the repository |
From: John D. <go...@us...> - 2003-09-11 01:29:49
|
Update of /cvsroot/decaldev/source/DecalSupportLibraries In directory sc8-pr-cvs1:/tmp/cvs-serv22283/DecalSupportLibraries Log Message: Directory /cvsroot/decaldev/source/DecalSupportLibraries added to the repository |
From: Jeffrey D. <ha...@us...> - 2003-09-09 03:44:00
|
Log Message: ----------- rc2 updates Modified Files: -------------- /cvsroot/decaldev/source/DecalInstaller: DecalInstaller.vdproj Revision Data ------------- Index: DecalInstaller.vdproj =================================================================== RCS file: /cvsroot/decaldev/source/DecalInstaller/DecalInstaller.vdproj,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- DecalInstaller.vdproj 29 Aug 2003 03:59:42 -0000 1.14 +++ DecalInstaller.vdproj 9 Sep 2003 03:43:25 -0000 1.15 @@ -27,6 +27,60 @@ } "Entry" { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_0593B7A6B4D74017A43CC5F9741D078B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_F7B461AAFB7641F699DAEAF49904A662" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_AC7940677AFA439D9D75C9827A0003A2" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_8E9B4D574D014738B94369502A191459" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_287894F290604710B0E99CD646021261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_11AE7CD5CB2A43E395B33FDD50522940" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_10D01E415273DFB80A6309EC12D187D8" + "OwnerKey" = "8:_10B736524B444A95B8CC8D36B521F980" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_11AE7CD5CB2A43E395B33FDD50522940" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -51,6 +105,30 @@ } "Entry" { + "MsmKey" = "8:_41F2E99B0C1B72CFD51382D5E140A7E8" + "OwnerKey" = "8:_10B736524B444A95B8CC8D36B521F980" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41F2E99B0C1B72CFD51382D5E140A7E8" + "OwnerKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41F2E99B0C1B72CFD51382D5E140A7E8" + "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_41F2E99B0C1B72CFD51382D5E140A7E8" + "OwnerKey" = "8:_287894F290604710B0E99CD646021261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_422DA789643D4CFC8308DBB6EB58ED8B" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -93,12 +171,42 @@ } "Entry" { + "MsmKey" = "8:_942AAA28BB647CF0EF1C6137B296D4FE" + "OwnerKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } "Entry" { + "MsmKey" = "8:_A363B66FCAE3DB5C7CECA058D6C5B2B4" + "OwnerKey" = "8:_287894F290604710B0E99CD646021261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AB8B779E801448568C9C2869BFA349A8" + "OwnerKey" = "8:_287894F290604710B0E99CD646021261" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AB8B779E801448568C9C2869BFA349A8" + "OwnerKey" = "8:_E256A97055264EB5B195F1414117D027" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_AB8B779E801448568C9C2869BFA349A8" + "OwnerKey" = "8:_673044C5656142EBAA86D07A36EFFF5A" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_AC7940677AFA439D9D75C9827A0003A2" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -111,6 +219,18 @@ } "Entry" { + "MsmKey" = "8:_BC87E37B7AD8F9835E2A3AC4B4EDBC61" + "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_BC87E37B7AD8F9835E2A3AC4B4EDBC61" + "OwnerKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_BD4EC7DFE26A40BA84001249533EC862" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -129,6 +249,24 @@ } "Entry" { + "MsmKey" = "8:_F4666008B39640C79208F7C06910A8F3" + "OwnerKey" = "8:_10B736524B444A95B8CC8D36B521F980" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4666008B39640C79208F7C06910A8F3" + "OwnerKey" = "8:_A03B9AE58553491581FA0975DF6E6E88" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_F4666008B39640C79208F7C06910A8F3" + "OwnerKey" = "8:_11AE7CD5CB2A43E395B33FDD50522940" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_F7B461AAFB7641F699DAEAF49904A662" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -139,6 +277,18 @@ "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" } + "Entry" + { + "MsmKey" = "8:_FD2F9BAB00E2CB44E03A93E604085DE2" + "OwnerKey" = "8:_0593B7A6B4D74017A43CC5F9741D078B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_FD2F9BAB00E2CB44E03A93E604085DE2" + "OwnerKey" = "8:_287894F290604710B0E99CD646021261" + "MsmSig" = "8:_UNDEFINED" + } } "Configurations" { @@ -197,6 +347,26 @@ } "File" { + "{A582A373-4685-4296-BEFE-614B80A702C3}:_10D01E415273DFB80A6309EC12D187D8" + { + "SourcePath" = "8:msxml.dll" + "TargetName" = "8:msxml.dll" + "Tag" = "8:" + "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:4" + "Exclude" = "11:TRUE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } "{A582A373-4685-4296-BEFE-614B80A702C3}:_2946BCB3B3574315816189D84E505D59" { "SourcePath" = "8:..\\Release\\Tab-Active.bmp" @@ -237,6 +407,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{A582A373-4685-4296-BEFE-614B80A702C3}:_41F2E99B0C1B72CFD51382D5E140A7E8" + { + "SourcePath" = "8:VERSION.dll" + "TargetName" = "8:VERSION.dll" + "Tag" = "8:" + "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:TRUE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } "{A582A373-4685-4296-BEFE-614B80A702C3}:_422DA789643D4CFC8308DBB6EB58ED8B" { "SourcePath" = "8:..\\Release\\Switch-Active.bmp" @@ -337,6 +527,66 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{A582A373-4685-4296-BEFE-614B80A702C3}:_942AAA28BB647CF0EF1C6137B296D4FE" + { + "SourcePath" = "8:DDRAW.dll" + "TargetName" = "8:DDRAW.dll" + "Tag" = "8:" + "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:TRUE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{A582A373-4685-4296-BEFE-614B80A702C3}:_A363B66FCAE3DB5C7CECA058D6C5B2B4" + { + "SourcePath" = "8:comdlg32.dll" + "TargetName" = "8:comdlg32.dll" + "Tag" = "8:" + "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:TRUE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{A582A373-4685-4296-BEFE-614B80A702C3}:_AB8B779E801448568C9C2869BFA349A8" + { + "SourcePath" = "8:ForceLibrary.dll" + "TargetName" = "8:ForceLibrary.dll" + "Tag" = "8:" + "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:TRUE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } "{A582A373-4685-4296-BEFE-614B80A702C3}:_B65B1E8E7A2B4AB4B7D61E7F4FB061D0" { "SourcePath" = "8:..\\Installer\\Res\\decalbar.jpg" @@ -357,6 +607,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{A582A373-4685-4296-BEFE-614B80A702C3}:_BC87E37B7AD8F9835E2A3AC4B4EDBC61" + { + "SourcePath" = "8:inject.tlb" + "TargetName" = "8:inject.tlb" + "Tag" = "8:" + "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:2" + "Exclude" = "11:TRUE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } "{A582A373-4685-4296-BEFE-614B80A702C3}:_F033647B20DD4A8C88658A817EFEED68" { "SourcePath" = "8:..\\Release\\ForceLibrary.dll" @@ -397,6 +667,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{A582A373-4685-4296-BEFE-614B80A702C3}:_FD2F9BAB00E2CB44E03A93E604085DE2" + { + "SourcePath" = "8:urlmon.dll" + "TargetName" = "8:urlmon.dll" + "Tag" = "8:" + "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:4" + "Exclude" = "11:TRUE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } } "FileType" { @@ -474,13 +764,13 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Decal" - "ProductCode" = "8:{6E766A51-09A9-4571-B55A-EE2E4E74B8BC}" - "PackageCode" = "8:{7C8DF61C-1096-4B4E-AA98-B4FDFFC47B77}" + "ProductCode" = "8:{4C22590F-22B8-4413-B91D-0403B2F84979}" + "PackageCode" = "8:{02425DDD-557F-4817-A4A1-7B8CABD88F65}" "UpgradeCode" = "8:{3025AB1B-80B9-46B7-9CE9-9887ADA2914F}" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" - "ProductVersion" = "8:2.6.0" + "ProductVersion" = "8:2.6.01" "Manufacturer" = "8:Decal Developers" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:http://forums.acdev.org/" @@ -998,12 +1288,26 @@ } "MergeModule" { + "{35A69C6E-5BA4-440D-803D-762B59A45393}:_F4666008B39640C79208F7C06910A8F3" + { + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:TRUE" + "SourcePath" = "8:vc_user_atl71_rtl_x86_---.msm" + "Properties" + { + } + "LanguageId" = "3:0" + "Exclude" = "11:FALSE" + "Folder" = "8:" + "Feature" = "8:" + "IsolateTo" = "8:" + } } "ProjectOutput" { "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_0593B7A6B4D74017A43CC5F9741D078B" { - "SourcePath" = "8:..\\debug\\DecalNet.dll" + "SourcePath" = "8:..\\Release\\DecalNet.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1031,7 +1335,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_10B736524B444A95B8CC8D36B521F980" { - "SourcePath" = "8:..\\debug\\DecalInput.dll" + "SourcePath" = "8:..\\Release\\DecalInput.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1059,7 +1363,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_11AE7CD5CB2A43E395B33FDD50522940" { - "SourcePath" = "8:..\\debug\\DecalDat.dll" + "SourcePath" = "8:..\\Release\\DecalDat.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1087,7 +1391,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_287894F290604710B0E99CD646021261" { - "SourcePath" = "8:..\\debug\\DenAgent.exe" + "SourcePath" = "8:..\\Release\\DenAgent.exe" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1115,7 +1419,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_673044C5656142EBAA86D07A36EFFF5A" { - "SourcePath" = "8:..\\debug\\LobbyHook.dll" + "SourcePath" = "8:..\\Release\\LobbyHook.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_B4A52EA52B0946A1AF1F0D1FA55A352F" @@ -1143,7 +1447,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_8E9B4D574D014738B94369502A191459" { - "SourcePath" = "8:..\\debug\\DecalFilters.dll" + "SourcePath" = "8:..\\Release\\DecalFilters.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1171,7 +1475,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_A03B9AE58553491581FA0975DF6E6E88" { - "SourcePath" = "8:..\\debug\\Decal.dll" + "SourcePath" = "8:..\\Release\\Decal.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1199,7 +1503,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_AC7940677AFA439D9D75C9827A0003A2" { - "SourcePath" = "8:..\\debug\\DecalControls.dll" + "SourcePath" = "8:..\\Release\\DecalControls.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1227,7 +1531,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_BD4EC7DFE26A40BA84001249533EC862" { - "SourcePath" = "8:..\\debug\\Inject.dll" + "SourcePath" = "8:..\\Release\\Inject.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1255,7 +1559,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_E256A97055264EB5B195F1414117D027" { - "SourcePath" = "8:..\\debug\\LobbyHook.dll" + "SourcePath" = "8:..\\Release\\LobbyHook.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" @@ -1283,7 +1587,7 @@ } "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_F7B461AAFB7641F699DAEAF49904A662" { - "SourcePath" = "8:..\\debug\\PlainText.dll" + "SourcePath" = "8:..\\Release\\PlainText.dll" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_8166ECC1DA234550B1E7EF74BD46A69F" |
From: Jeffrey D. <ha...@us...> - 2003-09-09 03:09:18
|
Log Message: ----------- Idle stuff Modified Files: -------------- /cvsroot/decaldev/source/Include: Decal.idl Revision Data ------------- Index: Decal.idl =================================================================== RCS file: /cvsroot/decaldev/source/Include/Decal.idl,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- Decal.idl 8 Sep 2003 20:35:46 -0000 1.42 +++ Decal.idl 9 Sep 2003 03:09:16 -0000 1.43 @@ -189,6 +189,7 @@ eToolText2 = 14, eUseItemRaw = 15, eUseFociSpell = 16, + eSetIdleTime = 17, eAvailableHooksEx_DWORD = 0x7FFFFFFF // coerce enums into 4 byte instead of two }; @@ -319,6 +320,7 @@ [id(61), helpstring("Appends text to the message in the upper left hand corner as either white text or yellow with the busy/error sound.")] HRESULT ToolTextAppend([in] BSTR Text, [in] VARIANT_BOOL bError); [id(62), helpstring("Raw Use Item (3rd param)")] HRESULT UseItemRaw([in]long lObjectID, long lUseState, long lUseMethod); [id(63), helpstring("Use the Casting Foci's Spell")] HRESULT UseFociSpell([in]long UseThis, long OnThis); + [id(64), helpstring("Set the idle time required to log out")] HRESULT SetIdleTime([in] double dIdleTimeout); }; [ |
From: Jeffrey D. <ha...@us...> - 2003-09-09 03:09:09
|
Log Message: ----------- Idle stuff Modified Files: -------------- /cvsroot/decaldev/source/Decal: ACHooks.cpp ACHooks.h Revision Data ------------- Index: ACHooks.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.cpp,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- ACHooks.cpp 9 Sep 2003 02:46:25 -0000 1.64 +++ ACHooks.cpp 9 Sep 2003 03:08:31 -0000 1.65 @@ -104,6 +104,7 @@ m_bRequestShortcircuit = false; m_bToolTextHook = false; m_bToolText2Hook = false; + m_bIdleLoc = false; m_Hooks = 0; memset(m_HooksEx, 0, sizeof(m_HooksEx)); @@ -803,6 +804,12 @@ } } + if( QueryMemLoc( BSTRT( "IdleTime" ), &Val ) == S_OK ) + { + m_lIdleLoc = Val; + m_bIdleLoc = true; + SetHookEx( eSetIdleTime ); + } } cACHooks::~cACHooks() @@ -2153,6 +2160,16 @@ m_HookCount = ID; return; +} + +STDMETHODIMP cACHooks::SetIdleTime( double dIdleTimeout ) +{ + if( !m_bIdleLoc ) + return S_FALSE; + + *( reinterpret_cast< double * >( m_lIdleLoc ) ) = dIdleTimeout; + + return S_OK; } void cACHooks::InternalObjectDestroyed (DWORD dwGuid) Index: ACHooks.h =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.h,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- ACHooks.h 8 Sep 2003 20:36:00 -0000 1.46 +++ ACHooks.h 9 Sep 2003 03:08:32 -0000 1.47 @@ -240,12 +240,13 @@ long m_lRequestShortcircuit2; long m_lRequestShortcircuit3; - //Moputu - 09012003 - bool m_bToolTextHook; - long m_lToolTextHJ; - bool m_bToolText2Hook; - long m_lToolText2HJ; - //end add + bool m_bToolTextHook; + long m_lToolTextHJ; + bool m_bToolText2Hook; + long m_lToolText2HJ; + + long m_lIdleLoc; + bool m_bIdleLoc; unsigned int m_HooksEx[1]; unsigned int m_HookCount; @@ -314,7 +315,7 @@ STDMETHOD(Logout)(); STDMETHOD(ToolText)(BSTR Text, VARIANT_BOOL bError); STDMETHOD(ToolTextAppend)(BSTR Text, VARIANT_BOOL bError); - + STDMETHOD(SetIdleTime)( double dIdleTimeout ); STDMETHOD(SetDecal)(IUnknown *pDecal); STDMETHOD(SecureTrade_Add)(long ItemID, VARIANT_BOOL *pVal); |
From: Jeffrey D. <ha...@us...> - 2003-09-09 02:50:04
|
Log Message: ----------- Casting tool stuff Modified Files: -------------- /cvsroot/decaldev/source/Include: Decal.idl Revision Data ------------- Index: Decal.idl =================================================================== RCS file: /cvsroot/decaldev/source/Include/Decal.idl,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- Decal.idl 7 Sep 2003 22:16:28 -0000 1.41 +++ Decal.idl 8 Sep 2003 20:35:46 -0000 1.42 @@ -187,6 +187,8 @@ eSendMessageByMask = 12, eToolText = 13, eToolText2 = 14, + eUseItemRaw = 15, + eUseFociSpell = 16, eAvailableHooksEx_DWORD = 0x7FFFFFFF // coerce enums into 4 byte instead of two }; @@ -313,8 +315,10 @@ [id(57), helpstring("method SetIDFilter")] HRESULT SetIDFilter([in] IKitchenSink* pIDFilter); [id(58), helpstring("method UstAddItem")] HRESULT UstAddItem([in] long lObjectID); [id(59), helpstring("method SendMessageByMask")] HRESULT SendMessageByMask([in] LONG lMask, [in] BSTR szMessage); - [id(60), helpstring("Display a message in the upper left hand corner as either white text or yellow with the busy/error sound.")] HRESULT ToolText([in] BSTR Text, VARIANT_BOOL bError); - [id(61), helpstring("Appends text to the message in the upper left hand corner as either white text or yellow with the busy/error sound.")] HRESULT ToolTextAppend([in] BSTR Text, VARIANT_BOOL bError); + [id(60), helpstring("Display a message in the upper left hand corner as either white text or yellow with the busy/error sound.")] HRESULT ToolText([in] BSTR Text, [in] VARIANT_BOOL bError); + [id(61), helpstring("Appends text to the message in the upper left hand corner as either white text or yellow with the busy/error sound.")] HRESULT ToolTextAppend([in] BSTR Text, [in] VARIANT_BOOL bError); + [id(62), helpstring("Raw Use Item (3rd param)")] HRESULT UseItemRaw([in]long lObjectID, long lUseState, long lUseMethod); + [id(63), helpstring("Use the Casting Foci's Spell")] HRESULT UseFociSpell([in]long UseThis, long OnThis); }; [ @@ -458,8 +462,8 @@ [id(2), helpstring("method OnChatBoxMessage")] VARIANT_BOOL OnChatBoxMessage([in] BSTR bstrText, [in] LONG lColor, [in,out] VARIANT_BOOL *bEat ); [id(3), helpstring("method OnCommandLineText")] VARIANT_BOOL OnCommandLineText([in] BSTR bstrText, [in,out] VARIANT_BOOL *bEat ); [id(4), helpstring("method OnSelectItem")] HRESULT OnSelectItem([in] LONG lGuid); - [id(5), helpstring("method OnToolText")] void OnToolText([in] BSTR bstrText, VARIANT_BOOL bError); - [id(6), helpstring("method OnToolTextAppend")] void OnToolTextAppend([in] BSTR bstrText, VARIANT_BOOL bError); + [id(5), helpstring("method OnToolText")] void OnToolText([in] BSTR bstrText, [in] VARIANT_BOOL bError); + [id(6), helpstring("method OnToolTextAppend")] void OnToolTextAppend([in] BSTR bstrText, [in] VARIANT_BOOL bError); }; [ |
From: Jeffrey D. <ha...@us...> - 2003-09-09 02:46:57
|
Log Message: ----------- sethookex for stuff Modified Files: -------------- /cvsroot/decaldev/source/Decal: ACHooks.cpp Revision Data ------------- Index: ACHooks.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.cpp,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- ACHooks.cpp 8 Sep 2003 20:36:00 -0000 1.63 +++ ACHooks.cpp 9 Sep 2003 02:46:25 -0000 1.64 @@ -308,6 +308,8 @@ { m_bUseItem = true; m_Hooks |= eUseItem ; + SetHookEx( eUseItemRaw ); + SetHookEx( eUseFociSpell ); m_lUseItem = Val; pfnUseItem = reinterpret_cast< void (*)( DWORD, DWORD ) >( Val ); } |
From: Jeffrey D. <ha...@us...> - 2003-09-09 01:14:41
|
Log Message: ----------- Casting tool stuff Modified Files: -------------- /cvsroot/decaldev/source/Decal: ACHooks.cpp ACHooks.h Revision Data ------------- Index: ACHooks.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.cpp,v retrieving revision 1.62 retrieving revision 1.63 diff -u -d -r1.62 -r1.63 --- ACHooks.cpp 5 Sep 2003 04:59:45 -0000 1.62 +++ ACHooks.cpp 8 Sep 2003 20:36:00 -0000 1.63 @@ -1153,6 +1153,46 @@ return S_OK; } +STDMETHODIMP cACHooks::UseItemRaw(long lObjectID, long lUseState, long lUseMethod) +{ + if( !m_bUseItem ) + return S_FALSE; + + __asm + { + push lUseMethod + push lUseState + push lObjectID + call pfnUseItem + add esp, 0x0C + } + + return S_OK; +} + +STDMETHODIMP cACHooks::UseFociSpell(long UseThis, long OnThis) +{ + if( !m_bUseItem ) + return S_FALSE; + + long lCurrentSelected; + get_CurrentSelection( &lCurrentSelected ); + put_CurrentSelection( OnThis ); + + __asm + { + push 0x1 + push 0x1 + push UseThis + call pfnUseItem + add esp, 0x0C + } + + put_CurrentSelection( lCurrentSelected ); + + return S_OK; +} + STDMETHODIMP cACHooks::get_CombatState(long *pVal) { if( !m_bCombatState ) Index: ACHooks.h =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.h,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- ACHooks.h 5 Sep 2003 04:59:45 -0000 1.45 +++ ACHooks.h 8 Sep 2003 20:36:00 -0000 1.46 @@ -278,6 +278,8 @@ STDMETHOD(get_CombatState)(long *pVal); STDMETHOD(SetCombatState)(long pVal); STDMETHOD(UseItem)(long lObjectID, long lUseState); + STDMETHOD(UseItemRaw)(long lObjectID, long lUseState, long lUseMethod); + STDMETHOD(UseFociSpell)(long UseThis, long OnThis); STDMETHOD(SelectItem)(long lObjectID); STDMETHOD(MoveItem)(long lObjectID, long lPackID, long lSlot, VARIANT_BOOL bStack); STDMETHOD(CastSpell)(long lSpellID, long lObjectID); |
From: Todd D. P. <ci...@us...> - 2003-09-08 23:39:19
|
Log Message: ----------- Fixed illegal C++ syntax. Gonna guess VS.Net is either (a) too lenient or (b) wrong ebcause parens do not scope according to the ARM Modified Files: -------------- /cvsroot/decaldev/source/Inject: Inject.cpp Revision Data ------------- Index: Inject.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Inject/Inject.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- Inject.cpp 30 Aug 2003 00:43:22 -0000 1.27 +++ Inject.cpp 8 Sep 2003 23:37:43 -0000 1.28 @@ -474,7 +474,9 @@ /* FILE *f = fopen( "C:\\decal\\log.txt", "a+" ); fprintf( f, "iLen = %d\nszPatchPattern = %s\nszPatternArray = ", iLen, szPatchPattern ); */ - for( int i = 0; i < iLen; ++i ) + int i; + + for( i = 0; i < iLen; ++i ) // { szPatternArray[ i ] = strtoul( szPatchPattern + (i*3), NULL, 16 ); // fprintf( f, "%02X ", szPatternArray[ i ] ); @@ -485,7 +487,7 @@ bool bAbort = true; - for( int i = 0; i < lMaxOffset; ++i, ++pAddy ) + for( i = 0; i < lMaxOffset; ++i, ++pAddy ) { // peek at current byte if( *pAddy == szPatternArray[ 0 ] ) |
From: John D. <go...@us...> - 2003-09-08 03:14:39
|
Log Message: ----------- Fixed getting of workmanship and some other things. Modified Files: -------------- /cvsroot/decaldev/source/DecalFilters: World.cpp Revision Data ------------- Index: World.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/World.cpp,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- World.cpp 5 Sep 2003 03:19:42 -0000 1.52 +++ World.cpp 8 Sep 2003 03:14:31 -0000 1.53 @@ -1301,6 +1301,12 @@ } + // Usage Mask + if (pCreate->m_dwFlags2 & 0x00080000) { + pMembers->get_NextInt(strunknown_v5, &pCreate->m_UsageMask); + _DebugLog("\n m_UsageMask: %x",pCreate->m_UsageMask) ; + } + // Icon Outline if (pCreate->m_dwFlags2 & 0x00000080) { pMembers->get_NextInt(strunknown_v4, &pCreate->m_IconOutline); @@ -1383,27 +1389,20 @@ } - // Usage Mask - if (pCreate->m_dwFlags2 & 0x00080000) { - pMembers->get_NextInt(strunknown_v5, &pCreate->m_UsageMask); - _DebugLog("\n m_UsageMask: %x",pCreate->m_UsageMask) ; - } - - // Monarch - if (pCreate->m_dwFlags2 & 0x00000040) { - pMembers->get_NextInt(strmonarch, &pCreate->m_dwMonarch); - _DebugLog("\n Monarch: %x",pCreate->m_dwMonarch) ; - } + //// Tradenote Vendor ID + //if (pCreate->m_dwFlags2 & 0x00020000) { + // pMembers->get_NextInt(strtradenoteVendor, &pCreate->m_dwTradeNoteVendor); + // _DebugLog("\n TradeNoteVendor: %x",pCreate->m_dwTradeNoteVendor) ; + //} - // Tradenote Vendor ID - if (pCreate->m_dwFlags2 & 0x00020000) { - pMembers->get_NextInt(strtradenoteVendor, &pCreate->m_dwTradeNoteVendor); - _DebugLog("\n TradeNoteVendor: %x",pCreate->m_dwTradeNoteVendor) ; + // Workmanship + if (pCreate->m_dwFlags2 & 0x01000000) { + pMembers->get_NextFloat(strworkmanship, &pCreate->m_Workmanship); + _DebugLog("\n m_Workmanship: %f", pCreate->m_Workmanship) ; } - // Burden if (pCreate->m_dwFlags2 & 0x00200000) { pMembers->get_NextInt(strburden, &pCreate->m_Burden); @@ -1416,13 +1415,7 @@ _DebugLog("\n m_dwAssociatedSpell: %x",pCreate->m_dwAssociatedSpell) ; } - // Workmanship - if (pCreate->m_dwFlags2 & 0x01000000) { - pMembers->get_NextFloat(strworkmanship, &pCreate->m_Workmanship); - _DebugLog("\n m_dwMaterial: %x",pCreate->m_dwMaterial) ; - } - - // Workmanship + // HouseOwner if (pCreate->m_dwFlags2 & 0x02000000) { pMembers->get_NextInt(strhouseOwnerID, &pCreate->m_HouseOwner); _DebugLog("\n m_HouseOwner: %x",pCreate->m_HouseOwner) ; @@ -1442,6 +1435,13 @@ } + // Monarch + if (pCreate->m_dwFlags2 & 0x00000040) { + pMembers->get_NextInt(strmonarch, &pCreate->m_dwMonarch); + _DebugLog("\n Monarch: %x",pCreate->m_dwMonarch) ; + } + + // Material if (pCreate->m_dwFlags2 & 0x80000000) { pMembers->get_NextInt(strmaterial, &pCreate->m_dwMaterial); |
From: Jeffrey D. <ha...@us...> - 2003-09-08 02:09:35
|
Log Message: ----------- asdadsasdas Modified Files: -------------- /cvsroot/decaldev/source/Installer/Res: Install.vbs Revision Data ------------- Index: Install.vbs =================================================================== RCS file: /cvsroot/decaldev/source/Installer/Res/Install.vbs,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- Install.vbs 29 Aug 2003 04:42:54 -0000 1.39 +++ Install.vbs 8 Sep 2003 02:09:33 -0000 1.40 @@ -102,7 +102,7 @@ AllProducts.Add "2.5.2.0 RC1", "{ED4744B7-3F12-453B-9908-D192E0F5477A}" AllProducts.Add "2.5.2.0 RC2", "{3EA7A26F-9112-45D4-BDE0-9BE451D42A9F}" AllProducts.Add "2.5.2.0 RC3", "{B04617E3-2AFF-4650-84AF-10BE73B22A15}" -AllProducts.Add "2.6.0.0", "{6E766A51-09A9-4571-B55A-EE2E4E74B8BC}" +AllProducts.Add "2.6.0.0 RC1", "{6E766A51-09A9-4571-B55A-EE2E4E74B8BC}" |
From: Jeffrey D. <ha...@us...> - 2003-09-07 22:17:26
|
Log Message: ----------- Haz's useless commit comments v4.6 Modified Files: -------------- /cvsroot/decaldev/source/Include: Decal.idl Revision Data ------------- Index: Decal.idl =================================================================== RCS file: /cvsroot/decaldev/source/Include/Decal.idl,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- Decal.idl 20 Jun 2003 10:46:44 -0000 1.40 +++ Decal.idl 7 Sep 2003 22:16:28 -0000 1.41 @@ -185,6 +185,8 @@ eIDQueueAdd = 10, eUstAddItem = 11, eSendMessageByMask = 12, + eToolText = 13, + eToolText2 = 14, eAvailableHooksEx_DWORD = 0x7FFFFFFF // coerce enums into 4 byte instead of two }; @@ -311,6 +313,8 @@ [id(57), helpstring("method SetIDFilter")] HRESULT SetIDFilter([in] IKitchenSink* pIDFilter); [id(58), helpstring("method UstAddItem")] HRESULT UstAddItem([in] long lObjectID); [id(59), helpstring("method SendMessageByMask")] HRESULT SendMessageByMask([in] LONG lMask, [in] BSTR szMessage); + [id(60), helpstring("Display a message in the upper left hand corner as either white text or yellow with the busy/error sound.")] HRESULT ToolText([in] BSTR Text, VARIANT_BOOL bError); + [id(61), helpstring("Appends text to the message in the upper left hand corner as either white text or yellow with the busy/error sound.")] HRESULT ToolTextAppend([in] BSTR Text, VARIANT_BOOL bError); }; [ @@ -454,7 +458,9 @@ [id(2), helpstring("method OnChatBoxMessage")] VARIANT_BOOL OnChatBoxMessage([in] BSTR bstrText, [in] LONG lColor, [in,out] VARIANT_BOOL *bEat ); [id(3), helpstring("method OnCommandLineText")] VARIANT_BOOL OnCommandLineText([in] BSTR bstrText, [in,out] VARIANT_BOOL *bEat ); [id(4), helpstring("method OnSelectItem")] HRESULT OnSelectItem([in] LONG lGuid); - }; + [id(5), helpstring("method OnToolText")] void OnToolText([in] BSTR bstrText, VARIANT_BOOL bError); + [id(6), helpstring("method OnToolTextAppend")] void OnToolTextAppend([in] BSTR bstrText, VARIANT_BOOL bError); + }; [ uuid(FF7F5F6D-34E0-4B6F-B3BB-8141DE2EF732), |
From: John D. <go...@us...> - 2003-09-06 17:29:27
|
Log Message: ----------- Allows "ID" attribute to be lower case just like all the other attributes, and also because Legiondel_Superman can't seem to get it right. Modified Files: -------------- /cvsroot/decaldev/source/Inject: View.cpp Revision Data ------------- Index: View.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Inject/View.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- View.cpp 18 Mar 2003 06:53:33 -0000 1.17 +++ View.cpp 6 Sep 2003 17:28:54 -0000 1.18 @@ -230,6 +230,11 @@ vHeight = pElement->getAttribute( _T( "height" ) ), vUnclipped = pElement->getAttribute( _T( "unclipped" ) ), vID = pElement->getAttribute( _T( "ID" ) ); + // check for lower case, since all other attributes are lower case. And + // Legiondale_Superman can't seem to get it right... + if (vID.intVal == 0) { + vID = pElement->getAttribute( _T( "id" ) ); + } long nRealID = ( vID.vt == VT_NULL ) ? nID : static_cast< long >( vID ); *pAssignedID = nRealID; |
From: Jeffrey D. <ha...@us...> - 2003-09-05 04:59:57
|
Log Message: ----------- Mopy's tool text stuffs Modified Files: -------------- /cvsroot/decaldev/source/Decal: ACHooks.cpp ACHooks.h DecalCP.h Revision Data ------------- Index: ACHooks.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.cpp,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- ACHooks.cpp 27 Aug 2003 19:07:16 -0000 1.61 +++ ACHooks.cpp 5 Sep 2003 04:59:45 -0000 1.62 @@ -27,6 +27,8 @@ long g_lObjectDestroyedProc = 0; long g_lSelectItemHijackProc = 0; long g_lIdentifyHijackProc = 0; +long g_lToolTextProc = 0; +long g_lToolText2Proc = 0; void (__fastcall *pfnOldChatMessage)(int _ecx, int _edx, char *, DWORD ) = NULL; void (*pfnOldChatText)() = NULL; @@ -46,6 +48,8 @@ char g_charBufferPreviousCall; extern void __fastcall OnChatMessage( int _ecx, int _edx, char* pText, long dwColor ); +extern void CatchToolText(); +extern void CatchToolTextAppend(); extern void OnChatText(); extern void IdentifyShortcircuit(); @@ -98,6 +102,8 @@ m_bSelectItemHook = false; m_bUstAddItem_Useable = false; m_bRequestShortcircuit = false; + m_bToolTextHook = false; + m_bToolText2Hook = false; m_Hooks = 0; memset(m_HooksEx, 0, sizeof(m_HooksEx)); @@ -692,6 +698,26 @@ } } + if (QueryMemLoc(BSTRT( "ToolTextHJ" ), &Val) == S_OK) + { + m_lToolTextHJ = Val; + + g_lToolTextProc = HookCall( m_lToolTextHJ, (DWORD)CatchToolText ); + + SetHookEx( eToolText ); + m_bToolTextHook = true; + } + + if (QueryMemLoc(BSTRT( "ToolText2HJ" ), &Val) == S_OK) + { + m_lToolText2HJ = Val; + + g_lToolText2Proc = HookCall( m_lToolText2HJ, (DWORD)CatchToolTextAppend ); + + SetHookEx( eToolText2 ); + m_bToolText2Hook = true; + } + DWORD dwOldProtect; if( QueryMemLoc( BSTRT( "OnChatText" ), &Val ) == S_OK ) { @@ -807,6 +833,16 @@ HookCall( m_lRequestShortcircuit3, g_lIdentifyHijackProc ); } + if( m_bToolTextHook ) + { + HookCall( m_lToolTextHJ, g_lToolTextProc ); + } + + if( m_bToolText2Hook ) + { + HookCall( m_lToolText2HJ, g_lToolText2Proc ); + } + s_pACHooks = NULL; g_lObjectDestroyedProc = 0; @@ -1716,6 +1752,76 @@ return S_FALSE; } +STDMETHODIMP cACHooks::ToolText(BSTR Text, VARIANT_BOOL bError) +{ + /* + Moputu - 09012003: Added to allow plugins to display text + in the upper left hand corner as either white text w/o sound or + as yellow text with the busy/error sound. + + Either CombatState or ObjectBase can be used as the starting + memloc as both always seems to have the same value and the + function is called using one or the other in the client.exe. + You can only find the function address after the player is logged in. + */ + + if( !m_bCombatState ) //the combat state memloc is necessary + return S_FALSE; + + USES_CONVERSION; + char *szText = OLE2A( Text ); //pointer to the text being passed + DWORD cstate = *((long *)m_lCombatState); + + long lErr; + if (bError) + lErr = 1; // display text as yellow w/sound + else + lErr = 0; // display text as white w/o sound + + __asm + { + mov ecx, cstate + + push lErr + push szText + + mov edx, dword ptr [ecx] + call dword ptr [edx+114h] + add esp, 8 + } + + return S_OK; +} + +STDMETHODIMP cACHooks::ToolTextAppend(BSTR Text, VARIANT_BOOL bError) +{ + if( !m_bCombatState ) //the combat state memloc is necessary + return S_FALSE; + + USES_CONVERSION; + char *szText = OLE2A( Text ); //pointer to the text being passed + DWORD cstate = *((long *)m_lCombatState); + + long lErr; + if (bError) + lErr = 1; // display text as yellow w/sound + else + lErr = 0; // display text as white w/o sound + + __asm + { + mov ecx, cstate + + push lErr + push szText + + mov edx, dword ptr [ecx] + call dword ptr [edx+118h] + } + + return S_OK; +} + STDMETHODIMP cACHooks::SecureTrade_Add(long ItemID, VARIANT_BOOL *pVal) { void ( __fastcall *Internal_SecureTrade_Add )( struct qPointerList *, int, long ); @@ -2198,6 +2304,68 @@ mov esp, ebp pop ebp ret + } +} + +void cACHooks::InternalToolText( char *szText, VARIANT_BOOL bError ) +{ + USES_CONVERSION; + Fire_OnToolText( T2BSTR( szText ), bError ); +} + +void OnToolText( char *szText, long lError ) +{ + VARIANT_BOOL bError = lError; + + if( cACHooks::s_pACHooks ) + cACHooks::s_pACHooks->InternalToolText( szText, bError ); +} + +void __declspec(naked) CatchToolText() +{ + __asm + { + push ecx + push edx + push edi + push eax + call OnToolText + pop eax + pop edi + pop edx + pop ecx + jmp g_lToolTextProc + } +} + +void cACHooks::InternalToolTextAppend( char *szText, VARIANT_BOOL bError ) +{ + USES_CONVERSION; + Fire_OnToolTextAppend( T2BSTR( szText ), bError ); +} + +void OnToolTextAppend( char *szText, long lError ) +{ + VARIANT_BOOL bError = lError; + + if( cACHooks::s_pACHooks ) + cACHooks::s_pACHooks->InternalToolTextAppend( szText, bError ); +} + +void __declspec(naked) CatchToolTextAppend() +{ + __asm + { + push ecx + push edx + push edi + push eax + call OnToolTextAppend + pop eax + pop edi + pop edx + pop ecx + jmp g_lToolText2Proc } } Index: ACHooks.h =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.h,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- ACHooks.h 21 Aug 2003 22:22:46 -0000 1.44 +++ ACHooks.h 5 Sep 2003 04:59:45 -0000 1.45 @@ -240,10 +240,17 @@ long m_lRequestShortcircuit2; long m_lRequestShortcircuit3; + //Moputu - 09012003 + bool m_bToolTextHook; + long m_lToolTextHJ; + bool m_bToolText2Hook; + long m_lToolText2HJ; + //end add + unsigned int m_HooksEx[1]; unsigned int m_HookCount; - CComPtr< IDecal > m_pDecal; + CComPtr< IDecal > m_pDecal; public: static cACHooks* s_pACHooks; @@ -252,6 +259,9 @@ void InternalShortcircuit( DWORD dwID ); bool InternalChatText( char *szText ); bool InternalChatMessage( char *szText, long lColor ); + void InternalToolText( char *szText, VARIANT_BOOL bError ); + void InternalToolTextAppend( char *szText, VARIANT_BOOL bError ); + void SetHookEx(enum eAvailableHooksEx HookID); CComPtr< IKitchenSink > m_pIdQueue; @@ -300,6 +310,9 @@ STDMETHOD(LocalChatEmote)(BSTR EmoteText); STDMETHOD(get_HooksAvailEx)(enum eAvailableHooksEx HookID, VARIANT_BOOL* pVal); STDMETHOD(Logout)(); + STDMETHOD(ToolText)(BSTR Text, VARIANT_BOOL bError); + STDMETHOD(ToolTextAppend)(BSTR Text, VARIANT_BOOL bError); + STDMETHOD(SetDecal)(IUnknown *pDecal); STDMETHOD(SecureTrade_Add)(long ItemID, VARIANT_BOOL *pVal); Index: DecalCP.h =================================================================== RCS file: /cvsroot/decaldev/source/Decal/DecalCP.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- DecalCP.h 22 Mar 2003 01:37:06 -0000 1.7 +++ DecalCP.h 5 Sep 2003 04:59:45 -0000 1.8 @@ -114,6 +114,7 @@ HRESULT Fire_OnSelectItem(LONG guid) { + CComVariant varResult; T* pT = static_cast<T*>(this); int nConnectionIndex; @@ -138,5 +139,64 @@ return varResult.scode; } + void Fire_OnToolText(BSTR bstrText, VARIANT_BOOL bError) + { + T* pT = static_cast<T*>(this); + int nConnectionIndex; + CComVariant* pvars = new CComVariant[2]; + int nConnections = m_vec.GetSize(); + + for (nConnectionIndex = 0; nConnectionIndex < nConnections; nConnectionIndex++) + { + pT->Lock(); + CComPtr<IUnknown> sp = m_vec.GetAt(nConnectionIndex); + pT->Unlock(); + IDispatch* pDispatch = reinterpret_cast<IDispatch*>(sp.p); + if (pDispatch != NULL) + { + // operator= doesn't accept VARIANT_BOOL * + VARIANT vt; + ::VariantInit(&vt); + vt.vt = VT_BYREF | VT_BOOL; + vt.pboolVal = &bError; + + pvars[1] = bstrText; + pvars[0] = vt; + DISPPARAMS disp = { pvars, NULL, 2, 0 }; + pDispatch->Invoke(5, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL); + } + } + delete[] pvars; + } + + void Fire_OnToolTextAppend(BSTR bstrText, VARIANT_BOOL bError) + { + T* pT = static_cast<T*>(this); + int nConnectionIndex; + CComVariant* pvars = new CComVariant[2]; + int nConnections = m_vec.GetSize(); + + for (nConnectionIndex = 0; nConnectionIndex < nConnections; nConnectionIndex++) + { + pT->Lock(); + CComPtr<IUnknown> sp = m_vec.GetAt(nConnectionIndex); + pT->Unlock(); + IDispatch* pDispatch = reinterpret_cast<IDispatch*>(sp.p); + if (pDispatch != NULL) + { + // operator= doesn't accept VARIANT_BOOL * + VARIANT vt; + ::VariantInit(&vt); + vt.vt = VT_BYREF | VT_BOOL; + vt.pboolVal = &bError; + + pvars[1] = bstrText; + pvars[0] = vt; + DISPPARAMS disp = { pvars, NULL, 2, 0 }; + pDispatch->Invoke(6, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL, NULL, NULL); + } + } + delete[] pvars; + } }; #endif |
From: John D. <go...@us...> - 2003-09-05 03:19:45
|
Log Message: ----------- Fixed crash when IDing a monster Modified Files: -------------- /cvsroot/decaldev/source/DecalFilters: World.cpp Revision Data ------------- Index: World.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/World.cpp,v retrieving revision 1.51 retrieving revision 1.52 diff -u -d -r1.51 -r1.52 --- World.cpp 3 Sep 2003 02:10:58 -0000 1.51 +++ World.cpp 5 Sep 2003 03:19:42 -0000 1.52 @@ -895,7 +895,8 @@ CComPtr<IMessageIterator> pItems, pItem; pMembers->get_NextObject(strdwords, &pItems); - while (SUCCEEDED(pItems->get_NextObjectIndex(&pItem))) { + + while (pItems != NULL && SUCCEEDED(pItems->get_NextObjectIndex(&pItem))) { long key, value ; pItem->get_NextInt(strkey, &key) ; pItem->get_NextInt(strvalue, &value) ; @@ -924,21 +925,17 @@ _DebugLog("\nGetting iterator") ; pMembers->get_NextObject(strdoubles, &pItems); - if (pItems == NULL) { - _DebugLog("\nFailed getting iterator!") ; - } else { - _DebugLog("\nGetting object") ; - while (SUCCEEDED(pItems->get_NextObjectIndex(&pItem))) { - long key ; - float value ; - _DebugLog("\nGetting key") ; - pItem->get_NextInt(strkey, &key) ; - _DebugLog("\nGetting value") ; - pItem->get_NextFloat(strvalue, &value) ; - _DebugLog("\n key:%d value:%f || ", key, value) ; - switch (key) { - case 0x90: pData->m_ManaCMod = value ; _DebugLog("ManaCMod %f", value) ; break ; - } + _DebugLog("\nGetting object") ; + while (pItems != NULL && SUCCEEDED(pItems->get_NextObjectIndex(&pItem))) { + long key ; + float value ; + _DebugLog("\nGetting key") ; + pItem->get_NextInt(strkey, &key) ; + _DebugLog("\nGetting value") ; + pItem->get_NextFloat(strvalue, &value) ; + _DebugLog("\n key:%d value:%f || ", key, value) ; + switch (key) { + case 0x90: pData->m_ManaCMod = value ; _DebugLog("ManaCMod %f", value) ; break ; } } } @@ -949,21 +946,17 @@ CComPtr<IMessageIterator> pItems, pItem; pMembers->get_NextObject(strstrings, &pItems); - if (pItems == NULL) { - _DebugLog("\nNo strings") ; - } else { - while (SUCCEEDED(pItems->get_NextObjectIndex(&pItem))) { - long key ; - BSTR value ; - pItem->get_NextInt(strkey, &key) ; - pItem->get_NextString(strstring, &value) ; - std::string sValue = OLE2A(value) ; - _DebugLog("\n key:%d value:%s || ", key, sValue.c_str()) ; + while (pItems != NULL && SUCCEEDED(pItems->get_NextObjectIndex(&pItem))) { + long key ; + BSTR value ; + pItem->get_NextInt(strkey, &key) ; + pItem->get_NextString(strstring, &value) ; + std::string sValue = OLE2A(value) ; + _DebugLog("\n key:%d value:%s || ", key, sValue.c_str()) ; - switch (key) { - case 0x07: pData->m_Inscription = sValue ; _DebugLog("Inscription") ; break ; - case 0x13: pData->m_RaceReq = sValue ; _DebugLog("RaceReq") ; break ; - } + switch (key) { + case 0x07: pData->m_Inscription = sValue ; _DebugLog("Inscription") ; break ; + case 0x13: pData->m_RaceReq = sValue ; _DebugLog("RaceReq") ; break ; } } } @@ -973,23 +966,18 @@ CComPtr<IMessageIterator> pItems, pItem; pMembers->get_NextObject(strspells, &pItems); + int ix=0 ; + while (pItems != NULL && SUCCEEDED(pItems->get_NextObjectIndex(&pItem))) { + long spellID, spellFlag ; + pItem->get_NextInt(strspellID, &spellID) ; + pItem->get_NextInt(strspellFlag, &spellFlag) ; - if (pItems == NULL) { - _DebugLog("\nNo spells") ; - } else { - int ix=0 ; - while (SUCCEEDED(pItems->get_NextObjectIndex(&pItem))) { - long spellID, spellFlag ; - pItem->get_NextInt(strspellID, &spellID) ; - pItem->get_NextInt(strspellFlag, &spellFlag) ; - - _DebugLog("\n key:%d value:%d || ", spellID, spellFlag) ; - if (spellFlag == 0 && ix < 10) { - pData->m_Spell[ix++] = spellID ; - } + _DebugLog("\n key:%d value:%d || ", spellID, spellFlag) ; + if (spellFlag == 0 && ix < 10) { + pData->m_Spell[ix++] = spellID ; } - pData->m_SpellCount = ix ; } + pData->m_SpellCount = ix ; } if (ObjectIdMask && 0x0020) { _DebugLog("\nChecking damages") ; |
From: John D. <go...@us...> - 2003-09-03 02:10:59
|
Log Message: ----------- Now fires change event when done processing the ID message. Modified Files: -------------- /cvsroot/decaldev/source/DecalFilters: World.cpp Revision Data ------------- Index: World.cpp =================================================================== RCS file: /cvsroot/decaldev/source/DecalFilters/World.cpp,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- World.cpp 30 Aug 2003 16:57:22 -0000 1.50 +++ World.cpp 3 Sep 2003 02:10:58 -0000 1.51 @@ -1012,6 +1012,7 @@ pMembers->get_NextFloat(stracidProt, &(pData->m_AcidProt)) ; pMembers->get_NextFloat(strelectricalProt, &(pData->m_ElectProt)) ; } + Fire_ChangeObject(pData->m_p, strIdentReceived); } |