From f9da6d72e11de517820a5e4c3ce5c87361011195 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Sat, 18 Jan 2025 18:28:07 +0300 Subject: [PATCH 1/3] Fix reading links when the graph version is different from retail (#507) --- dlls/nodes.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/nodes.cpp b/dlls/nodes.cpp index 28fc7144f..74565ebaa 100644 --- a/dlls/nodes.cpp +++ b/dlls/nodes.cpp @@ -2475,7 +2475,10 @@ int CGraph::FLoadGraph( const char *szMapName ) length -= sizeof(CLink_Retail) * m_cLinks; if( length < 0 ) goto ShortFile; - reinterpret_cast(pMemFile) -> copyOverTo(m_pLinkPool); + for (int j = 0; j < m_cLinks; ++j) + { + reinterpret_cast(pMemFile + sizeof(CLink_Retail) * j) -> copyOverTo(m_pLinkPool + j); + } pMemFile += sizeof(CLink_Retail) * m_cLinks; } #endif From 01c6e338212de4e00387961b2d69b741d3d3b6e5 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Thu, 23 Jan 2025 21:54:05 +0300 Subject: [PATCH 2/3] Fix factor in func_pushable (#508) --- dlls/func_break.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/func_break.cpp b/dlls/func_break.cpp index bc04c1c8b..3686b5a68 100644 --- a/dlls/func_break.cpp +++ b/dlls/func_break.cpp @@ -978,7 +978,6 @@ void CPushable::Move( CBaseEntity *pOther, int push ) { if( push ) { - factor = 0.25f; pev->velocity.x += pevToucher->velocity.x * factor; pev->velocity.y += pevToucher->velocity.y * factor; } From 46e12d2f8466b48a7ed9cfe51c7c10ec6e3e54b8 Mon Sep 17 00:00:00 2001 From: Captain-Cyborg <150875408+Captain-Cyborg@users.noreply.github.com> Date: Sat, 25 Jan 2025 23:42:50 +0300 Subject: [PATCH 3/3] Add windows x64 action build steps (#509) --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6da018625..c2a49c464 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,6 +73,11 @@ jobs: run: | cmake -G "Visual Studio 16 2019" -A Win32 -B build -DCMAKE_INSTALL_PREFIX="dist" msbuild -verbosity:normal /property:Configuration=Release build/INSTALL.vcxproj + - name: Build on Windows x64 + if: startsWith(matrix.os, 'windows') + run: | + cmake -G "Visual Studio 16 2019" -A x64 -B build64 -DCMAKE_INSTALL_PREFIX="dist64" -D64BIT=ON + msbuild -verbosity:normal /property:Configuration=Release /property:Platform=x64 build64/INSTALL.vcxproj - name: Build on Windows with vgui if: startsWith(matrix.os, 'windows') run: | @@ -105,6 +110,12 @@ jobs: with: name: hlsdk-${{ steps.extract_branch.outputs.branch }}-windows path: dist/${{ steps.extract_gamedir.outputs.gamedir }} + - name: Upload windows x64 artifact + if: startsWith(matrix.os, 'windows') + uses: actions/upload-artifact@v4 + with: + name: hlsdk-${{ steps.extract_branch.outputs.branch }}-windows_x64 + path: dist64/${{ steps.extract_gamedir.outputs.gamedir }} - name: Upload windows artifact with vgui if: startsWith(matrix.os, 'windows') uses: actions/upload-artifact@v4