Skip to content

Commit

Permalink
feat: add msvc::unique_ptr, function, fill out type_info (#192)
Browse files Browse the repository at this point in the history
Ported from CommonLibF4. The only new thing is a new deleter,
`AlignedDelete`, for `msvc::unique_ptr`.

Not sure how this should be organized; if this should be left in one
file, divided into multiple files, or moved to SFSE::impl
  • Loading branch information
nikitalita authored Oct 24, 2023
1 parent d2dd993 commit 0cd9f3d
Show file tree
Hide file tree
Showing 4 changed files with 841 additions and 15 deletions.
10 changes: 10 additions & 0 deletions CommonLibSF/include/RE/IDs.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,16 @@ namespace RE::ID
inline constexpr REL::ID Notify{ 107339 };
}

namespace msvc
{
namespace type_info
{
inline constexpr REL::ID name{ 248847 };
inline constexpr REL::ID _RootNode{ 824582 };
inline constexpr REL::ID compare{ 248848 };
}
}

namespace MemoryManager
{
inline constexpr REL::ID GetSingleton{ 33961 };
Expand Down
Loading

0 comments on commit 0cd9f3d

Please sign in to comment.