Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
9a530ac
[GEN] Store StealthUpdate pointer in the Object class to avoid module…
tomsons26 Apr 15, 2025
c47c202
[CMAKE] Make WDump only depend on WWVegas (#682)
feliwir Apr 15, 2025
34107c5
[ZH] Improve CRC Logging Debug Functionality (#544)
helmutbuhler Apr 15, 2025
c35b057
[ZH] Remove WW3D2 dependency from WWAudio (#689)
xezon Apr 16, 2025
ecd17bd
Implement Scatter Target Improvements
Andreas-W Apr 16, 2025
4a9d714
Basic implementation for PreAttack FX; Work in Progress; Needs more t…
Andreas-W Apr 16, 2025
72afa6b
[CMAKE][CORE] Move WWSaveLoad and most of WWMath to Core (#694)
xezon Apr 16, 2025
a7f6f05
[CMAKE] Make W3DView only depend on WWVegas (#691)
feliwir Apr 16, 2025
fc867b8
[CMAKE][CORE] Move max2w3d to Core (#696)
xezon Apr 17, 2025
378ae55
[GEN] Improve CRC Logging Debug Functionality (#695)
xezon Apr 17, 2025
9b9258e
[CORE] Enable all supported compression types (#697)
feliwir Apr 17, 2025
8210b76
[CMAKE][CORE] Move CRCDiff tool to Core (#684)
feliwir Apr 17, 2025
2de9ce4
[GEN] Backport AnimatedSoundMgrClass and support changes, ParticleEmi…
tomsons26 Apr 17, 2025
df022c9
[GEN] Backport various crash and memory fixes from Zero Hour (#692)
tomsons26 Apr 17, 2025
10e3d36
improve delay timer; set default to 200
Andreas-W Apr 18, 2025
7b22031
Merge pull request #1 from Andreas-W/ScatterTargetImprovements
Andreas-W Apr 18, 2025
eccafce
Merge branch 'dev' of https://github.com/Andreas-W/GeneralsGameCode_M…
Andreas-W Apr 18, 2025
645d86b
Merge pull request #2 from Andreas-W/PreAttackFX
Andreas-W Apr 18, 2025
e53e4d2
[CORE][CMAKE] Fix Linux compilation of WWLib (#698)
feliwir Apr 18, 2025
3ba0d54
Disable helixContain redeployOccupants function
Andreas-W Apr 18, 2025
d662b1f
Merge pull request #3 from Andreas-W/HelixContainFirebones
Andreas-W Apr 18, 2025
c53a71f
Implement shared weapon ammo count across weapon sets
Andreas-W Apr 18, 2025
68c9b5b
[CORE] Add compress functionality to the Compress tool (#702)
feliwir Apr 18, 2025
72610ea
[CORE][CMAKE] Fix Linux compilation of WWDebug (#699)
feliwir Apr 18, 2025
8e5bb95
[GEN] Backport WW3D2's TextureClass dimension functions from Zero Hou…
tomsons26 Apr 18, 2025
dd8718a
Add optional parameter for Airborne collissions in physicsUpdate
Andreas-W Apr 19, 2025
1de3f2b
changed line endings
Andreas-W Apr 19, 2025
2ad4297
Merge pull request #4 from Andreas-W/ShareWeaponSetReload
Andreas-W Apr 19, 2025
6e27031
Merge branch 'dev' of https://github.com/Andreas-W/GeneralsGameCode_M…
Andreas-W Apr 19, 2025
718295d
remove debug output
Andreas-W Apr 19, 2025
ebb7afc
[GITHUB] Fix core tools compilation on GitHub CI (#717)
tintinhamans Apr 20, 2025
a1537d1
[CORE] Move matchbot tool to Core (#706)
xezon Apr 19, 2025
ceb182d
[GEN] Backport BlurTime functionality in WW3D2's ParticleBufferClass …
tomsons26 Apr 19, 2025
aef9410
[GEN][ZH] Remove unused granny related code (#708)
Mauller Apr 19, 2025
d38b486
[CORE] Move buildversionUpdate, textureCompress, timingTest, versionU…
xezon Apr 20, 2025
33f1516
[CORE] Move Babylon tool to Core (#720)
xezon Apr 20, 2025
86e72b4
[CORE] Move assetcull, mangler, wolSetup tools to Core (#721)
xezon Apr 20, 2025
4375493
[GEN] Add future_start argument to constructor of WW3D2's ParticleEmi…
tomsons26 Apr 20, 2025
c9e7cd1
[GEN] Backport loading DDS file if TGA file of the same name was not …
tomsons26 Apr 20, 2025
cfbdf62
[GEN] Backport cube map, volume texture and hsv shift support for DDS…
tomsons26 Apr 20, 2025
a7c55f1
[CORE] Add a stdint adapter (#712)
feliwir Apr 20, 2025
acda56d
[ZH] Remove unused code in ThumbnailManagerClass (#727)
tomsons26 Apr 20, 2025
63bd300
[GEN] Bring texture related code in WW3D2 closer to Zero Hour (#726)
tomsons26 Apr 20, 2025
cbb2b40
[ZH][LINUX] Add C++ 17 based filesystem implementation (#693)
feliwir Apr 20, 2025
81c377e
change line endings
Andreas-W Apr 21, 2025
f34f5c4
remove unnecessary changes
Andreas-W Apr 21, 2025
c80fc0b
Merge pull request #5 from Andreas-W/PhysicsUpdateAirborneCollideFix
Andreas-W Apr 21, 2025
a6ceb05
Implement ContinuousLaser, Gridanimation, FadeIn/Out, Grow/Shrink
Andreas-W Apr 21, 2025
c106566
Add Laser detonation FX/OCL
Andreas-W Apr 21, 2025
1422e6f
[ZH][BFME] Support BINORMAL & TANGENT chunks from BFME (#736)
feliwir Apr 21, 2025
f3d7b54
Revert "[ZH] Use hash maps for Object and Drawable lookups in GameCli…
xezon Apr 21, 2025
0bc50ad
[GEN][ZH] Fix broken replay list when it contains a replay with an un…
helmutbuhler Mar 8, 2025
bfa9891
[CMAKE] Add VCPKG package manager and use for ZLib (#605)
feliwir Apr 21, 2025
50f7c70
[GEN][ZH] Unify the Autorun tool with changes from JFS (#739)
xezon Apr 21, 2025
c3e681d
[CORE] Move Autorun tool files to Core (#739)
xezon Apr 21, 2025
0f097b2
[ZH] Cleanup WDump chunk printing (#740)
feliwir Apr 21, 2025
28f7afd
[CORE] Fix logging in wwdebugstub (#737)
xezon Apr 22, 2025
fa5ab5d
change line endings
Andreas-W Apr 22, 2025
d849fe2
Merge pull request #6 from Andreas-W/LaserImprovements
Andreas-W Apr 22, 2025
8070d98
Add ProductionTimeModifierUpgrade
Andreas-W Apr 22, 2025
82b4c56
Merge pull request #7 from Andreas-W/ProductionTimeModifierUpdate
Andreas-W Apr 22, 2025
d4d3abd
[CORE] Move ImagePacker tool files to Core (#747)
xezon Apr 22, 2025
1597a1d
[CORE] Move MapCacheBuilder tool files to Core (#749)
xezon Apr 23, 2025
8465e0a
Port Iron Curtain module
Andreas-W Apr 23, 2025
a2f0f0c
Merge branch 'dev' of https://github.com/Andreas-W/GeneralsGameCode_M…
Andreas-W Apr 23, 2025
f6a7618
add color tint
Andreas-W Apr 23, 2025
8fd1e5f
cleanup
Andreas-W Apr 24, 2025
b9ecb96
Merge pull request #8 from Andreas-W/IronCurtainUpdate
Andreas-W Apr 24, 2025
a4fac78
[CMAKE] Move all RTS cmake options into early config-build.cmake to p…
xezon Apr 24, 2025
be70d4e
[CORE] Move DebugWindow tool to Core (#748)
xezon Apr 24, 2025
ff66efc
[GEN][ZH] Unify code of PATCHGET tool (#746)
xezon Apr 22, 2025
9cc24d7
[CORE] Move PATCHGET tool files to Core (#746)
xezon Apr 22, 2025
9d72075
[GEN][ZH] Unify code of Launcher, DatGen tool (#741)
xezon Apr 21, 2025
79630dd
[CORE] Move Launcher, DatGen tool files to Core (#741)
xezon Apr 24, 2025
d6f2ec4
[GEN] Backport OCL first object returns from Zero Hour (#751)
tomsons26 Apr 24, 2025
ca8a92f
Improve WeaponSetUpgrade
Andreas-W Apr 24, 2025
898b00b
[GEN] Backport more of WW3D2 from Zero Hour (#757)
tomsons26 Apr 25, 2025
7620c18
Revert "[GEN][ZH] Refactor GameLogic::reset to avoid "vector subscrip…
Mauller Apr 25, 2025
7c1b1ac
[ZH] Add range check in removeDrawableFromLookupTable and removeObjec…
Mauller Apr 25, 2025
07ffc0c
Add initial improvements and NeedParkedAircraft check
Andreas-W Apr 26, 2025
6ae9eba
[GEN][ZH] Reset DrawableID on map load to avoid massive id growth ove…
Mauller Apr 26, 2025
bf30c3c
[GEN][ZH] Fix incorrectly initialized bool GhostObject::m_parentGeome…
tomsons26 Apr 26, 2025
0c5b485
Add option to clear multiple flags
Andreas-W Apr 26, 2025
d5ffc52
[CMAKE] Remove vcpkg toolchain from default windows cmake presets and…
xezon Apr 27, 2025
12b2e62
[GEN] Add cmake setup for WWAudio and make it compile with VS2022 (#709)
xezon Apr 18, 2025
3a74546
[GEN] Fix legacy function calls to miles in WWAudio (#709)
xezon Apr 18, 2025
a86f95d
[GEN] Remove WW3D2 dependency from WWAudio (#709)
xezon Apr 18, 2025
bc7afb8
[CORE] Move W3DView files to Core and setup independent W3DView execu…
xezon Apr 18, 2025
898fab5
[GEN][ZH] Fix drawable assignment in StealthUpdate::changeVisualDisgu…
Mauller Apr 20, 2025
5005ed3
[GEN][ZH] Fix uninitialized memory read in DockUpdate::loadDockPositi…
Mauller Apr 20, 2025
700fa4e
[GEN][ZH] Fix projectileHandleCollision iterator usage in MissileAIUp…
Mauller Apr 20, 2025
a3ae61d
[GEN][ZH] Fix projectileHandleCollision iterator usage in DumbProject…
Mauller Apr 20, 2025
092a2d2
[GEN][ZH] Fix uninitialized supplyTruck variable in AiPlayer::onUnitP…
Mauller Apr 27, 2025
5bd55e6
LocomotorSetUpgrade improvements
Andreas-W Apr 27, 2025
8b7b047
[ZH] Fix partly uninitialized cellBounds variable in AIPathfind::clas…
Mauller Apr 8, 2025
3feb3fc
[GEN][ZH] Fix uninitialized costSoFar variable in AIPathfind::findGou…
Mauller Apr 8, 2025
f4cbe56
WeaponSetUpgrade and LocomotorSetUpgrade improvements properly implem…
Andreas-W Apr 28, 2025
90a9078
[GEN] Backport optimization in CardinalSpline3DClass::Update_Tangents…
xezon Apr 27, 2025
768cbd1
[GEN] Backport normal direction fix in CollisionMath::Collide for AAB…
xezon Apr 27, 2025
433828b
[GEN] Backport CollisionContext normal origin refactor in aabtri_comp…
xezon Apr 27, 2025
296683e
[GEN] Backport fix for float division by zero in obb_separation_test …
xezon Apr 27, 2025
55c60b3
[GEN] Backport changes to normal value calculation in CollisionMath::…
xezon Apr 27, 2025
dc0ff50
[CMAKE] Fix feature infos of debug options (#768)
xezon Apr 28, 2025
bea27c1
[GEN][ZH] Fix wrong class member set to INVALID_DRAWABLE_ID in Partic…
Mauller Apr 28, 2025
9da89ce
[GEN] Backport command line arguments from Zero Hour (#744)
Apr 28, 2025
933e1de
[GEN] Backport WaterTransparencySetting additions from Zero Hour (#777)
tomsons26 Apr 28, 2025
9bcdbb9
[GEN][ZH] Fix replay header mismatch between builds using 32 bit or 6…
helmutbuhler Apr 28, 2025
f44428b
[ZH][LINUX] Add FFmpegFile for AVIO abstraction (#714)
feliwir Apr 19, 2025
285dee9
[ZH][LINUX] Add FFmpegVideoPlayer as video backend (#714)
feliwir Apr 19, 2025
13faf3c
[ZH][LINUX][CMAKE] Add option to enable FFmpeg support (#714)
feliwir Apr 20, 2025
82b0957
[GITHUB] Increment build timeout for FFmpeg (#714)
feliwir Apr 21, 2025
b89184e
improve armorupgrade with flags to set/clear
Andreas-W Apr 29, 2025
7735f6f
[GEN][ZH] Fix DEBUG_CRC compile errors (#778)
xezon Apr 29, 2025
7ce6184
[GEN] Backport some debug features from Zero Hour (#775)
tomsons26 Apr 29, 2025
dd2890c
[CORE] Unify remaining WWMath (#745)
feliwir Apr 29, 2025
02d4ad9
[GEN][ZH] Change _DEBUG macro to RTS_DEBUG (#780)
OmniBlade Apr 29, 2025
df06517
[GEN][ZH] Change _INTERNAL macro to RTS_INTERNAL (#780)
OmniBlade Apr 29, 2025
8686b98
[GEN][ZH] Change _PROFILE macro to RTS_PROFILE (#780)
OmniBlade Apr 29, 2025
f9bdaa8
[GEN][ZH] Change _RELEASE macro to RTS_RELEASE (#780)
OmniBlade Apr 29, 2025
8a8e2ab
Add Multiplicative scaling to MaxHealthUpgrade
Andreas-W Apr 30, 2025
2d67300
Merge pull request #9 from Andreas-W/MiscUpgradeImprovements
Andreas-W Apr 30, 2025
cdd8d64
[GEN][ZH] Unify all code of WWDownload (#785)
xezon Apr 29, 2025
bf71daf
[CORE] Move WWDownload library files to Core (#785)
xezon Apr 29, 2025
60ab32b
[GEN][ZH] Remove the unused Wwutil library (#786)
xezon Apr 30, 2025
44fee19
[GEN] Bring ShaderClass::Apply more in line with Zero Hour (#776)
tomsons26 Apr 30, 2025
2621347
increase upgrade limit
Andreas-W May 1, 2025
51b651a
fix Horde Nationalism and Fanaticism bugs
Andreas-W May 1, 2025
21aa710
Fix Diagonal movement speed bug
Andreas-W May 1, 2025
b1d2852
Fix vehicles firing from Chinooks
Andreas-W May 1, 2025
16343f3
[GEN][ZH] Compile out duplicate serial check in LAN lobby (#789)
helmutbuhler Mar 10, 2025
70e9eba
[CORE] Build non-vcpkg builds with zlib-1.1.4 again (#770)
xezon May 1, 2025
f49b44f
[GEN][ZH] Remove all instances of stopAllAmbientsBy() (#793)
Mauller May 1, 2025
d7f7b37
[GEN][ZH] Fix uninitialized variable read in ConnectionManager::allCo…
xezon May 1, 2025
d2e5d60
[GEN][ZH] Unify code of GameAudio and MilesAudioManager (#782)
Mauller May 1, 2025
dfaa5d1
Fix VTOL aircraft rotating wrongly when reloading
Andreas-W May 2, 2025
5c49484
[GEN][ZH] Remove obsolete sec file presence checks (#788)
barefootlogician May 2, 2025
ce5d683
[GEN][ZH] Fix and simplify the use of the log file in RecorderClass (…
xezon May 2, 2025
1eecc01
[GEN] Backport SpecialPowerUpdate changes from Zero Hour (#791)
tomsons26 May 2, 2025
8d6e26c
[GEN][ZH] Implement multi instance support for the game client (#794)
xezon May 2, 2025
bd1b8c6
Implement ScatterShotModule
Andreas-W May 3, 2025
999ae24
add file headers
Andreas-W May 3, 2025
94c85af
change line endings
Andreas-W May 3, 2025
f6da026
Merge pull request #10 from Andreas-W/ScatterShot
Andreas-W May 3, 2025
47e08d0
[GEN][ZH] Fix missing rename for RTS_DEBUG, RTS_INTERNAL, RTS_PROFILE…
xezon May 3, 2025
ef93f8e
[GEN][ZH] Fix compile warnings from the use of deprecated register ke…
May 4, 2025
757e638
[GEN][ZH] Fix compile warnings from implicit unsigned long to HRESULT…
May 4, 2025
f481133
[GEN][ZH] Fix compile warnings related to the use of printf and scanf…
May 4, 2025
0f96db4
[CORE] Move WWAudio library files to Core (#802)
xezon May 4, 2025
e2064f2
[GEN][ZH] Fix dangling pointer at Player::m_defaultTeam when Team is …
Mauller May 4, 2025
ad3b031
[CMAKE] Clean up some comments in CMake scripts (#811)
xezon May 4, 2025
dfef05f
[CMAKE] Use CMAKE_CURRENT_SOURCE_DIR instead of dot for current direc…
xezon May 4, 2025
b3853c2
[GEN] Add FXShader, BINORMAL, TANGENT chunks from BFME (#813)
xezon May 4, 2025
916ee74
[CORE] Move many unified WW3D2 library files to Core (#814)
xezon May 5, 2025
afd9c30
[GEN][ZH] Fix possible division by zero in W3DCommandBarGenExpDraw() …
Mauller May 5, 2025
0820395
[GEN][ZH] Remove obsolete template.h, benchmark.h (#818)
xezon May 5, 2025
2713267
[CORE] Move debug and profile libraries from Zero Hour to Core (#819)
xezon May 5, 2025
78b7961
[GEN][ZH] Fix dangling pointer in StealthUpdate::update() when GLA Bo…
May 6, 2025
e8dd39b
[CORE] Unify and move GameEngine's Xfer files to Core (#821)
xezon May 6, 2025
dffe08d
[GEN] Fix wrong water color on radar (#823)
May 7, 2025
2467451
[GEN][ZH] Fix CRC debug logger deleting logs when shellmap is loaded …
helmutbuhler May 7, 2025
4f1f489
[GEN][ZH] Add endian compat for BIGFileSystems (#798)
Mauller May 7, 2025
fa20f45
fix scatter target point orders
Andreas-W May 8, 2025
51cb830
make Laserdraw always refresh with multiple draw modules
Andreas-W May 8, 2025
d3bed71
[GEN][ZH] Fix buffer overrun and memory leaks in listbox properties o…
Caball009 May 8, 2025
803ad54
[GEN] Backport fast forward feature for replay playback (#827)
May 8, 2025
b05a44b
Add flag to make LaserUpdate consider multiple draw modules
Andreas-W May 9, 2025
96ebf33
[GEN][ZH] Fix material memory leak in ~W3DLaserDraw() (#623)
Mauller Apr 7, 2025
a445c2a
[GEN][ZH] Fix production queue items memory leak in ~ProductionUpdate…
Mauller Apr 13, 2025
7977983
[ZH] Fix weather settings memory leak in ~SnowManager() (#623)
Mauller Apr 13, 2025
28911de
[GEN][ZH] Fix particle systems memory leak in ~W3DTankDraw() (#623)
Mauller Apr 16, 2025
939ee2a
[GEN][ZH] Fix FileSystems memory leak on null filenames (#623)
Mauller Apr 21, 2025
2aa3221
[GEN] Fix wrong delete function usage in ~MeshModelClass() (#623)
Mauller Apr 21, 2025
29f7379
[GEN][ZH] Remove redundant mesh unregister call in ~MeshModelClass() …
Mauller Apr 20, 2025
7d884ad
[GEN][ZH] Fix DisplayString memory leak in ~W3DDisplay() (#623)
Mauller Apr 28, 2025
0a52398
Merge pull request #11 from Andreas-W/ScatterTargetCentering
Andreas-W May 9, 2025
035624e
[GEN] Backport several GameEngine additions from Zero Hour (#752)
tomsons26 May 9, 2025
7fff044
[GEN][ZH] Fix crash when DEBUG_CRASHING is enabled and loading a repl…
helmutbuhler May 9, 2025
b10267d
[GEN][ZH] Fix compile error in RecorderClass::cleanUpReplayFile when …
xezon May 9, 2025
0e1bc63
[GEN][ZH] Demote throw to assert in AsciiString::format_va, UnicodeSt…
xezon May 10, 2025
62719fd
[CMAKE] Disable game memory if ASAN is enabled (#833)
Mauller May 10, 2025
10ad012
implement synced weapons
Andreas-W May 10, 2025
10fc54d
Add ScatterTargetReset timer
Andreas-W May 10, 2025
7d85fa4
basic inheritence and try to implement waiting for debugger on debug …
pWn3d1337 May 11, 2025
f1b2fb8
Merge branch 'main' into object_inheritance
pWn3d1337 May 11, 2025
65895b5
change line endings
Andreas-W May 11, 2025
da9c91f
Merge pull request #12 from Andreas-W/syncedWeapons
Andreas-W May 11, 2025
7a5aa5d
Garrison and Contain Weaponsets and Bonus
Andreas-W May 12, 2025
5739896
fix issue in synced weapons
Andreas-W May 12, 2025
6feb6d2
Merge pull request #13 from Andreas-W/GarrisonAndContain
Andreas-W May 12, 2025
638ae98
Implement ammo pip PERCENTAGE_BAR and SINGLE variants
Andreas-W May 12, 2025
c046465
fixed spectre gunship selection bug
Andreas-W May 13, 2025
6d842e3
Merge pull request #14 from Andreas-W/AmmoPipsVariants
Andreas-W May 13, 2025
27cc7cf
Add XPValue scalar for ExperienceScalarUpgrade
Andreas-W May 14, 2025
832abff
Merge pull request #15 from Andreas-W/XPValueScalar
Andreas-W May 15, 2025
6708bda
WIP
Andreas-W May 16, 2025
289505f
Merge branch 'dev' of https://github.com/Andreas-W/GeneralsGameCode_M…
Andreas-W May 16, 2025
6dbc6e7
fix bug
Andreas-W May 16, 2025
0515b5c
Merge pull request #16 from Andreas-W/LimitsAndFixes
Andreas-W May 16, 2025
b790fc9
Merge branch 'dev' of https://github.com/Andreas-W/GeneralsGameCode_M…
Andreas-W May 16, 2025
f775ec7
WIP (crash on parse)
Andreas-W May 17, 2025
b21e381
Merge branch 'object_inheritance' of https://github.com/Andreas-W/Gen…
Andreas-W May 17, 2025
a690220
add color tint for ArmorDamageScalarUpdate
Andreas-W May 17, 2025
747ffde
Merge pull request #17 from Andreas-W/TintStatus
Andreas-W May 17, 2025
39ec518
add missing file
Andreas-W May 17, 2025
11f6ea3
changed tint colors to be parsed as float instead of int
Andreas-W May 18, 2025
f9e3dc6
implement improved Turret Turn Angle limits
Andreas-W May 21, 2025
4ea7b48
Implement support for back turned angles
Andreas-W May 23, 2025
e7a25ed
Improve max angle parsing
Andreas-W May 24, 2025
4e99ae2
fix line endings
Andreas-W May 25, 2025
62d8764
Merge pull request #18 from Andreas-W/MaxTurretTurnAngle
Andreas-W May 25, 2025
2ed9331
add ArmorExtend to inherit Armor Sets
pWn3d1337 May 25, 2025
ba2526b
Merge branch 'dev' of https://github.com/Andreas-W/GeneralsGameCode_M…
pWn3d1337 May 25, 2025
9278895
WIP - doesn't work
Andreas-W May 25, 2025
026dfbf
Laser coloring works now
Andreas-W May 25, 2025
db3e7fc
add colored particlesystems for lasers
Andreas-W May 25, 2025
5812a15
Merge pull request #19 from Andreas-W/LaserHousecolor
Andreas-W May 25, 2025
9c84b16
implemented new special power enums & eva
pWn3d1337 May 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 11 additions & 6 deletions .github/workflows/build-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
build:
name: Preset ${{ inputs.preset }}${{ inputs.tools && '+t' || '' }}${{ inputs.extras && '+e' || '' }}
runs-on: windows-latest
timeout-minutes: 20
timeout-minutes: 40
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -102,6 +102,9 @@ jobs:
with:
arch: x86

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11

- name: Configure ${{ inputs.game }} with CMake Using ${{ inputs.preset }}${{ inputs.tools && '+t' || '' }}${{ inputs.extras && '+e' || '' }} Preset
shell: pwsh
run: |
Expand All @@ -111,10 +114,12 @@ jobs:
)

$gamePrefix = "${{ inputs.game == 'Generals' && 'GENERALS' || 'ZEROHOUR' }}"
$buildFlags += "-DRTS_BUILD_CORE_TOOLS=${{ inputs.tools && 'ON' || 'OFF' }}"
$buildFlags += "-DRTS_BUILD_${gamePrefix}_TOOLS=${{ inputs.tools && 'ON' || 'OFF' }}"
$buildFlags += "-DRTS_BUILD_CORE_EXTRAS=${{ inputs.extras && 'ON' || 'OFF' }}"
$buildFlags += "-DRTS_BUILD_${gamePrefix}_EXTRAS=${{ inputs.extras && 'ON' || 'OFF' }}"

Write-Host "Build flags: $buildFlags"
Write-Host "Build flags: $($buildFlags -join ' | ')"

cmake --preset ${{ inputs.preset }} $buildFlags

Expand All @@ -131,12 +136,12 @@ jobs:

if ("${{ inputs.preset }}" -like "win32*") {
# For win32 preset, look in config-specific subdirectories
$configToUse = if ("${{ inputs.preset }}" -eq "win32dbg") { "Debug" } else { "Release" }
$files = Get-ChildItem -Path "$buildDir\${{ inputs.game }}\$configToUse" -File | Where-Object { $_.Extension -in @(".exe", ".dll", ".pdb") } -Verbose
$configToUse = if ("${{ inputs.preset }}" -match "debug") { "Debug" } else { "Release" }
$files = Get-ChildItem -Path "$buildDir\Core\$configToUse","$buildDir\${{ inputs.game }}\$configToUse" -File | Where-Object { $_.Extension -in @(".exe", ".dll", ".pdb") } -Verbose
} else {
$files = Get-ChildItem -Path "$buildDir\${{ inputs.game }}" -File | Where-Object { $_.Extension -in @(".exe", ".dll", ".pdb") } -Verbose
$files = Get-ChildItem -Path "$buildDir\Core","$buildDir\${{ inputs.game }}" -File | Where-Object { $_.Extension -in @(".exe", ".dll", ".pdb") } -Verbose
}
$files | Move-Item -Destination $artifactsDir -Verbose
$files | Move-Item -Destination $artifactsDir -Verbose -Force

- name: Upload ${{ inputs.game }} ${{ inputs.preset }}${{ inputs.tools && '+t' || '' }}${{ inputs.extras && '+e' || '' }} Artifact
uses: actions/upload-artifact@v4
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,25 @@ jobs:
- preset: "vc6"
tools: true
extras: true
- preset: "vc6prof"
- preset: "vc6-profile"
tools: true
extras: true
- preset: "vc6int"
- preset: "vc6-internal"
tools: true
extras: true
- preset: "vc6dbg"
- preset: "vc6-debug"
tools: true
extras: true
- preset: "win32"
- preset: "win32-vcpkg"
tools: true
extras: true
- preset: "win32prof"
- preset: "win32-vcpkg-profile"
tools: true
extras: true
- preset: "win32int"
- preset: "win32-vcpkg-internal"
tools: true
extras: true
- preset: "win32dbg"
- preset: "win32-vcpkg-debug"
tools: true
extras: true
fail-fast: false
Expand All @@ -106,25 +106,25 @@ jobs:
- preset: "vc6"
tools: true
extras: true
- preset: "vc6prof"
- preset: "vc6-profile"
tools: true
extras: true
- preset: "vc6int"
- preset: "vc6-internal"
tools: true
extras: true
- preset: "vc6dbg"
- preset: "vc6-debug"
tools: true
extras: true
- preset: "win32"
tools: true
extras: true
- preset: "win32prof"
- preset: "win32-profile"
tools: true
extras: true
- preset: "win32int"
- preset: "win32-internal"
tools: true
extras: true
- preset: "win32dbg"
- preset: "win32-debug"
tools: true
extras: true
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/valid-tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[GEN]
[ZH]
[BFME]
[CMAKE]
[GITHUB]
[CORE]
Expand Down
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ endif()
include(cmake/config.cmake)
include(cmake/gamespy.cmake)
include(cmake/lzhl.cmake)
include(cmake/zlib.cmake)

add_subdirectory(Dependencies/Benchmark)
if (IS_VS6_BUILD)
Expand Down
Loading
Loading