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,81 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// File: Debug.h
|
||||
//
|
||||
// Desc: DirectShow sample code - debug header.
|
||||
//
|
||||
// Copyright (c) 1995-2001 Microsoft Corporation. All rights reserved.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef __DEBUG_INCLUDED__
|
||||
#define __DEBUG_INCLUDED__
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_SECTION "Debug" // section name for
|
||||
#define DEBUG_MODULE_NAME "DSSHOW" // key name and prefix for output
|
||||
#define DEBUG_MAX_LINE_LEN 255 // max line length (bytes!)
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
// based code makes since only in win 16 (to try and keep stuff out of
|
||||
// [fixed] data segments, etc)...
|
||||
//
|
||||
#ifndef BCODE
|
||||
#ifdef _WIN32
|
||||
#define BCODE
|
||||
#else
|
||||
#define BCODE _based(_segname("_CODE"))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
|
||||
//
|
||||
//
|
||||
//
|
||||
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ;
|
||||
|
||||
#ifdef DEBUG
|
||||
BOOL WINAPI DbgEnable(BOOL fEnable);
|
||||
UINT WINAPI DbgGetLevel(void);
|
||||
UINT WINAPI DbgSetLevel(UINT uLevel);
|
||||
UINT WINAPI DbgInitialize(BOOL fEnable);
|
||||
void WINAPI _Assert( char * szFile, int iLine );
|
||||
|
||||
void FAR CDECL dprintf(UINT uDbgLevel, LPSTR szFmt, ...);
|
||||
|
||||
#define D(x) {x;}
|
||||
#define DPF dprintf
|
||||
#define DPI(sz) {static char BCODE ach[] = sz; OutputDebugStr(ach);}
|
||||
#define ASSERT(x) if( !(x) ) _Assert( __FILE__, __LINE__)
|
||||
#else
|
||||
#define DbgEnable(x) FALSE
|
||||
#define DbgGetLevel() 0
|
||||
#define DbgSetLevel(x) 0
|
||||
#define DbgInitialize(x) 0
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4002)
|
||||
#endif
|
||||
|
||||
#define D(x)
|
||||
#define DPF()
|
||||
#define DPI(sz)
|
||||
#define ASSERT(x)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // __DEBUG_INCLUDED__
|
||||
Reference in New Issue
Block a user