This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

4240
dmxeditlib/dmxedit.cpp Normal file

File diff suppressed because it is too large Load Diff

40
dmxeditlib/dmxeditlib.vpc Normal file
View File

@@ -0,0 +1,40 @@
//-----------------------------------------------------------------------------
// MDLOBJECTS.VPC
//
// Project Script
//-----------------------------------------------------------------------------
$Macro SRCDIR ".."
$Macro OUTLIBNAME "dmxedit"
$Include "$SRCDIR\vpc_scripts\source_lib_base.vpc"
$Configuration
{
$Compiler
{
$PreprocessorDefinitions "$BASE;DMXEDIT_LIB"
}
}
$Project "dmxeditlib"
{
$Folder "Header Files"
{
}
$Folder "Source Files"
{
$File "dmxedit.cpp"
$File "winstuff.cpp"
}
$Folder "Interface"
{
$File "$SRCDIR\public\dmxeditlib\dmxedit.h"
}
$Folder "external"
{
}
}

36
dmxeditlib/winstuff.cpp Normal file
View File

@@ -0,0 +1,36 @@
//=============================================================================
//
// The copyright to the contents herein is the property of Valve, L.L.C.
// The contents may be used and/or copied only with the written permission of
// Valve, L.L.C., or in accordance with the terms and conditions stipulated in
// the agreement/contract under which the contents have been supplied.
//
// $Header: $
// $NoKeywords: $
//
// Some junk to isolate <windows.h> from polluting everything
//
//=============================================================================
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif // #ifdef WIN32
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
void MyGetUserName( char *pszBuf, unsigned long *pBufSiz )
{
GetUserName( pszBuf, pBufSiz );
}
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
void MyGetComputerName( char *pszBuf, unsigned long *pBufSiz )
{
GetComputerName( pszBuf, pBufSiz );
}