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>
40 lines
1.5 KiB
C++
40 lines
1.5 KiB
C++
//-----------------------------------------------------------------------------
|
|
// File: DShowTextures.h
|
|
//
|
|
// Desc: DirectShow sample code - adds support for DirectShow videos playing
|
|
// on a DirectX 8.0 texture surface. Turns the D3D texture tutorial into
|
|
// a recreation of the VideoTex sample from previous versions of DirectX.
|
|
//
|
|
// Copyright (c) 2000-2001 Microsoft Corporation. All rights reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
#include <streams.h>
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Define GUID for Texture Renderer
|
|
// {71771540-2017-11cf-AE26-0020AFD79767}
|
|
//-----------------------------------------------------------------------------
|
|
struct __declspec(uuid("{71771540-2017-11cf-ae26-0020afd79767}")) CLSID_TextureRenderer;
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// CTextureRenderer Class Declarations
|
|
//-----------------------------------------------------------------------------
|
|
class CTextureRenderer : public CBaseVideoRenderer
|
|
{
|
|
public:
|
|
CTextureRenderer(LPUNKNOWN pUnk,HRESULT *phr);
|
|
~CTextureRenderer();
|
|
|
|
public:
|
|
HRESULT CheckMediaType(const CMediaType *pmt ); // Format acceptable?
|
|
HRESULT SetMediaType(const CMediaType *pmt ); // Video format notification
|
|
HRESULT DoRenderSample(IMediaSample *pMediaSample); // New video sample
|
|
|
|
LONG m_lVidWidth; // Video width
|
|
LONG m_lVidHeight; // Video Height
|
|
LONG m_lVidPitch; // Video Pitch
|
|
};
|
|
|
|
|