Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions include/RE/A/ACTOR_AGGRESSION.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#pragma once

namespace RE
{
enum class ACTOR_AGGRESSION : std::uint32_t
{
kCalmed = 0xFFFFFFFF,
kUnagressive = 0x0,
kAggressive = 0x1,
kVeryAggressive = 0x2,
kFrenzied = 0x3,
kMax = 0x3
};
}
12 changes: 12 additions & 0 deletions include/RE/A/ACTOR_AGGRO_RADIUS.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#pragma once

namespace RE
{
enum class ACTOR_AGGRO_RADIUS : std::uint32_t
{
kWarn = 0x0,
kWarnAndAttack = 0x1,
kAttack = 0x2,
kCount = 0x3
};
}
12 changes: 12 additions & 0 deletions include/RE/A/ACTOR_ASSISTANCE.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#pragma once

namespace RE
{
enum class ACTOR_ASSISTANCE : std::uint32_t
{
kHelpsNobody = 0x0,
kHelpsAllies = 0x1,
kHelpsFriends = 0x2,
kCount = 0x3
};
}
11 changes: 11 additions & 0 deletions include/RE/A/ACTOR_COMBAT_STATE.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

namespace RE
{
enum class ACTOR_COMBAT_STATE : std::int32_t
{
kNone = 0x0,
kCombat = 0x1,
kSearching = 0x2
};
}
14 changes: 14 additions & 0 deletions include/RE/A/ACTOR_CONFIDENCE.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#pragma once

namespace RE
{
enum class ACTOR_CONFIDENCE : std::uint32_t
{
kCowardly = 0x0,
kCautious = 0x1,
kAverage = 0x2,
kBrave = 0x3,
kFoolhardy = 0x4,
kCount = 0x5
};
}
15 changes: 15 additions & 0 deletions include/RE/A/ACTOR_STANCE.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#pragma once

namespace RE
{
enum class ACTOR_STANCE : std::uint32_t
{
kNormal = 0x0,
kSneaking = 0x1,
kCoverVeryLow = 0x2,
kCoverLow = 0x3,
kCoverMid = 0x4,
kCoverHigh = 0x5,
kCount = 0x6
};
}
14 changes: 14 additions & 0 deletions include/RE/A/AIFormulas.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#pragma once

namespace RE
{
namespace AIFormulas
{
inline float GetBarterValue(float a_baseValue, float a_charisma, bool a_selling, TESObjectREFR* a_refTarget)
{
using func_t = decltype(&AIFormulas::GetBarterValue);
static REL::Relocation<func_t> func{ ID::AIFormulas::GetBarterValue };
return func(a_baseValue, a_charisma, a_selling, a_refTarget);
}
}
}
14 changes: 14 additions & 0 deletions include/RE/A/Actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,20 @@ namespace RE
return func(this);
}

std::uint8_t GetMobilityCrippled()
{
using func_t = decltype(&Actor::GetMobilityCrippled);
static REL::Relocation<func_t> func{ ID::Actor::GetMobilityCrippled };
return func(this);
}

void SPECIALModifiedCallback(const ActorValueInfo* a_info, float a_originalValue, float a_delta)
{
using func_t = decltype(&Actor::SPECIALModifiedCallback);
static REL::Relocation<func_t> func{ ID::Actor::SPECIALModifiedCallback };
return func(this, a_info, a_originalValue, a_delta);
}

// members
NiTFlags<std::uint32_t, Actor> niFlags; // 2D0
float updateTargetTimer; // 2D4
Expand Down
2 changes: 1 addition & 1 deletion include/RE/B/BGSMaterialObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace RE
{
public:
// members
std::int8_t* nuffer; // 00
char* buffer; // 00
std::uint32_t bufferSize; // 08
};
static_assert(sizeof(FILE_DATA) == 0x10);
Expand Down
6 changes: 6 additions & 0 deletions include/RE/B/BGSMod.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ namespace RE::BGSMod
kPair
};

enum class BLOCKIDS : std::uint32_t
{
kOMOD = 0x0,
kPMOD = 0x1
};

