|
From: <ha...@us...> - 2002-12-11 21:49:58
|
Update of /cvsroot/decaldev/source/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv9788
Modified Files:
Decal.idl
Log Message:
GetHooksAvailEx stuff by cynica_l, with some fixes for a vc6 compile error.
Index: Decal.idl
===================================================================
RCS file: /cvsroot/decaldev/source/Include/Decal.idl,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** Decal.idl 11 Dec 2002 03:34:21 -0000 1.25
--- Decal.idl 11 Dec 2002 21:49:53 -0000 1.26
***************
*** 16,26 ****
eCurrentMana = 5,
eMaximumMana = 6,
! eBaseHealth = 7,
eBaseStamina = 8,
! eBaseMana = 9,
eCurrentStrength = 1,
eCurrentEndurance = 2,
eCurrentQuickness = 3,
! eCurrentCoordination = 4,
eCurrentFocus = 5,
eCurrentSelf = 6,
--- 16,26 ----
eCurrentMana = 5,
eMaximumMana = 6,
! eBaseHealth = 7,
eBaseStamina = 8,
! eBaseMana = 9,
eCurrentStrength = 1,
eCurrentEndurance = 2,
eCurrentQuickness = 3,
! eCurrentCoordination = 4,
eCurrentFocus = 5,
eCurrentSelf = 6,
***************
*** 29,113 ****
eBaseQuickness = 9,
eBaseCoordination = 10,
! eBaseFocus = 11,
! eBaseSelf = 12
};
enum eSkill
{
! eCurrentAxe = 1,
! eCurrentBow = 2,
! eCurrentCrossbow = 3,
! eCurrentDagger = 4,
! eCurrentMace = 5,
! eCurrentMeleeDefense = 6,
! eCurrentMissileDefense = 7,
! eCurrentSpear = 9,
! eCurrentStaff = 10,
! eCurrentSword = 11,
! eCurrentThrownWeapons = 12,
! eCurrentUnarmed = 13,
! eCurrentArcaneLore = 14,
! eCurrentMagicDefense = 15,
! eCurrentManaConversion = 16,
! eCurrentItemTinkering = 18,
! eCurrentAssessPerson = 19,
! eCurrentDeception = 20,
! eCurrentHealing = 21,
! eCurrentJump = 22,
! eCurrentLockpick = 23,
! eCurrentRun = 24,
! eCurrentAssessCreature = 27,
! eCurrentWeaponTinkering = 28,
! eCurrentArmorTinkering = 29,
! eCurrentMagicItemTinkering = 30,
! eCurrentCreatureEnchantment = 31,
! eCurrentItemEnchantment = 32,
! eCurrentLifeMagic = 33,
! eCurrentWarMagic = 34,
! eCurrentLeadership = 35,
! eCurrentLoyalty = 36,
! eCurrentFletchingSkill = 37,
! eCurrentAlchemySkill = 38,
! eCurrentCookingSkill = 39,
! eBaseAxe = 51,
! eBaseBow = 52,
! eBaseCrossbow = 53,
! eBaseDagger = 54,
! eBaseMace = 55,
! eBaseMeleeDefense = 56,
! eBaseMissileDefense = 57,
! eBaseSpear = 59,
! eBaseStaff = 60,
! eBaseSword = 61,
! eBaseThrownWeapons = 62,
! eBaseUnarmed = 63,
! eBaseArcaneLore = 64,
! eBaseMagicDefense = 65,
! eBaseManaConversion = 66,
! eBaseItemTinkering = 68,
! eBaseAssessPerson = 69,
! eBaseDeception = 70,
! eBaseHealing = 71,
! eBaseJump = 72,
! eBaseLockpick = 73,
! eBaseRun = 74,
! eBaseAssessCreature = 77,
! eBaseWeaponTinkering = 78,
! eBaseArmorTinkering = 79,
! eBaseMagicItemTinkering = 80,
! eBaseCreatureEnchantment = 81,
! eBaseItemEnchantment = 82,
! eBaseLifeMagic = 83,
! eBaseWarMagic = 84,
! eBaseLeadership = 85,
! eBaseLoyalty = 86,
! eBaseFletchingSkill = 87,
! eBaseAlchemySkill = 88,
! eBaseCookingSkill = 89
};
! enum eAvailableHooks {
ePrevSelect = 0x00000001,
! eCurrentSelect = 0x00000002,
eMouse = 0x00000004,
eCastSpell = 0x00000008,
--- 29,114 ----
eBaseQuickness = 9,
eBaseCoordination = 10,
! eBaseFocus = 11,
! eBaseSelf = 12
};
enum eSkill
{
! eCurrentAxe = 1,
! eCurrentBow = 2,
! eCurrentCrossbow = 3,
! eCurrentDagger = 4,
! eCurrentMace = 5,
! eCurrentMeleeDefense = 6,
! eCurrentMissileDefense = 7,
! eCurrentSpear = 9,
! eCurrentStaff = 10,
! eCurrentSword = 11,
! eCurrentThrownWeapons = 12,
! eCurrentUnarmed = 13,
! eCurrentArcaneLore = 14,
! eCurrentMagicDefense = 15,
! eCurrentManaConversion = 16,
! eCurrentItemTinkering = 18,
! eCurrentAssessPerson = 19,
! eCurrentDeception = 20,
! eCurrentHealing = 21,
! eCurrentJump = 22,
! eCurrentLockpick = 23,
! eCurrentRun = 24,
! eCurrentAssessCreature = 27,
! eCurrentWeaponTinkering = 28,
! eCurrentArmorTinkering = 29,
! eCurrentMagicItemTinkering = 30,
! eCurrentCreatureEnchantment = 31,
! eCurrentItemEnchantment = 32,
! eCurrentLifeMagic = 33,
! eCurrentWarMagic = 34,
! eCurrentLeadership = 35,
! eCurrentLoyalty = 36,
! eCurrentFletchingSkill = 37,
! eCurrentAlchemySkill = 38,
! eCurrentCookingSkill = 39,
! eBaseAxe = 51,
! eBaseBow = 52,
! eBaseCrossbow = 53,
! eBaseDagger = 54,
! eBaseMace = 55,
! eBaseMeleeDefense = 56,
! eBaseMissileDefense = 57,
! eBaseSpear = 59,
! eBaseStaff = 60,
! eBaseSword = 61,
! eBaseThrownWeapons = 62,
! eBaseUnarmed = 63,
! eBaseArcaneLore = 64,
! eBaseMagicDefense = 65,
! eBaseManaConversion = 66,
! eBaseItemTinkering = 68,
! eBaseAssessPerson = 69,
! eBaseDeception = 70,
! eBaseHealing = 71,
! eBaseJump = 72,
! eBaseLockpick = 73,
! eBaseRun = 74,
! eBaseAssessCreature = 77,
! eBaseWeaponTinkering = 78,
! eBaseArmorTinkering = 79,
! eBaseMagicItemTinkering = 80,
! eBaseCreatureEnchantment = 81,
! eBaseItemEnchantment = 82,
! eBaseLifeMagic = 83,
! eBaseWarMagic = 84,
! eBaseLeadership = 85,
! eBaseLoyalty = 86,
! eBaseFletchingSkill = 87,
! eBaseAlchemySkill = 88,
! eBaseCookingSkill = 89
};
! enum eAvailableHooks
! {
ePrevSelect = 0x00000001,
! eCurrentSelect = 0x00000002,
eMouse = 0x00000004,
eCastSpell = 0x00000008,
***************
*** 115,143 ****
eSelectItem = 0x00000020,
eUseItem = 0x00000040,
! eCombatState = 0x00000080,
eChatState = 0x00000100,
! eGetFellowStats = 0x00000200,
eStackCount = 0x00000400,
! eTestFormula = 0x00000800,
eVendorID = 0x00001000,
eBusyState = 0x00002000,
! eBusyStateID = 0x00004000,
! ePointerState = 0x00008000,
eMoveItemEx = 0x00010000,
ePosition = 0x00020000,
! eFaceHeading = 0x00040000,
! eArea3DWidth = 0x00080000,
! eArea3DHeight = 0x00100000,
! eObjectDestroyed= 0x00200000,
eSendTell = 0x00400000,
eSetAutorun = 0x00800000,
eGetVital = 0x01000000,
eSendTellEx = 0x02000000,
! eLocalChatText = 0x04000000,
! eLocalChatEmote = 0x08000000,
! eSetCombatState = 0x10000000,
! eGetAttribute = 0x20000000,
! eGetSkill = 0x40000000
};
interface IPluginSite2;
--- 116,153 ----
eSelectItem = 0x00000020,
eUseItem = 0x00000040,
! eCombatState = 0x00000080,
eChatState = 0x00000100,
! eGetFellowStats = 0x00000200,
eStackCount = 0x00000400,
! eTestFormula = 0x00000800,
eVendorID = 0x00001000,
eBusyState = 0x00002000,
! eBusyStateID = 0x00004000,
! ePointerState = 0x00008000,
eMoveItemEx = 0x00010000,
ePosition = 0x00020000,
! eFaceHeading = 0x00040000,
! eArea3DWidth = 0x00080000,
! eArea3DHeight = 0x00100000,
! eObjectDestroyed = 0x00200000,
eSendTell = 0x00400000,
eSetAutorun = 0x00800000,
eGetVital = 0x01000000,
eSendTellEx = 0x02000000,
! eLocalChatText = 0x04000000,
! eLocalChatEmote = 0x08000000,
! eSetCombatState = 0x10000000,
! eGetAttribute = 0x20000000,
! eGetSkill = 0x40000000,
! eHooksAvailEx = 0x80000000
! };
!
! // Items in here go in sequence (0, 1, 2, 3, ...), not as a bit-field
! enum eAvailableHooksEx
! {
! eLogout = 0,
! eAvailableHooksEx_DWORD = 0x7FFFFFFF // coerce enums into 4 byte instead of two
};
+
interface IPluginSite2;
***************
*** 230,233 ****
--- 240,245 ----
[id(40), helpstring("method LocalChatEmote")] HRESULT LocalChatEmote([in] BSTR EmoteText);
[id(41), helpstring("method SetCombatState")] HRESULT SetCombatState([in] long pVal);
+ [propget, id(42), helpstring("property HooksAvailEx")] HRESULT HooksAvailEx([in] enum eAvailableHooksEx HookID,[out, retval] VARIANT_BOOL *pVal);
+ [id(43), helpstring("method Logout")] HRESULT Logout();
};
|