AkWwiseSDKVersion.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. Commercial License Usage
  5. Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
  6. may use this file in accordance with the end user license agreement provided
  7. with the software or, alternatively, in accordance with the terms contained in a
  8. written agreement between you and Audiokinetic Inc.
  9. Apache License Usage
  10. Alternatively, this file may be used under the Apache License, Version 2.0 (the
  11. "Apache License"); you may not use this file except in compliance with the
  12. Apache License. You may obtain a copy of the Apache License at
  13. http://www.apache.org/licenses/LICENSE-2.0.
  14. Unless required by applicable law or agreed to in writing, software distributed
  15. under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
  16. OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
  17. the specific language governing permissions and limitations under the License.
  18. Copyright (c) 2023 Audiokinetic Inc.
  19. *******************************************************************************/
  20. #ifndef _AKWWISESDKVERSION_H_
  21. #define _AKWWISESDKVERSION_H_
  22. /// \file
  23. /// Audiokinetic Wwise SDK version, build number and copyright defines. These
  24. /// are used by sample projects to display the version and to include it in DLL or
  25. /// EXE resources. They can also be used by games or tools to display the current
  26. /// version and build number of the Wwise Sound Engine.
  27. /// @name Wwise SDK Version - Numeric values
  28. //@{
  29. /// Wwise SDK major version
  30. #define AK_WWISESDK_VERSION_MAJOR 2023
  31. /// Wwise SDK minor version
  32. #define AK_WWISESDK_VERSION_MINOR 1
  33. /// Wwise SDK sub-minor version
  34. #define AK_WWISESDK_VERSION_SUBMINOR 0
  35. /// Wwise SDK build number
  36. #define AK_WWISESDK_VERSION_BUILD 8367
  37. /// Wwise SDK build date (year)
  38. #define AK_WWISESDK_BUILD_YEAR 2023
  39. /// Wwise SDK build date (month)
  40. #define AK_WWISESDK_BUILD_MONTH 11
  41. /// Wwise SDK build date (day)
  42. #define AK_WWISESDK_BUILD_DAY 15
  43. //@}
  44. /// @name Wwise SDK Version - String values
  45. //@{
  46. /// Macro helper that "converts" a numeric define to a string
  47. #define _AK_WWISESDK_NUM2STRING( n ) #n
  48. /// Macro that "converts" a numeric define to a string
  49. #define AK_WWISESDK_NUM2STRING( n ) _AK_WWISESDK_NUM2STRING( n )
  50. /// Macro to determine if there's a nickname to add to the full version name
  51. #if defined( AK_WWISESDK_VERSION_NICKNAME )
  52. #define AK_WWISESDK_VERSION_NICKNAME_POSTFIX "_" AK_WWISESDK_VERSION_NICKNAME
  53. #else
  54. #define AK_WWISESDK_VERSION_NICKNAME_POSTFIX
  55. #endif
  56. /// String representing the Wwise SDK version without the nickname postfix
  57. #define AK_WWISESDK_VERSIONNAME_SHORT "v" AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_MAJOR ) \
  58. "." AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_MINOR ) \
  59. "." AK_WWISESDK_NUM2STRING( AK_WWISESDK_VERSION_SUBMINOR )
  60. /// String representing the Wwise SDK version
  61. #define AK_WWISESDK_VERSIONNAME AK_WWISESDK_VERSIONNAME_SHORT \
  62. AK_WWISESDK_VERSION_NICKNAME_POSTFIX
  63. /// Wwise SDK branch
  64. #define AK_WWISESDK_BRANCH "wwise_v2023.1"
  65. /// @name Wwise SDK Copyright Notice
  66. //@{
  67. /// Wwise SDK copyright notice
  68. #define AK_WWISESDK_COPYRIGHT "(C) 2006-2023. Audiokinetic Inc. All rights reserved."
  69. /// Wwise SDK copyright notice
  70. #define AK_WWISESDK_COPYRIGHT_CONSOLE "(C) 2006-2023. Audiokinetic Inc. All rights reserved."
  71. //@}
  72. #define AK_WWISESDK_VERSION_COMBINED ((AK_WWISESDK_VERSION_MAJOR<<8) | AK_WWISESDK_VERSION_MINOR)
  73. #endif // _AKWWISESDKVERSION_H_