Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
39 lines
831 B
C++
39 lines
831 B
C++
|
|
//===============================================================
|
|
// MODULE: dprintf()
|
|
//
|
|
// HISTORY:
|
|
// Tom McConnell 01/18/93 Created.
|
|
// raypa 07/09/93 ifdef DEBUG.
|
|
//===============================================================
|
|
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
#include <windows.h>
|
|
|
|
#ifdef DEBUG
|
|
|
|
//===============================================================
|
|
// dprintf()
|
|
//
|
|
// Handles dumping info to OutputDebugString
|
|
//
|
|
// HISTORY:
|
|
//
|
|
// Tom McConnell 1/18/93 Created
|
|
//===============================================================
|
|
|
|
static void dprintf(char *format, ...)
|
|
{
|
|
va_list args;
|
|
char buffer[255];
|
|
|
|
va_start(args,format);
|
|
|
|
strcpy(buffer + vsprintf(buffer,format,args), "\r\n");
|
|
|
|
OutputDebugString(buffer);
|
|
}
|
|
|
|
#endif
|