Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
63 lines
1.4 KiB
C++
63 lines
1.4 KiB
C++
//-----------------------------------------------------------------------------
|
|
// File: idiacpage.h
|
|
//
|
|
// Desc: IDIDeviceActionConfigPage is a COM interface for
|
|
// CDIDeviceActionConfigPage. CConfigWnd uses this interface to access
|
|
// the pages in UI.
|
|
//
|
|
// Copyright (C) 1999-2001 Microsoft Corporation. All Rights Reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef __IDIACPAGE_H__
|
|
#define __IDIACPAGE_H__
|
|
|
|
|
|
typedef struct _DICFGPAGECREATESTRUCT {
|
|
|
|
DWORD dwSize;
|
|
|
|
int nPage;
|
|
|
|
HWND hParentWnd;
|
|
RECT rect;
|
|
HWND hPageWnd; // out
|
|
|
|
DIDEVICEINSTANCEW didi;
|
|
LPDIRECTINPUTDEVICE8W lpDID;
|
|
|
|
CUIGlobals *pUIGlobals;
|
|
IDIConfigUIFrameWindow *pUIFrame;
|
|
|
|
} DICFGPAGECREATESTRUCT;
|
|
|
|
|
|
class IDIDeviceActionConfigPage : public IUnknown
|
|
{
|
|
public:
|
|
|
|
//IUnknown fns
|
|
STDMETHOD (QueryInterface) (REFIID iid, LPVOID *ppv) PURE;
|
|
STDMETHOD_(ULONG, AddRef) () PURE;
|
|
STDMETHOD_(ULONG, Release) () PURE;
|
|
|
|
//IDirectInputActionConfigPage
|
|
STDMETHOD (Create) (DICFGPAGECREATESTRUCT *pcs) PURE;
|
|
STDMETHOD (Show) (LPDIACTIONFORMATW lpDiActFor) PURE;
|
|
STDMETHOD (Hide) () PURE;
|
|
|
|
// layout edit mode
|
|
STDMETHOD (SetEditLayout) (BOOL bEditLayout) PURE;
|
|
|
|
|
|
// Set the info box text
|
|
STDMETHOD (SetInfoText) (int iCode) PURE;
|
|
|
|
// Unacquire and Reacquire the device for page's purposes
|
|
// (the configwnd needs to do this around SetActionMap() calls)
|
|
STDMETHOD (Unacquire) () PURE;
|
|
STDMETHOD (Reacquire) () PURE;
|
|
};
|
|
|
|
|
|
#endif //__IDIACPAGE_H__
|