Initial commit: Complete open-source Decal rebuild
All 5 phases of the open-source Decal rebuild: Phase 1: 14 decompiled .NET projects (Interop.*, Adapter, FileService, DecalUtil) Phase 2: 10 native DLLs rewritten as C# COM servers with matching GUIDs - DecalDat, DHS, SpellFilter, DecalInput, DecalNet, DecalFilters - Decal.Core, DecalControls, DecalRender, D3DService Phase 3: C++ shims for Inject.DLL (D3D9 hooking) and LauncherHook.DLL Phase 4: DenAgent WinForms tray application Phase 5: WiX installer and build script 25 C# projects building with 0 errors. Native C++ projects require VS 2022 + Windows SDK (x86). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
d1442e3747
1382 changed files with 170725 additions and 0 deletions
55
Native/DecalFilters/AllegianceInfo.h
Normal file
55
Native/DecalFilters/AllegianceInfo.h
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
// AllegianceInfo.h: Definition of the AllegianceInfo class
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_ALLEGIANCEINFO_H__5CFBBCEE_BF69_4C0A_984D_6694471DD508__INCLUDED_)
|
||||
#define AFX_ALLEGIANCEINFO_H__5CFBBCEE_BF69_4C0A_984D_6694471DD508__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#include "resource.h" // main symbols
|
||||
#include "CharacterStats.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// AllegianceInfo
|
||||
|
||||
class cAllegianceInfo :
|
||||
public IDispatchImpl<IAllegianceInfo, &IID_IAllegianceInfo, &LIBID_DecalFilters>,
|
||||
public CComObjectRoot,
|
||||
public CComCoClass<cAllegianceInfo,&CLSID_AllegianceInfo>
|
||||
{
|
||||
public:
|
||||
|
||||
cAllegianceInfo()
|
||||
{
|
||||
m_pAllegiance = &m_pAlleg;
|
||||
}
|
||||
|
||||
cCharacterStats::cAllegianceInfo m_pAlleg;
|
||||
cCharacterStats::cAllegianceInfo *m_pAllegiance;
|
||||
|
||||
BEGIN_COM_MAP(cAllegianceInfo)
|
||||
COM_INTERFACE_ENTRY(IDispatch)
|
||||
COM_INTERFACE_ENTRY(IAllegianceInfo)
|
||||
END_COM_MAP()
|
||||
|
||||
//DECLARE_REGISTRY_RESOURCEID(IDR_AllegianceInfo)
|
||||
|
||||
// IAllegianceInfo
|
||||
public:
|
||||
STDMETHOD(get_Unknown)(/*[out, retval]*/ double *pVal);
|
||||
STDMETHOD(get_Rank)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_Race)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_Gender)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_Leadership)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_Loyalty)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_XP)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_Type)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_TreeParent)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_GUID)(/*[out, retval]*/ long *pVal);
|
||||
STDMETHOD(get_Name)(/*[out, retval]*/ BSTR *pVal);
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_ALLEGIANCEINFO_H__5CFBBCEE_BF69_4C0A_984D_6694471DD508__INCLUDED_)
|
||||
Loading…
Add table
Add a link
Reference in a new issue