-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add IsSpaceshipLanded and GetLocationFromCoordinates (#148)
- Loading branch information
1 parent
914ee05
commit fdb604c
Showing
4 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include "RE/T/TESWorldSpace.h" | ||
|
||
namespace RE | ||
{ | ||
BGSLocation* TESWorldSpace::GetLocationFromCoordinates(NiPoint3A& a_coordinates) | ||
{ | ||
using func_t = decltype(&TESWorldSpace::GetLocationFromCoordinates); | ||
REL::Relocation<func_t> func{ REL::ID(107914) }; | ||
return func(this, a_coordinates); | ||
} | ||
} |