Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS

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.
This commit is contained in:
Cyd
2026-06-24 21:28:16 -05:00
commit 2b8ca921cb
66341 changed files with 7923174 additions and 0 deletions
+87
View File
@@ -0,0 +1,87 @@
// ctcls.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "ctcls.h"
#pragma data_seg(".SHARED_DATA")
// all data in this section must be INITIALIZED!!!!!!!!!!!!!
int g_nApplType = _EAT_None;
int g_nApplState = _EAS_None;
int g_nGameState = _EGS_None;
int g_nGameTime = -1;
int g_nGameIsServer = 2;
#pragma data_seg()
#pragma comment(linker, "/section:.SHARED_DATA,RWS")
BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
CTCL_SetGameState(_EGS_None);
CTCL_SetApplState(_EAS_None);
CTCL_SetApplType(_EAT_None);
break;
}
return TRUE;
}
CTCLS_API DWORD CTCL_GetVersion()
{
return CTCL_VERSION;
}
CTCLS_API int CTCL_GetApplType()
{
return g_nApplType;
}
CTCLS_API void CTCL_SetApplType(int nApplType)
{
g_nApplType = nApplType;
}
CTCLS_API int CTCL_GetApplState()
{
return g_nApplState;
}
CTCLS_API void CTCL_SetApplState(int nApplState)
{
g_nApplState = nApplState;
}
CTCLS_API int CTCL_GetGameState()
{
return g_nGameState;
}
CTCLS_API void CTCL_SetGameState(int nGameState)
{
g_nGameState = nGameState;
}
CTCLS_API int CTCL_GetGameTime()
{
return g_nGameTime;
}
CTCLS_API void CTCL_SetGameTime(int nGameTime)
{
g_nGameTime = nGameTime;
}
CTCLS_API int CTCL_GetGameIsServer()
{
return g_nGameIsServer;
}
CTCLS_API void CTCL_SetGameIsServer(int nGameIsServer)
{
g_nGameIsServer = nGameIsServer;
}