Skip to content

SKSE Source Changes

aers edited this page Jan 6, 2020 · 1 revision

This plugin requires some changes to the SKSE source, and I will not be committing SKSE source files to this repository. You will need to make the changes yourself.

GameMenus.h line 1090

add function

	bool                IsGamePaused() { return numPauseGame > 0; }

to MenuManager class

GameEvents.h line 662

replace unk840 with

EventDispatcher<TESMoveAttachDetachEvent>    		unk840;					//  840 - sink offset 0C8

NiObjects.h around line 80

replace Unk05 with

	virtual BSFadeNode * GetAsBSFadeNode(void);

and unk0C with

	virtual BSDynamicTriShape * GetAsBSDynamicTriShape(void);

You will need to add a forward declaration or include for BSFadeNode and BSDynamicTriShape in NiObjects.h as well.

NiObjects.h around line 169

add

kNone = 0,

to the ControllerUpdateContext enum

NiObjects.h around line 207

replace

	float		unkF8;				// 0F8
	UInt32		unkFC;				// 0FC

with

	TESObjectREFR* m_owner; // 0F8

You will need to add a forward declaration or include for TESObjectREFR in NiObjects.h as well.