Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
test(gameengine): restore filesystem logic thread stubs
Richard Louie Orilla5c0a7f2fd865
diff --git a/GeneralsMD/Code/Tests/test_bigfilesystem_stubs.cpp b/GeneralsMD/Code/Tests/test_bigfilesystem_stubs.cppindex 4a0a9113d..0cb641c77 100644--- a/GeneralsMD/Code/Tests/test_bigfilesystem_stubs.cpp+++ b/GeneralsMD/Code/Tests/test_bigfilesystem_stubs.cpp@@ -38,6 +38,7 @@#include "Common/GameAudio.h"#include "Common/GlobalData.h"#include "Common/INI.h"+#include "Common/LogicThread.h"extern "C" void DebugInit(int){@@ -88,3 +89,7 @@ int MessageBoxWrapper(const char *text, const char *caption, unsigned int)++g_messageBoxes;return 1;}++// JobSystem.cpp counts the jobs a tick hands out (LOGIC_CENSUS); this test runs no logic thread.+thread_local Bool LogicThread::t_isLogicThread = FALSE;+void LogicThread::noteCensus(Channel) {}diff --git a/GeneralsMD/Code/Tests/test_posixlocalfilesystem_stubs.cpp b/GeneralsMD/Code/Tests/test_posixlocalfilesystem_stubs.cppindex 1b1094b5f..3629394aa 100644--- a/GeneralsMD/Code/Tests/test_posixlocalfilesystem_stubs.cpp+++ b/GeneralsMD/Code/Tests/test_posixlocalfilesystem_stubs.cpp@@ -35,6 +35,7 @@#include "Common/Debug.h"#include "Common/FileSystem.h"#include "Common/INI.h"+#include "Common/LogicThread.h"extern "C" void DebugInit(int){@@ -62,3 +63,7 @@ void INI::load(AsciiString, INILoadType, Xfer *) { unreachable("INI::load"); }FileSystem *TheFileSystem = NULL;File *FileSystem::openFile(const Char *, Int) { unreachable("FileSystem::openFile"); return NULL; }++// JobSystem.cpp counts the jobs a tick hands out (LOGIC_CENSUS); this test runs no logic thread.+thread_local Bool LogicThread::t_isLogicThread = FALSE;+void LogicThread::noteCensus(Channel) {}