class Mod // id == 1
{
public:
Expand Down
28 changes: 28 additions & 0 deletions include/RE/B/BSSceneGraph.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#pragma once

#include "RE//N/NiCamera.h"

namespace RE
{
class __declspec(novtable) BSSceneGraph :
public NiNode // 000
{
public:
static constexpr auto RTTI{ RTTI::BSSceneGraph };
static constexpr auto VTABLE{ VTABLE::BSSceneGraph };
static constexpr auto Ni_RTTI{ Ni_RTTI::BSSceneGraph };

// add
virtual float GetFarDistance(); // 43
virtual float GetNearDistance(); // 44
virtual void SetViewDistanceBasedOnFrameRate(float a_time); // 44

// members
NiPointer<NiCamera> camera; // 140
NiVisibleArray* visArray; // 148
BSCullingProcess* culler; // 150
bool menuSceneGraph; // 158
float currentFOV; // 15C
};
static_assert(sizeof(BSSceneGraph) == 0x160);
}
16 changes: 16 additions & 0 deletions include/RE/B/BSScript_Internal_StringIndexSize.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#pragma once

namespace RE
{
namespace BSScript
{
namespace Internal
{
enum class StringIndexSize : std::uint32_t
{
kSmall = 0x0,
kLarge = 0x1
};
}
}
}
7 changes: 7 additions & 0 deletions include/RE/B/bhkCharacterController.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ namespace RE
virtual void ApplyMoveImmediately() = 0; // 4B
virtual void ClearCollectorDataImpl() = 0; // 4C

void Jump(float a_height)
{
using func_t = decltype(&bhkCharacterController::Jump);
static REL::Relocation<func_t> func{ ID::bhkCharacterController::Jump };
return func(this, a_height);
}

// members
hkVector4f forwardVec; // 140
hkStepInfo stepInfo; // 150
Expand Down
7 changes: 7 additions & 0 deletions include/RE/B/bhkNPCollisionObjectBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ namespace RE
inline static constexpr auto VTABLE{ VTABLE::bhkNPCollisionObjectBase };
inline static constexpr auto Ni_RTTI{ Ni_RTTI::bhkNPCollisionObjectBase };

enum class TRANSCHANGEFLAGS : std::uint32_t
{
kNone = 0x0,
kPos = 0x1,
kRot = 0x2
};

// add
virtual void LockMotionImpl() = 0; // 2C

Expand Down
15 changes: 15 additions & 0 deletions include/RE/Fallout.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,21 @@
#include "F4SE/Impl/PCH.h"

#include "RE/A/ACTION_OBJECT.h"
#include "RE/A/ACTOR_AGGRESSION.h"
#include "RE/A/ACTOR_AGGRO_RADIUS.h"
#include "RE/A/ACTOR_ASSISTANCE.h"
#include "RE/A/ACTOR_BASE_DATA.h"
#include "RE/A/ACTOR_COMBAT_STATE.h"
#include "RE/A/ACTOR_CONFIDENCE.h"
#include "RE/A/ACTOR_CRITICAL_STAGE.h"
#include "RE/A/ACTOR_LIFE_STATE.h"
#include "RE/A/ACTOR_LOS_LOCATION.h"
#include "RE/A/ACTOR_STANCE.h"
#include "RE/A/ACTOR_VALUE_MODIFIER.h"
#include "RE/A/ACTOR_VISIBILITY_MASK.h"
#include "RE/A/ADDON_DATA.h"
#include "RE/A/AIDATA_GAME.h"
#include "RE/A/AIFormulas.h"
#include "RE/A/AIProcess.h"
#include "RE/A/AITimeStamp.h"
#include "RE/A/AITimer.h"
Expand Down Expand Up @@ -336,6 +343,7 @@
#include "RE/B/BSScaleformManager.h"
#include "RE/B/BSScaleformRenderer.h"
#include "RE/B/BSScaleformTranslator.h"
#include "RE/B/BSSceneGraph.h"
#include "RE/B/BSScriptUtil.h"
#include "RE/B/BSScript_Array.h"
#include "RE/B/BSScript_ArrayWrapper.h"
Expand Down Expand Up @@ -370,6 +378,7 @@
#include "RE/B/BSScript_Internal_ReadableTypeTable.h"
#include "RE/B/BSScript_Internal_ScriptFunction.h"
#include "RE/B/BSScript_Internal_Stack.h"
#include "RE/B/BSScript_Internal_StringIndexSize.h"
#include "RE/B/BSScript_Internal_SuspendedStack.h"
#include "RE/B/BSScript_Internal_VDescTable.h"
#include "RE/B/BSScript_Internal_VirtualMachine.h"
Expand Down Expand Up @@ -725,6 +734,7 @@
#include "RE/I/INPUT_EVENT_TYPE.h"
#include "RE/I/INSTANCE_FILTER.h"
#include "RE/I/INTERACTING_STATE.h"
#include "RE/I/INTERACTION_EXIT.h"
#include "RE/I/INTERIOR_DATA.h"
#include "RE/I/IPipboyThrottledValue.h"
#include "RE/I/IPostAnimationChannelUpdateFunctor.h"
Expand Down Expand Up @@ -882,6 +892,7 @@
#include "RE/P/PART_DATA.h"
#include "RE/P/PATH_DATA.h"
#include "RE/P/PC_GAMEPAD_TYPE.h"
#include "RE/P/PERK_ENTRY_TYPE.h"
#include "RE/P/PIPBOY_PAGES.h"
#include "RE/P/PLAYER_ACTION.h"
#include "RE/P/PLAYER_TARGET_LOC.h"
Expand Down Expand Up @@ -968,6 +979,8 @@
#include "RE/Q/QUEST_OBJECTIVE_STATE.h"
#include "RE/Q/QUEST_STAGE_DATA.h"
#include "RE/Q/QUEST_TAB.h"
#include "RE/Q/QUEST_TYPE.h"
#include "RE/Q/QuestFlag.h"
#include "RE/Q/QuickContainerMode.h"
#include "RE/Q/QuickContainerStateData.h"
#include "RE/Q/QuickContainerStateEvent.h"
Expand All @@ -991,6 +1004,7 @@
#include "RE/RTTI.h"
#include "RE/S/SCENE_ACTION_PLAYER_RESPONSE_TYPE.h"
#include "RE/S/SCENE_ACTION_TYPE.h"
#include "RE/S/SCENE_ACTOR_FLAG.h"
#include "RE/S/SCRIPT_EFFECT_DATA.h"
#include "RE/S/SCRIPT_FUNCTION.h"
#include "RE/S/SCRIPT_HEADER.h"
Expand All @@ -1009,6 +1023,7 @@
#include "RE/S/SWFToCodeFunctionHandler.h"
#include "RE/S/SavefileMetadata.h"
#include "RE/S/SayOnceTimeStampStruct.h"
#include "RE/S/SceneGraph.h"
#include "RE/S/ScrapHeap.h"
#include "RE/S/ScrapItemCallback.h"
#include "RE/S/ScreenshotHandler.h"
Expand Down
11 changes: 10 additions & 1 deletion include/RE/H/hknpMotionPropertiesId.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@ namespace RE
public hkHandle<std::uint16_t, 65535, hknpMotionPropertiesIdBaseDiscriminant>
{
public:
enum class Preset;
enum class Preset : std::uint32_t
{
kStatic = 0x0,
kDynamic = 0x1,
kKeyframed = 0x2,
kFrozen = 0x3,
kDebris = 0x4,
kCount = 0x5,
kInvalid = 0xFFFF
};
};
static_assert(sizeof(hknpMotionPropertiesId) == 0x02);
}
11 changes: 11 additions & 0 deletions include/RE/I/INTERACTION_EXIT.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

