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:
@@ -0,0 +1,65 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// File: PlayVideo.h
|
||||
//
|
||||
// Desc: DirectShow sample code - declarations for media control functions.
|
||||
//
|
||||
// Copyright (c) 1998-2001 Microsoft Corporation. All rights reserved.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef PLAY_VID_H
|
||||
#define PLAY_VID_H
|
||||
|
||||
//
|
||||
// Constants
|
||||
//
|
||||
#define VOLUME_FULL 0L
|
||||
#define VOLUME_SILENCE -10000L
|
||||
|
||||
// Application-defined messages
|
||||
#define WM_GRAPHNOTIFY WM_APP + 1
|
||||
#define WM_FIRSTFILE WM_APP + 2
|
||||
#define WM_PLAYFILE WM_APP + 3
|
||||
#define WM_NEXTFILE WM_APP + 4
|
||||
#define WM_PREVIOUSFILE WM_APP + 5
|
||||
|
||||
//
|
||||
// Macros
|
||||
//
|
||||
#define SAFE_RELEASE(i) {if (i) i->Release(); i = NULL;}
|
||||
|
||||
#define JIF(x) if (FAILED(hr=(x))) \
|
||||
{RetailOutput(TEXT("FAILED(0x%x) ") TEXT(#x) TEXT("\n"), hr); goto CLEANUP;}
|
||||
|
||||
//
|
||||
// Global data
|
||||
//
|
||||
extern IGraphBuilder *pGB;
|
||||
extern IMediaSeeking *pMS;
|
||||
extern IMediaControl *pMC;
|
||||
extern IMediaEventEx *pME;
|
||||
extern IBasicVideo *pBV;
|
||||
extern IVideoWindow *pVW;
|
||||
|
||||
extern FILTER_STATE g_psCurrent;
|
||||
extern BOOL g_bLooping, g_bAudioOnly, g_bPlayThrough;
|
||||
extern BOOL g_bDisplayEvents, g_bGlobalMute;
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// External function-prototypes
|
||||
//-----------------------------------------------------------------------------
|
||||
HRESULT RunMedia(void);
|
||||
HRESULT StopMedia(void);
|
||||
HRESULT PauseMedia(void);
|
||||
HRESULT PlayMedia(LPTSTR lpszMovie, HINSTANCE hInstance);
|
||||
HRESULT CheckMovieState(BOOL *pbComplete);
|
||||
HRESULT GetInterfaces(void);
|
||||
HRESULT MuteAudio(void);
|
||||
HRESULT ResumeAudio(void);
|
||||
void CleanupInterfaces(void);
|
||||
void ToggleFullscreen(void);
|
||||
|
||||
void RetailOutput(TCHAR *tszErr, ...);
|
||||
|
||||
#endif // !defined(PLAY_VID_H)
|
||||
Reference in New Issue
Block a user