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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+37
View File
@@ -0,0 +1,37 @@
========================================================================
DYNAMIC LINK LIBRARY : ctcls
========================================================================
AppWizard has created this ctcls DLL for you.
This file contains a summary of what you will find in each of the files that
make up your ctcls application.
ctcls.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
ctcls.cpp
This is the main DLL source file.
ctcls.h
This file contains your DLL exports.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named ctcls.pch and a precompiled types file named StdAfx.obj.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
// stdafx.cpp : source file that includes just the standard includes
// ctcls.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
+52
View File
@@ -0,0 +1,52 @@
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__54F78947_52AA_4C62_858A_5938D7F9218F__INCLUDED_)
#define AFX_STDAFX_H__54F78947_52AA_4C62_858A_5938D7F9218F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Insert your headers here
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <windows.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <limits.h>
#include <malloc.h>
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <io.h>
#include <crtdbg.h>
#include <stdio.h>
#include <ctype.h>
#include <signal.h>
#include <errno.h>
#include <limits.h>
#include <fcntl.h>
#define _T(x) x
#define CTCL_VERSION 0x0100
#include "nonmfc.h"
// TODO: reference additional headers your program requires here
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__54F78947_52AA_4C62_858A_5938D7F9218F__INCLUDED_)
+49
View File
@@ -0,0 +1,49 @@
#define _EAT_None 0
#define _EAT_MW4 1
#define _EAT_RP 2
#define _EAT_MAX 2 // max appl count...
#define _EAS_None 0
#define _EAS_PreLaunch 1
#define _EAS_Launched 2
#define _EAS_PostLaunch 3
#define _EGS_None 0
#define _EGS_Idle 1
#define _EGS_Preparing 2
#define _EGS_Running 3
#define _EGS_Closing 4
#define _EGR_NotConnected (-2)
#define _EGR_Connected (-1)
#define _EGR_NoError 0
#define _EGR_PreparingStarted 1
#define _EGR_ErrCreateSession 2
#define _EGR_OkCreateSession 3
#define _EGR_OkLaunchReady 4
#define _EGR_ErrJoinSession 5
#define _EGR_OkJoinSession 6
// CTCL_GetType return value
#define _ECTCL_Launcher 0
#define _ECTCL_Console 1 // CTCL_IsConsole()
#define _ECTCL_Game 2
#define _ECTCL_CameraShip 3
#define _ECTCL_None 4
// CTCL_Get/Set Param...
#define _CTCL_GetTeslaCountAll 100
#define _CTCL_GetTeslaCount 101
#define _CTCL_GetTeslaInfo 102
#define _CTCL_GetTeslaName 103
#define _CTCL_OrderAppl 104 // param: 0 - terminate, 1 - launch, 2 - end mission
#define _CTCL_Order_Terminate 0
#define _CTCL_Order_EndMission 1
#define _CTCL_Order_Launch 100
#define _CTCL_Order_Shutdown 101
#define _CTCL_Order_Reboot 102
#define _CTCL_Order_Unload 103
#define _CTCL_GetInviteCOOP 105
#define _CTCL_SetInviteCOOP 106
+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;
}
+155
View File
@@ -0,0 +1,155 @@
# Microsoft Developer Studio Project File - Name="ctcls" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=CTCLS - WIN32 DEBUG
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "ctcls.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "ctcls.mak" CFG="CTCLS - WIN32 DEBUG"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "ctcls - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "ctcls - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "ctcls - Win32 Profile" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""$/GameLeapCode/ctcls", ZXBAAAAA"
# PROP Scc_LocalPath "."
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "ctcls - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../rel.bin"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
IF "$(CFG)"== "ScriptStrings - Win32 Debug"
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CTCLS_EXPORTS" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /G6 /Zp4 /MD /W3 /GR /Oa /Og /Oi /Gy /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CTCLS_EXPORTS" /D "NDEBUG" /D "WIN32" /Yu"stdafx.h" /FD /c
# SUBTRACT CPP /Fr
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x412 /d "NDEBUG"
# ADD RSC /l 0x412 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
!ELSEIF "$(CFG)" == "ctcls - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../dbg.bin"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
IF "$(CFG)"== "ScriptStrings - Win32 Debug"
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CTCLS_EXPORTS" /Yu"stdafx.h" /FD /GZ /c
# ADD CPP /nologo /G6 /Zp4 /MDd /W3 /Gm /GX /Zi /Od /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CTCLS_EXPORTS" /D "LAB_ONLY" /D "WIN32" /D "_DEBUG" /FR /Yu"stdafx.h" /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x412 /d "_DEBUG"
# ADD RSC /l 0x412 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
!ELSEIF "$(CFG)" == "ctcls - Win32 Profile"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ctcls___Win32_Profile"
# PROP BASE Intermediate_Dir "ctcls___Win32_Profile"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../pro.bin"
# PROP Intermediate_Dir "Profile"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
IF "$(CFG)"== "ScriptStrings - Win32 Debug"
# ADD BASE CPP /nologo /G6 /Gz /Zp4 /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CTCLS_EXPORTS" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /G6 /Zp4 /MD /W3 /GX /Zi /O2 /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CTCLS_EXPORTS" /D "NDEBUG" /D "WIN32" /Yu"stdafx.h" /FD /c
# SUBTRACT CPP /Fr
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x412 /d "NDEBUG"
# ADD RSC /l 0x412 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
!ENDIF
# Begin Target
# Name "ctcls - Win32 Release"
# Name "ctcls - Win32 Debug"
# Name "ctcls - Win32 Profile"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\ctcls.cpp
# End Source File
# Begin Source File
SOURCE=.\StdAfx.cpp
# ADD CPP /Yc"stdafx.h"
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=.\ctcls.h
# End Source File
# Begin Source File
SOURCE=.\StdAfx.h
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# Begin Source File
SOURCE=.\ReadMe.txt
# End Source File
# End Target
# End Project
+26
View File
@@ -0,0 +1,26 @@
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the CTCLS_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see
// CTCLS_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef CTCLS_EXPORTS
#define CTCLS_API __declspec(dllexport)
#else
#define CTCLS_API __declspec(dllimport)
#endif
#include "ctcl_params.h"
CTCLS_API DWORD CTCL_GetVersion();
CTCLS_API int CTCL_GetApplType();
CTCLS_API void CTCL_SetApplType(int nApplType);
CTCLS_API int CTCL_GetApplState();
CTCLS_API void CTCL_SetApplState(int nApplState);
CTCLS_API int CTCL_GetGameState();
CTCLS_API void CTCL_SetGameState(int nGameState);
CTCLS_API int CTCL_GetGameTime();
CTCLS_API void CTCL_SetGameTime(int nGameTime);
CTCLS_API int CTCL_GetGameIsServer();
CTCLS_API void CTCL_SetGameIsServer(int nGameIsServer);
+16
View File
@@ -0,0 +1,16 @@
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: ctcls - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
<h3>Results</h3>
ctcls.dll - 0 error(s), 0 warning(s)
</pre>
</body>
</html>
+108
View File
@@ -0,0 +1,108 @@
#ifdef _DEBUG
#define AssertDebugBreak() _asm { int 3 }
inline BOOL AssertDialog(const char* pcszExpr, const char* pcszfile, int nLine)
{
char szBuf[MAX_PATH * 2];
sprintf(szBuf, "\"%s\" 파일의 %d줄에서 ASSERT!!!\n\n디버깅을 하시겠습니까?", pcszfile, nLine);
#ifdef WIN32
return ::MessageBox(NULL, szBuf, pcszExpr, MB_YESNO) == IDYES;
#else // !WIN32
return FALSE;
#endif // WIN32
}
inline BOOL __cdecl AssertReturnFALSE()
{
return FALSE;
}
#ifndef ASSERT
#define ASSERT(x) { if (!(x)) AssertDialog(#x, THIS_FILE, __LINE__); }
#endif
#define ASSERT_FALSE() ASSERT(AssertReturnFALSE())
#ifndef VERIFY
#define VERIFY(x) { if (!(x)) AssertDialog(#x, THIS_FILE, __LINE__); }
#endif
#ifndef TRACE
inline int __DbgTrace(const char* pcszFormat, ...)
{
va_list ap;
va_start(ap, pcszFormat);
char caBuffer[1024];
vsprintf(caBuffer, pcszFormat, ap);
va_end(ap);
::OutputDebugString(caBuffer);
return 0;
}
#define TRACE __DbgTrace
#endif
#ifndef THIS_FILE
#define THIS_FILE __FILE__
#endif // !THIS_FILE
#ifndef BASED_CODE
#define BASED_CODE
#endif // !BASED_CODE
#ifdef malloc
#undef malloc
#undef calloc
#undef realloc
#undef _expand
#undef free
#undef _msize
#endif
#define malloc(s) _malloc_dbg(s, _NORMAL_BLOCK, THIS_FILE, __LINE__)
#define calloc(c, s) _calloc_dbg(c, s, _NORMAL_BLOCK, THIS_FILE, __LINE__)
#define realloc(p, s) _realloc_dbg(p, s, _NORMAL_BLOCK, THIS_FILE, __LINE__)
#define _expand(p, s) _expand_dbg(p, s, _NORMAL_BLOCK, THIS_FILE, __LINE__)
#define free(p) _free_dbg(p, _NORMAL_BLOCK)
#define _msize(p) _msize_dbg(p, _NORMAL_BLOCK)
//----------------------------------------------------------------------------------------------------------
inline void* __cdecl operator new(size_t nSize, LPCSTR lpszFileName, int nLine)
{
void* p = _malloc_dbg(nSize, _NORMAL_BLOCK, lpszFileName, nLine);
return p;
}
inline void __cdecl operator delete(void* p, LPCSTR lpszFileName, int nLine)
{
_free_dbg(p, _NORMAL_BLOCK);
}
//----------------------------------------------------------------------------------------------------------
#ifndef _AFX
#define DEBUG_NEW new //(THIS_FILE, __LINE__)
#define DEBUG_DELETE delete //(THIS_FILE, __LINE__)
#endif
#else // !_DEBUG
#define ASSERTDLG_PUSH(hWnd)
#define ASSERTDLG_POP()
#ifndef ASSERT
#define ASSERT(x)
#endif
#define ASSERT_FALSE()
#ifndef VERIFY
#define VERIFY(x) x
#endif
#ifndef TRACE
inline int __DbgTraceIgnore(const char* pcszFormat, ...) { &pcszFormat; return 0; }
#define TRACE 1 ? 0: __DbgTraceIgnore
#endif
#endif // _DEBUG