namespace RE
{
enum class INTERACTION_EXIT : std::int32_t
{
kNormal = 0x0,
kQuick = 0x1,
kInstant = 0x2
};
}
20 changes: 19 additions & 1 deletion include/RE/IDs.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ namespace RE::ID
inline constexpr REL::ID IsAngryWithPlayer{ 2229998 };
inline constexpr REL::ID RedressIfNeeded{ 2230394 };
inline constexpr REL::ID UpdateSprinting{ 2230498 };
inline constexpr REL::ID Jump{ 2229650 };
inline constexpr REL::ID GetMobilityCrippled{ 2230996 };
inline constexpr REL::ID SPECIALModifiedCallback{ 2231020 };
}

namespace ActorEquipManager
Expand All @@ -86,6 +89,11 @@ namespace RE::ID
inline constexpr REL::ID Singleton{ 2189587 };
}

namespace AIFormulas
{
inline constexpr REL::ID GetBarterValue{ 2208969 };
}

namespace AIProcess
{
inline constexpr REL::ID GetCurrentAmmo{ 2232300 };
Expand Down Expand Up @@ -369,6 +377,12 @@ namespace RE::ID
inline constexpr REL::ID GetHackDifficultyLockLevel{ 2197777 };
inline constexpr REL::ID IsTerminalRefInUse{ 2197779 };
inline constexpr REL::ID Show{ 2197776 };
inline constexpr REL::ID Activate{ 2197778 };
}

namespace bhkCharacterController
{
inline constexpr REL::ID Jump{ 2278191 };
}

namespace bhkNPCollisionObject
Expand Down Expand Up @@ -930,7 +944,7 @@ namespace RE::ID

namespace GamePlayFormulas
{
inline constexpr REL::ID CanHackGateCheck{ 269668 };
inline constexpr REL::ID CanHackGateCheck{ 2209069 };
inline constexpr REL::ID CanPickLockGateCheck{ 2209066 };
inline constexpr REL::ID GetExperienceReward{ 2209076 };
inline constexpr REL::ID GetLockXPReward{ 2209070 };
Expand All @@ -940,6 +954,7 @@ namespace RE::ID
inline constexpr REL::ID GetPartialPickAngle{ 2209083 };
inline constexpr REL::ID GetPickBreakSeconds{ 2209084 };
inline constexpr REL::ID GetHackingWordCount{ 2209067 };
inline constexpr REL::ID CalculateItemValue{ 2209074 };
}

namespace GameScript
Expand Down Expand Up @@ -1237,6 +1252,7 @@ namespace RE::ID
namespace NiCamera
{
inline constexpr REL::ID WorldPtToScreenPt3{ 2270344 };
inline constexpr REL::ID ViewPointToRay{ 2270338 };
}

namespace NiControllerManager
Expand Down Expand Up @@ -1971,6 +1987,8 @@ namespace RE::ID
inline constexpr REL::ID PlayPipboySound{ 2249706 };
inline constexpr REL::ID PlayMenuSound{ 2249707 };
inline constexpr REL::ID UpdateGamepadDependentButtonCodes{ 2249714 };
inline constexpr REL::ID ShowCraftingMenu{ 2249718 };
inline constexpr REL::ID HasRequiredInventoryForCraftingMenu{ 2249717 };
}

namespace VATS
Expand Down
Loading