Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
52b6eb0
[GEN][ZH] Replace TheGlobalData macro with inline variable to make de…
xezon Jun 21, 2025
cc7dbee
[GEN][ZH] Downgrade debug assertion to log for isPathInDirectory (#1128)
slurmlord Jun 21, 2025
2a179d8
[ZH] Fix heap-use-after-free in LayersList::updateUIFromList() when c…
Caball009 Jun 21, 2025
a6e408b
[GEN] Backport bug fixes in CWorldBuilderDoc::OnNewDocument from Zero…
Caball009 Jun 21, 2025
1c8b33d
[GEN][ZH] Annotate fallthrough between various switch case labels (#1…
xezon Jun 21, 2025
093416a
[GEN][ZH] Prevent using uninitialized memory 'offset_u' in W3DTankDra…
xezon Jun 21, 2025
0ebdeeb
[GEN][ZH] Prevent using uninitialized memory 'start', 'end' in Bridge…
xezon Jun 21, 2025
915bd64
[GEN][ZH] Prevent dereferencing NULL pointer 'tex' in WW3DAssetManage…
xezon Jun 21, 2025
af35ed9
[GEN][ZH] Prevent reading invalid data in LoadScreen (#1090)
xezon Jun 21, 2025
9d64a43
[GEN][ZH] Fix using uninitialized memory 'curVictim' in EMPUpdate (#1…
xezon Jun 21, 2025
9615d21
[GEN][ZH] Prevent dereferencing NULL pointer 'TheAI' in AI::parseAiDa…
xezon Jun 21, 2025
adacc22
[GEN][ZH] Prevent dereferencing NULL pointer 'that' in PhysicsBehavio…
xezon Jun 21, 2025
246b43f
[GEN][ZH] Fix heap-use-after-free in DisconnectManager::update() (#1103)
xezon Jun 21, 2025
c8625ae
[GEN][ZH] Prevent buffer overrun while writing to 'new_types', 'new_l…
xezon Jun 21, 2025
7fd5245
[GEN][ZH] Fix dereferencing NULL pointer 'ext' in DX8Wrapper::_Create…
xezon Jun 21, 2025
d96ccec
[GEN][ZH] Write correct call to super class in constructor of GameSpy…
xezon Jun 21, 2025
b868561
[GEN][ZH] Remove unnecessary NULL pointer test in UpdateSlotList() (#…
xezon Jun 21, 2025
896c0bc
[GEN][ZH] Prevent dereferencing NULL pointer 'button' in ScriptAction…
xezon Jun 21, 2025
42bf7b9
[GEN][ZH] Prevent using uninitialized memory 'hr' in W3DShaderManager…
xezon Jun 21, 2025
ef82fdf
[GEN][ZH] Add missing break keywords between switch labels in W3DProj…
xezon Jun 21, 2025
80e8b23
[GEN][ZH] Fix dereferencing NULL pointer 'CBScheme->m_buttonQueueImag…
xezon Jun 21, 2025
e83038f
[GEN][ZH] Fix using uninitialized memory 'window' in GameWindowManage…
xezon Jun 21, 2025
37b73d7
[GEN][ZH] Fix incorrect default Resolution selection in the Options M…
xezon Jun 21, 2025
fd0cb36
[CORE] Fix copying of RefCountClass, RefCountValue (#1081)
xezon Jun 21, 2025
795c025
[GEN][ZH] Prevent unlikely buffer overrun while writing to 'newPts' i…
xezon Jun 21, 2025
f7f26a4
[GEN][ZH] Fix dereferencing NULL pointer 'victimObj' in WeaponTemplat…
xezon Jun 21, 2025
0279a8c
[GEN][ZH] Fix using uninitialized memory 'buff' in INI::getNextQuoted…
xezon Jun 21, 2025
5104ace
[GEN][ZH] Add Replay Simulation feature (#923)
helmutbuhler Jun 22, 2025
1ebbf5c
[ZH] Prevent dereferencing NULL pointer 'state' in StateMachine::xfer…
xezon Jun 22, 2025
8698229
[GEN][ZH] Remove unnecessary NULL pointer tests in RTS3DScene::RTS3DS…
xezon Jun 22, 2025
75a3a4b
[GEN][ZH] Suppress compiler warning about dereferencing NULL pointer …
xezon Jun 22, 2025
d5e18c5
[GEN][ZH] Remove unnecessary NULL pointer test in CrateCollide::isVal…
xezon Jun 22, 2025
1fbfbe7
[GEN][ZH] Prevent dereferencing NULL pointer 'pbmi' and memory leaks …
xezon Jun 22, 2025
75c40d0
[GEN][ZH] Prevent using uninitialized memory 'locked_rects' in Textur…
xezon Jun 22, 2025
2e8a2d1
[GEN][ZH] Do not acquire money transaction audio if the play sound pa…
Stubbjax Jun 22, 2025
da33465
[GEN][ZH] Prevent using uninitialized memory 'delta' in Dict::ensureU…
xezon Jun 22, 2025
e42d4e4
[GEN][ZH] Suppress compiler warning about buffer overrun while writin…
xezon Jun 22, 2025
be7f0d4
[GEN][ZH] Prevent using uninitialized memory 'result' in PartitionDat…
xezon Jun 22, 2025
d7bbe6b
[GEN][ZH] Prevent using uninitialized memory in PartitionData::update…
xezon Jun 22, 2025
2a0f3c6
[GEN][ZH] Fix GEOMETRY_SPHERE & GEOMETRY_CYLINDER treated as GEOMETRY…
xezon Jun 22, 2025
460c73d
[GEN][ZH] Remove unnecessary NULL pointer test in SaveLoadMenuSystem(…
xezon Jun 22, 2025
c9a4e3a
[GEN][ZH] Prevent dereferencing NULL pointer 'player' in setObserverW…
xezon Jun 22, 2025
c2b8a73
[GEN][ZH] Remove unnecessary NULL pointer test in CommandTranslator::…
xezon Jun 22, 2025
b32b081
[GEN][ZH] Suppress compile warning about buffer overrun while writing…
xezon Jun 22, 2025
264de8d
[GEN][ZH] Prevent dereferencing NULL pointer 'damageSource' in Transi…
xezon Jun 22, 2025
3e33df8
[GEN][ZH] Prevent dereferencing NULL pointer 'drawable' in BoneFXUpda…
xezon Jun 22, 2025
bbdfa50
[GEN][ZH] Prevent dereferencing NULL pointer 'font' in W3DFontLibrary…
xezon Jun 22, 2025
d1a8d65
[CORE] Prevent using uninitialized memory 'listline' in Cftp::FindFil…
xezon Jun 22, 2025
99003dc
[CORE] Prevent using uninitialized memory 'name' in RenderObjPersistF…
xezon Jun 22, 2025
b1e6792
[GEN][ZH] Remove unnecessary NULL pointer test in RTS3DScene::Visibil…
xezon Jun 22, 2025
b1b16b9
[GEN][ZH] Prevent dereferencing NULL pointer 'TheWritableGlobalData' …
xezon Jun 22, 2025
4c85403
[GEN][ZH] Prevent reading invalid data from 'm_numLevelPresets' in Ga…
xezon Jun 22, 2025
b9318ec
[GEN][ZH] Prevent reading invalid data from 'm_staticGameLODInfo' in …
xezon Jun 22, 2025
61cbc6f
[GEN][ZH] Prevent dereferencing NULL pointer 'theTemplate' in Upgrade…
xezon Jun 22, 2025
09c1c2b
[CMAKE] Enable multithreaded compilation for VC6 builds
barefootlogician Jun 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 82 additions & 41 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
{
"version": 6,
"cmakeMinimumRequired": {
"cmakeMinimumRequired":
{
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
"configurePresets":
[
{
"name": "vc6",
"displayName": "Windows 32bit VC6 Release",
"generator": "NMake Makefiles",
"generator": "Ninja",
"hidden": false,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"toolchainFile": "${sourceDir}/cmake/vc6toolchain.cmake",
"cacheVariables":
{
"CMAKE_VERBOSE_MAKEFILE": "TRUE",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL",
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:ProgramDatabase>",
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:Embedded>",
"CMAKE_BUILD_TYPE": "Release",
"RTS_FLAGS": "/W3"
},
"vendor": {
"jetbrains.com/clion": {
"vendor":
{
"jetbrains.com/clion":
{
"toolchain": "Visual Studio 6"
}
}
Expand All @@ -30,15 +37,17 @@
"displayName": "Windows 32bit VC6 Profile",
"hidden": false,
"inherits": "vc6",
"cacheVariables": {
"cacheVariables":
{
"RTS_BUILD_OPTION_PROFILE": "ON"
}
},
{
"name": "vc6-internal",
"displayName": "Windows 32bit VC6 Internal",
"inherits": "vc6",
"cacheVariables": {
"cacheVariables":
{
"RTS_BUILD_OPTION_INTERNAL": "ON"
}
},
Expand All @@ -47,7 +56,8 @@
"displayName": "Windows 32bit VC6 Debug",
"hidden": false,
"inherits": "vc6",
"cacheVariables": {
"cacheVariables":
{
"CMAKE_BUILD_TYPE": "Debug",
"RTS_BUILD_OPTION_DEBUG": "ON"
}
Expand All @@ -58,7 +68,8 @@
"generator": "Ninja Multi-Config",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"cacheVariables":
{
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:Embedded>",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
Expand All @@ -70,7 +81,8 @@
"generator": "Ninja Multi-Config",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"cacheVariables":
{
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:Embedded>",
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL",
Expand All @@ -82,15 +94,19 @@
"inherits": "default",
"hidden": false,
"displayName": "Windows 32bit Release",
"architecture": {
"architecture":
{
"value": "Win32",
"strategy": "external"
},
"cacheVariables": {
"cacheVariables":
{
"RTS_FLAGS": "/W3"
},
"vendor": {
"jetbrains.com/clion": {
"vendor":
{
"jetbrains.com/clion":
{
"toolchain": "Visual Studio"
}
}
Expand All @@ -99,23 +115,26 @@
"name": "win32-profile",
"inherits": "win32",
"displayName": "Windows 32bit Profile",
"cacheVariables": {
"cacheVariables":
{
"RTS_BUILD_OPTION_PROFILE": "ON"
}
},
{
"name": "win32-internal",
"inherits": "win32",
"displayName": "Windows 32bit Internal",
"cacheVariables": {
"cacheVariables":
{
"RTS_BUILD_OPTION_INTERNAL": "ON"
}
},
{
"name": "win32-debug",
"inherits": "win32",
"displayName": "Windows 32bit Debug",
"cacheVariables": {
"cacheVariables":
{
"RTS_BUILD_OPTION_DEBUG": "ON"
}
},
Expand All @@ -124,15 +143,19 @@
"inherits": "default-vcpkg",
"hidden": false,
"displayName": "Windows 32bit VCPKG Release",
"architecture": {
"architecture":
{
"value": "Win32",
"strategy": "external"
},
"cacheVariables": {
"cacheVariables":
{
"RTS_FLAGS": "/W3"
},
"vendor": {
"jetbrains.com/clion": {
"vendor":
{
"jetbrains.com/clion":
{
"toolchain": "Visual Studio"
}
}
Expand All @@ -141,23 +164,26 @@
"name": "win32-vcpkg-profile",
"inherits": "win32-vcpkg",
"displayName": "Windows 32bit VCPKG Profile",
"cacheVariables": {
"cacheVariables":
{
"RTS_BUILD_OPTION_PROFILE": "ON"
}
},
{
"name": "win32-vcpkg-internal",
"inherits": "win32-vcpkg",
"displayName": "Windows 32bit VCPKG Internal",
"cacheVariables": {
"cacheVariables":
{
"RTS_BUILD_OPTION_INTERNAL": "ON"
}
},
{
"name": "win32-vcpkg-debug",
"inherits": "win32-vcpkg",
"displayName": "Windows 32bit VCPKG Debug",
"cacheVariables": {
"cacheVariables":
{
"RTS_BUILD_OPTION_DEBUG": "ON"
}
},
Expand All @@ -168,7 +194,8 @@
"displayName": "Unix 32bit VCPKG Release"
}
],
"buildPresets": [
"buildPresets":
[
{
"name": "vc6",
"configurePreset": "vc6",
Expand Down Expand Up @@ -257,10 +284,12 @@
"configuration": "Release"
}
],
"workflowPresets": [
"workflowPresets":
[
{
"name": "vc6",
"steps": [
"steps":
[
{
"type": "configure",
"name": "vc6"
Expand All @@ -273,7 +302,8 @@
},
{
"name": "vc6-debug",
"steps": [
"steps":
[
{
"type": "configure",
"name": "vc6-debug"
Expand All @@ -286,7 +316,8 @@
},
{
"name": "vc6-internal",
"steps": [
"steps":
[
{
"type": "configure",
"name": "vc6-internal"
Expand All @@ -299,7 +330,8 @@
},
{
"name": "vc6-profile",
"steps": [
"steps":
[
{
"type": "configure",
"name": "vc6-profile"
Expand All @@ -312,7 +344,8 @@
},
{
"name": "win32",
"steps": [
"steps":
[
{
"type": "configure",
"name": "win32"
Expand All @@ -325,7 +358,8 @@
},
{
"name": "win32-internal",
"steps": [
"steps":
[
{
"type": "configure",
"name": "win32-internal"
Expand All @@ -338,7 +372,8 @@
},
{
"name": "win32-profile",
"steps": [
"steps":
[
{
"type": "configure",
"name": "win32-profile"
Expand All @@ -351,7 +386,8 @@
},
{
"name": "win32-debug",
"steps": [
"steps":
[
{
"type": "configure",
"name": "win32-debug"
Expand All @@ -364,7 +400,8 @@
},
{
"name": "win32-vcpkg",
"steps": [
"steps":
[
{
"type": "configure",
"name": "win32-vcpkg"
Expand All @@ -377,7 +414,8 @@
},
{
"name": "win32-vcpkg-internal",
"steps": [
"steps":
[
{
"type": "configure",
"name": "win32-vcpkg-internal"
Expand All @@ -390,7 +428,8 @@
},
{
"name": "win32-vcpkg-profile",
"steps": [
"steps":
[
{
"type": "configure",
"name": "win32-vcpkg-profile"
Expand All @@ -403,7 +442,8 @@
},
{
"name": "win32-vcpkg-debug",
"steps": [
"steps":
[
{
"type": "configure",
"name": "win32-vcpkg-debug"
Expand All @@ -416,7 +456,8 @@
},
{
"name": "unix",
"steps": [
"steps":
[
{
"type": "configure",
"name": "unix"
Expand Down
4 changes: 4 additions & 0 deletions Core/GameEngine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ set(GAMEENGINE_SRC
# Include/Common/RandomValue.h
# Include/Common/Recorder.h
# Include/Common/Registry.h
Include/Common/ReplaySimulation.h
# Include/Common/ResourceGatheringManager.h
# Include/Common/Science.h
# Include/Common/ScopedMutex.h
Expand Down Expand Up @@ -129,6 +130,7 @@ set(GAMEENGINE_SRC
# Include/Common/UserPreferences.h
# Include/Common/version.h
# Include/Common/WellKnownKeys.h
Include/Common/WorkerProcess.h
Include/Common/Xfer.h
Include/Common/XferCRC.h
Include/Common/XferDeepCRC.h
Expand Down Expand Up @@ -607,6 +609,7 @@ set(GAMEENGINE_SRC
# Source/Common/PerfTimer.cpp
# Source/Common/RandomValue.cpp
# Source/Common/Recorder.cpp
Source/Common/ReplaySimulation.cpp
# Source/Common/RTS/AcademyStats.cpp
# Source/Common/RTS/ActionManager.cpp
# Source/Common/RTS/Energy.cpp
Expand Down Expand Up @@ -676,6 +679,7 @@ set(GAMEENGINE_SRC
# Source/Common/Thing/ThingTemplate.cpp
# Source/Common/UserPreferences.cpp
# Source/Common/version.cpp
Source/Common/WorkerProcess.cpp
# Source/GameClient/ClientInstance.cpp
# Source/GameClient/Color.cpp
# Source/GameClient/Credits.cpp
Expand Down
Loading
Loading