Initial commit: ROW Client source code
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>
This commit is contained in:
47
Library/dxx8/samples/Multimedia/Demos/Donuts3D/gamemenu.h
Normal file
47
Library/dxx8/samples/Multimedia/Demos/Donuts3D/gamemenu.h
Normal file
@@ -0,0 +1,47 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user