Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Updated BGSMod and TESObjectWEAP headers #297

Merged
merged 6 commits into from
Nov 15, 2024

Conversation

Zzyxz
Copy link
Contributor

@Zzyxz Zzyxz commented Nov 12, 2024

TESObjectWEAP

  • New Classes Added: Introduced several classes related to weapon data handling, including:

  • WeaponAmmoData, WeaponDamageData, WeaponFiringData, WeaponDataFlags, WeaponDataGeneral, WeapDataMelee, WeaponDataPower, WeapDataReload, WeapDataTurret, WeapDataVariableRange, WeapDataVisuals, WeapDataShipWeapon, WeaponDataAudio, WeaponDataCharge, and WeaponDataAim.

  • Class TESObjectWEAPInstanceData Updated: Modified to include pointers to these new weapon data classes.

  • Static Assertions Added: Included multiple static_assert statements to validate offsets within the new classes, ensuring proper memory alignment for each member variable.

BGSMod

  • New Class (BGSAddonNode): Added to the RE namespace.
  • Property Structure: Introduced a new Property structure inside Data, supporting different value types (bool, float, int). Used for OMOD Properties.

@Zzyxz Zzyxz changed the title Updated BGSMod and TESObjectWEAP headers feat: Updated BGSMod and TESObjectWEAP headers Nov 12, 2024
@qudix
Copy link
Contributor

qudix commented Nov 12, 2024

you should change all uses of stl::enumeration<T, E> to REX::EnumSet<T, E>, under the hood stl::enumeration is just an alias for EnumSet for compatibility reasons

include/RE/B/BGSMod.h Outdated Show resolved Hide resolved
include/RE/B/BGSMod.h Outdated Show resolved Hide resolved
include/RE/B/BGSMod.h Outdated Show resolved Hide resolved
Zzyxz and others added 5 commits November 12, 2024 18:19
@ThirdEyeSqueegee ThirdEyeSqueegee merged commit fe09e4d into Starfield-Reverse-Engineering:main Nov 15, 2024
6 checks passed
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.

3 participants