forked from CasualCoderGuy/FO4-ModSwitchFramework-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.h
More file actions
75 lines (64 loc) · 2.18 KB
/
Config.h
File metadata and controls
75 lines (64 loc) · 2.18 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#pragma once
#include "f4se_common/f4se_version.h"
#include "f4se/GameData.h"
#include "f4se/GameExtraData.h"
#include "f4se/GameFormComponents.h"
#include "f4se/GameObjects.h"
#include "f4se/GameReferences.h"
#include "f4se/GameRTTI.h"
#include "f4se/PapyrusNativeFunctions.h"
#include "f4se/PapyrusUtilities.h"
#include "f4se/GameCamera.h"
#include "rva/RVA.h"
#include <thread>
#include <chrono>
//-----------------------
// Plugin Information
//-----------------------
//#define DEBUG "DevMode"
#define MSF_VERSION_INTEGER_MAJOR 1
#define MSF_VERSION_INTEGER_MINOR 2
#define MSF_VERSION_INTEGER_PATCH 5
#define MSF_VERSION_INTEGER_BETA 1
#define MSF_VERSION_RELEASEID 0
#ifdef DEBUG
#define MSF_VERSION_STRING "1.2.5.1"
#define MSF_VERSION MAKE_EXE_VERSION_EX(MSF_VERSION_INTEGER_MAJOR, MSF_VERSION_INTEGER_MINOR, MSF_VERSION_INTEGER_PATCH, MSF_VERSION_INTEGER_BETA)
#else
#define MSF_VERSION_STRING "1.2.5"
#define MSF_VERSION MAKE_EXE_VERSION_EX(MSF_VERSION_INTEGER_MAJOR, MSF_VERSION_INTEGER_MINOR, MSF_VERSION_INTEGER_PATCH, 0)
#endif
#define MIN_SUPPORTED_KB_VERSION MAKE_EXE_VERSION_EX(0, 0, 0, 3)
#define MIN_SUPPORTED_DATA_VERSION MAKE_EXE_VERSION_EX(0, 0, 0, 3)
#define MIN_SUPPORTED_SWF_WIDGET_VERSION MAKE_EXE_VERSION_EX(1, 2, 0, 0)
#define MIN_SUPPORTED_SWF_AMMO_VERSION MAKE_EXE_VERSION_EX(1, 2, 2, 1)
#define MIN_SUPPORTED_SWF_MOD_VERSION MAKE_EXE_VERSION_EX(1, 2, 2, 1)
#define MIN_SUPPORTED_SWF_GLOBAL_VERSION MAKE_EXE_VERSION_EX(1, 3, 0, 1)
#define MIN_SUPPORTED_SERIALIZATION_VERSION MAKE_EXE_VERSION_EX(0, 1, 0, 1)
#define SUPPORTED_RUNTIME_VERSION CURRENT_RELEASE_RUNTIME
#define COMPATIBLE(runtimeVersion) (runtimeVersion == SUPPORTED_RUNTIME_VERSION)
#define PLUGIN_NAME_SHORT "MSF"
#define PLUGIN_NAME_LONG "Mod Switch Framework"
#define SCRIPTNAME "ModSwitchFramework"
#define MODNAME "ModSwitchFramework.esl"
#define AUTHOR_NAME "CasualCoderGuy"
class VersionData
{
public:
UInt32 gameVersion;
UInt32 f4seVersion;
UInt32 msfVersion;
};
#ifdef DEBUG
inline void _DEBUG(const char* fmt, ...)
{
va_list args;
va_start(args, fmt);
gLog.Log(IDebugLog::kLevel_Message, fmt, args);
va_end(args);
}
#else
inline void _DEBUG(const char* fmt, ...)
{
}
#endif