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>
27 lines
778 B
C
27 lines
778 B
C
//------------------------------------------------------------------------------
|
|
// File: Util.h
|
|
//
|
|
// Desc: DirectShow sample code - prototypes of utility routines.
|
|
//
|
|
// Copyright (c) 1999-2001 Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
void GetVideoInfoParameters(
|
|
const VIDEOINFOHEADER *pvih,
|
|
PBYTE pbData,
|
|
DWORD *pdwWidth,
|
|
DWORD *pdwHeight,
|
|
LONG *plStrideInBytes,
|
|
BYTE **ppbTop
|
|
);
|
|
|
|
void OurFillRect(const VIDEOINFOHEADER *pvih, PBYTE pbData, WORD wVal);
|
|
|
|
void DrawOurText(const VIDEOINFOHEADER * pvih, PBYTE pbData, LPCTSTR szBuffer);
|
|
|
|
PBYTE TextBitmap(LPCTSTR lpsz, SIZE *pSize);
|
|
|
|
// Helper
|
|
bool TypesMatch(const DMO_MEDIA_TYPE *pmt1, const DMO_MEDIA_TYPE *pmt2);
|