Skip to content

Add Workflow#51

Open
CanerKaraca23 wants to merge 2 commits intoJuniorDjjr:masterfrom
CanerKaraca23:update
Open

Add Workflow#51
CanerKaraca23 wants to merge 2 commits intoJuniorDjjr:masterfrom
CanerKaraca23:update

Conversation

@CanerKaraca23
Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings March 1, 2026 14:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 VehFuncs and 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.cpp wrapper around gsx.asi exports.

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.

Comment thread VehFuncs/injectorAddons/injectorAddons.hpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants