-
Notifications
You must be signed in to change notification settings - Fork 8
/
VersionInfo.h
87 lines (70 loc) · 3.05 KB
/
VersionInfo.h
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
76
77
78
79
80
81
82
83
84
85
86
87
// Template version resource
// Build number format = MMDD
#ifndef __SME_VERSION_H__
#define __SME_VERSION_H__
#include "BuildInfo.h"
#define STRINGIZE2(s) #s
#define STRINGIZE(s) STRINGIZE2(s)
#define VERSION_MAJOR 11
#define VERSION_MINOR 1
#define VER_COMPANYNAME_STR "Imitation Camel"
#if defined(CSE)
#define VER_FILE_DESCRIPTION_STR "A plugin for the Oblivion Script Extender"
#else
#define VER_FILE_DESCRIPTION_STR "A component of the Construction Set Extender"
#endif
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
#define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
"." STRINGIZE(VERSION_MINOR) \
"." STRINGIZE(VERSION_REVISION) \
"." STRINGIZE(VERSION_BUILD) \
#if defined(CSE)
#define VER_PRODUCTNAME_STR "Construction Set Extender"
#elif defined(CSE_SE)
#define VER_PRODUCTNAME_STR "Construction Set Extender Script Editor"
#elif defined(CSE_BSAVIEWER)
#define VER_PRODUCTNAME_STR "Construction Set Extender BSA Viewer"
#elif defined(CSE_LIPSYNC)
#define VER_PRODUCTNAME_STR "Construction Set Extender Lip Sync Interop Client"
#elif defined(CSE_TAGBROWSER)
#define VER_PRODUCTNAME_STR "Construction Set Extender Tag Browser"
#elif defined(CSE_USEINFOLIST)
#define VER_PRODUCTNAME_STR "Construction Set Extender Centralized Use Info Listing"
#else
#define VER_PRODUCTNAME_STR "<Unknown>"
#endif
#define VER_PRODUCT_VERSION VER_FILE_VERSION
#define VER_PRODUCT_VERSION_STR VER_FILE_VERSION_STR
#if defined(CSE)
#define VER_ORIGINAL_FILENAME "Construction Set Extender"
#elif defined(CSE_SE)
#define VER_ORIGINAL_FILENAME "ScriptEditor"
#elif defined(CSE_BSAVIEWER)
#define VER_ORIGINAL_FILENAME "BSAViewer"
#elif defined(CSE_LIPSYNC)
#define VER_ORIGINAL_FILENAME "LipSyncPipeClient"
#elif defined(CSE_TAGBROWSER)
#define VER_ORIGINAL_FILENAME "TagBrowser"
#elif defined(CSE_USEINFOLIST)
#define VER_ORIGINAL_FILENAME "UseInfoList"
#else
#define VER_ORIGINAL_FILENAME "<Unknown>"
#endif
#define VER_ORIGINAL_FILENAME_STR VER_ORIGINAL_FILENAME ".dll"
#define VER_INTERNAL_NAME_STR VER_ORIGINAL_FILENAME
#define VER_COPYRIGHT_STR "Copyright shadeMe (C) 2010"
#ifdef _DEBUG
#define VER_VER_DEBUG VS_FF_DEBUG
#else
#define VER_VER_DEBUG 0
#endif
#define VER_FILEOS VOS_NT_WINDOWS32
#define VER_FILEFLAGS VER_VER_DEBUG
#define VER_FILETYPE VFT_DLL
#define MAKE_SME_VERSION(major, minor, rev, build) (((major & 0xFF) << 24) | ((minor & 0xFF) << 16) | ((build & 0xFFF) << 4) | ((rev & 0xF)))
#define PACKED_SME_VERSION MAKE_SME_VERSION(VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD)
#define SME_VERSION_MAJOR(version) (version >> 24) & 0xFF
#define SME_VERSION_MINOR(version) (version >> 16) & 0xFF
#define SME_VERSION_BUILD(version) (version >> 4) & 0xFFF
#define SME_VERSION_REVISION(version) (version) & 0xF
#endif /* __SME_VERSION_H__ */