Add Workflow#51
Open
CanerKaraca23 wants to merge 2 commits intoJuniorDjjr:masterfrom
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds GitHub Actions CI for building the project on Windows and updates the codebase/project settings to align with newer plugin-sdk headers/APIs (notably vehicle flag/handling flag field renames and random helpers). It also introduces a new GSXAPI integration layer for interacting with an external gsx.asi.
Changes:
- Add a Windows GitHub Actions workflow that checks out plugin-sdk, generates/builds it, then builds
VehFuncsand uploads the.asi. - Update the Visual Studio project include paths/defines (RW, safetyhook) and force-include
RenderWare.h. - Migrate multiple code sites to newer plugin-sdk field names and introduce a new
VehFuncs/GSXAPI.cppwrapper aroundgsx.asiexports.
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
VehFuncs/injectorAddons/injectorAddons.hpp |
Stops providing reg_pack locally and adjusts MakeInlineAutoCallOriginal address handling. |
VehFuncs/VehFuncs.vcxproj |
Adds RW/safetyhook include paths, RW define, forces RenderWare.h, and bumps language standard. |
VehFuncs/VehFuncs.cpp |
Updates multiple plugin-sdk field accesses (vehicle flags/handling flags) and replaces random helper calls. |
VehFuncs/Utilities.cpp |
Updates vehicle flag field access. |
VehFuncs/Shake.cpp |
Updates engine/broken/drowning flag field access. |
VehFuncs/RecursiveExtras.cpp |
Replaces random helper calls with RandomNumberInRange. |
VehFuncs/PopupLights.cpp |
Updates lights flag field access. |
VehFuncs/Pedal.cpp |
Updates engine/broken/drowning flag field access. |
VehFuncs/Patches.cpp |
Updates bus/siren flag field access. |
VehFuncs/GSXAPI.cpp |
Adds a dynamic loader/wrapper for gsx.asi exports (new file). |
VehFuncs/DamageableRearWings.cpp |
Updates van flag field access. |
VehFuncs/Characteristics.cpp |
Replaces random helper calls and updates some flag/handling field accesses. |
VehFuncs/CStoredCar.h |
Adjusts CVector include to a local-include form. |
VehFuncs/Anims.cpp |
Updates engine flag field access. |
.github/workflows/ci.yml |
Adds CI workflow to build plugin-sdk + VehFuncs and upload the output artifact (new file). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.