/
Main.cpp
38 lines (30 loc) · 870 Bytes
/
Main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include "FuzrodohInternals.h"
#include "VersionInfo.h"
extern "C"
{
bool SKSEPlugin_Query(const SKSEInterface * skse, PluginInfo * info)
{
_MESSAGE("Fuz Ro D'oh Initializing...");
info->infoVersion = PluginInfo::kInfoVersion;
info->name = "Fuz Ro D'oh";
info->version = PACKED_SME_VERSION;
g_pluginHandle = skse->GetPluginHandle();
if(skse->isEditor)
return false;
else if(skse->runtimeVersion != RUNTIME_VERSION_1_9_32_0)
{
_MESSAGE("Unsupported runtime version %08X", skse->runtimeVersion);
return false;
}
// supported runtime version
return true;
}
bool SKSEPlugin_Load(const SKSEInterface * skse)
{
_MESSAGE("Initializing INI Manager");
FuzRoDohINIManager::Instance.Initialize("Data\\SKSE\\Plugins\\Fuz Ro D'oh.ini", NULL);
BollocksBollocksBollocks();
_MESSAGE("Fuz Ro D'oh Initialized!");
return true;
}
};