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>
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
//-----------------------------------------------------------------------------
|
|
// File: Textures.h
|
|
//
|
|
// Desc: DirectShow sample code - header file for DirectShow/Direct3D8 video
|
|
// texturing
|
|
//
|
|
// Copyright (c) 2000-2001 Microsoft Corporation. All rights reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
#include <d3dx8.h>
|
|
#include <windows.h>
|
|
#include <mmsystem.h>
|
|
#include <atlbase.h>
|
|
#include <stdio.h>
|
|
|
|
#include <d3d8types.h>
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Forward Declarations
|
|
//-----------------------------------------------------------------------------
|
|
HRESULT InitDShowTextureRenderer(LPDIRECT3DTEXTURE8 pTexture);
|
|
void CheckMovieStatus(void);
|
|
void CleanupDShow(void);
|
|
HRESULT AddToROT(IUnknown *pUnkGraph);
|
|
void RemoveFromROT(void);
|
|
void Msg(TCHAR *szFormat, ...);
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Direct3D global variables
|
|
//-----------------------------------------------------------------------------
|
|
extern LPDIRECT3D8 g_pD3D; // Used to create the D3DDevice
|
|
extern LPDIRECT3DDEVICE8 g_pd3dDevice; // Our rendering device
|
|
extern LPDIRECT3DVERTEXBUFFER8 g_pVB; // Buffer to hold vertices
|
|
extern LPDIRECT3DTEXTURE8 g_pTexture; // Our texture
|
|
|