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>
48 lines
890 B
C++
48 lines
890 B
C++
//-----------------------------------------------------------------------------
|
|
// File: GameMenu.h
|
|
//
|
|
// Desc: Code for in-game menus
|
|
//
|
|
// Copyright (C) 1999-2001 Microsoft Corporation. All Rights Reserved.
|
|
//-----------------------------------------------------------------------------
|
|
#ifndef GAMEMENU_H
|
|
#define GAMEMENU_H
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Name: class CMenuItem
|
|
// Desc:
|
|
//-----------------------------------------------------------------------------
|
|
class CMenuItem
|
|
{
|
|
public:
|
|
TCHAR strLabel[80];
|
|
DWORD dwID;
|
|
CMenuItem* pParent;
|
|
|
|
CMenuItem* pChild[10];
|
|
DWORD dwNumChildren;
|
|
|
|
DWORD dwSelectedMenu;
|
|
|
|
public:
|
|
HRESULT Render( LPDIRECT3DDEVICE8 pd3dDevice, CD3DFont* pFont );
|
|
|
|
CMenuItem* Add( CMenuItem* );
|
|
|
|
CMenuItem( TCHAR* strLabel, DWORD dwID );
|
|
~CMenuItem();
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|