Skip to content

Commit

Permalink
ci: maintenance 2023-10-02.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 2, 2023
1 parent 22b9968 commit a6cfb24
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 23 deletions.
2 changes: 1 addition & 1 deletion CommonLibSF/include/RE/B/BSIntrusiveRefCounted.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace RE
SF_RTTI(BSIntrusiveRefCounted);

volatile mutable std::uint32_t refCount{}; // 00
std::uint32_t unk04; // 04
std::uint32_t unk04; // 04
};
static_assert(sizeof(BSIntrusiveRefCounted) == 0x08);
}
4 changes: 2 additions & 2 deletions CommonLibSF/include/RE/B/BSLock.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ namespace RE

private:
// members
std::uint32_t _writerThread{ 0 }; // 0
volatile std::uint32_t _lock{ 0 }; // 4
std::uint32_t _writerThread{ 0 }; // 0
volatile std::uint32_t _lock{ 0 }; // 4
};
static_assert(sizeof(BSReadWriteLock) == 0x8);

Expand Down
6 changes: 3 additions & 3 deletions CommonLibSF/include/RE/B/BSStringT.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ namespace RE
a_rhs._capacity = 0;
}

pointer _data{}; // ??
size_type _size{}; // ??
size_type _capacity{}; // ??
pointer _data{}; // ??
size_type _size{}; // ??
size_type _capacity{}; // ??
};
}
18 changes: 9 additions & 9 deletions CommonLibSF/include/RE/N/NativeFunctionBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,17 @@ namespace RE
virtual void Run() = 0;

protected:
BSFixedString _name; // 10
BSFixedString _className; // 18
BSFixedString _stateName{ "" }; // 20
std::uint64_t _retType; // 28 TypeInfo
ParameterInfo _params; // 30
bool _isStatic; // 40
BSFixedString _name; // 10
BSFixedString _className; // 18
BSFixedString _stateName{ "" }; // 20
std::uint64_t _retType; // 28 TypeInfo
ParameterInfo _params; // 30
bool _isStatic; // 40
bool _isCallableFromTasklet{}; // 41
bool _isLatent{}; // 42
std::uint8_t _pad43; // 43
std::uint32_t _userFlags{}; // 44
BSFixedString _docString; // 48
std::uint8_t _pad43; // 43
std::uint32_t _userFlags{}; // 44
BSFixedString _docString; // 48
};
static_assert(sizeof(NativeFunctionBase) == 0x50);
}
Expand Down
6 changes: 3 additions & 3 deletions CommonLibSF/include/RE/S/Script.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ namespace RE
{
public:
// members
const char* paramName{ "" }; // 00
std::uint32_t paramType; // 08 enumeration
bool optional{}; // 0C
const char* paramName{ "" }; // 00
std::uint32_t paramType; // 08 enumeration
bool optional{}; // 0C
};
static_assert(sizeof(SCRIPT_PARAMETER) == 0x10);

Expand Down
2 changes: 2 additions & 0 deletions CommonLibSF/include/RE/Starfield.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "RE/B/BSInputEventReceiver.h"
#include "RE/B/BSInputEventUser.h"
#include "RE/B/BSIntrusiveRefCounted.h"
#include "RE/B/BSLock.h"
#include "RE/B/BSReflection.h"
#include "RE/B/BSStringPool.h"
#include "RE/B/BSStringT.h"
Expand Down Expand Up @@ -101,6 +102,7 @@
#include "RE/T/TESBoundObject.h"
#include "RE/T/TESCamera.h"
#include "RE/T/TESContainer.h"
#include "RE/T/TESDataHandler.h"
#include "RE/T/TESFile.h"
#include "RE/T/TESForm.h"
#include "RE/T/TESFormRefCount.h"
Expand Down
6 changes: 3 additions & 3 deletions CommonLibSF/src/REL/Module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ namespace REL

_base = a_base;

const auto dosHeader = reinterpret_cast<const WinAPI::IMAGE_DOS_HEADER*>(_base);
const auto ntHeader = stl::adjust_pointer<WinAPI::IMAGE_NT_HEADERS64>(dosHeader, dosHeader->lfanew);
const auto dosHeader = reinterpret_cast<const WinAPI::IMAGE_DOS_HEADER*>(_base);
const auto ntHeader = stl::adjust_pointer<WinAPI::IMAGE_NT_HEADERS64>(dosHeader, dosHeader->lfanew);
const auto sections = WinAPI::IMAGE_FIRST_SECTION(ntHeader);
const auto size = std::min<std::size_t>(ntHeader->fileHeader.sectionCount, _segments.size());
const auto size = std::min<std::size_t>(ntHeader->fileHeader.sectionCount, _segments.size());

for (std::size_t i = 0; i < size; ++i) {
const auto& section = sections[i];
Expand Down
2 changes: 1 addition & 1 deletion CommonLibSF/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "commonlibsf",
"version-date": "2023-10-02",
"version-date": "2023-10-02.1",
"port-version": 0,
"description": "A collaborative reverse-engineered library for Starfield.",
"homepage": "https://github.com/Starfield-Reverse-Engineering/CommonLibSF",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![C++23](https://img.shields.io/static/v1?label=standard&message=c%2B%2B23&color=blue&logo=c%2B%2B&&logoColor=red&style=flat)](https://en.cppreference.com/w/cpp/compiler_support)
![Platform](https://img.shields.io/static/v1?label=platform&message=windows&color=dimgray&style=flat&logo=windows)
[![Game version](https://img.shields.io/badge/game%20version-1.7.29-orange)](#Developing-with-CommonLibSF)
[![VCPKG_VER](https://img.shields.io/static/v1?label=vcpkg%20registry&message=2023-10-02&color=green&style=flat)](https://github.com/Starfield-Reverse-Engineering/Starfield-RE-vcpkg)
[![VCPKG_VER](https://img.shields.io/static/v1?label=vcpkg%20registry&message=2023-10-02.1&color=green&style=flat)](https://github.com/Starfield-Reverse-Engineering/Starfield-RE-vcpkg)
[![Main CI](https://img.shields.io/github/actions/workflow/status/Starfield-Reverse-Engineering/CommonLibSF/main_ci.yml)](https://github.com/Starfield-Reverse-Engineering/CommonLibSF/actions/workflows/main_ci.yml)

## Build Dependencies
Expand Down

0 comments on commit a6cfb24

Please sign in to comment.