目录

Wwise SDK 2018.1.11
AkWwiseSDKVersion.h
浏览该文件的文档.
1 /*******************************************************************************
2 The content of this file includes portions of the AUDIOKINETIC Wwise Technology
3 released in source code form as part of the SDK installer package.
4 
5 Commercial License Usage
6 
7 Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
8 may use this file in accordance with the end user license agreement provided
9 with the software or, alternatively, in accordance with the terms contained in a
10 written agreement between you and Audiokinetic Inc.
11 
12 Apache License Usage
13 
14 Alternatively, this file may be used under the Apache License, Version 2.0 (the
15 "Apache License"); you may not use this file except in compliance with the
16 Apache License. You may obtain a copy of the Apache License at
17 http://www.apache.org/licenses/LICENSE-2.0.
18 
19 Unless required by applicable law or agreed to in writing, software distributed
20 under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
21 OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
22 the specific language governing permissions and limitations under the License.
23 
24  Version: <VERSION> Build: <BUILDNUMBER>
25  Copyright (c) <COPYRIGHTYEAR> Audiokinetic Inc.
26 *******************************************************************************/
27 
28 #ifndef _AKWWISESDKVERSION_H_
29 #define _AKWWISESDKVERSION_H_
30 
31 /// \file
32 /// Audiokinetic Wwise SDK version, build number and copyright defines. These
33 /// are used by sample projects to display the version and to include it in DLL or
34 /// EXE resources. They can also be used by games or tools to display the current
35 /// version and build number of the Wwise Sound Engine.
36 
37 /// @name Wwise SDK Version - Numeric values
38 //@{
39 
40 /// Wwise SDK major version
41 #define AK_WWISESDK_VERSION_MAJOR 2018
42 
43 /// Wwise SDK minor version
44 #define AK_WWISESDK_VERSION_MINOR 1
45 
46 /// Wwise SDK sub-minor version
47 #define AK_WWISESDK_VERSION_SUBMINOR 11
48 
49 /// Wwise SDK build number
50 #define AK_WWISESDK_VERSION_BUILD 6987
51 
52 /// Wwise SDK build date (year)
53 #define AK_WWISESDK_BUILD_YEAR 2020
54 
55 /// Wwise SDK build date (month)
56 #define AK_WWISESDK_BUILD_MONTH 1
57 
58 /// Wwise SDK build date (day)
59 #define AK_WWISESDK_BUILD_DAY 17
60 
61 //@}
62 
63 /// @name Wwise SDK Version - String values
64 //@{
65 
66 /// Macro that "converts" a numeric define to a string
67 /// \sa
68 /// - \ref AK_WWISESDK_NUM2STRING
69 #define _AK_WWISESDK_NUM2STRING( n ) #n
70 
71 /// Macro that "converts" a numeric define to a string
72 #define AK_WWISESDK_NUM2STRING( n ) _AK_WWISESDK_NUM2STRING( n )
73 
74 /// Macro to determine if there's a nickname to add to the full version name
75 #if defined( AK_WWISESDK_VERSION_NICKNAME )
76  #define AK_WWISESDK_VERSION_NICKNAME_POSTFIX "_" AK_WWISESDK_VERSION_NICKNAME
77 #else
78  #define AK_WWISESDK_VERSION_NICKNAME_POSTFIX
79 #endif
80 
81 /// String representing the Wwise SDK version without the nickname postfix
82 #define AK_WWISESDK_VERSIONNAME_SHORT "v" AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_MAJOR ) \
83  "." AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_MINOR ) \
84  "." AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_SUBMINOR )
85 
86 /// String representing the Wwise SDK version
87 #define AK_WWISESDK_VERSIONNAME AK_WWISESDK_VERSIONNAME_SHORT \
88  AK_WWISESDK_VERSION_NICKNAME_POSTFIX
89 
90 /// Wwise SDK branch
91 #define AK_WWISESDK_BRANCH "wwise_v2018.1"
92 
93 /// @name Wwise SDK Copyright Notice
94 
95 //@{
96  /// Wwise SDK copyright notice
97  #define AK_WWISESDK_COPYRIGHT "\xA9 2006-2020. Audiokinetic Inc. All rights reserved."
98  /// Wwise SDK copyright notice
99  #define AK_WWISESDK_COPYRIGHT_CONSOLE "(C) 2006-2020. Audiokinetic Inc. All rights reserved."
100 //@}
101 
102 #define AK_WWISESDK_VERSION_COMBINED ((AK_WWISESDK_VERSION_MAJOR<<8) | AK_WWISESDK_VERSION_MINOR)
103 
104 #endif // _AKWWISESDKVERSION_H_
105